Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44258 - clanlib 0.7.7 and pkgconfig problems
Summary: clanlib 0.7.7 and pkgconfig problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 09:20 UTC by Matze Braun
Modified: 2011-09-14 20:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matze Braun 2004-03-10 09:20:21 UTC
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't find them by default.
Another problem is that clanlib doesn'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@
...
Comment 1 Matze Braun 2004-03-10 09:26:44 UTC
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.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-03-10 14:11:35 UTC
The header part is seems correct to me.  I believe most clanlib apps will
include header files like this: #include <ClanLib/gui.h> 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.
Comment 3 SpanKY gentoo-dev 2004-03-10 18:46:33 UTC
typical ClanLib apps dont perform any checks, that's the problem

they blindly include ClanLib/<file>

clanlib-config was created to create the correct symlink from /usr/include/ClanLib to /usr/include/ClanLib-<VERSION> and library symlinks in /usr/lib/clanlib-<VERSION> to /usr/lib/ ...

although the .pc files showing up in /usr/lib/clanlib-<VERSION> 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
Comment 4 SpanKY gentoo-dev 2004-07-15 21:24:38 UTC
i'm all for redoing the clanlib stuff completely ...

my proposal is this:
stop screwing around with clanlib-0.7.x ... let it install 'normally' ...
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'll need is:
a list of all games that use clanlib and the versions they need ... someone post a list for me ?
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-07-16 22:16:55 UTC
games-action/clanbomber
games-arcade/methane
games-puzzle/pingus
games-sports/trophy

They all claim to need =dev-games/clanlib-0.6.5*
Comment 6 Michael Prager 2004-07-17 05:19:07 UTC
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.
Comment 7 SpanKY gentoo-dev 2004-08-15 01:51:58 UTC
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 ***
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:37 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:31 UTC
clean up bug list after bugzilla update