Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123515 - nogravity-9999.ebuild (New Package)
Summary: nogravity-9999.ebuild (New Package)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.realtech-vr.com/nogravity/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-02-20 11:15 UTC by Paul Bredbury
Modified: 2008-02-10 21:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nogravity-9999.ebuild (nogravity-9999.ebuild,1.96 KB, text/plain)
2006-02-20 11:16 UTC, Paul Bredbury
Details
/var/tmp/portage/nogravity-9999/work/nogravity/src/Linux/config.log (/var/tmp/portage/nogravity-9999/work/nogravity/src/Linux/config.log,39.18 KB, text/plain)
2006-09-26 11:58 UTC, Mose
Details
nogravity-9999.ebuild (nogravity-9999.ebuild,2.01 KB, text/plain)
2007-08-06 21:44 UTC, Roderick B. Greening
Details
png_decompress_chunk-fix.diff (png_decompress_chunk-fix.diff,486 bytes, patch)
2007-08-06 21:47 UTC, Roderick B. Greening
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-02-20 11:15:26 UTC
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.
Comment 1 Paul Bredbury 2006-02-20 11:16:01 UTC
Created attachment 80290 [details]
nogravity-9999.ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-05-01 20:59:32 UTC
We don't do live cvs ebuilds but if they roll a good source tarball please reopen.
Comment 3 Matija "hook" Šuklje 2006-05-11 02:23:02 UTC
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
Comment 4 Matija "hook" Šuklje 2006-05-11 02:29:56 UTC
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).
Comment 5 Mose 2006-09-26 11:58:38 UTC
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'
Comment 6 Roderick B. Greening 2007-08-06 20:28:05 UTC
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.
Comment 7 Roderick B. Greening 2007-08-06 21:44:16 UTC
Created attachment 127117 [details]
nogravity-9999.ebuild

Obsoletes original ebuild.
Comment 8 Roderick B. Greening 2007-08-06 21:45:30 UTC
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...)
Comment 9 Roderick B. Greening 2007-08-06 21:47:11 UTC
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.