Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96781 - [EBUILD] dark-oberon
Summary: [EBUILD] dark-oberon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://dark-oberon.sf.net
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-06-22 06:26 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2008-05-30 20:40 UTC (History)
5 users (show)

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


Attachments
games-strategy/dark-oberon-1.0.ebuild (dark-oberon-1.0.ebuild,733 bytes, text/plain)
2005-06-22 06:29 UTC, Christoph Brill (egore) (RESIGNED)
Details
games-strategy/dark-oberon-1.0.1 (dark-oberon-1.0.1.ebuild,751 bytes, text/plain)
2005-06-23 13:03 UTC, Christoph Brill (egore) (RESIGNED)
Details
files/Makefile (Makefile,12.87 KB, text/plain)
2005-06-23 13:05 UTC, Christoph Brill (egore) (RESIGNED)
Details
dark-oberon-1.0.1.ebuild (dark-oberon-1.0.1.ebuild,821 bytes, text/plain)
2005-06-23 14:06 UTC, Mr. Bones. (RETIRED)
Details
1.0.1-makefile.patch (1.0.1-makefile.patch,1.20 KB, text/plain)
2005-06-23 14:09 UTC, Mr. Bones. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2005-06-22 06:26:53 UTC
I saw a nice RTS game. Wrote a quick ebuild.

Reproducible: Always
Steps to Reproduce:
Comment 1 Christoph Brill (egore) (RESIGNED) 2005-06-22 06:29:01 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.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-06-22 17:54:35 UTC
doesn't seem to compile with fmod support?
Comment 3 Christoph Brill (egore) (RESIGNED) 2005-06-22 21:58:15 UTC
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).
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-06-22 22:53:19 UTC
did you look at the link line?  I don't see -lfmod there by default.  Do you get
sound with your ebuild?
Comment 5 Christoph Brill (egore) (RESIGNED) 2005-06-23 13:03:50 UTC
Created attachment 61799 [details]
games-strategy/dark-oberon-1.0.1

updated ebuild (for 1.0.1)
Comment 6 Christoph Brill (egore) (RESIGNED) 2005-06-23 13:05:01 UTC
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 ;)
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 14:06:51 UTC
Created attachment 61804 [details]
dark-oberon-1.0.1.ebuild

Here's the ebuild I'm working from.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 14:09:45 UTC
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.
Comment 9 Patrick Fehr 2005-07-11 15:05:18 UTC
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 
Comment 10 Kåre Baastrup 2005-08-19 08:22:06 UTC
Version bumped to 1.0.2-RC1
Comment 11 Kåre Baastrup 2005-08-19 11:13:41 UTC
you need to add -lXxf86vm in the end of the LIBRARIES in Makefile.
Comment 12 Tupone Alfredo gentoo-dev 2007-01-16 16:22:17 UTC
dark-oberon is now in portage. version is 1.0.2_rc1
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2007-01-30 12:54:07 UTC
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
Comment 14 Lefty 2008-05-30 20:40:44 UTC
Doesn't compile for amd64 as said...