Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Enrico Weigelt <weigelt@...>
Subject: Re: Re: libpng-1.5 smooth upgrade
Date: Sat, 26 Feb 2011 17:08:44 +0100
* Enrico Weigelt <weigelt@...> schrieb:

> > pretty please force every consumer to hardcode the version
> > because i know people that want to do this" ?
> 
> No, they should use pkg-config at buildtime and do the version
> selection there (eg. the eselect-way).

Oh, it gets a bit tricker: the dependencies of the installed
packages will have to be fixed to the actually used version/slot.

hmm, maybe this also could be done via some eclass, that adds
an useflag for libpng version selection ?

I could imagine a way like that:

* libpng15 is installed in a way that it doesnt conflict with existing
  libpng14 (different locations, pkg-config name, slotted, etc)
* pass pkg-config calls through a wrapper that automatically
  chooses the right .pc file on some environment variable etc.
* each libpng-using package that should be buildable against libpng15
  is changed to use the new eclass (that does all the switching magic)

IMHO this should allow keeping the (runtime) dependencies intact
(no revdep-rebuild required) and allow an smooth upgrade. When
everything had been rebuilt against libpng15 one day, --depclean
would kick off old libpng14.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@...
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------


Replies:
Re: Re: libpng-1.5 smooth upgrade
-- Rémi Cardona
References:
libpng-1.5 smooth upgrade
-- Paweł Hajdan, Jr.
Re: Re: libpng-1.5 smooth upgrade
-- Alexis Ballier
Re: Re: libpng-1.5 smooth upgrade
-- Mike Frysinger
Re: Re: libpng-1.5 smooth upgrade
-- Alexis Ballier
Re: Re: libpng-1.5 smooth upgrade
-- Enrico Weigelt
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: libpng-1.5 smooth upgrade
Next by thread:
Re: Re: libpng-1.5 smooth upgrade
Previous by date:
Re: avoiding urgent stabilizations
Next by date:
Re: Re: libpng-1.5 smooth upgrade


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.