You are not logged in.
Pages: 1
Hey check this out... this is absolutely useless but pure fuckin eye candy... have fun
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
Cool.
So you're gonna do a PKGBUILD for xfishtank next then?
Offline
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
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
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:
Offline
That fixed the makepkg problem and the PKGBUILD installed OK but still no fish, just a brief flash. No error messages either. Bummer.
Offline
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
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
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
add whatever you want
Offline
Of course you may add it
Offline
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
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
pretty cool, but pretty worthless
To err is human... to really foul up requires the root password.
Offline
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
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
Pages: 1