Package: libgpiod-dev
Version: 1.4.1-3
Tags: patch

When developing with libgpiod-dev for embedded systems, it is convenient
to install the build and host instances of development libraries such as
libgpiod-dev at the same time. In this case, the files are already laid
out correctly, so all that's missing is a Multi-Arch annotation.

While at it, the attached patch also annotates all the other packages.
Please consider applying it.

Helmut
diff --minimal -Nru libgpiod-1.4.1/debian/changelog 
libgpiod-1.4.1/debian/changelog
--- libgpiod-1.4.1/debian/changelog     2019-09-10 11:02:05.000000000 +0200
+++ libgpiod-1.4.1/debian/changelog     2020-02-12 06:16:02.000000000 +0100
@@ -1,3 +1,13 @@
+libgpiod (1.4.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark libgpiod-dev Multi-Arch: same. (Closes: #-1)
+  * Mark libgpiod-doc Multi-Arch: foreign.
+  * Mark gpiod Multi-Arch: foreign.
+  * Mark python3-libgpiod: Multi-Arch: same.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 12 Feb 2020 06:16:02 +0100
+
 libgpiod (1.4.1-3) unstable; urgency=medium
 
   * d/control:
diff --minimal -Nru libgpiod-1.4.1/debian/control libgpiod-1.4.1/debian/control
--- libgpiod-1.4.1/debian/control       2019-09-10 10:50:54.000000000 +0200
+++ libgpiod-1.4.1/debian/control       2020-02-12 06:15:56.000000000 +0100
@@ -19,6 +19,7 @@
 Package: libgpiod-dev
 Section: libdevel
 Architecture: linux-any
+Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          libgpiod2 (= ${binary:Version})
@@ -37,6 +38,7 @@
 Package: libgpiod-doc
 Section: doc
 Architecture: all
+Multi-Arch: foreign
 Depends: ${misc:Depends}
 Description: C library for interacting with Linux GPIO device - library 
documentation
  libgpiod encapsulates the ioctl calls and data structures
@@ -69,6 +71,7 @@
 
 Package: gpiod
 Architecture: linux-any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends},
          ${misc:Depends},
 Description: Tools for interacting with Linux GPIO character device - binary
@@ -85,6 +88,7 @@
 Package: python3-libgpiod
 Section: python
 Architecture: linux-any
+Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          ${python3:Depends},

Reply via email to