Bug#689122: libcairo2-dev is not Multi-Arch compatible

Francois Gouget fgouget at free.fr
Tue Feb 10 18:11:57 UTC 2015


Package: libcairo2-dev
Version: 1.14.0-2.1
Followup-For: Bug #689122

Dear Maintainer,

I have tested this and I have not seen any issue preventing libcairo2-dev from being marked Multi-Arch: same. Is there an issue I am not aware of?

Furthermore I don't see any reason not to make cairo-perf-utils Multi-Arch: foreign. This way any package that wants to use these tools will be able to, while packages that need access to the libcairo-trace.so library will have to wait until a decision is made (make the package Multi-Arch: allowed, or move the library in a separate package).

Personally I would however reorder a couple more lines as I think it makes sense to have the Architecture and Multi-Arch lines together, and have the Pre-Depends line right before the Depends one.

So here is my proposed patch:

diff -ur cairo-1.14.0.orig/debian/control cairo-1.14.0/debian/control
--- cairo-1.14.0.orig/debian/control	2014-10-22 16:37:22.000000000 +0200
+++ cairo-1.14.0/debian/control	2015-02-10 18:14:12.326575587 +0100
@@ -34,6 +34,7 @@
 Package: libcairo2-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends: libcairo2 (= ${binary:Version}),
          libcairo-gobject2 (= ${binary:Version}),
          libcairo-script-interpreter2 (= ${binary:Version}),
@@ -64,10 +65,10 @@
 Package: libcairo2
 Section: libs
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-Pre-Depends: ${misc:Pre-Depends}
-Multi-Arch: same
 Breaks: weston (<< 1.5.0-3~),
         libwebkitgtk-1.0-0 (<< 2.4.5-2~),
         libwebkitgtk-3.0-0 (<< 2.4.5-2~),
@@ -93,12 +94,12 @@
 Section: debug
 Priority: extra
 Architecture: any
+Multi-Arch: same
 Depends: libcairo2 (= ${binary:Version}),
          ${misc:Depends}
 Suggests: libcairo-gobject2 (= ${binary:Version}),
           libcairo-script-interpreter2 (= ${binary:Version}),
           cairo-perf-utils (= ${binary:Version})
-Multi-Arch: same
 Description: Cairo 2D vector graphics library (debugging symbols)
  Debugging symbols for the Cairo 2D vector graphics library. This is
  needed to debug programs linked against libcairo2.
@@ -118,10 +119,10 @@
 Package: libcairo-script-interpreter2
 Section: libs
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-Pre-Depends: ${misc:Pre-Depends}
-Multi-Arch: same
 Description: Cairo 2D vector graphics library (script interpreter)
  Cairo is a multi-platform library providing anti-aliased
  vector-based rendering for multiple target backends.
@@ -132,10 +133,10 @@
 Package: libcairo-gobject2
 Section: libs
 Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-Pre-Depends: ${misc:Pre-Depends}
-Multi-Arch: same
 Description: Cairo 2D vector graphics library (GObject library)
  Cairo is a multi-platform library providing anti-aliased
  vector-based rendering for multiple target backends.
@@ -146,6 +147,7 @@
 Package: cairo-perf-utils
 Section: misc
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Description: Cairo 2D vector graphics library performance utilities



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libcairo2-dev depends on:
ii  libcairo-gobject2             1.14.0-2.1
ii  libcairo-script-interpreter2  1.14.0-2.1
ii  libcairo2                     1.14.0-2.1
ii  libfontconfig1-dev            2.11.0-6.3
ii  libfreetype6-dev              2.5.2-2
ii  libglib2.0-dev                2.42.1-1
ii  libpixman-1-dev               0.32.6-3
ii  libpng12-dev [libpng-dev]     1.2.50-2+b2
ii  libsm-dev                     2:1.2.2-1+b1
ii  libx11-dev                    2:1.6.2-3
ii  libxcb-render0-dev            1.10-3+b1
ii  libxcb-shm0-dev               1.10-3+b1
ii  libxcb1-dev                   1.10-3+b1
ii  libxext-dev                   2:1.3.3-1
ii  libxrender-dev                1:0.9.8-1+b1

libcairo2-dev recommends no packages.

Versions of packages libcairo2-dev suggests:
pn  libcairo2-doc  <none>

-- no debconf information



More information about the pkg-gnome-maintainers mailing list