Bug#873598: spice-gtk: gir package missing dependencies

2017-08-29 Thread Laurent Bigonville
Package: src:spice-gtk
Followup-For: Bug #873598

Hi,

While we are at it, the gir package can be marked as multi-arch same

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

Kernel: Linux 4.13.0-rc5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru spice-gtk-0.34/debian/changelog spice-gtk-0.34/debian/changelog
--- spice-gtk-0.34/debian/changelog 2017-08-06 11:02:13.0 +0200
+++ spice-gtk-0.34/debian/changelog 2017-08-29 14:30:00.0 +0200
@@ -1,3 +1,11 @@
+spice-gtk (0.34-2) UNRELEASED; urgency=medium
+
+  * debian/rules: Call the gir sequence so the gir1.2-* packages have the
+correct dependencies defined.
+  * Make the gir1.2-* packages Multi-Arch: same
+
+ -- Laurent Bigonville   Tue, 29 Aug 2017 14:30:00 +0200
+
 spice-gtk (0.34-1) unstable; urgency=medium
 
   * New upstream release
@@ -7,7 +15,7 @@
 - Rename gir1.2* to fix lintian warning
 - Install gir*.typelib to multiarch directory
 - Remove build-depends on gstreamer1.0-plugins-*(Closes: #863978)
-- Chnage Depends on gstreamer1.0-plugins-* to Suggests(Closes: #849047)
+- Change Depends on gstreamer1.0-plugins-* to Suggests(Closes: #849047)
   * debian/patches:
 - debian/patches/ssl-Rework-our-custom-BIO-type.patch, removed, applied 
   upstream
diff -Nru spice-gtk-0.34/debian/control spice-gtk-0.34/debian/control
--- spice-gtk-0.34/debian/control   2017-08-06 11:02:13.0 +0200
+++ spice-gtk-0.34/debian/control   2017-08-29 14:29:52.0 +0200
@@ -88,6 +88,7 @@
 Package: gir1.2-spiceclientglib-2.0
 Section: introspection
 Architecture: any
+Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${gir:Depends}
 Description: GObject for communicating with Spice servers 
(GObject-Introspection)
@@ -126,6 +127,7 @@
 Package: gir1.2-spiceclientgtk-3.0
 Section: introspection
 Architecture: any
+Multi-Arch: same
 Depends: ${misc:Depends}, ${gir:Depends}
 Description: GTK3 widget for SPICE clients (GObject-Introspection)
  libspice-gtk3 provides gtk3 widget to show spice display 
diff -Nru spice-gtk-0.34/debian/rules spice-gtk-0.34/debian/rules
--- spice-gtk-0.34/debian/rules 2017-08-06 11:02:13.0 +0200
+++ spice-gtk-0.34/debian/rules 2017-08-29 14:17:01.0 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-   dh $@ --parallel --with autoreconf
+   dh $@ --parallel --with autoreconf,gir
 
 override_dh_auto_configure:
dh_auto_configure -- \


Bug#873598: spice-gtk: gir package missing dependencies

2017-08-29 Thread Laurent Bigonville
Source: spice-gtk
Version: 0.34-1
Severity: serious
Tags: patch

Hi,

gir1.2-spiceclientgtk-3.0 and gir1.2-spiceclientglib-2.0 have not any
dependencies defined.

It seems that the build is not calling dh_girepository

See the attached patch.

Cheers,

Laurent Bigonville

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

Kernel: Linux 4.13.0-rc5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru spice-gtk-0.34/debian/changelog spice-gtk-0.34/debian/changelog
--- spice-gtk-0.34/debian/changelog 2017-08-06 11:02:13.0 +0200
+++ spice-gtk-0.34/debian/changelog 2017-08-29 14:22:47.0 +0200
@@ -1,3 +1,10 @@
+spice-gtk (0.34-2) UNRELEASED; urgency=medium
+
+  * debian/rules: Call the gir sequence so the gir1.2-* packages have the
+correct dependencies defined.
+
+ -- Laurent Bigonville   Tue, 29 Aug 2017 14:22:47 +0200
+
 spice-gtk (0.34-1) unstable; urgency=medium
 
   * New upstream release
@@ -7,7 +14,7 @@
 - Rename gir1.2* to fix lintian warning
 - Install gir*.typelib to multiarch directory
 - Remove build-depends on gstreamer1.0-plugins-*(Closes: #863978)
-- Chnage Depends on gstreamer1.0-plugins-* to Suggests(Closes: #849047)
+- Change Depends on gstreamer1.0-plugins-* to Suggests(Closes: #849047)
   * debian/patches:
 - debian/patches/ssl-Rework-our-custom-BIO-type.patch, removed, applied 
   upstream
diff -Nru spice-gtk-0.34/debian/rules spice-gtk-0.34/debian/rules
--- spice-gtk-0.34/debian/rules 2017-08-06 11:02:13.0 +0200
+++ spice-gtk-0.34/debian/rules 2017-08-29 14:17:01.0 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-   dh $@ --parallel --with autoreconf
+   dh $@ --parallel --with autoreconf,gir
 
 override_dh_auto_configure:
dh_auto_configure -- \