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

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



On 2012-12-07 12:10, Michael Biebl wrote:
> Package: lintian
> Version: 2.5.10.2
> Severity: wishlist
> 
> Hi,
> 

Hi,

Sorry, progress has been a bit slow in this bug.

> 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.

I have just commited a fix for this entry.

> 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
> 
> [...]

The rest are still left unfixed for now.
  If you (know someone who) have time to spare and know Perl, you can
now also prototype these checks outside Lintian and then send them back
as/when they mature.  I know it is not the most awesome solution, but I
suspect it could beat waiting for us to do them.

~Niels


Reply to: