Debian Developers - Re: Injecting versions of build-deps in the deps

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > December 2007 > Re: Injecting versions of build-deps in the deps





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Injecting versions of build-deps in the deps
Raphael Hertzog

2007-12-07, 1:30 pm

On Fri, 07 Dec 2007, Loïc Minier wrote:
> I do imagine it wont be mandatory (or useful) for all libs as well and
> I agree it should be added on a per package basis; one idea I
> mentionned to Raphaël is to extend the shlibs / symbols system to allow
> a syntax meaning "Take the build-dep version" instead of having a fixed
> version; that is, instead of:
> libgtk-x11-2.0 0 libgtk2.0-0 (>= 2.12.0)
> we might have some macros like:
> libgtk-x11-2.0 0 libgtk2.0-0 (>= $Build-Depends{libgtk2.0-dev})
>
> Can be seen as "dynamic shlibs" or "shlibs macros". (Or symbols.)


The only thing I really lack with symbols files is the mapping library ->
-dev package. Thus I'd suggest to simply add this information in a new
"header" line in the symbols file:

libgtk-x11-2.0.so.0 libgtk2.0-0 #MINVER#
* Devel-Package: libgtk2.0-dev
symbol@Base 2.8.0
...

The initial "*" is just there to make it clear to the parser that we're
not starting to list a new library but a header and "|" is already used
for alternate dependency templates. If the field is not there, then
there's no check of the build-depends version.

The feature is not that important for packages using shlibs since
they get strong dependency by default and it's fine that way.

How does that sound ?

Cheers,
--
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com