<?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>44258</bug_id>
          
          <creation_ts>2004-03-10 09:20 0000</creation_ts>
          <short_desc>clanlib 0.7.7 and pkgconfig problems</short_desc>
          <delta_ts>2005-05-19 09:06:37 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>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>REMIND</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>matze@braunis.de</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>flash3001@yahoo.com</cc>

      

      
          <long_desc isprivate="0">
            <who>matze@braunis.de</who>
            <bug_when>2004-03-10 09:20:21 0000</bug_when>
            <thetext>The clanlib 0.7.7 ebuild installs the pkgconfig files in /usr/lib/clanlib-0.7.7/pkgconfig which has the effect that pkgconfig can&apos;t find them by default.
Another problem is that clanlib doesn&apos;t put the custom libdir into the .pc files which makes them unusable (I already reported that to clanlib devs).
Maybe some patch should change the .pc.in files in clanlib to look like this:

...
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matze@braunis.de</who>
            <bug_when>2004-03-10 09:26:44 0000</bug_when>
            <thetext>Additonal note: The header files are installed in /usr/include/ClanLib-0.7.7 while typicall ClanLib apps expect them in /usr/include/ClanLib-0.7.7/Clanlib.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-03-10 14:11:35 0000</bug_when>
            <thetext>The header part is seems correct to me.  I believe most clanlib apps will
include header files like this: #include &lt;ClanLib/gui.h&gt; which works
fine since clanlib-config fixes things up with a symlink.

Odd that the pkg-config stuff is messed up, but since the libraries and header
files are installed by default in the standard place (ie /usr/include and /usr/lib) I guess things just work at the moment.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-03-10 18:46:33 0000</bug_when>
            <thetext>typical ClanLib apps dont perform any checks, that&apos;s the problem

they blindly include ClanLib/&lt;file&gt;

clanlib-config was created to create the correct symlink from /usr/include/ClanLib to /usr/include/ClanLib-&lt;VERSION&gt; and library symlinks in /usr/lib/clanlib-&lt;VERSION&gt; to /usr/lib/ ...

although the .pc files showing up in /usr/lib/clanlib-&lt;VERSION&gt; is not correct ... the problem is we still have games in portage that work with clanlib-0.6.5 and not 0.7.x so we cant just install with prefix=/usr and hope that the pkgconfig stuff takes care of it for us</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-07-15 21:24:38 0000</bug_when>
            <thetext>i&apos;m all for redoing the clanlib stuff completely ...

my proposal is this:
stop screwing around with clanlib-0.7.x ... let it install &apos;normally&apos; ...
force clanlib-0.6.x into version specific directories and then patch the few games that still rely on 0.6.x to find the files in the right spot ...

what i&apos;ll need is:
a list of all games that use clanlib and the versions they need ... someone post a list for me ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-07-16 22:16:55 0000</bug_when>
            <thetext>games-action/clanbomber
games-arcade/methane
games-puzzle/pingus
games-sports/trophy

They all claim to need =dev-games/clanlib-0.6.5*
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>X_X_L@gmx.net</who>
            <bug_when>2004-07-17 05:19:07 0000</bug_when>
            <thetext>Please note that the 0.6.x ebuild is broken too, see 52509

Too bad that no one seems to maintain the clanlib ebuilds anymore.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-08-15 01:51:58 0000</bug_when>
            <thetext>everything is maintained, just on developers free time, so dont give us a hardtime over it :P

*** This bug has been marked as a duplicate of 52509 ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2005-05-19 09:06:37 0000</bug_when>
            <thetext>Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>