Bug 44258 - clanlib 0.7.7 and pkgconfig problems
|
Bug#:
44258
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: CLOSED
|
Severity: normal
|
Priority: P2
|
|
Resolution: REMIND
|
Assigned To: games@gentoo.org
|
Reported By: matze@braunis.de
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: clanlib 0.7.7 and pkgconfig problems
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-03-10 09:20 0000
|
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@
...
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.
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.
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
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 ?
games-action/clanbomber
games-arcade/methane
games-puzzle/pingus
games-sports/trophy
They all claim to need =dev-games/clanlib-0.6.5*
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.
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 ***
Closing to clean up after bugzilla upgrade. reopen if closed in error.
Thanks.