Control: tags 734218 + pending

Dear maintainer,

I've prepared an NMU for spice (versioned as 0.12.8-1.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru spice-0.12.8/debian/changelog spice-0.12.8/debian/changelog
--- spice-0.12.8/debian/changelog       2016-07-26 05:07:46.000000000 +0200
+++ spice-0.12.8/debian/changelog       2016-12-28 22:00:54.000000000 +0100
@@ -1,3 +1,14 @@
+spice (0.12.8-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build on all Little-endian architectures (Closes: #734218)
+  * d/p/fix_ftbfs_kfreebsd.patch: Fix FTBFS on kfreebsd-* architectures
+  * Drop -dbg package and rely on the automatically built one (-dbgsym)
+  * Drop the libasound2-dev build-dependency, this was needed for the
+    spice-client which is gone since 0.12.6-1
+
+ -- Laurent Bigonville <[email protected]>  Wed, 28 Dec 2016 22:00:54 +0100
+
 spice (0.12.8-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru spice-0.12.8/debian/control spice-0.12.8/debian/control
--- spice-0.12.8/debian/control 2016-07-26 05:00:47.000000000 +0200
+++ spice-0.12.8/debian/control 2016-12-28 21:50:47.000000000 +0100
@@ -3,13 +3,12 @@
 Priority: optional
 Maintainer: Liang Guo <[email protected]>
 Uploaders: Michael Tokarev <[email protected]>
-Build-Depends: debhelper (>= 9), pkg-config,
+Build-Depends: debhelper (>= 9.20160114~), pkg-config,
  dh-autoreconf,
  python, python-six,
  libspice-protocol-dev (>= 0.12.10~),
  libopus-dev (>= 0.9.14),
  libpixman-1-dev (>= 0.17.7~),
- libasound2-dev,
  libssl-dev,
  libsasl2-dev,
  libjpeg-dev,
@@ -23,7 +22,7 @@
 
 Package: libspice-server1
 Section: libs
-Architecture: i386 amd64
+Architecture: alpha amd64 arm64 armel armhf hurd-i386 i386 kfreebsd-amd64 
kfreebsd-i386 mips64el mipsel ppc64el sh4 x32
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -40,26 +39,9 @@
  This package contains the run-time libraries for any application that 
  wishes to be a SPICE server.
 
-Package: libspice-server1-dbg
-Section: debug
-Architecture: i386 amd64
-Priority: extra
-Multi-Arch: same
-Pre-Depends: ${misc:Pre-Depends}
-Depends: libspice-server1 (= ${binary:Version}), ${misc:Depends}
-Description: Debugging symbols for libspice-server1
- The Simple Protocol for Independent Computing Environments (SPICE) is
- a remote display system built for virtual environments which allows
- you to view a computing 'desktop' environment not only on the machine
- where it is running, but from anywhere on the Internet and from a wide
- variety of machine architectures.
- .
- This package contains the debugging symbols for the libspice-server1
- library.
-
 Package: libspice-server-dev
 Section: libdevel
-Architecture: i386 amd64
+Architecture: alpha amd64 arm64 armel armhf hurd-i386 i386 kfreebsd-amd64 
kfreebsd-i386 mips64el mipsel ppc64el sh4 x32
 Depends: libspice-server1 (= ${binary:Version}), ${misc:Depends}, 
libspice-protocol-dev (>= 0.12.10~)
 Suggests: pkg-config
 Description: Header files and development documentation for spice-server
diff -Nru spice-0.12.8/debian/patches/fix_ftbfs_kfreebsd.patch 
spice-0.12.8/debian/patches/fix_ftbfs_kfreebsd.patch
--- spice-0.12.8/debian/patches/fix_ftbfs_kfreebsd.patch        1970-01-01 
01:00:00.000000000 +0100
+++ spice-0.12.8/debian/patches/fix_ftbfs_kfreebsd.patch        2016-12-28 
22:00:20.000000000 +0100
@@ -0,0 +1,25 @@
+Description: Fix FTBFS on kfreebsd-*
+ Check if TCP_KEEPIDLE is defined before trying to use it
+ .
+ TCP_KEEPIDLE is not portable
+Author: Laurent Bigonville <[email protected]>
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99213
+
+--- a/server/reds.c
++++ b/server/reds.c
+@@ -2263,6 +2263,7 @@ static bool reds_init_keepalive(int sock
+         }
+     }
+ 
++#ifdef TCP_KEEPIDLE 
+     if (setsockopt(socket, SOL_TCP, TCP_KEEPIDLE,
+                    &keepalive_timeout, sizeof(keepalive_timeout)) == -1) {
+         if (errno != ENOTSUP) {
+@@ -2270,6 +2271,7 @@ static bool reds_init_keepalive(int sock
+             return false;
+         }
+     }
++#endif
+ 
+     return true;
+ }
diff -Nru spice-0.12.8/debian/patches/series spice-0.12.8/debian/patches/series
--- spice-0.12.8/debian/patches/series  2016-07-26 05:04:01.000000000 +0200
+++ spice-0.12.8/debian/patches/series  2016-12-28 21:52:05.000000000 +0100
@@ -1 +1,2 @@
 stop-linking-with-libcacard.diff
+fix_ftbfs_kfreebsd.patch
diff -Nru spice-0.12.8/debian/rules spice-0.12.8/debian/rules
--- spice-0.12.8/debian/rules   2016-07-26 05:00:47.000000000 +0200
+++ spice-0.12.8/debian/rules   2016-12-28 21:50:20.000000000 +0100
@@ -10,8 +10,7 @@
        sed -i '/^Requires\.private:/D' spice-server.pc
 
 override_dh_strip:
-       dh_strip -plibspice-server1 --dbg-package=libspice-server1-dbg
-       dh_strip -Nlibspice-server1
+       dh_strip --dbgsym-migration='libspice-server1-dbg (<< 0.12.8-1.1~)'
 
 override_dh_installdocs:
        dh_installdocs -plibspice-server1-dbg --link-doc=libspice-server1

Reply via email to