From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pp0VD-0004I0-3r for garchives@archives.gentoo.org; Mon, 14 Feb 2011 15:38:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E4B51C015; Mon, 14 Feb 2011 15:38:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EF929E0B78 for ; Mon, 14 Feb 2011 15:37:32 +0000 (UTC) Received: from portable.localnet (unknown [201.246.84.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id 478091B4075 for ; Mon, 14 Feb 2011 15:37:32 +0000 (UTC) From: Alexis Ballier Organization: Gentoo To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: libpng-1.5 smooth upgrade Date: Mon, 14 Feb 2011 12:37:27 -0300 User-Agent: KMail/1.13.6 (Linux/2.6.37; KDE/4.6.0; x86_64; ; ) References: <4D556603.8040400@gentoo.org> <201102121821.13883.vapier@gentoo.org> <1297564649.2150.37.camel@raven.home.flameeyes.eu> In-Reply-To: <1297564649.2150.37.camel@raven.home.flameeyes.eu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201102141237.28114.aballier@gentoo.org> X-Archives-Salt: X-Archives-Hash: 85b58519513156d93838c38ea3c6ff15 On Saturday, February 12, 2011 11:37:29 PM Diego Elio Petten=C3=B2 wrote: > Il giorno sab, 12/02/2011 alle 18.21 -0500, Mike Frysinger ha scritto: > > patching packages in the tree is a huge hassle, > > you add hassle to end users who d/l random packages and try to build > > things > > themselves, and you make Gentoo non-standard wrt every other distro > > out there. >=20 > What I had in mind was something that would work for upstreams as well, > mostly by having fallback; so if a package supported up to libpng 1.4 it > would search for -lpng14, then -lpng12, then -lpng (and in Gentoo would > hit -lpng14); while one supporting 1.5 as well would go -lpng15 -lpng14 > -lpng12 -lpng ... >=20 > i.e. what most already do for berkdb but at some point with us not > providing -lpng at all, if most upstreams would like that idea. >=20 > But it's still a bit hairy at the moment, I admit it might just not fly. I consider the berkdb thingy as an example of something not to do rather th= an=20 a proof of concept. Have you thought about doing something like what was done for wxwidgets ? =2D an eselect module for out of portage builds =2D an eclass creating symlinks for libpng.pc/.so in $T and setting the cor= rect=20 =2DL flag for the linker and PKG_CONFIG_PATH for the .pc ? Not sure if this would work that easily but that's certainly better than=20 updating the version scans in every single package when a new libpng comes= =20 out. A.