[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multi-Arch .udeb ?



On Mon, Jun 27, 2011 at 04:31:50PM -0700, Keith Packard wrote:
> On Tue, 28 Jun 2011 00:04:23 +0100, Steve Langasek <vorlon@debian.org> wrote:

> > The convention I've adopted so far for udeb-building packages has been to
> > install libraries in /usr/lib instead of to /usr/lib/$arch.

> Ok, that makes sense to me. Of course, it's also harder for me to manage
> in the package as I'm installing the same library in the .udeb as I do
> in the library .deb file. I'll manage.

> > BTW, if the package you're asking after happens to be fontconfig, I have a
> > patch here that I'll be sending on shortly. :-)

> Oddly, it is (the only package I have with a .udeb). I'm running a
> multi-arch version of that on this machine and it appears to work
> correctly. You can see this at:

> git://git.debian.org/git/pkg-freedesktop/fontconfig-debian

Yep, looks almost identical to my patch here, with only one difference: the
runtime support packages need to be marked Multi-Arch: foreign in order to
satisfy the dependencies of the multiarch libraries.  Attached.  (This is
also bug #614208.)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
From ab0b231256f358485b0e950d0e3d4bfb75e331c3 Mon Sep 17 00:00:00 2001
From: Steve Langasek <steve.langasek@canonical.com>
Date: Tue, 28 Jun 2011 08:12:16 +0100
Subject: [PATCH] mark fontconfig, fontconfig-config Multi-Arch: foreign

the support packages providing arch-independent interfaces need to be
marked Multi-Arch: foreign, to satisfy the dependencies of the multiarch
libraries.
---
 debian/control |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/control b/debian/control
index d9b2595..64e5b71 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, fontconfig-config
 Replaces: fontconfig-config (<< 2.5.93-1)
 Suggests: defoma (>= 0.7.0)
+Multi-Arch: foreign
 Description: generic font configuration library - support binaries
  Fontconfig is a font configuration and customization library, which
  does not depend on the X Window System. It is designed to locate
@@ -35,6 +36,7 @@ Architecture: all
 Depends: ${misc:Depends}, ucf (>= 0.29), ttf-dejavu-core | ttf-bitstream-vera | ttf-freefont | gsfonts-x11
 Replaces: fontconfig (<< 2.3.2-2)
 Conflicts: fontconfig (<< 2.3.2-2)
+Multi-Arch: foreign
 Description: generic font configuration library - configuration
  Fontconfig is a font configuration and customization library, which
  does not depend on the X Window System. It is designed to locate
-- 
1.7.5.4

Attachment: signature.asc
Description: Digital signature


Reply to: