[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#695345: Please add a check for gobject-introspection packages



Package: lintian
Version: 2.5.10.2
Severity: wishlist

Hi,

packages shipping gobject-introspection files should follow the mini
policy outlined at [1].

If they install the introspection files into the system paths, the
.typelib file should go into a gir1.2-foo-X.Y package.
The .gir file should be moved into a -dev package.

There are some simple checks that lintian could do:
1/ Warn if the gir1.2-foo-X.Y package is not in section "introspection".
This section in the archive has been created explicitly for
gobject-introspection files.
2/ Warn if a package installs a .typelib file in the system path without
using a separate gir1.2 package.
This is usually an indication that the introspection files should either
be package-private or be split according to [1]
3/ Warn if the gir1.2-foo-X.Y package has no ${gir:Depends}
4/ Warn if the -dev package has no
Depends: gir1.2-foo-X.Y (= ${binary:Version}). This one is probably
tricky for src packages which build multiple -dev packages.

Cheers,
Michael

[1]
http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gobject-introspection/debian/policy.txt?view=markup


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.22-7.1
ii  bzip2                          1.0.6-4
ii  diffstat                       1.55-3
ii  file                           5.11-2
ii  gettext                        0.18.1.1-9
ii  hardening-includes             2.2
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.26+b1
ii  libarchive-zip-perl            1.30-6
ii  libc-bin                       2.13-37
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.31-1+b2
ii  libdpkg-perl                   1.16.9
ii  libemail-valid-perl            0.190-1
ii  libipc-run-perl                0.92-1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  locales                        2.13-37
ii  man-db                         2.6.3-2
ii  patchutils                     0.3.2-1.1
ii  perl [libdigest-sha-perl]      5.14.2-15

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch     <none>
ii  dpkg-dev               1.16.9
ii  libhtml-parser-perl    3.69-2
pn  libperlio-gzip-perl    <none>
ii  libtext-template-perl  1.45-2
ii  man-db                 2.6.3-2
ii  xz-utils [lzma]        5.1.1alpha+20120614-2

-- no debconf information


Reply to: