Package: x11-xkb-utils
Version: 7.7+3
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:cinnamon-settings-daemon src:libwx-perl 
src:libxkbcommon src:openjdk-8 src:xdotool

The affected packages transitively depend on x11-xkb-utils for both the
build architecture and the host architecture. Such dependencies can only
be satisfied when the binary package is marked Multi-Arch: foreign.

Such a marking is mostly correct, because x11-xkb-utils contains only
command line utilities whose behaviour is architecture-independent. It
does not have any maintainer scripts and exposure of shared libraries
generally does not contribute to architecture awareness. The only
remaining piece of architecture awareness is the location of xkbcomp.pc.
Fortunately, it does not vary per architecture, so moving it to
/usr/share/pkgconfig resolves that as well. After doing so, a
Multi-Arch: foreign marking should be correct. The move and the marking
are implemented in the attached patch. Please consider applying it.

Helmut
diff --minimal -Nru x11-xkb-utils-7.7+3/debian/changelog 
x11-xkb-utils-7.7+3+nmu1/debian/changelog
--- x11-xkb-utils-7.7+3/debian/changelog
+++ x11-xkb-utils-7.7+3+nmu1/debian/changelog
@@ -1,3 +1,12 @@
+x11-xkb-utils (7.7+3+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add Multi-Arch: foreign (closes: #-1).
+    + Move xkbcomp.pc to /usr/share/pkgconfig as it is architecture
+      independent.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 30 Oct 2016 18:38:22 +0200
+
 x11-xkb-utils (7.7+3) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru x11-xkb-utils-7.7+3/debian/x11-xkb-utils.install 
x11-xkb-utils-7.7+3+nmu1/debian/x11-xkb-utils.install
--- x11-xkb-utils-7.7+3/debian/x11-xkb-utils.install
+++ x11-xkb-utils-7.7+3+nmu1/debian/x11-xkb-utils.install
@@ -1,4 +1,4 @@
 usr/bin/*
 usr/share/man/man1/*
 usr/share/doc/x11-xkb-utils
-usr/lib/*/pkgconfig
+usr/lib/*/pkgconfig usr/share

Reply via email to