Source: mjpegtools
Version: 1:2.1.0+debian-5
Tags: patch
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch


Hi

Please find attached a patch to mark the library and development
packages in mjpegtools as "Multi-Arch: same".

I rebuilt your package with my proposed patch applied and successfully
co-installed all packages from amd64 and i386.



Background:

Wine requires gstreamer1.0-plugins-bad to play some media.  To support
both 32-bit and 64-bit Windows executables Wine needs to be installed on
two architectures, usually amd64 being the host arch and i386 the
foreign arch.  Both Wine versions need their libraries from the same
arch, so gstreamer1.0-plugins-bad:amd64 and
gstreamer1.0-plugins-bad:i386 need to be co-installed.

gstreamer1.0-plugins-bad itself supports this, but some of its
dependencies not.  From src:mjpegtools these are:

  libmjpegutils-2.1-0
  libmpeg2encpp-2.1-0
  libmplex2-2.1-0


Generally the multi-arch hinter at https://tracker.debian.org/mjpegtools
currently reports:

There are issues with the multiarch metadata for this package.

  liblavfile-2.1-0 could be marked Multi-Arch: same
  liblavjpeg-2.1-0 could be marked Multi-Arch: same
  liblavplay-2.1-0 could be marked Multi-Arch: same
  libmjpegtools-dev could be marked Multi-Arch: same
  libmjpegutils-2.1-0 could be marked Multi-Arch: same
  libmpeg2encpp-2.1-0 could be marked Multi-Arch: same
  libmplex2-2.1-0 could be marked Multi-Arch: same

Thanks and greets
jre
>From 09bc71493bff42010f143a009b7d5f147ea04f1c Mon Sep 17 00:00:00 2001
From: Jens Reyer <jre.wine...@gmail.com>
Date: Sat, 17 Aug 2019 16:56:07 +0200
Subject: Mark shared libraries and development packages as "Multi-Arch: same"

This adds the "Multi-Arch: same" header to the following packages:

  liblavfile-2.1-0
  liblavjpeg-2.1-0
  liblavplay-2.1-0
  libmjpegtools-dev
  libmjpegutils-2.1-0
  libmpeg2encpp-2.1-0
  libmplex2-2.1-0

diff --git a/debian/control b/debian/control
index a84a973..4953fd8 100644
--- a/debian/control
+++ b/debian/control
@@ -48,6 +48,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (GTK+ fronte
 
 Package: libmjpegtools-dev
 Section: libdevel
+Multi-Arch: same
 Architecture: any
 Depends:
  liblavfile-2.1-0 (= ${binary:Version}),
@@ -67,6 +68,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (development
 Package: liblavfile-2.1-0
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
@@ -80,6 +82,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (library)
 Package: liblavjpeg-2.1-0
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
@@ -93,6 +96,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (library)
 Package: liblavplay-2.1-0
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
@@ -106,6 +110,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (library)
 Package: libmjpegutils-2.1-0
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
@@ -119,6 +124,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (library)
 Package: libmpeg2encpp-2.1-0
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}
@@ -132,6 +138,7 @@ Description: MJPEG capture/editing/replay and MPEG encoding toolset (library)
 Package: libmplex2-2.1-0
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends}

Reply via email to