public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Safe to install libpng-1.2.44?
Date: Mon, 5 Jul 2010 03:38:47 +0200	[thread overview]
Message-ID: <20100705013847.GA8861@nibiru.local> (raw)
In-Reply-To: <4C2F2450.4080109@gmail.com>

Hi folks,

<big_snip />


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
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------



  reply	other threads:[~2010-07-05  1:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  7:32 [gentoo-user] Safe to install libpng-1.2.44? Graham Murray
2010-07-02 22:01 ` Keith Dart
2010-07-02 22:49   ` Dale
2010-07-03  0:13     ` Neil Bothwick
2010-07-03 12:02       ` [gentoo-user] " Nikos Chantziaras
2010-07-04 19:29         ` Neil Bothwick
2010-07-03  0:58     ` [gentoo-user] " Keith Dart
2010-07-03  6:51     ` Graham Murray
2010-07-03 11:51       ` Dale
2010-07-05  1:38         ` Enrico Weigelt [this message]
2010-07-05  2:05           ` [gentoo-user] " walt
2010-07-06 13:14             ` Mike Edenfield
2010-07-05  2:16           ` [gentoo-user] " Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100705013847.GA8861@nibiru.local \
    --to=weigelt@metux.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox