[maemo-developers] [maemo-developers] library updates

From: Adrian Neumaier adrian at firehand.org
Date: Fri Jul 21 01:20:25 EEST 2006
I suppose you read this: http://www.debian.org/doc/maint-guide/ on how to 
build proper debian archives.

But for that lib problem:
it can't be too hard to write a control file like this:

<snip>
Build-Depends: libfoo-dev ( >= 1.0.0-1), bar (>= 1.0.0)
</snip>

This will pull libfoo in a package version >= 1.0.0-1 from the archive whilst 
installing via apt-get install (i suppose this works with this graphical 
installer too *g*) If libfoo 2.1.0 is in the archive this will still work. 

If the archive has two libs, same name, but different abi then the libs look 
like this

libfoo1 (this has soname 1)
libfoo2 (this has soname 2)

so in the end if your software needs libfoo1 you add to the build-depends 
libfoo1-dev (>= ....)
whilst software which uses libfoo2 has libfoo2-dev (>= ...) in the 
build-depends.

If you have question on writing the debian/ stuff feel free to ask.

Cheers
Adrian

PS: I maintain software in the Debian archive.
-- 
GPG Key ID: 42C33D97 | Reg. User #255628 (http://counter.li.org)  
Fingerprint: 239D 7006 3CF0 8951 9FDA CA63 EF5C C95A 42C3 3D97
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060721/6da07de0/attachment.pgp 
More information about the maemo-developers mailing list