This ebuild I hacked out in two minutes incorporates the patch written by Barry Mead in order to support full screen. Original patch location: http://www.geocities.com/barrymead0
Created attachment 51613 [details] The new ebuild itself. This new ebuilds adds support for the fullscreen patch.
Created attachment 51614 [details, diff] The fullscreen patch
Created attachment 78386 [details] Added a USE flag to support the full version of the game. This ebuild adds a use flag to support switching between full and shareware version. See bug #120782 And of course it supports the fullscreen patch.
The fullscreen patch does not work for me... compiling with fullscreen patch gives me the following error: gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4 -DDATADIR=\"/usr/share/games/rott/\" -c -o fx_man.o fx_man.c fx_man.c: In Funktion
The fullscreen patch does not work for me... compiling with fullscreen patch gives me the following error: gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4 -DDATADIR=\"/usr/share/games/rott/\" -c -o fx_man.o fx_man.c fx_man.c: In Funktion »MUSIC_Continue«: fx_man.c:1164: Warnung: Zeigerziele bei Übergabe des Arguments 1 von »MUSIC_PlaySong« unterscheiden sich im Vorzeichenbesitz fx_man.c: In Funktion »MUSIC_PlaySong«: fx_man.c:1200: Warnung: Zeigerziele in Zuweisung unterscheiden sich im Vorzeichenbesitz fx_man.c: In Funktion »MUSIC_PlaySongROTT«: fx_man.c:1234: Warnung: Zeigerziele in Zuweisung unterscheiden sich im Vorzeichenbesitz gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4 -DDATADIR=\"/usr/share/games/rott/\" -c -o isr.o isr.c gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4 -DDATADIR=\"/usr/share/games/rott/\" -c -o modexlib.o modexlib.c modexlib.c: In Funktion »VH_UpdateScreen«: modexlib.c:747: Warnung: Zeigerziele bei Übergabe des Arguments 1 von »copyFullScreen« unterscheiden sich im Vorzeichenbesitz modexlib.c: In Funktion »XFlipPage«: modexlib.c:777: Warnung: Zeigerziele bei Übergabe des Arguments 1 von »copyFullScreen« unterscheiden sich im Vorzeichenbesitz gcc -g -I/usr/include/SDL -D_REENTRANT -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4 -DDATADIR=\"/usr/share/games/rott/\" -c -o rt_actor.o rt_actor.c rt_actor.c:433: Fehler: statische Deklaration von »STOPSPEED« folgt nicht-statischer Deklaration rt_actor.h:318: Fehler: vorherige Deklaration von »STOPSPEED« war hier make: *** [rt_actor.o] Fehler 1 !!! ERROR: games-fps/rott-1.0-r2 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile rott-1.0-r2.ebuild, line 37: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Compiling without fullscreen patch works, but gameplay is quite poor... any suggenstions? emerge --info Portage 2.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.0.3, glibc-2.3.6-r4, 2.6.16-beyond-git12 i686) ================================================================= System uname: 2.6.16-beyond-git12 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre19 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r6 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mtune=pentium4 -msse -msse2 -pipe -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident -fforce-addr -falign-functions=4 -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo-de" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 arts avi bitmap-fonts cdr cli crypt cups divx4linux dlloader dri dvd dvdr encode ffmpeg foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imlib ipv6 isdnlog joystick jpeg kde libg++ libwww mad mmx motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdf pdflib perl pic png pppd python qt quicktime readline real reflection scanner sdl session spell spl sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wmf xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nv video_cards_nvidia video_cards_fbdev video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
should go through upstream, not us