<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>19454</bug_id>
          
          <creation_ts>2003-04-16 23:32 0000</creation_ts>
          <short_desc>pingus-0.6.0.ebuild (New Package)</short_desc>
          <delta_ts>2003-05-07 11:05:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>neurolabs@web.de</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>charles.goodwin@credit1.co.uk</cc>
    
    <cc>david@torangan.de</cc>
    
    <cc>mistatengwar@hotmail.com</cc>
    
    <cc>n2uro@aol.com</cc>
    
    <cc>phosphan@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>neurolabs@web.de</who>
            <bug_when>2003-04-16 23:32:09 0000</bug_when>
            <thetext>I created an ebuild for pingus-0.6.0, it is attached as pingus.tar.gz.

The Creation was very easy and the emerge worked from the start. I don&apos;t suspect
any bugs in the ebuild.

Although I am not sure about the dependencies, made them the latest stable
packages, didi not test older versions of the libs.

Homepage is http://pingus.seul.org

http://bugs.gentoo.org/show_bug.cgi?id=19412 requests this ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>neurolabs@web.de</who>
            <bug_when>2003-04-16 23:34:51 0000</bug_when>
            <thetext>Created an attachment (id=10772)
contains pingus-0.6.0.ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>n2uro@aol.com</who>
            <bug_when>2003-04-17 00:54:58 0000</bug_when>
            <thetext>You beat me to the posting.  Attached please find my varient.  My version of the ebuild is a bit more advanced, has the libxml2 dependancy, and covers the conditional dependancies.

Note that pingus is GPL-2, not GPL-1 (see COPYING).  I&apos;m not sure how to see if clanlib&apos;s GL support is properly installed from an ebuild; hence I detect off of the opengl USE flag (note that pingus will NOT compile in support for clanlib&apos;s clabGL unless explicitly told too, or so it seems to be telling me).

Also note that pingus 0.6 documentation wants clanlib-0.6.5, and the latest Gentoo has is clanlib-0.6.3.  A version bump for clanlib likely is in order.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>n2uro@aol.com</who>
            <bug_when>2003-04-17 00:56:26 0000</bug_when>
            <thetext>Created an attachment (id=10773)
Another pingus-0.6.0 ebuild 

A (slightly) more advanced pingus ebuild varient.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-04-17 04:32:25 0000</bug_when>
            <thetext>You have things in IUSE you do not check for and which do not appear in the dependencies. Please change this first.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-04-17 05:32:58 0000</bug_when>
            <thetext>*** Bug 19412 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>n2uro@aol.com</who>
            <bug_when>2003-04-17 10:28:40 0000</bug_when>
            <thetext>Hmm... not sure here.  I use the opengl check to set the flag, but I&apos;m not sure what clanlib requires since we seem to inherit it via clanGL.  app-games/clanlib also does not check for a specific version of OpenGL.

The X flag gets a bit more confusing.  I see that clanlib does not require X, but starting pingus from the console asks me to choose a display type, and the only choice there is &quot;x11&quot;.  Clanlib&apos;s online documentation does not make it very clear at a glance what alternative 2D renderers it has in 0.6.

If clanlib can render 2D without X, we likely can get away with removing it.  But if clanlib requires X yet can be compiled without it (like opengl), what is the prefered strategy; should we (somehow) detect clanlib&apos;s settings via probing for library files or similar, do nothing, or just USE &quot;X&quot; and require &quot;virtual/X11&quot; like clanlib (although clanlib can --disable-x11)?

Dredging through the source code, I see the mikmod and oggvorbis dependancies are also utilized via clanlib.  We may just be able to get away with checking for clanlib, libxml2, and opengl and stating &quot;if you want support for (vorbis|mikmod|X|etc.), clanlib must have it.&quot;

This is going to take some work to hunt down.  Pingus also should have a nls USE flag control; nls --[en]disable-nls is supported.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@torangan.de</who>
            <bug_when>2003-04-17 10:51:12 0000</bug_when>
            <thetext>Just a few comments after reading what&apos;s been done so far:
1) Pingus requires ClanLib 0.6.5 and has some patches in /contrib which should be applied to ClanLib 0.6.5 (not mandatory but recommended)
2) OpenGL mode is not tested much and likely to crash
3) If you manage to get ClanLib framebuffer to work, Pingus won&apos;t need X (never tried it myself)
4) MikMod / Ogg is only required if ClanMikMod / ClanVorbis are present.
5) libxml2 is required to build Pingus
6) gettext is an optional dependency
7) Any problems with building Pingus may be directed to me, I&apos;m Pingus developer and gentoo user (lacking the time to do an ebuild *g*)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@torangan.de</who>
            <bug_when>2003-04-17 11:59:05 0000</bug_when>
            <thetext>Where&apos;s my brain today? There are three patches to ClanLib:

