[gentoo-user] Re: install two releases of library in parallel

2010-12-18 Thread walt

On 12/18/2010 02:27 AM, Stéphane Guedon wrote:

Hello

I am writing to you in order to know if there's a way to install both 4.54 and
4.5.85 releases of kdelibs on the same computer.

The problem is that : I want to use the last powerdevil, which enable better
use and recognition of my laptop battery. It rely on kdelibs 4.5.85.
But I want to keep the current release of kontact 4.5.4, which is quite stable
and usable for reading mails and other pims stuffs.


Hm.  Looking at the ebuilds for those packages, I don't see the version numbers
you mention:
-rw-r--r--   1 root root   9351 Dec 14 13:59 kdelibs-4.4.5-r1.ebuild
-rw-r--r--   1 root root   9306 Sep 13 15:05 kdelibs-4.4.5.ebuild
-rw-r--r--   1 root root   9356 Nov  3 09:30 kdelibs-4.5.3.ebuild
-rw-r--r--   1 root root   9353 Dec  2 13:16 kdelibs-4.5.4.ebuild

Are you using a portage overlay for kde?

Anyway, the older version of kontact may compile and run normally if you
emerge it with the newer version of kdelibs installed.  I would try it as
an experiment before trying to install two different library versions.




Re: [gentoo-user] Re: install two releases of library in parallel

2010-12-18 Thread Stéphane Guedon
Le Saturday 18 December 2010 18:49:08, walt a écrit :
 On 12/18/2010 02:27 AM, Stéphane Guedon wrote:
  Hello
  
  I am writing to you in order to know if there's a way to install both
  4.54 and 4.5.85 releases of kdelibs on the same computer.
  
  The problem is that : I want to use the last powerdevil, which enable
  better use and recognition of my laptop battery. It rely on kdelibs
  4.5.85. But I want to keep the current release of kontact 4.5.4, which
  is quite stable and usable for reading mails and other pims stuffs.
 
 Hm.  Looking at the ebuilds for those packages, I don't see the version
 numbers you mention:
 -rw-r--r--   1 root root   9351 Dec 14 13:59 kdelibs-4.4.5-r1.ebuild
 -rw-r--r--   1 root root   9306 Sep 13 15:05 kdelibs-4.4.5.ebuild
 -rw-r--r--   1 root root   9356 Nov  3 09:30 kdelibs-4.5.3.ebuild
 -rw-r--r--   1 root root   9353 Dec  2 13:16 kdelibs-4.5.4.ebuild
 
 Are you using a portage overlay for kde?
 
 Anyway, the older version of kontact may compile and run normally if you
 emerge it with the newer version of kdelibs installed.  I would try it as
 an experiment before trying to install two different library versions.

I use the kde overlay.
I will try the thing you say before using kdeprefix said by Mr Volker.
Thanks
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: install two releases of library in parallel

2010-12-18 Thread Alan McKinnon
Apparently, though unproven, at 20:20 on Saturday 18 December 2010, Stéphane 
Guedon did opine thusly:

 Le Saturday 18 December 2010 18:49:08, walt a écrit :
  On 12/18/2010 02:27 AM, Stéphane Guedon wrote:
   Hello
   
   I am writing to you in order to know if there's a way to install both
   4.54 and 4.5.85 releases of kdelibs on the same computer.
   
   The problem is that : I want to use the last powerdevil, which enable
   better use and recognition of my laptop battery. It rely on kdelibs
   4.5.85. But I want to keep the current release of kontact 4.5.4, which
   is quite stable and usable for reading mails and other pims stuffs.
  
  Hm.  Looking at the ebuilds for those packages, I don't see the version
  numbers you mention:
  -rw-r--r--   1 root root   9351 Dec 14 13:59 kdelibs-4.4.5-r1.ebuild
  -rw-r--r--   1 root root   9306 Sep 13 15:05 kdelibs-4.4.5.ebuild
  -rw-r--r--   1 root root   9356 Nov  3 09:30 kdelibs-4.5.3.ebuild
  -rw-r--r--   1 root root   9353 Dec  2 13:16 kdelibs-4.5.4.ebuild
  
  Are you using a portage overlay for kde?
  
  Anyway, the older version of kontact may compile and run normally if you
  emerge it with the newer version of kdelibs installed.  I would try it as
  an experiment before trying to install two different library versions.
 
 I use the kde overlay.
 I will try the thing you say before using kdeprefix said by Mr Volker.
 Thanks

You might want to review various mailing lists and research the pitfalls with 
this approach. kdeprefix used to be supported in the tree ebuilds but it was 
removed for excellent technical reasons.

I don't recall off-hand exactly what those reasons were well enough to post, 
but it's all there in archives, and you really should become familiar with the 
full background.. 

Forewarned is forearmed as they say in the classics.



-- 
alan dot mckinnon at gmail dot com