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

Bug#826743: marked as done (introspection typelib file needs to be split out into a separate binary package)



Your message dated Wed, 7 Sep 2016 19:55:10 +0000
with message-id <2e7b0a91d96043fb8ee1463f6998b87e@ausx13mpc124.AMER.DELL.COM>
and subject line 
has caused the Debian Bug report #826743,
regarding introspection typelib file needs to be split out into a separate binary package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
826743: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826743
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libfwupd1
Version: 0.7.0-1
Severity: important
Tags: patch

Hi,

the gobjection introspection file 
/usr/lib/$(MULTIARCH_PATH)/girepository-1.0/Fwupd-1.0.typelib
should to be split out into a separate binary package following the
gobject-introspection policy [1].

In this case the package would be named gir1.2-fwupd-1.0

Patch is attached.

Thanks for considering,
Michael


[1] https://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/gobject-introspection/debian/policy.txt?view=markup
-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libfwupd1 depends on:
ii  libc6         2.22-11
ii  libglib2.0-0  2.48.1-1

libfwupd1 recommends no packages.

libfwupd1 suggests no packages.

-- no debconf information
diff --git a/debian/changelog b/debian/changelog
index 3d20da4..9cae1f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+fwupd (0.7.0-2) UNRELEASED; urgency=medium
+
+  * Split GObject introspection files into a separate package named
+    gir1.2-fwupd-1.0.
+
+ -- Michael Biebl <biebl@debian.org>  Wed, 08 Jun 2016 15:25:48 +0200
+
 fwupd (0.7.0-1) unstable; urgency=medium
 
   * New upstream version (0.7.0)
diff --git a/debian/control b/debian/control
index a1ca72a..1bccec9 100644
--- a/debian/control
+++ b/debian/control
@@ -84,6 +84,7 @@ Package: libfwupd-dev
 Architecture: linux-any
 Multi-Arch: same
 Depends: libfwupd1 (= ${binary:Version}),
+         gir1.2-fwupd-1.0 (= ${binary:Version}),
          ${misc:Depends}
 Breaks: fwupd-dev (<< 0.5.4-2~)
 Replaces: fwupd-dev (<< 0.5.4-2~)
@@ -98,6 +99,21 @@ Description: development files for libfwupd
  .
  This package provides the development files for libfwupd
 
+Package: gir1.2-fwupd-1.0
+Architecture: linux-any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${gir:Depends}
+Breaks: libfwupd1 (<< 0.7.0-2~)
+Replaces: libfwupd1 (<< 0.7.0-2~)
+Section: introspection
+Description: GObject introspection data for libfwupd
+ This package provides the introspection data for libfwupd.
+ .
+ It can be used by packages using the GIRepository format to generate
+ dynamic bindings.
+
 Package: libdfu-dev
 Architecture: linux-any
 Multi-Arch: same
diff --git a/debian/gir1.2-fwupd-1.0.install b/debian/gir1.2-fwupd-1.0.install
new file mode 100644
index 0000000..5386272
--- /dev/null
+++ b/debian/gir1.2-fwupd-1.0.install
@@ -0,0 +1 @@
+usr/lib/*/girepository-1.0/Fwupd-1.0.typelib
diff --git a/debian/libfwupd1.install b/debian/libfwupd1.install
index b1173c8..6467ff9 100644
--- a/debian/libfwupd1.install
+++ b/debian/libfwupd1.install
@@ -1,2 +1 @@
 usr/lib/*/libfwup*.so.*
-usr/lib/*/girepository-1.0/Fwup*.typelib
diff --git a/debian/rules b/debian/rules
index 1d0ef9d..8f3b293 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ ifeq "1.2.12" "$(word 1, $(sort 1.2.12 $(COLORHUG_VERSION)))"
 endif
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf,gir
 
 override_dh_autoreconf:
 	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

--- End Message ---
--- Begin Message ---

Package: fwupd

Version: 0.7.2-1

 

Thanks for the patch.  I included it in the previous upload before the most recent but used the wrong syntax to close the bug. (Fixes vs Closes)

 


--- End Message ---

Reply to: