Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 323131

Summary: games-fps/gzdoom: new ebuild
Product: Gentoo Linux Reporter: Mike MacDonald <crazymykl>
Component: Current packagesAssignee: William Breathitt Gray <vilhelm.gray>
Status: RESOLVED FIXED    
Severity: enhancement CC: games, maintainer-wanted, mgorny, proxy-maint, sunrise
Priority: High Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://grafzahl.drdteam.org/
Whiteboard: sunrise-removal
Package list:
Runtime testing required: ---
Attachments: The ebuild
The revised ebuild
The re-revised ebuild
The re-re-revised live-ebuild
An ebuild for the current release version.
Build.log
Git repo based ebuild
gzdoom-3.2.1 ebuild

Description Mike MacDonald 2010-06-08 01:40:08 UTC
There is no ebuild for gzdoom in gentoo. 

Reproducible: Always

Steps to Reproduce:
1. emerge gzdoom

Actual Results:  
No ebuilds match "gzdoom".

Expected Results:  
gzdoom should install.
Comment 1 Mike MacDonald 2010-06-08 01:46:53 UTC
Created attachment 234487 [details]
The ebuild
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-06-08 12:46:11 UTC
Hello Mike,

would be nice to review it in #gentoo-sunrise on irc.freenode.net.

Thanks,
On behalf of the Gentoo Sunrise Team,
Michael "not a sunrise member yet" Weber.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 3 Mike MacDonald 2010-06-08 22:43:36 UTC
Created attachment 234609 [details]
The revised ebuild

Changes suggested by #gentoo-sunrise.
Comment 4 Mike MacDonald 2010-06-09 00:24:46 UTC
Created attachment 234611 [details]
The re-revised ebuild

More changes suggested by #gentoo-sunrise.
Comment 5 Mike MacDonald 2010-06-09 19:58:30 UTC
Created attachment 234761 [details]
The re-re-revised live-ebuild

Hopefully the last revision for a while.
Comment 6 Mike MacDonald 2010-06-09 19:59:23 UTC
Created attachment 234763 [details]
An ebuild for the current release version.
Comment 7 Piotr Szymaniak 2011-06-26 10:29:49 UTC
Created attachment 278217 [details]
Build.log