1. clanlib_x11_mousewheel.diff - harmless
2. clanlib_grave.diff - breaks binary compatibility, don&apos;t know wheter ebuilds may enforce recompile of everything dependend on ClanLib
3. clanlib_gui.diff - only usefull to Pingus, may harm other projects. I guess we should provide a better patch here
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>n2uro@aol.com</who>
            <bug_when>2003-04-17 12:03:32 0000</bug_when>
            <thetext>Is clanlib 0.6.5 an absolute dependancy, or is 0.6.3 acceptable?  I personally have had no major issues running pingus under clanlib 0.6.3.  The only minor details I have noticed is that OpenGL mode looks a bit ugly (low-color) on my GeForce 3 Ti 200 via nvidia-glx, and that telling pingus to use a screen size other than the default 800x600 does not work too well, as many graphics appear to be statically sized.

We really need a good way to detect if some other ebuild has been compiled with certain USE flags.  I have written several ebuilds and read dozens of others, but I have not seen any that do this (is it possible?).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@torangan.de</who>
            <bug_when>2003-04-17 12:19:55 0000</bug_when>
            <thetext>If Pingus compiles with ClanLib 0.6.3 it may be possible, but if I remember right,  ClanLib 0.6.5 came to existence because of bug fixes made on behalf of Pingus. I&apos;d strongly recommend to make ClanLib 0.6.5 a prerequisite. It&apos;s the final version of ClanLib 0.6 anyway unless some important patches are made by ClanLib users.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stubear@bouyer.no-ip.org</who>
            <bug_when>2003-04-18 12:10:27 0000</bug_when>
            <thetext>Another variation ebuild using games.eclass so that users in group games can just type &quot;pingus&quot; from the prompt rather than &quot;/usr/games/pingus&quot;, also puts the binary in /usr/games/bin </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stubear@bouyer.no-ip.org</who>
            <bug_when>2003-04-18 12:11:44 0000</bug_when>
            <thetext>Created an attachment (id=10846)
ebuild for pingus with games.eclass support
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-04-22 07:12:59 0000</bug_when>
            <thetext>Removed GL option because David recommended that.
Cleared IUSE because we don&apos;t check for anything now.
The vorbis and mikmod stuff is a clanlib issue, no need to depend on that
(or was there some other reason?).
Please test it, should be in portage after the next mirror update.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david@torangan.de</who>
            <bug_when>2003-04-22 09:40:45 0000</bug_when>
            <thetext>You don&apos;t need to deactivate OpenGL support, I&apos;ve heard from some people that they got it working. It would just be nice to print out a warning that OpenGL is considered experimental for this release to prevent too much traffic on the Pingus mailing list. ;-)
Even if you compile it with OpenGL support you still have to supply a command line argument to run it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-04-22 09:55:25 0000</bug_when>
            <thetext>Hm... tried to run pingus with xfree 4.3.0-r2 and just got a SIGABRT

last lines of an strace:

open(&quot;/home/kursawe/.pingus/config&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
kill(27521, SIGABRT)                    = 0
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++

will investigate further tomorrow.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-04-23 10:49:17 0000</bug_when>
            <thetext>hm... works fine on a different machine. Too fine. Wasted quite some time playing the tutorial :-). After removing a few old gcc versions out of the corners of the other machines&apos; hard disc, it starts. So I think this was my personal problem. Closing again.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2003-05-07 11:05:39 0000</bug_when>
            <thetext>*** Bug 14156 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10772</attachid>
            <date>2003-04-16 23:34 0000</date>
            <desc>contains pingus-0.6.0.ebuild</desc>
            <filename>pingus.tar.gz</filename>
            <type>text/plain</type>
            <data encoding="base64">H4sIANocnj4AA+3TUW/TMBAA4L7Wv+KU9QEkkjhtSdmkTJraqI1W2qrtBEhIU5peG4vEruwEBlv5
