Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144511 - no ebuild for warzone2100 2.0.4
Summary: no ebuild for warzone2100 2.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 04:45 UTC by Marijn Schouten (RETIRED)
Modified: 2006-08-26 19:31 UTC (History)
1 user (show)

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


Attachments
warzone2100-2.0.4.ebuild (warzone2100-2.0.4.ebuild,1.21 KB, text/plain)
2006-08-26 05:16 UTC, Tristan Heaven (RETIRED)
Details
warzone2100-2.0.4.ebuild (warzone2100-2.0.4.ebuild,1.35 KB, text/plain)
2006-08-26 06:26 UTC, Tristan Heaven (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2006-08-20 04:45:31 UTC
There is no ebuild yet for warzone2100 2.0.4 release candidate 2. I'm hoping I can adapt the 2.0.3 ebuild so I'll give it a try.
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2006-08-20 05:07:47 UTC
The ebuild which downloads, unpacks and fails to compile warzone2100-2.0.4_rc2:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.0.3.ebuild,v 1.4 2006/08/11 20:38:22 wolf31o2 Exp $

inherit debug eutils versionator games

MY_PV="$(get_version_component_range -2 ${PV})"
DESCRIPTION="3D real-time strategy game"
HOMEPAGE="http://wz.rootzilla.de/"
SRC_URI="http://download.gna.org/warzone/releases/${MY_PV}/warzone-${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
# upstream requested debug support
IUSE="debug mp3"

RDEPEND="dev-games/physfs
        mp3? ( >=media-libs/libmad-0.15 )
        media-libs/jpeg
        media-libs/libogg
        media-libs/libpng
        media-libs/libsdl
        media-libs/libvorbis
        media-libs/openal
        media-libs/sdl-net
        virtual/glu
        virtual/opengl"
DEPEND="${RDEPEND}
        app-arch/zip"

S=${WORKDIR}/warzone-${PV}

src_unpack() {
        unpack ${A}
        cd "${S}"

#       epatch "${FILESDIR}/${P}-16bpp.patch"
}

src_compile() {
        egamesconf \
                --disable-dependency-tracking \
                --with-ogg \
                $(use_with mp3) \
                $(use_enable debug) \
                || die "egamesconf failed"

        emake || die "emake failed"
}

src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"

        doicon debian/${PN}.png
        domenu debian/warzone.desktop

        dodoc AUTHORS CHANGELOG README TODO
        prepgamesdirs
}

#pkg_postinst() {
#       games_pkg_postinst
#       ewarn "Currently, attempting to use uppercase letters in save game names"
#       ewarn "will cause a crash."
#}
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2006-08-20 05:11:43 UTC
stderr output:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libphysfs.so when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/X11R6/lib/libphysfs.a when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libphysfs.so when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libphysfs.a when searching for -lphysfs
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lphysfs
collect2: ld returned 1 exit status
make[3]: *** [warzone] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2006-08-20 05:14:32 UTC
emerge --info:
Portage 2.1.1_pre5-r2 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-hardened, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Fri, 18 Aug 2006 09:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="nl_NL@euro.UTF-8"
LINGUAS="nl en"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi aim alsa artworkextra avi bash-completion berkdb bidi bitmap-fonts bzip2 canna cdr cjk cli crypt cups dbus dga directfb divx4linux dlloader dri dvd dvdr eds elibc_glibc emboss encode fbcon firefox foomaticdb fortran freewnn ftp gif ginac gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hardened icq ieee1394 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal kernel_linux ldap libcaca libwww linguas_en linguas_nl lzw lzw-tiff mad mozilla mp3 mpeg mplayer msn mule ncurses nls nptl nptlonly offensive ogg opengl oscar pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection sasl sdl session speex spell spl ssl svg tcpd theora tidy tiff truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis wmf xine xmms xorg xpm xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I also have dev-games/physfs version 1.0.1 installed. Maybe I just need a newer version.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2006-08-20 05:43:12 UTC
Actually this is the same error I get for the warzone2100-2.0.3 ebuild. It seems to mean that a 32-bit version of physfs is needed.

Strangely enough I do have warzone2100-2.0.3 installed and I can run it, although it does segfault after 3 seconds.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-08-20 07:01:24 UTC
We'll do 2.0.4 final.
Comment 6 Devon Warren 2006-08-25 19:11:10 UTC
(In reply to comment #5)
> We'll do 2.0.4 final.
> 
2.0.4 final is out :)
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2006-08-26 03:21:02 UTC
yep, it's out and it's not in yet. retitling and reopening 
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2006-08-26 05:16:34 UTC
Created attachment 95125 [details]
warzone2100-2.0.4.ebuild
Comment 9 Tristan Heaven (RETIRED) gentoo-dev 2006-08-26 06:26:25 UTC
Created attachment 95131 [details]
warzone2100-2.0.4.ebuild

fix broken .desktop
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2006-08-26 19:31:42 UTC
In portage.  thanks for the bug report and ebuild.