Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22594 - clanlib SLOT install
Summary: clanlib SLOT install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 00:21 UTC by Kai Schlüter
Modified: 2003-07-16 17:34 UTC (History)
0 users

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


Attachments
clanlib-0.7.2 ebuild (clanlib-0.7.2.ebuild,1.49 KB, text/plain)
2003-06-11 00:24 UTC, Kai Schlüter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Schlüter 2003-06-11 00:21:41 UTC
Hi, 
it is NOT possible to use different versions of clanlib together atm. I do not know 
if this will ever be possible, but it will be a bit difficult to install differnet games 
(which depends on different library versions) without a change in header 
management. Maybe someone has a good idea how to solve this.
Comment 1 Kai Schlüter 2003-06-11 00:24:02 UTC
Created attachment 13088 [details]
clanlib-0.7.2 ebuild

clanlib-0.7.2 is out

ebuild works here fine,
library too.
Comment 2 SpanKY gentoo-dev 2003-07-16 17:34:57 UTC
ok, i changed the ebuilds so they install libs into /usr/lib/${P} and moved the include 
files to /usr/include/${P} ... 
 
i then made a script called 'clanlib-config' ... basically run it with desired version ... 
so at the end of each clanlib merge it'll run `clanlib-config ${PV}` ... 
 
then when a package who needs clanlib emerges (say pingus), it runs clanlib-config 
0.6.5 in pkg_setup() ... 
 
what clanlib-config does is symlink /usr/include/ClanLib to clanlib-VERSION and 
then creates symlinks in /usr/lib/ to all the libraries in /usr/lib/clanlib-VERSION ... 
note that since games tend to link against the full libname-version and not the generic 
libname, /usr/lib/ is populated with all the full libname-version files while the libname 
generic is linked to the last version clanlib-config was given ... 
 
i guess we'll see how it goes, but i emerged clanlib 0.6.5 and 0.7.2, ran clanlib-config for 
both, then emerged pingus (which ran clanlib-config 0.6.5 in pkg_setup()) and it 
worked just dandy ;)