You are not logged in.

#1 2004-11-18 22:12:10

delmonico
Member
Registered: 2004-06-27
Posts: 82

Xdesktopwaves

Hey check this out... this is absolutely useless but pure fuckin eye candy... have fun smile

pkgname=xdesktopwaves
pkgver=1.0
pkgrel=1 
pkgdesc="xdesktopwaves is a cellular automata setting the background of your X Windows desktop under water."
url=" http://xdesktopwaves.sourceforge.net"
license="GPL" 
depends=('xorg')
source=(http://mesh.dl.sourceforge.net/sourceforge/xdesktopwaves/$pkgname-$pkgver.tar.gz) 
md5sums=('a4760fd21010fe292682d8680d4ff083')

build() { 
  cd $startdir/src/$pkgname-$pkgver 
  make
  mkdir -p $startdir/pkg/usr/X11R6/bin
  mkdir -p $startdir/pkg/usr/X11R6/man/man1
  make BINDIR=$startdir/pkg/usr/X11R6/bin MAN1DIR=$startdir/pkg/usr/X11R6/man/man1 install
}

Offline

#2 2004-11-19 00:16:33

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Xdesktopwaves

Cool.

So you're gonna do a PKGBUILD for xfishtank next then?

Offline

#3 2004-11-19 11:41:41

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Xdesktopwaves

xfishtank, but with gif image loading support disabled. Its the only way I could compile it.

PKGBUILD:

pkgname=xfishtank
pkgver=2.2.orig
pkgrel=1
pkgdesc=""
url=""
license=""
depends=(x-server)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://ftp.debian.org/debian/pool/main/x/xfishtank/$pkgname_$pkgver.tar.gz)
md5sums=()

build() {
  cd $startdir/src/$pkgname-$pkgver

  patch read.c <../../read.c.diff

  cc read.c -I/usr/include -c -O -o read.o
  cc medcut.c -I/usr/include -c -O -o medcut.o
  cc xfish.c -I/usr/include -c -O -o xfish.o -Ifishmaps
  cc xfish.o medcut.o read.o -L/usr/lib -lgdk -o xfish

  mkdir ../../pkg/usr/bin -p

  cp xfish ../../pkg/usr/bin
}

read.c.diff:

11c11
< extern unsigned char *ReadGifBitmap();
---
> //extern unsigned char *ReadGifBitmap();
679c679
<               bit_data = ReadGifBitmap(fp, w, h, colrs);
---
>               //bit_data = ReadGifBitmap(fp, w, h, colrs);

Offline

#4 2004-11-19 13:34:50

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Xdesktopwaves

No - didn't work for me I'm afraid:

==> Making package: xfishtank  (Fri Nov 19 13:29:48 GMT 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Using local copy of xfishtank_2.2.orig.tar.gz
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf xfishtank_2.2.orig.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
patching file read.c
Hunk #2 FAILED at 679.
1 out of 2 hunks FAILED -- saving rejects to file read.c.rej
read.c: In function `ReadXpmPixmap':
read.c:273: warning: comparison is always false due to limited range of data type
read.c: In function `ReadCompactEbmBitmap':
read.c:642: warning: comparison is always false due to limited range of data type
read.c: In function `ReadBitmap':
read.c:679: warning: assignment makes pointer from integer without a cast
xfish.c: In function `parse':
xfish.c:181: warning: passing arg 2 of `strcpy' makes pointer from integer without a cast
xfish.c: In function `init_colormap':
xfish.c:1047: warning: comparison between pointer and integer
xfish.c: In function `initialize':
xfish.c:1656: warning: comparison between pointer and integer
xfish.c: In function `high_res_sleep':
xfish.c:2091: warning: passing arg 2 of `select' from incompatible pointer type
xfish.c:2091: warning: passing arg 3 of `select' from incompatible pointer type
xfish.c:2091: warning: passing arg 4 of `select' from incompatible pointer type
xfish.c: In function `main':
xfish.c:2101: warning: return type of 'main' is not `int'
read.o(.text+0x1642): In function `ReadBitmap':
: undefined reference to `ReadGifBitmap'
collect2: ld returned 1 exit status
cp: cannot stat `xfish': No such file or directory
==> ERROR: Build Failed.  Aborting...

Offline

#5 2004-11-19 15:44:07

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Xdesktopwaves

i fond what happens. The indent in the second replacement has been replaced with spaces. there must be two tabs. when copy-pasting from the console:

I put a link to a correct one because I can't write tabs in this posts:

http://linuxhelp.webcindario.com/read.c.diff

Offline

#6 2004-11-19 17:49:31

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Xdesktopwaves

That fixed the makepkg problem and the PKGBUILD installed OK but still no fish, just a brief flash.  No error messages either.  Bummer.

Offline

#7 2004-11-19 19:21:46

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Xdesktopwaves

what's bummer? (I'm not english speaker)

If using kde you have to enable running applications in desktop window. Maybe in other desktop environments you also have to.

Offline

#8 2004-11-20 01:37:59

Bjørn
Member
From: The Netherlands
Registered: 2004-03-18
Posts: 139
Website

Re: Xdesktopwaves

In this context, a bummer would be "an experience that is irritating or frustrating or disappointing" (dictionary.com)


http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.

Offline

#9 2004-11-20 17:08:47

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Xdesktopwaves

You mind if I add xdesktopwaves/xfishtank to staging? Great work!


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#10 2004-11-20 19:28:08

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Xdesktopwaves

add whatever you want smile

Offline

#11 2004-11-20 20:02:56

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Xdesktopwaves

Of course you may add it smile

Offline

#12 2004-12-07 15:10:01

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Xdesktopwaves

Version 1.2 is out, don't have the time to try it right now - maybe someone else can check if the PKGBUILD works with the new versoin and/or update it...

Offline

#13 2004-12-07 15:27:39

Bjørn
Member
From: The Netherlands
Registered: 2004-03-18
Posts: 139
Website

Re: Xdesktopwaves

Yep, works fine:

pkgname=xdesktopwaves
pkgver=1.2
pkgrel=1
pkgdesc="xdesktopwaves is a cellular automata setting the background of your X Windows desktop under water."
url=" http://xdesktopwaves.sourceforge.net"
license="GPL"
depends=('xorg')
source=(http://dl.sourceforge.net/sourceforge/xdesktopwaves/$pkgname-$pkgver.tar.gz)
md5sums=('a91384eab6050402fd2112124ea7c8bb')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make
  mkdir -p $startdir/pkg/usr/X11R6/bin
  mkdir -p $startdir/pkg/usr/X11R6/man/man1
  make BINDIR=$startdir/pkg/usr/X11R6/bin MAN1DIR=$startdir/pkg/usr/X11R6/man/man1 install
}

I updated version and md5, and changed the download link to not use a specific SF mirror.

Pretty funny effect. :-)


