Source: spice
Followup-For: Bug #734218

Hi,

Please find here my patch to build on all little endian architectures.

I also dropped the -dbg package and let debhelper build one
automatically.

Cheers,

Laurent Bigonville

-- System Information:
Debian Release: stretch/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.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
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 20:02:19.000000000 +0100
@@ -1,3 +1,11 @@
+spice (0.12.8-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Build on all Little-endian architectures (Closes: #734218)
+  * Drop -dbg package and rely on the automatically built one (-dbgsym)
+
+ -- Laurent Bigonville <bi...@debian.org>  Wed, 28 Dec 2016 20:02:19 +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 20:02:19.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Liang Guo <guoli...@debian.org>
 Uploaders: Michael Tokarev <m...@tls.msk.ru>
-Build-Depends: debhelper (>= 9), pkg-config,
+Build-Depends: debhelper (>= 9.20160114~), pkg-config,
  dh-autoreconf,
  python, python-six,
  libspice-protocol-dev (>= 0.12.10~),
@@ -23,7 +23,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 +40,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/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 20:02:19.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