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 1OVbFQ-00085T-4x for garchives@archives.gentoo.org; Mon, 05 Jul 2010 02:17:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB95EE0B18; Mon, 5 Jul 2010 02:16:58 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C19F5E0AF2 for ; Mon, 5 Jul 2010 02:16:58 +0000 (UTC) Received: by yxm34 with SMTP id 34so768573yxm.40 for ; Sun, 04 Jul 2010 19:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=D6OHo6AdnNbEuH+HXfnAtfVRIc0Y0HQ54Ibr7ixpiQ8=; b=jDGOQBFkvGT49SKd2bBfF4V3q/5XP6kga4Q9UegjhmXH9u+3oG+xhZOqWRhaDEHl43 X/RplomsXQawmvdRqD2l+1dvCOFwWfz10TruD5HxTSaIZDO5vTb2ghxH7BncSILwG8Cq kX6SF2S+QWsGkETLRvMEc3HCiBn7JDRjOGTb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WAKu8XdjCEnRvd/Oey7zotVFXNWwT4g+1NgRLcpnFvtxv/C81r0zKeXICSSHRpd7ym RNi8v/vqQNZ2t5irRr5F+pxqSGeGfT0oTLbNgnFl9fPP5JurS3cE3fO4yAw3zAUyWuwE pdYSxasWHK4oZWVRHyn2iyF1iZgK5ByQEbWnk= Received: by 10.101.159.1 with SMTP id l1mr356021ano.60.1278296218318; Sun, 04 Jul 2010 19:16:58 -0700 (PDT) Received: from [192.168.1.2] (adsl-0-121-159.jan.bellsouth.net [65.0.121.159]) by mx.google.com with ESMTPS id q31sm4640792ybk.1.2010.07.04.19.16.57 (version=SSLv3 cipher=RC4-MD5); Sun, 04 Jul 2010 19:16:57 -0700 (PDT) Message-ID: <4C314098.3030507@gmail.com> Date: Sun, 04 Jul 2010 21:16:56 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100630 Gentoo/2.0.5 SeaMonkey/2.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Safe to install libpng-1.2.44? References: <87oceqe3tx.fsf@newton.gmurray.org.uk> <20100702150130.560cac40@dartworks.biz> <4C2E6CFA.8040505@gmail.com> <877hld9hx1.fsf@newton.gmurray.org.uk> <4C2F2450.4080109@gmail.com> <20100705013847.GA8861@nibiru.local> In-Reply-To: <20100705013847.GA8861@nibiru.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 981ebdce-4234-4d77-b8ae-b4117b9adc3b X-Archives-Hash: 936733ef33d99eb7a2bfd2aa0becfd84 Enrico Weigelt wrote: > Hi folks, > > > > > I think the libpng issue shows up a more generic problem: > we IMHO dont have a way for recording, which version / interface > of some version a package is built against. The need for things > like revdep-rebuild also comes from that. > > I'm currently working on an generic design for that, some ideas: > (of course, yet limited to C and similar languages ;-o) > > * libraries with (incompatible) interface changes should install > their headers under some own versioned prefix > * library imports should _always_ happen via pkg-config > (dont use .la files) > * pkg-config descriptors are extended to declare the API and > ABI version and generation, so interface breaks can be > determined automatically > * the package management records which version of some imported > library a package was built against (some kind of revdep-scan > between compile and merge) > * with that information the package management can do an smooth > upgrade (w/o temporary breaks until revdep-rebuild finished) > > > cu > This may be something you should post on -dev. They are the ones that handle this sort of thing. Things are better there but take a flack jacket. Never hurts to have one just in case you need it. ;-) Dale :-) :-)