Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50549 - doomlegacy-1.42.ebuild (Update)
Summary: doomlegacy-1.42.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 08:10 UTC by Florian Westphal
Modified: 2004-07-20 19:22 UTC (History)
4 users (show)

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


Attachments
doomlegacy-1.42.ebuild (doomlegacy-1.42.ebuild,2.65 KB, text/plain)
2004-05-09 08:12 UTC, Florian Westphal
Details
1.42-errno.patch: removes all references to "extern int errno" (1.42-errno.patch,1.30 KB, text/plain)
2004-05-09 08:13 UTC, Florian Westphal
Details
1.42-makefile.patch: Change CFLAGS. Based on 1.41-makefile.patch found in portage. (1.42-makefile.patch,4.36 KB, text/plain)
2004-05-09 08:15 UTC, Florian Westphal
Details
1.42-sdl-wadloc.patch make lsdldoom chdir() to the wad data directory. (1.42-sdl-wadloc.patch,507 bytes, text/plain)
2004-05-09 08:17 UTC, Florian Westphal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Westphal 2004-05-09 08:10:22 UTC
Please find attached doomlegacy-1.42.ebuild.
This is basically a copy of doomlegacy-1.41-r1.ebuild, with the following changes:
- If SDL use flags are set, don't install the normal X Version since
the SDL Version now supports Heretic datafiles, too.
- change the wad location from /share/games/doomlegacy to /share/games/doom-data
(see Bug #41341)
- Add patch that causes the SDL Version to chdir() to the Wad file directory (/usr/share/games/doom-data). Without this patch you have to start lsdldoom from the datadir or the wadfiles are not found. (See Bug #41339)
- You need a new version of the legacy.dat file. I've extraced a copy from the win32 Version and put it here:
http://www.foo.fh-furtwangen.de/~westphal/legacy-1.42.dat.bz2
Comment 1 Florian Westphal 2004-05-09 08:12:18 UTC
Created attachment 31050 [details]
doomlegacy-1.42.ebuild
Comment 2 Florian Westphal 2004-05-09 08:13:26 UTC
Created attachment 31051 [details]
1.42-errno.patch: removes all references to "extern int errno"
Comment 3 Florian Westphal 2004-05-09 08:15:02 UTC
Created attachment 31052 [details]
1.42-makefile.patch: Change CFLAGS. Based on 1.41-makefile.patch found in portage.
Comment 4 Florian Westphal 2004-05-09 08:17:00 UTC
Created attachment 31053 [details]
1.42-sdl-wadloc.patch make lsdldoom chdir() to the wad data directory.

See Bugzilla Bug 41339.
http://bugs.gentoo.org/show_bug.cgi?id=41339
Comment 5 Aaron Peterson 2004-06-07 02:05:50 UTC
I'm joining because my doom-legacy 
wants to rebuild the SDL libraries to an earlier version..
-r1 instead of -r3
(found by masking sdl in /etc/portage/package.mask)

bash-2.05b# emerge world -uDp

These are the packages that I would merge, in order:

Calculating world dependencies -
!!! all ebuilds that could satisfy "media-libs/sdl-mixer" have been masked.
!!! possible candidates are:
- media-libs/sdl-mixer-1.2.5-r3 (masked by: package.mask)
- media-libs/sdl-mixer-1.2.5-r1 (masked by: package.mask)
- media-libs/sdl-mixer-1.2.5-r2 (masked by: package.mask)
!!!    (dependency required by "games-fps/doomlegacy-1.41-r1" [ebuild])

!!! Problem with ebuild games-fps/doomlegacy-1.41-r1
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
bash-2.05b#
Comment 6 boris digital 2004-06-11 06:23:15 UTC
hi, this ebuild doesn't compile my doomlegacy.

--------------------------------------------------
emerge info:
Gentoo Base System version 1.4.16
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(TM) XP 2400+
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defa
ults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share
/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/home/portage/portage_distfiles"
FEATURES="autoaddcvs ccache digest distcc fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-u
ni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://ftp.uninett.no/pub/linux/G
entoo"
MAKEOPTS="-j3"
PKGDIR="/home/portage/portage_packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage/portage_overlay /home/portage/portage_overlay_extras/gentoo-de /home/portage/portage_overlay_extras/bmg-main
"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acl acpi acpi4linux activefilter adns alsa amd apache2 apm arts artswrappersuid avi bindist bsh caps cdr cgi
chroot clamav crypt cscope cups curl dedicated dga directfb dv dvb dvd dvdr emacs emacs-w3 encode esd ethereal faad fam fastcgi fbcon fbdev
 ffmpeg flac flash foomaticdb freetype fs gd gdbm geoip ggi gif gimp gimpprint glut gphoto2 gpm gstreamer gtk gtk2 icq imap imlib ipv6 jabb
er java javamail javascript jikes joystick jp2 jpeg kde kerberos krb4 ladcca lcms ldap leim libwww linguas_de lirc lzw lzw-tiff mad maildir
 makecheck mbox mcal md5sum mikmod mixer mldonkeypango mmx mng motif mozctl mozilla mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxm
lterm mpeg mpeg4 mpi mplayer msn mssql mule music mysql nas ncurses net nhc98 nls nocardbus nocd nptl ntlm nvidia oav offensive oggvorbis o
oo-kde openal opengl openssh oscar oss pam parse-clocks pdflib perl php physfs pic plotutils png ppds prelude pthreads python qt quicktime
readline ruby samba sdl slang slp snmp speedo speex spell sse ssl svg svga tcltk tcpd tetex threads tiff transcode truetype ttf type1 unico
de usb v4l v4l2 videos wmf wxwindows x86 xatrix xchattext xface xine xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib zvbi"

--------------------------------------------------

error message follows:

...
echo make complete.
make complete.
Linking...
gcc -DLINUX -DHWRENDER -DDIRECTFULLSCREEN -DHAVE_MIXER -DSDL -DVID_X11  -I. -I/usr/local/include/SDL -I/usr/X11R6/include -Wall  -fwritable-strings -march=athlon-xp -O3 -pipe -fomit-frame-pointer -L/usr/X11R6/lib -L/usr/local/lib ../objs/i_video.o ../objs/dosstr.o ../objs/endtxt.o ../objs/hw_bsp.o ../objs/hw_draw.o ../objs/hw_light.o ../objs/hw_main.o ../objs/hw_md2.o ../objs/hw_cache.o ../objs/hw_trick.o ../objs/r_opengl.o ../objs/ogl_sdl.o ../objs/hwsym_sdl.o ../objs/dstrings.o ../objs/i_cdmus.o ../objs/i_net.o ../objs/i_tcp.o ../objs/i_system.o ../objs/i_sound.o ../objs/tables.o ../objs/f_finale.o ../objs/f_wipe.o ../objs/d_main.o ../objs/d_net.o ../objs/d_items.o ../objs/g_game.o ../objs/m_menu.o ../objs/m_misc.o ../objs/m_argv.o ../objs/m_bbox.o ../objs/m_fixed.o ../objs/m_swap.o ../objs/m_cheat.o ../objs/m_random.o ../objs/am_map.o ../objs/p_ceilng.o ../objs/p_doors.o ../objs/p_enemy.o ../objs/p_floor.o ../objs/p_genlin.o ../objs/p_info.o ../objs/p_inter.o ../objs/p_lights.o ../objs/p_map.o ../objs/p_maputl.o ../objs/p_plats.o ../objs/p_pspr.o ../objs/p_setup.o ../objs/p_sight.o ../objs/p_spec.o ../objs/p_switch.o ../objs/p_mobj.o ../objs/p_telept.o ../objs/p_tick.o ../objs/p_saveg.o ../objs/p_user.o ../objs/r_bsp.o ../objs/r_data.o ../objs/r_draw.o ../objs/r_main.o ../objs/r_plane.o ../objs/r_segs.o ../objs/r_sky.o ../objs/r_things.o ../objs/w_wad.o ../objs/wi_stuff.o ../objs/v_video.o ../objs/st_lib.o ../objs/st_stuff.o ../objs/hu_stuff.o ../objs/s_sound.o ../objs/z_zone.o ../objs/info.o ../objs/sounds.o ../objs/p_fab.o ../objs/dehacked.o ../objs/qmus2mid.o ../objs/g_input.o ../objs/screen.o ../objs/console.o ../objs/command.o ../objs/d_netcmd.o ../objs/d_clisrv.o ../objs/r_splats.o ../objs/g_state.o ../objs/t_func.o ../objs/t_oper.o ../objs/t_parse.o ../objs/t_prepro.o ../objs/t_script.o ../objs/t_spec.o ../objs/t_vari.o ../objs/d_netfil.o ../objs/mserv.o ../objs/p_hsight.o ../objs/s_amb.o ../objs/sb_bar.o ../objs/p_heretic.o ../objs/md5.o ../objs/p_chex.o ../objs/filesrch.o ../objs/b_game.o ../objs/b_look.o ../objs/b_node.o ../objs/b_search.o ../objs/i_main.o \
-o ../bin/lsdldoom -lm -lSDL -lSDL_mixer -lpthread -lGL -lGLU
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000345gl@LIBGLCORE'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000344gl@LIBGLCORE'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000346gl@LIBGLCORE'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000034gl@LIBGLCORE'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000342gl@LIBGLCORE'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000341gl@LIBGLCORE'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libGL.so: undefined reference to `_nv000343gl@LIBGLCORE'
collect2: ld returned 1 exit status
make: *** [../bin/lsdldoom] Error 1

!!! ERROR: games-fps/doomlegacy-1.42 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! build failed
--------------------------------------------------

any suggestions? all 3 patches were successfully aplied.
Comment 7 boris digital 2004-06-12 04:15:01 UTC
hi, my problem solved itself by compiling
doomlegacy against x11-gl instead of using the newest
nvidia gl drivers. by the way, this also happend when
compiling the newest kdeartwork.

so running an
"opengl-update xorg-x11"
before building and an
"opengl-update nvidia"
before running the game solves this problem.
Comment 8 Giacomo Perale 2004-07-03 18:00:41 UTC
I've just compiled (and played) doom legacy 1.42 with this ebuild. Why isn't it in portage?
Comment 9 SpanKY gentoo-dev 2004-07-20 19:22:19 UTC
merged previous 1.41 with your work and added 1.42 to portage

thanks :)