# emerge --info =games-fps/gzdoom-1.5.5
Portage 2.2.0_alpha41 (default/linux/amd64/10.0, gcc-4.6.0, glibc-2.13-r2, 2.6.39.1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39.1-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 25 Jun 2011 21:45:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo roslin xarthisius sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/roslin /var/lib/layman/xarthisius /var/lib/layman/sunrise"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



# emerge -pqv =games-fps/gzdoom-1.5.5
[ebuild  N    ] media-libs/fmod-4.26.00  USE="-examples" 
[ebuild  N    ] media-libs/flac-1.2.1-r4  USE="cxx sse -3dnow (-altivec) -debug -ogg -static-libs" 
[ebuild  N    ] media-libs/audiofile-0.2.7  USE="-static-libs" 
[ebuild  N    ] media-libs/libjpeg-turbo-1.1.1  USE="-static-libs" 
[ebuild  N    ] media-libs/libsdl-1.2.14-r6  USE="audio joystick video -X -aalib -alsa -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -opengl -oss (-ps3) -pulseaudio -static-libs (-svga) -tslib -xinerama -xv" 
[ebuild  N    ] virtual/jpeg-0  USE="-static-libs" 
[ebuild  N    ] games-fps/gzdoom-1.5.5  USE="mmx -fluidsynth -gtk"
Comment 8 Mike MacDonald 2011-06-26 22:31:56 UTC
media-libs/mesa should provide GLU.
Comment 9 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-06-27 04:32:41 UTC
(In reply to comment #8)
> media-libs/mesa should provide GLU.

There's also a handy virtual/glu which you could use and virtual/opengl which any opengl-using app probably should depend against ;-).
Comment 10 Mike MacDonald 2011-06-27 12:16:27 UTC
Fix committed and awaiting review.
Comment 11 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2011-06-27 12:20:56 UTC
(In reply to comment #10)
> Fix committed and awaiting review.

ohnobinki@ohnopublishing ~/sunrise/sunrise/games-fps/gzdoom $ repoman

RepoMan scours the neighborhood...
!!! A file is not listed in the Manifest: '/home/ohnobinki/sunrise/sunrise/games-fps/gzdoom/gzdoom-1.5.5.ebuild'
 * Missing digest for '/home/ohnobinki/sunrise/sunrise/games-fps/gzdoom/gzdoom-1.5.5.ebuild'
 * Missing digest for '/home/ohnobinki/sunrise/sunrise/games-fps/gzdoom/gzdoom-9999.ebuild'
  ebuild.syntax                 2
   games-fps/gzdoom/gzdoom-1.5.5.ebuild
   games-fps/gzdoom/gzdoom-9999.ebuild
  manifest.bad                  1
   games-fps/gzdoom/Manifest
Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."

What method are you using to recreate the Manifest and commit?
Comment 12 Mike MacDonald 2011-06-27 16:22:49 UTC
ebuild gzdoom-1.5.5.ebuild digest
ebuild gzdoom.ebuild digest
sunrise-commit -c "commit message"
Comment 13 Marcin Kowalski 2011-11-15 13:50:46 UTC
does anyone else have build errors against current in-portage fmod ?

i had to alter ebuild to bundle fmod 4.26 with the game and build it against that version to have it working (tested with live ebuild).

also 1.5.5 / 1.5.6 (ebuild could use a bump) crashes when playing sounds, regardless of fmod version. 

i'll post altered ebuild later today.
Comment 14 Mike MacDonald 2011-11-15 16:23:36 UTC
I have a patch which allows compilation against newer fmod, but it is not finished (underwater reverb is broken). Once I complete it, I will update the ebuilds.
Comment 15 Patrick Lauer gentoo-dev 2013-03-18 04:27:22 UTC
[ 37%] Building C object src/CMakeFiles/zdoom.dir/sdl/crashcatcher.o
cd /var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5_build/src && /usr/bin/i686-pc-linux-gnu-gcc  -DBACKPATCH -DHAVE_FPU_CONTROL -DHAVE_SIGTIMEDWAIT -DNEED_STRUPR=1 -DNOASM -D__forceinline=inline -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp  -DNDEBUG -O2 -march=i686 -pipe   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/SDL -I/usr/include/fmodex -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/lzma/C -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5_build/src -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/. -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/g_doom -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/g_heretic -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/g_hexen -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/g_raven -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/g_strife -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/g_shared -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/fragglescript -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/Linux -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/oplsynth -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sound -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/textures -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/thingdef -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/timidity -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/xlat -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/../game-music-emu/gme -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/../gdtoa -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/../dumb/include -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5_build/gdtoa -I/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl    -o CMakeFiles/zdoom.dir/sdl/crashcatcher.o -c /var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c: In function ‘crash_catcher’:
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c:192:16: error: storage size of ‘rl’ isn’t known
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c:371:12: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c: In function ‘sys_info’:
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c:178:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c:180:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c: In function ‘gdb_info’:
/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5/src/sdl/crashcatcher.c:155:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/crashcatcher.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5_build'
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/games-fps/gzdoom-1.5.5/work/gzdoom-1.5.5_build'
make: *** [all] Error 2
emake failed
 * ERROR: games-fps/gzdoom-1.5.5 failed (compile phase):
 *   (no error message)
Comment 16 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:45:02 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/
Comment 17 Marcin Kowalski 2017-05-22 11:26:19 UTC
Gzdoom got rid of fmod recently so it's a less of a headache to package it now.


I mostly have live ebuilds in my overlay that i use all the time, i may post them later for fixups.
Comment 18 Rob 2017-11-23 14:18:23 UTC
Created attachment 505888 [details]
Git repo based ebuild

This is the ebuild I've used to build the latest checkout from the project's Git repo. The doc statements are suppressed due to a minor error they were causing, but that would be easy to fix.
Comment 19 Hadrien Lacour 2017-11-23 14:34:22 UTC
Created attachment 505896 [details]
gzdoom-3.2.1 ebuild

I made one too yesterday (also did oblige, gave me some difficulties). Yours is lacking -DCMAKE_BUILD_TYPE=Release (default to debug) and maybe mpg123, game-music-emu, libsndfile dependencies. I should fix the pk3 directory location, though.
Comment 20 William Breathitt Gray 2019-06-09 07:01:37 UTC
This issue can be closed. A GZDoom ebuild has been added to the Gentoo ebuild repository: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98a6807d2b7584ad5f97e38c2dc19f8551e7e8ff
Comment 21 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-09 07:10:52 UTC
Do the honors.