I have now re-applied multi-arch to Ubuntu's Ghostscript package which is nearly identical to Debian's current Ghostscript package. So I attach the debdiff and hope with this you will easily able to add multi-arch functionality to Debian's Ghostscript package.

I am very grateful if you apply this so that I can keep the delta between Debian's and Ubuntu's Ghostscript packages low.


   Till

diff -Nru ghostscript-9.19~dfsg+1/debian/changelog 
ghostscript-9.19~dfsg+1/debian/changelog
--- ghostscript-9.19~dfsg+1/debian/changelog    2016-09-15 03:22:00.000000000 
-0300
+++ ghostscript-9.19~dfsg+1/debian/changelog    2016-09-16 18:12:46.000000000 
-0300
@@ -1,3 +1,9 @@
+ghostscript (9.19~dfsg+1-0ubuntu4) yakkety; urgency=medium
+
+  * Multiarchify the library packages.
+
+ -- Till Kamppeter <till.kamppe...@gmail.com>  Fri, 16 Sep 2016 18:12:58 -0300
+
 ghostscript (9.19~dfsg+1-0ubuntu3) yakkety; urgency=medium
 
   * debian/rules:
diff -Nru ghostscript-9.19~dfsg+1/debian/control 
ghostscript-9.19~dfsg+1/debian/control
--- ghostscript-9.19~dfsg+1/debian/control      2016-08-12 14:38:46.000000000 
-0300
+++ ghostscript-9.19~dfsg+1/debian/control      2016-09-16 16:18:36.000000000 
-0300
@@ -90,9 +90,10 @@
 Package: libgs9
 Section: libs
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
  ${cdbs:Depends},
- ${misc:Depends},
  libgs9-common (= ${source:Version})
 Description: interpreter for the PostScript language and for PDF - Library
  GPL Ghostscript is used for PostScript/PDF preview and printing.
@@ -124,6 +125,7 @@
 Package: libgs-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends: ${devlibs:Depends},
  ${cdbs:Depends},
  ${misc:Depends}
diff -Nru ghostscript-9.19~dfsg+1/debian/control.in 
ghostscript-9.19~dfsg+1/debian/control.in
--- ghostscript-9.19~dfsg+1/debian/control.in   2016-09-15 03:22:00.000000000 
-0300
+++ ghostscript-9.19~dfsg+1/debian/control.in   2016-09-16 18:12:58.000000000 
-0300
@@ -60,6 +60,8 @@
 Package: libgs9
 Section: libs
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
  ${cdbs:Depends},
  ${misc:Depends},
@@ -94,6 +96,7 @@
 Package: libgs-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends: ${devlibs:Depends},
  ${cdbs:Depends},
  ${misc:Depends}
diff -Nru ghostscript-9.19~dfsg+1/debian/control.in.in 
ghostscript-9.19~dfsg+1/debian/control.in.in
--- ghostscript-9.19~dfsg+1/debian/control.in.in        2016-05-11 
13:06:31.000000000 -0300
+++ ghostscript-9.19~dfsg+1/debian/control.in.in        2016-09-16 
16:22:37.000000000 -0300
@@ -60,6 +60,8 @@
 Package: libgs__VER__
 Section: libs
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
  ${cdbs:Depends},
  ${misc:Depends},
@@ -94,6 +96,7 @@
 Package: libgs-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends: ${devlibs:Depends},
  ${cdbs:Depends},
  ${misc:Depends}
diff -Nru ghostscript-9.19~dfsg+1/debian/rules 
ghostscript-9.19~dfsg+1/debian/rules
--- ghostscript-9.19~dfsg+1/debian/rules        2016-09-15 03:22:00.000000000 
-0300
+++ ghostscript-9.19~dfsg+1/debian/rules        2016-09-16 18:12:58.000000000 
-0300
@@ -204,7 +204,7 @@
 binary-post-install/$(pkg-lib):: debian/stamp-local-shlibs-$(libname)
 debian/stamp-local-shlibs-$(libname): binary-install/$(pkg-lib)
        d-shlibmove --commit \
-               --devunversioned --ignorelibdep \
+               --devunversioned --ignorelibdep --multiarch \
                --movedev "debian/tmp/usr/include/*" usr/include/ \
                debian/tmp/usr/lib/$(libname).so
 clean::

Reply via email to