Package: dpkg-dev
Version: 1.15.4
Severity: wishlist
Hi,
I’m currently writing a new dh_girepository wrapper, which will generate
automatically dependencies for Gobject-introspection data. This data
references libraries and describes the symbols provided in them. The
dependencies should be exactly the same as those of a binary using these
symbols. Using dpkg-shlibdeps is the only sane choice to do that, since
it will use existing .shlibs and .symbols files.
The data is provided in a XML format that allows to extract easily the
list of referenced library sonames, as well as the list of symbols used
in them. dpkg-shlibdeps doesn’t need to be able to be able to parse this
data directly, the debhelper wrapper could do it. However, it would be
nice if it could be passed a list of libraries (referenced by their
sonames) and symbols, and generate dependencies the same way it does for
ELF binaries.
For example, it could be called this way:
dpkg-shlibdeps -pgir -Tdebian/gir1.0-foo.substvars --force-dep=libfoo.so.3
--symbol-list=/tmp/qwerty.symbols
The file name provided by --symbol-list would simply contain one symbol
per line.
I don’t think it requires too many modifications from the existing code;
it’s just a matter of not using objdump to obtain the symbols list, but
rather just take them directly.
Thanks for considering.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dpkg-dev depends on:
ii binutils 2.19.91.20090922-1 The GNU assembler, linker and bina
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii dpkg 1.15.4 Debian package management system
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii lzma 4.43-14 Compression method of 7z format in
ii make 3.81-6 An utility for Directing compilati
ii patch 2.5.9-5 Apply a diff file to an original
ii perl [perl5] 5.10.0-25 Larry Wall's Practical Extraction
ii perl-modules 5.10.0-25 Core Perl modules
Versions of packages dpkg-dev recommends:
ii build-essential 11.4 Informational list of build-essent
ii fakeroot 1.13 Gives a fake root environment
ii gcc [c-compiler] 4:4.3.3-9 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.4-3 The GNU C compiler
ii gnupg 1.4.10-1 GNU privacy guard - a free PGP rep
ii gpgv 1.4.10-1 GNU privacy guard - signature veri
Versions of packages dpkg-dev suggests:
ii debian-keyring [debian-mainta 2009.08.27 GnuPG (and obsolete PGP) keys of D
-- no debconf information
--
.''`. Josselin Mouette
: :' :
`. `' “I recommend you to learn English in hope that you in
`- future understand things” -- Jörg Schilling
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]