[pkg-gnupg-maint] Bug#933713: libgpg-error-dev: make package fit for cross development
Francois Gouget
fgouget at free.fr
Tue Jan 28 12:01:04 GMT 2020
Package: libgpg-error-dev
Version: 1.36-7
Followup-For: Bug #933713
libgcrypt is under consideration for use in Wine but Wine depends on
proper multiarch support since we need to support both 32 bit and 64 bit
Windows applications (even 64 bit Windows applications have 32 bit
installers).
This means a Wine developer needs to install both the i386 and amd64
variants of libgcrypt-dev which in turn depends on libgpg-error-dev.
Some libgpg-error-dev's lack of multiarch support prevents Wine from
using libgcrypt.
The only blocker for making libgpg-error-dev Multi-Arch: same is
gpg-error-config. However gpg-error-config is not needed on Debian
since there is no need for -I or -L directives; and it has been
superseded by gpgrt-config and pkgconfig anyway.
So I think it is reasonable to stop shipping gpg-error-config, just like
FreeType stopped shipping freetype-config to become multiarch-compatible.
The attached patch modifies libgpg-error-dev accordingly. Feel free to
incorporate it into a future release and to adjust the changelog as you
see fit.
In the meantime one can generate multiarch-ified packages as follows:
(you'll probably need to create a 32 bit chroot with debootstrap+schroot)
tar xfj libgpg-error_1.36.orig.tar.bz2
cd libgpg-error-1.36
tar xfJ ../libgpg-error_1.36-7.debian.tar.xz
patch -p1 <../libgpg-error.diff
dpkg-buildpackage -rfakeroot -uc -us
-------------- next part --------------
diff -ur '--exclude=*~' libgpg-error-1.36.orig/debian/changelog libgpg-error-1.36/debian/changelog
--- libgpg-error-1.36.orig/debian/changelog 2019-07-16 19:32:03.000000000 +0200
+++ libgpg-error-1.36/debian/changelog 2020-01-28 12:19:50.920379927 +0100
@@ -1,3 +1,12 @@
+libgpg-error (1.36-7m) unstable; urgency=medium
+
+ * Don't ship gpg-error-config: it is not needed on Debian, has been
+ superseeded by gpgrt-config and pkgconfig and is incompatible with
+ multiarch support
+ * Mark the development package as multiarch (Closes: #933713)
+
+ -- Francois Gouget <fgouget at free.fr> Tue, 28 Jan 2020 02:02:00 +0100
+
libgpg-error (1.36-7) unstable; urgency=medium
* d/tests/windows: specify WINESERVER
diff -ur '--exclude=*~' libgpg-error-1.36.orig/debian/control libgpg-error-1.36/debian/control
--- libgpg-error-1.36.orig/debian/control 2019-07-14 18:59:16.000000000 +0200
+++ libgpg-error-1.36/debian/control 2020-01-28 04:11:55.027998272 +0100
@@ -20,6 +20,7 @@
Package: libgpg-error-dev
Section: libdevel
Architecture: any
+Multi-Arch: same
Depends:
libgpg-error0 (= ${binary:Version}),
${misc:Depends},
diff -ur '--exclude=*~' libgpg-error-1.36.orig/debian/libgpg-error-dev.install.in libgpg-error-1.36/debian/libgpg-error-dev.install.in
--- libgpg-error-1.36.orig/debian/libgpg-error-dev.install.in 2018-12-15 02:54:26.000000000 +0100
+++ libgpg-error-1.36/debian/libgpg-error-dev.install.in 2020-01-28 11:21:52.852522535 +0100
@@ -1,4 +1,3 @@
-usr/bin/gpg-error-config
usr/bin/gpgrt-config
usr/include/* usr/include/@DEB_HOST_MULTIARCH@/
usr/lib/*/libgpg-error.a
More information about the pkg-gnupg-maint
mailing list