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

Bug 446020

Summary: games-strategy/warzone2100: new version 3.1_rc3
Product: Gentoo Linux Reporter: Ambroz Bizjak <ambrop7>
Component: [OLD] GamesAssignee: Mr. Bones. (RETIRED) <mr_bones_>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: amynka, manschwetus
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild diff from 2.3.9
warzone2100-3.1_rc3.ebuild
warzone2100-3.1_rc3-pkgconf.patch
warzone2100-3.1_rc3-gl-save-state-crash.patch
warzone2100-3.1_rc3.ebuild
warzone2100-3.1_rc3.ebuild

Description Ambroz Bizjak 2012-12-05 00:27:06 UTC
Here's an ebuild for warzone2100 version 3.1_rc3. Currently there is only version 2.3.9 in the tree which is old, and most multiplayer games have moved to the new versions. This version has seen significant changes, and now Qt can be used instead of SDL.

Reproducible: Always
Comment 1 Ambroz Bizjak 2012-12-05 00:28:41 UTC
Created attachment 331466 [details, diff]
ebuild diff from 2.3.9
Comment 2 Ambroz Bizjak 2012-12-05 00:29:33 UTC
Created attachment 331468 [details]
warzone2100-3.1_rc3.ebuild
Comment 3 Ambroz Bizjak 2012-12-05 00:30:14 UTC
Created attachment 331470 [details, diff]
warzone2100-3.1_rc3-pkgconf.patch
Comment 4 Ambroz Bizjak 2012-12-05 00:31:07 UTC
Created attachment 331472 [details, diff]
warzone2100-3.1_rc3-gl-save-state-crash.patch

Fixes crash http://developer.wz2100.net/ticket/3818
Comment 5 Ambroz Bizjak 2012-12-05 00:54:30 UTC
Created attachment 331474 [details]
warzone2100-3.1_rc3.ebuild

Oops, that last ebuild was missing a backslash in the configure arguments.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2012-12-05 01:42:20 UTC

*** This bug has been marked as a duplicate of bug 419747 ***
Comment 7 Ambroz Bizjak 2012-12-05 15:43:52 UTC
Created attachment 331546 [details]
warzone2100-3.1_rc3.ebuild

Updated videos link in ebuild (old link worked, but this is what's linked on the home page as high quality, and it's larger). Tested that videos still work.
Comment 8 Florian Manschwetus 2012-12-05 16:16:37 UTC
The ebuild seems to need an WANT_AUTOMAKE="1.11", at least here to build
Comment 9 Florian Manschwetus 2012-12-05 16:30:51 UTC
hm but when I try to launch the game I get an
libEGL warning: DRI2: failed to authenticate
fatal   |05:29:03: [screenInitialise:75] Error: Missing GL version

What is a bit strange as it where running fine with my own ebuild (without qt support)
Comment 10 Ambroz Bizjak 2012-12-05 16:34:06 UTC
(In reply to comment #8)
> The ebuild seems to need an WANT_AUTOMAKE="1.11", at least here to build

Works fine here without WANT_AUTOMAKE="1.11" (~amd64 system).
sys-devel/automake-1.12.5
sys-devel/autoconf-2.69

$ automake --version
automake (GNU automake) 1.12.5
$ autoconf --version
autoconf (GNU Autoconf) 2.69

What is the error you're getting?
Comment 11 Ambroz Bizjak 2012-12-05 16:37:00 UTC
(In reply to comment #9)
> hm but when I try to launch the game I get an
> libEGL warning: DRI2: failed to authenticate
> fatal   |05:29:03: [screenInitialise:75] Error: Missing GL version
> 
> What is a bit strange as it where running fine with my own ebuild (without
> qt support)

That seems a lot like a misconfiguration. Have you tried the ebuild with -qt? Maybe it's an upstream problem and has nothing to do with the ebuild. As far as I understand, Qt support is supposed to be enabled, which is why I did IUSE="+qt".
Comment 12 Florian Manschwetus 2012-12-06 09:56:40 UTC
Additionally warzone should depend on <glew-1.9, as there are problems with quesoglc see: http://developer.wz2100.net/ticket/3679
Comment 13 Florian Manschwetus 2012-12-06 10:11:12 UTC
(In reply to comment #12)
> Additionally warzone should depend on <glew-1.9, as there are problems with
> quesoglc see: http://developer.wz2100.net/ticket/3679

Maybe fixed with the patch above, from:
http://developer.wz2100.net/ticket/3818

But automake seems still to be an issue:
http://developer.wz2100.net/search?q=automake
Comment 14 Florian Manschwetus 2012-12-06 10:13:38 UTC
By the way, you missed to give some detail about the pkgconf patch, just for interest.
Comment 15 Florian Manschwetus 2012-12-06 13:11:11 UTC
Maybe eautoreconf finds the existing autoconf output and automagically detects that automake 1.11 is needed
When getting files from git thoose files are missing.
Comment 16 Ambroz Bizjak 2012-12-06 13:19:30 UTC
> By the way, you missed to give some detail about the pkgconf patch, just for
> interest.
I just ported the patch which already existed, see bug 428494.

> Maybe fixed with the patch above, from:
Yes, that patch fixed the only crash I was getting. If you're getting crashes which get fixed with older glew, feel free to post a new ebuild with the dependency added.
Comment 17 Amy Liffey gentoo-dev 2012-12-09 17:12:11 UTC
Again not duplicate ;)
Comment 18 Julian Ospald 2012-12-09 17:15:24 UTC
stop messing around

*** This bug has been marked as a duplicate of bug 419747 ***
Comment 19 Jan Krajdl 2012-12-11 07:23:07 UTC
The problem is that no one bump requests is open. The one which you mark this as duplicate of is resolved as won't fix, so there is one bump request resolved and all others are their duplicates. Changing title is fine but I guess that no one will be resolving closed tickets...