http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.

Offline

#14 2004-12-17 23:17:57

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: Xdesktopwaves

pretty cool, but pretty worthless smile


To err is human... to really foul up requires the root password.

Offline

#15 2005-01-27 13:04:16

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Xdesktopwaves

as always: enjoy this new thingie, only had to change version and md5sum...

 pkgname=xdesktopwaves
 pkgver=1.3
 pkgrel=1
 pkgdesc="xdesktopwaves is a cellular automata setting the background of your X Windows desktop under water."
 url=" http://xdesktopwaves.sourceforge.net"
 license="GPL"
 depends=('xorg')
 source=(http://dl.sourceforge.net/sourceforge/xdesktopwaves/$pkgname-$pkgver.tar.gz)
 md5sums=('4ef1233527cb3bbf06b8fdc407b04ebe')
 
 build() {
 cd $startdir/src/$pkgname-$pkgver
 make
 mkdir -p $startdir/pkg/usr/X11R6/bin
 mkdir -p $startdir/pkg/usr/X11R6/man/man1
 make BINDIR=$startdir/pkg/usr/X11R6/bin MAN1DIR=$startdir/pkg/usr/X11R6/man/man1 install

Offline

#16 2005-01-27 13:14:34

Bjørn
Member
From: The Netherlands
Registered: 2004-03-18
Posts: 139
Website

Re: Xdesktopwaves

But when copy/pasting you put a space before each line and forgot to include the ending bracket "}". :-|

pkgname=xdesktopwaves
pkgver=1.3
pkgrel=1
pkgdesc="xdesktopwaves is a cellular automata setting the background of your X Windows desktop under water."
url="http://xdesktopwaves.sourceforge.net"
license="GPL"
depends=('xorg')
source=(http://dl.sourceforge.net/sourceforge/xdesktopwaves/$pkgname-$pkgver.tar.gz)
md5sums=('4ef1233527cb3bbf06b8fdc407b04ebe')

build() {
  cd $startdir/src/$pkgname-$pkgver
  make
  mkdir -p $startdir/pkg/usr/X11R6/bin
  mkdir -p $startdir/pkg/usr/X11R6/man/man1
  make BINDIR=$startdir/pkg/usr/X11R6/bin MAN1DIR=$startdir/pkg/usr/X11R6/man/man1 install
}

http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.

Offline

Board footer

Powered by FluxBB