7XhdEQgBT9N44L6XyOfz+eTYOyG3tXG5F3rcw1UtinXjsfGA8zDsNviDh2/Q/j4OeK/T4L2w2+sG
L8NOaPM7POQN4I/eyW/Upko1QEMrVf0t71OOWDxFQ0/rBPpq91mLbV5BcHp66rY578AQZaUULDHL
pSrUVqB5AYnMPHYCA2EqLVZ1hWuo5Ro1VDlChbo0oDaHwXBydV8CdVrArF4VIoOxyFAahI9tW6I1
wtQuPIMWG8SL/jyZLZPpJHIuYIxlaW+kgX6hJDpsNH0dzy6GceTkVbU78/3d4b56BuvCU3rrO2wx
719fzZM/ZmxEgcZv3c72nv3T3upL22HjpB9PFrbqcDZ2A1tjPF1GDnfYZfzuzXQ+WETO15tXocOS
q/ust7CVqrTtDOJZPBlEznmUFaksxOrwcDqs2TyPcnsCaNzA63htV9tNFlHr1ha7HCTz/WF/xozO
rjNV7mxLz57DLWt6fqbkRmxrjfDelnHdXJnKLuyPpovl/hjbadyIm8ivjT5GhNyotdCHkG/yVKN/
HzrOlqn8ZdJG4O4O1gLB+XnPTWpbWTusiWX6AY8p7NipkPZtFMVDp3gc/cj511eXEEIIIYQQQggh
hBBCCCGEEEIIIYSQ/943rzowPgAoAAA=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10773</attachid>
            <date>2003-04-17 00:56 0000</date>
            <desc>Another pingus-0.6.0 ebuild </desc>
            <filename>pingus-0.6.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKREVTQ1JJUFRJT049IkxlbW1pbmdzKHRtKSBjbG9uZSBmb3IgTGludXgo
dG0pIHdpdGggdW5pcXVlIGZlYXR1cmVzIgoKSE9NRVBBR0U9Imh0dHA6Ly9waW5ndXMuc2V1bC5v
cmcvIgpTUkNfVVJJPSJodHRwOi8vcGluZ3VzLnNldWwub3JnL2ZpbGVzLyR7UH0udGFyLmJ6MiIK
TElDRU5TRT0iR1BMLTIiClNMT1Q9IjAiCgpLRVlXT1JEUz0ifng4NiIKSVVTRT0iWCBtaWttb2Qg
b2dndm9yYmlzIG9wZW5nbCIKCkRFUEVORD0iPj1hcHAtZ2FtZXMvY2xhbmxpYi0wLjYuMwoJPj1t
ZWRpYS1saWJzL2hlcm1lcy0xLjMuMgoJPj1kZXYtbGlicy9saWJ4bWwyLTIuNQoJbWlrbW9kPyAo
ID49bWVkaWEtc291bmQvbWlrbW9kLTMuMSApCglvZ2d2b3JiaXM/ICggPj1tZWRpYS1saWJzL2xp
YnZvcmJpcy0xLjAgKSIKCnNyY19jb21waWxlKCkgewoJbG9jYWwgbXljb25mCgl1c2Ugb3Blbmds
ICYmIG15Y29uZj0iJHtteWNvbmZ9IC0td2l0aC1jbGFuR0wiCgllY29uZiAke215Y29uZn0gfHwg
ZGllCgllbWFrZSB8fCBkaWUKfQoKc3JjX2luc3RhbGwoKSB7CgllaW5zdGFsbCB8fCBkaWUKfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10846</attachid>
            <date>2003-04-18 12:11 0000</date>
            <desc>ebuild for pingus with games.eclass support</desc>
            <filename>pingus-0.6.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKaW5oZXJpdCBnYW1lcwoKREVTQ1JJUFRJT049IlBpbmd1cyBpcyBhIGZy
ZWUgTGVtbWluZ3MgY2xvbmUiCgpIT01FUEFHRT0iaHR0cDovL3Bpbmd1cy5zZXVsLm9yZy8iCgpT
UkNfVVJJPSJodHRwOi8vcGluZ3VzLnNldWwub3JnL2ZpbGVzL3Bpbmd1cy0wLjYuMC50YXIuYnoy
IgoKTElDRU5TRT0iR1BMLTIiCgpTTE9UPSIwIgoKS0VZV09SRFM9In54ODYiCgpJVVNFPSJtaWtt
b2Qgb2dndm9yYmlzIG9wZW5nbCIKCkRFUEVORD0iPj1tZWRpYS1saWJzL2hlcm1lcy0xLjMuMi1y
MiBcCgk+PWFwcC1nYW1lcy9jbGFubGliLTAuNi41IFwKCT49ZGV2LWxpYnMvbGlieG1sMi0yLjUu
NgoJbWlrbW9kPyAoID49bWVkaWEtc291bmQvbWlrbW9kLTMuMSApCglvZ2d2b3JiaXM/ICggPj1t
ZWRpYS1saWJzL2xpYnZvcmJpcy0xLjAgKSIKCnNyY19jb21waWxlKCkgewoJbG9jYWwgbXljb25m
Cgl1c2Ugb3BlbmdsICYmIG15Y29uZj0iJHtteWNvbmZ9IC0td2l0aC1jbGFuR0wiCgllZ2FtZXNj
b25mICR7bXljb25mfSB8fCBkaWUKCWVtYWtlIHx8IGRpZQp9CgpzcmNfaW5zdGFsbCgpIHsKCWVp
bnN0YWxsIGJpbmRpcj0ke0R9JHtHQU1FU19QUkVGSVh9L2JpbiB8fCBkaWUKCXByZXBnYW1lc2Rp
cnMKfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>