Re: mythtv package with multi-arch support

Top Page

Reply to this message
Author: Ian Campbell
Date:  
To: dmo-discussion
Subject: Re: mythtv package with multi-arch support
Hi Christian,

On Thu, 2017-10-05 at 09:24 +0100, Ian Campbell wrote:
> I might try and better understand multi-arch and then have a play
> with building some packages with various headers over the next few
> weeks.


Starting from 29+fixes20170927.gited4356116a-dmo3 and with a couple of
Multi-Arch updates to Debian packages[0, 1] and the patch below[2] I've
been able to install libmyth-29:i386 and libmyth-29:amd64
simultaneously.

The patch applies Multi-Arch: foreign to mythtv-{common,database,doc}.
From https://wiki.ubuntu.com/MultiarchSpec this means

    The package is not co-installable and should be allowed to satisfy
    the dependencies of a package of another architecture than its own.


Which I think is correct, since they are arch:all they can be used to
satisfy the dep.

I've not yet looked into what is needed to install the application
packages.

Ian.

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878099
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878100
[2]
diff --git a/debian/control b/debian/control
index cd3768b99e..7094376e74 100644
--- a/debian/control
+++ b/debian/control
@@ -52,6 +52,7 @@ Description: Personal video recorder application (client and server)

Package: mythtv-common
Architecture: all
+Multi-Arch: foreign
Depends: ${misc:Depends}, ${python:Depends}, libxml-xpath-perl, default-mysql-client | virtual-mysql-client, fonts-freefont-ttf, fonts-tlwg-purisa-ttf, fonts-texgyre
Recommends: mythtv-doc (>= ${source:Version}), python-selinux
Conflicts: mythlogserver
@@ -65,6 +66,7 @@ Description: Personal video recorder application (common data)
Package: mythtv-doc
Architecture: all
Section: doc
+Multi-Arch: foreign
Depends: ${misc:Depends}
Description: Personal video recorder application (documentation)
MythTV provides a unified graphical interface for recording and viewing
@@ -74,6 +76,7 @@ Description: Personal video recorder application (documentation)

Package: mythtv-database
Architecture: all
+Multi-Arch: foreign
Depends: mythtv-common (>= ${source:Version}), ${misc:Depends}, libdbd-mysql-perl, default-mysql-client | virtual-mysql-client, cron | cron-daemon
Recommends: default-mysql-server | virtual-mysql-server
Description: Personal video recorder application (database)