Source: appstream-glib Version: 0.5.16-1 Severity: normal Tags: patch The Debian GObject-Introspection mini-policy <file:///usr/share/doc/gobject-introspection/policy.txt> specifies that the package containing the XML (.gir file) must depend on the package that contains the binary typelib. This would mean that a build-dependency on libappstream-glib-dev is sufficient for packages that mention appstream-glib in their own exported APIs.
-- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.7.0-rc7-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
>From fcaa08f6c21a17959ffc6328c1c56c8584c8799d Mon Sep 17 00:00:00 2001 From: Simon McVittie <[email protected]> Date: Tue, 2 Aug 2016 15:54:29 +0100 Subject: [PATCH] libappstream-glib-dev: depend on gir1.2-appstreamglib-1.0 The Debian GObject-Introspection mini-policy says the package with the XML (.gir) must depend on the package with the typelib. --- debian/changelog | 8 ++++++++ debian/control | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ec53c44..9e7c4f0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +appstream-glib (0.5.16-2) UNRELEASED; urgency=medium + + * libappstream-glib-dev: depend on gir1.2-appstreamglib-1.0. + The Debian GObject-Introspection mini-policy says the package + with the XML (.gir) must depend on the package with the typelib. + + -- Simon McVittie <[email protected]> Tue, 02 Aug 2016 15:51:06 +0100 + appstream-glib (0.5.16-1) unstable; urgency=medium * New upstream release: 0.5.16 diff --git a/debian/control b/debian/control index cef4232..90d94c7 100644 --- a/debian/control +++ b/debian/control @@ -62,7 +62,8 @@ Description: GNOME library to access AppStream services Package: libappstream-glib-dev Architecture: any Section: libdevel -Depends: libappstream-glib8 (= ${binary:Version}), +Depends: gir1.2-appstreamglib-1.0 (= ${binary:Version}), + libappstream-glib8 (= ${binary:Version}), libarchive-dev, libgcab-dev (>= 0.6), libgdk-pixbuf2.0-dev, -- 2.8.1

