A 'VGA Planets' client for the GNOME platform VGA Planets is a shareware play-by-email space conquest strategy game, it can be played by 11 players max. This game is being played by strategy fanatics all over the world for some years now, is very addictive and there are several servers on the Internet that host various kinds of this games.
more something for games i think
Created attachment 56847 [details] games-strategy/gwp-0.3.6 -- Initial ebuild for Gnome WarPad This is a "works for me" ebuild for games-strategy/gwp
Did you look at where this ebuild installs files? It still needs more work to have the install put things in the right places.
replacing "make install" with "egamesinstall" should do the trick (unable to test, since it does not build with gcc4)
gcc 4? Man... you've got some big ones.... big brass ones... hrrrm... this is a gnome thingy... being a gnome whore, I should probably test this one out... added to my TODO
Created attachment 58092 [details] games-strategy/gwp/gwp-0.3.6.ebuild Well, it builds and seems to run, but knowing nothing about the game, I can't say for sure whether it is working or not. Anyone?
gwp compiles (with some warnings, but no errors) but segfaults when I start it. gdb says: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1228694880 (LWP 23302)] 0xb6a8c53b in init_gtk () from /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so strace says: [...] read(6, "m\362\r\n\345h\265Bc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0sc\0"..., 131072) = 1016 fstat64(6, {st_mode=S_IFREG|0644, st_size=1016, ...}) = 0 read(6, "", 131072) = 0 close(6) = 0 munmap(0xb6b00000, 131072) = 0 close(5) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ emerge info tells me: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-nitro2 i686) ================================================================= System uname: 2.6.12-nitro2 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=athlon-xp -march=athlon-xp -m3dnow -msse -mmmx -fforce-addr -ftracer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -momit-leaf-frame-pointer -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -mtune=athlon-xp -march=athlon-xp -m3dnow -msse -mmmx -fforce-addr -ftracer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -momit-leaf-frame-pointer -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://h53098.serverkompetenz.net/gentoo-portage" USE="x86 16bit 3dnow 3dnowext X aalib acpi alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts blender-game bonobo bzip2 bzlib caps cdparanoia cdr cjk crypt cups curl curlwrappers dedicated dga dio directfb divx4linux dv dvd dvdr dvdread eds emboss encode escreen esd fam fbcon ffmpeg flac flash font-server foomaticdb fortran freetype ftp gcj gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib ipv6 jack jack-tmpfs java javascript jpeg junit kde kqemu ldap libcaca libclamav libg++ libwww lm_sensors mad mbox mikmod mime ming mjpeg mmx mmx2 mmxext motif mozilla mp3 mpeg mplayer mysql nas ncurses newkernel nls nptl nptlonly ogg oggvorbis opengl oss pam pascal pdf pdfkit pdflib perl php pic png ppds python qemu-fast qt quicktime readline real reiserfs ruby samba sasl sdk sdl session slang sndfile sockets softmmu speex spell sqlite sse ssl svga tcltk tcpd tetex threads tidy tiff tokenizer tools transcode truetype truetype-fonts type1-fonts unicode usb vcd vcdimager videos visualization vnc vorbis wifi win32codecs wxgtk1 wxwindows xine xml xml2 xmms xprint xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I've got a similar strace, please notice the 'no such file or directory errors): stat64("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms", 0xbfed1890) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysymsmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms.py", O_RDONLY|O_LARGEFILE) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=30075, ...}) = 0 open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/keysyms.pyc", O_RDONLY|O_LARGEFILE) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=48920, ...}) = 0 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6dc9000 read(5, "m\362\r\nc\3456Cc\0\0\0\0\0\0\0\0\1\0\0\0@\0\0\0s\250\""..., 131072) = 48920 fstat64(5, {st_mode=S_IFREG|0644, st_size=48920, ...}) = 0 read(5, "", 131072) = 0 close(5) = 0 munmap(0xb6dc9000, 131072) = 0 brk(0x8267000) = 0x8267000 close(4) = 0 stat64("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk", 0xbfed1890) = -1 ENOENT (No such file or directory) open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so", O_RDONLY|O_LARGEFILE) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=1545520, ...}) = 0 open("/usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so", O_RDONLY) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\240"..., 512) = 512 fstat64(5, {st_mode=S_IFREG|0755, st_size=1545520, ...}) = 0 mmap2(NULL, 1548092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb6b5e000 mmap2(0xb6cb9000, 126976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x15a) = 0xb6cb9000 close(5) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
It compiles and runs fine here. No errors.
I renamed the ebuild to gwp-0.4.0.ebuild and it emerged and worked fine too.
Created attachment 81296 [details] New version and gcc-4.1 patch
Created attachment 81297 [details, diff] the gcc-4.1 patch, thanks ChrisWhite
Okay, I built and tested this on my ~ppc system (G3 Powerbook), and as far as I can tell it works. I wasn't able to go in-game because I've never played this type of game before. But I can confirm it working on ppc.
Working here on x86 as well
works here on x86 (opteron with x86 userland/kernel, gcc 3.4.6-r1)
Added to CVS (finally)...