You are not logged in.
How can I get a PKGBUILD for sherman's aquarium (http://aquariumapplet.sourceforge.net/) ? It is not there in AUR. Thanks for your help.
Last edited by rnarch (2012-10-03 01:32:30)
Offline
Any idea if that still works or even compiles? Last release was over 7 years ago.
Offline
I think this would go in the PKGBUILD request section, not newbie corner.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
How can I get a PKGBUILD for sherman's aquarium
Last edited by WorMzy (2012-10-02 18:41:53)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Moving to AUR Discussions & PKGBUILD Requests...
Offline
If you just want to build this for yourself, why not just try building it the old-fashioned way (download, untar, ./configure, make).
Offline
I tried following PKGBUILD, but it fails in build() (I ran it with command makepkg --skipinteg)
pkgname=shermans_aquarium
pkgver=3.0.1
pkgrel=1
source=(shermans_aquarium-3.0.1.tar.bz2) #file is already downloaded
arch=('i686' 'x86_64')build() {
cd $srcdir/$pkgname-$pkgver
./configure || return 1
make || return 1
}package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install || return 1
}
The last few lines of output are:
screensaver.c: In function ‘screensaver_main_sdl’:
screensaver.c:304:13: warning: variable ‘totaltime1’ set but not used [-Wunused-but-set-variable]
screensaver.c: In function ‘aquarium_install_path’:
screensaver.c:927:5: warning: pointer targets in return differ in signedness [-Wpointer-sign]
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wno-strict-aliasing -O3 -DIMAGE_PATH=\"/usr/local/share/pixmaps/shermans\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -c -o grabscreen.o grabscreen.c
gcc -o shermans fish.o background.o bubble.o draw.o bottom.o soundeffects.o images.o screensaver.o grabscreen.o -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib -lSDL -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
/usr/bin/ld: grabscreen.o: undefined reference to symbol 'XSetWindowBackgroundPixmap'
/usr/bin/ld: note: 'XSetWindowBackgroundPixmap' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [shermans] Error 1
make[1]: Leaving directory `/home/cardio/sherman-aquarium/src/shermans_aquarium-3.0.1/shermans'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Last edited by rnarch (2012-10-03 01:25:41)
Offline
Take a look at the error, then add "-lX11" to the linker line.
Edit: add the following line between configure and make
sed -i 's|^\(LDFLAGS_SDL.*$\)|\1 -lX11|' shermans/Makefile
Last edited by Trilby (2012-10-03 01:25:23)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Yes, it worked! Thanks very much. Marking this thread as solved.
Last edited by rnarch (2012-10-03 01:32:06)
Offline