Package: debhelper
Version: 5.0.56
Severity: wishlist

Once again, I file this bug with some advance to planify how debhelper
will handle the new dpkg-gensymbols command that will be available with
dpkg 1.14.8.

Libraries will have the possibility to provide "symbols" files along with
"shlibs" files. The symbols files are generated by dpkg-gensymbols
with an invocation like this one:

dpkg-gensymbols -p<package> -Pdebian/<package>

This command does nothing if the package doesn't contain any library.
However the command is really useful only if the maintainer provided
some "seed" files, either debian/<package>.symbols.<arch>, or
debian/symbols.<arch>, or debian/<package>.symbols or debian/symbols.

So maybe the call to dpkg-gensymbols could be conditioned to the existence
on one of those files.

dpkg-gensymbols support additional options, most notably "-e" to
explicitly list the libraries to scan instead of looking in all public
library directories. The option "-c[0-4]" also enables various levels
of checks and defaults to 1. So it's probably nice to offer a way for the
caller to pass/alter those options.

In theory, it could be integrated in dh_makeshlibs (as it does the same
work of creating the dependency information for later usage by
dpkg-shlibdeps) but it might be better to create a new dh_gensymbols for
it. This is up to you I guess.

You can try out all this with the dpkg 1.14.7~newshlib from experimental.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
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 debhelper depends on:
ii  binutils                 2.18-1          The GNU assembler, linker and bina
ii  coreutils                5.97-5.4        The GNU core utilities
ii  dpkg-dev                 1.14.7~newshlib package building tools for Debian
ii  file                     4.21-3          Determines file type using "magic"
ii  html2text                1.3.2a-3        An advanced HTML to text converter
ii  perl                     5.8.8-11        Larry Wall's Practical Extraction 
ii  po-debconf               1.0.9           manage translated Debconf template

debhelper recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to