Summary: | [EBUILD] dark-oberon | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Brill (egore) (RESIGNED) <egore> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bugzie, hkbst, oggysss, radek, radfoj |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://dark-oberon.sf.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
games-strategy/dark-oberon-1.0.ebuild
games-strategy/dark-oberon-1.0.1 files/Makefile dark-oberon-1.0.1.ebuild 1.0.1-makefile.patch |
Description
Christoph Brill (egore) (RESIGNED)
2005-06-22 06:26:53 UTC
Created attachment 61719 [details]
games-strategy/dark-oberon-1.0.ebuild
A working ebuild. I can't test the game in detail right now (I'm on MESA), but
it looks the same when I start it from my homedir.
If someone would test it for me that would be great.
doesn't seem to compile with fmod support? I'm not quite sure what you mean. From what I saw dark-oberon came with headers for fmod and glfw. I took care that these headers are gone and system headers are used (since X.org is no longer in /usr/X11R6 but in /usr, the symlink /usr/X11R6/include contains the fmod headers, too ... ok it might be cleaner to fix the Makefile to point to /usr/include instead of /usr/X11R6/include). did you look at the link line? I don't see -lfmod there by default. Do you get sound with your ebuild? Created attachment 61799 [details]
games-strategy/dark-oberon-1.0.1
updated ebuild (for 1.0.1)
Created attachment 61800 [details]
files/Makefile
Makefile for sound support ... one could make a patch of it ... or create a sed
statement, but right now I'm to lazy (or to drunk) to do it ;)
Created attachment 61804 [details]
dark-oberon-1.0.1.ebuild
Here's the ebuild I'm working from.
Created attachment 61805 [details]
1.0.1-makefile.patch
patch to the Makefile which adds support for linking against libfmod.
Probably, it would be good to provide a local use flag "fmod" or "sound" for
the optional sound support. *shrug* When they get things figured out a bit
more upstream we can address it then.
Seems like a nice game, when trying ebuild and makefile patch dated 2005-06-23 I can't start oberon with following message: $ /usr/games/bin/doberon Crit: Can not initialize GLFW library using Linux lap_place 2.6.12-rc2-mm2 i686 Intel(R) Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux I hope this is of any help. Best Regards Patrick Version bumped to 1.0.2-RC1 you need to add -lXxf86vm in the end of the LIBRARIES in Makefile. dark-oberon is now in portage. version is 1.0.2_rc1 Doesn't compile for amd64 :(
* dark-oberon-1.0.2-RC1.tar.gz MD5 ;-) ... [ ok ]
* dark-oberon-1.0.2-RC1.tar.gz RMD160 ;-) ... [ ok ]
* dark-oberon-1.0.2-RC1.tar.gz SHA1 ;-) ... [ ok ]
* dark-oberon-1.0.2-RC1.tar.gz SHA256 ;-) ... [ ok ]
* dark-oberon-1.0.2-RC1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking dark-oberon-1.0.2-RC1.tar.gz ;-) ... [ ok ]
nscd: Only root is allowed to use this option!
nscd: Only root is allowed to use this option!
>>> Checking dark-oberon-1.0.2-RC1.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> Compiling source in /var/tmp/portage/games-strategy/dark-oberon-1.0.2_rc1/work/dark-oberon-1.0.2-RC1 ...
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doalloc.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doberon.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dobuildings.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doconfig.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dodata.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dodraw.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doengine.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c doevents.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dofactories.cpp
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dofight.cpp
doengine.cpp: In function ‘void CreateBuildButtons()’:
doengine.cpp:3984: error: cast from ‘TBUILDING_ITEM*’ to ‘int’ loses precision
doengine.cpp:4010: error: cast from ‘TFORCE_ITEM*’ to ‘int’ loses precision
doengine.cpp: In function ‘void CreateOrderButtons()’:
doengine.cpp:4075: error: cast from ‘TFORCE_ITEM*’ to ‘int’ loses precision
g++ -O2 -pipe -ggdb -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs -DDATA_DIR='"/usr/share/games/dark-oberon/"' -DUNIX=1 -DSOUND=0 -DDEBUG=0 -c dofile.cpp
make: *** [doengine.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: games-strategy/dark-oberon-1.0.2_rc1 failed.
Call stack:
ebuild.sh, line 1611: Called dyn_compile
ebuild.sh, line 968: Called qa_call 'src_compile'
environment, line 3249: Called src_compile
dark-oberon-1.0.2_rc1.ebuild, line 38: Called die
Doesn't compile for amd64 as said... |