Hi, here is a working ebuild for No Gravity ("nogravity"), a 3D arcade space shooter. It is currently necessary to install from CVS, to be able to compile the source code, since files are missing from the source code tarball.
Created attachment 80290 [details] nogravity-9999.ebuild
We don't do live cvs ebuilds but if they roll a good source tarball please reopen.
In my experience, sometimes a nice word and a good explanation to the devs why exactly do you/we need an official tarball from their project can do a lot. Yup, that's one of the wonders of FOSS :D
Erm ...BTW, are the zip's on http://prdownloads.sourceforge.net/nogravity all useless? From what I can tell the rt-nogravity-src.zip and rt-nogravity-data.zip seem quite up to date with the rest of the binaries (February 2006).
Created attachment 98160 [details] /var/tmp/portage/nogravity-9999/work/nogravity/src/Linux/config.log When i try to emerge nogravity ebuild I get this error: checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for vprintf... yes checking for _doprnt... no checking for atexit... yes checking for getcwd... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for pow... no checking for strchr... yes checking for strstr... yes checking for strtol... yes checking for sdl-config... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking for SDL_Init in -lSDL... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for glBegin in -lGL... yes checking for OpenGL 1.4 support... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for libpng-config... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_decompress_chunk in -lpng... no configure: error: Can't find libpng library. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/nogravity-9999/work/nogravity/src/Linux/config.log !!! ERROR: games-arcade/nogravity-9999 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile nogravity-9999.ebuild, line 66: Called egamesconf '--enable-sound=sdl_mixer' games.eclass, line 35: Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--enable-sound=sdl_mixer' ebuild.sh, line 540: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/portage'
Ebuild needs an update. ECVS_SERVER is not valid in the current ebuild. It needs to be updated to: ECVS_SERVER="${PN}.cvs.sourceforge.net:/cvsroot/${PN}" There may be other changes. I'll post an ebuild once I have it working completely.
Created attachment 127117 [details] nogravity-9999.ebuild Obsoletes original ebuild.
Comment on attachment 127117 [details] nogravity-9999.ebuild Updated ebuild. Fixes cvs server location and adds a patch to remove check for png_decompress_chunk (what does this break...)
Created attachment 127118 [details, diff] png_decompress_chunk-fix.diff Removes configure.in check for png_decompress_chunk. Not sure if it was simply incorrectly checked or not, but I removed the check and it now builds. If someone knows a better way, please let me know, and I'll re-patch.