Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131604 - quake4-bin-1.2.1.ebuild (Update)
Summary: quake4-bin-1.2.1.ebuild (Update)
Status: VERIFIED 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-04-28 13:21 UTC by Paul Bredbury
Modified: 2006-05-02 22:17 UTC (History)
0 users

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


Attachments
quake4-bin-1.2.diff (quake4-bin-1.2.diff,2.02 KB, patch)
2006-04-28 13:23 UTC, Paul Bredbury
Details | Diff
quake4-bin-1.2.diff (quake4-bin-1.2.diff,2.23 KB, patch)
2006-04-28 15:05 UTC, Paul Bredbury
Details | Diff
quake4-bin-1.2.1.diff (diff.txt,1.99 KB, patch)
2006-05-01 15:26 UTC, Paul Bredbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-04-28 13:21:56 UTC
Hi, here is a patch for Quake4 for the new version which adds an smp binary.

"id" should be in lower-case, according to http://en.wikipedia.org/wiki/Id_Software
Comment 1 Paul Bredbury 2006-04-28 13:23:04 UTC
Created attachment 85694 [details, diff]
quake4-bin-1.2.diff

Patch of quake4-bin-1.2.ebuild to create quake4-bin-1.2.1.ebuild
Comment 2 Luke Bratch 2006-04-28 15:00:55 UTC
(In reply to comment #1)
> Created an attachment (id=85694) [edit]
> quake4-bin-1.2.diff
> 
> Patch of quake4-bin-1.2.ebuild to create quake4-bin-1.2.1.ebuild
> 

This ebuild works fine, and enables smp support with a USE flag.
Comment 3 Paul Bredbury 2006-04-28 15:05:49 UTC
Created attachment 85703 [details, diff]
quake4-bin-1.2.diff

Removed out-of-date mirrors (which didn't even contain the now-old version 1.2). Also removed 3dgamers mirror, because portage will wget a HTML error file if a HTTP mirror does not contain the new version. Added RESTRICT="primaryuri".
Comment 4 Michael Boone 2006-04-29 13:14:13 UTC
x86

ebuild ran smooth
Comment 5 Paul Bredbury 2006-04-30 08:18:40 UTC
Version 1.2.1 has some stability issues with smp, apparently:
http://forums.gentoo.org/viewtopic-t-436661-start-30.html
Comment 6 Lee Trager 2006-04-30 10:22:25 UTC
It may be worth it to put this into portage marked testing and put quake4-bin-1.2 stable. This version does fix some issue that I have read around the net some Linux users were having. Here is the three fixes from the change log

* no longer using SDL_ListModes to filter available resolutions ( use +set r_useSDLModes to re-enable, SDL_ListModes returns way too little of the possible resolutions )
* fix stalls that may happen with DNS resolution ( Linux bug only )
* fix a download bug: if the server is configured with some of the fs_*path cvars having a trailing slash, they might cut one character when returning download URLs.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-01 08:50:40 UTC
Since x86 and amd64 are identical (symlink) I've just removed the arch checks entirely.  I also am not adding the smp USE flag.  I'm just installing it by default since that's what upstream does.
Comment 8 Paul Bredbury 2006-05-01 15:25:22 UTC
quake4-bin-1.2.1 currently in Portage does not install /opt/quake4/quake4smp.x86

"smp" should be a USE flag. Who wants to see an additional SMP desktop entry if they haven't got an SMP processor? Also, any ebuilds for Quake 4 mods would have to be changed to execute quake4-smp rather than quake4.

id's .run file does not rename libSDL-1.2.id.so.0 to libSDL-1.2.so.0, so why should the ebuild?
Comment 9 Paul Bredbury 2006-05-01 15:26:47 UTC
Created attachment 85955 [details, diff]
quake4-bin-1.2.1.diff

Patch to apply to quake4-bin-1.2.1.ebuild, to fix the issues I mentioned.
Comment 10 Lee Trager 2006-05-01 19:44:07 UTC
I ran just quake4 when I saw there was no quake4-smp but in console I did r_useSMP 1 and it seemed to turn smp on. It would be nice to do it the offical ID way.
Comment 11 Paul Bredbury 2006-05-01 19:55:17 UTC
> it seemed to turn smp on.

It's lying, unless the frames per second increased. id's package contains quake4.x86 and quake4smp.x86 - it seems unlikely that quake4.x86 contains smp code also.
Comment 12 Lee Trager 2006-05-01 21:10:53 UTC
(In reply to comment #11)
> > it seemed to turn smp on.
> 
> It's lying, unless the frames per second increased. id's package contains
> quake4.x86 and quake4smp.x86 - it seems unlikely that quake4.x86 contains smp
> code also.
> 

hmm ok just thought I would try it. I havnt played much because of school and work since beat the game(1.0.x) so it did seem faster to me. heh it also didnt crash at all. I wonder why Id cannt have the SMP code in one bin and be able to turn it on and off?
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-02 07:36:45 UTC
I've fixed up the ebuild in portage to install the smp binary.  I actually just missed that when I did my test.  Anyway, I'm *not* adding any USE flags for this, as it's asinine when upstream installs it no matter what.
Comment 14 bugzilla 2006-05-02 09:11:47 UTC
(In reply to comment #13)
> I've fixed up the ebuild in portage to install the smp binary.

There's a typo in line 61 of the ebuild file. It should read
        bin/Linux/x86/libSDL-1.2.id.so.0 bin/Linux/x86/quake4smp.x86 \
instead of
        bin/Linux/x86/libSDL-1.2.id.so.0 bin/Linux/x86/quakesmp4.x86 \
Comment 15 Paul Bredbury 2006-05-02 09:35:22 UTC
(In reply to comment #13)
> as it's asinine when upstream installs it no matter what.

Why so reluctant to fix upstream's broken behaviour? Especially when it's easy, and I've supplied a patch to do it.

I'm reopening this bug, due to the outstanding problem mentioned in comment #14.
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-02 11:47:37 UTC
DO NOT REOPEN THIS BUG!!!

This bug is for having the ebuild in the tree.  Quit reopening it for other things that are NOT about getting it in the tree.
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-02 11:48:03 UTC
This has been done, so CLOSING.
Comment 18 Paul Bredbury 2006-05-02 12:42:31 UTC
> This bug is for having the ebuild in the tree.

Would that be an ebuild which actually works for a change, since you ignore my patches?
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-02 13:29:21 UTC
Excellent attitude...

See, your patches are not ignored.

In fact, if you noticed what I commit, you'd see that most of what goes into them is the same as your patches.  However, when your patches include things that I, as the maintainer of the package, do not feel need to go in, I'm not going to apply them.  A good example of this is the smp USE flag, which I find to be an unnecessary addition.

Because of this, I had to manually add parts of the patches that I liked, which means I'm more likely to make a mistake.  In the future, I'll simply wait until I can be at home and actually test everything properly before making any commits, even if it means a delay in getting fixes into the tree.

If you want your patches to be accepted verbatim, quit adding features to them, especially features where the maintainer has already stated in the bug that the feature wasn't wanted.  Adding it back in is really a slap in the face to me.

Now, if you feel like you need to continue to discuss this, feel free to contact me outside of bugzilla, as this isn't a discussion forum.
Comment 20 Paul Bredbury 2006-05-02 13:48:38 UTC
> which I find to be an unnecessary addition.

Well, that's a totally unsatisfactory explanation, for anyone who actually cares about improving the ebuild. Care to elaborate? I have already stated two logical reasons why it is a desirable addition, in comment #8. And provided the patch. What more am I supposed to do?

State logical reasons, and I will happily accept them. Show that I am wrong, and I will happily apologize and try to produce better results in the futue. But, treat me like an imbecile and give me crap, and you lose my support.
Comment 21 SpanKY gentoo-dev 2006-05-02 20:35:43 UTC
how exactly do you want "unnecessary" spelled out for you ?  controlling the generation of a symlink via the USE flag 'smp' is unnecessary overhead; no more explanation is needed
Comment 22 Paul Bredbury 2006-05-02 22:17:55 UTC
(In reply to comment #21)
> how exactly do you want "unnecessary" spelled out for you ?

In a way that makes sense, please.

>  controlling the
> generation of a symlink via the USE flag 'smp' is unnecessary overhead; no more
> explanation is needed

It takes seconds for me to add the USE flag as a patch. How long does it take to add it to Gentoo Portage? Why class it as unnecessary overhead, versus a desirable enhancement? Adding duplicate useless menu entries, just because upstream mistakenly thinks it's a good idea, doesn't make it a good idea for Gentoo.