From patchwork Mon Sep 5 13:36:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 3865 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EFEAE23EFB for ; Mon, 5 Sep 2011 13:36:25 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id D1953A18399 for ; Mon, 5 Sep 2011 13:36:25 +0000 (UTC) Received: by fxd18 with SMTP id 18so5120865fxd.11 for ; Mon, 05 Sep 2011 06:36:25 -0700 (PDT) Received: by 10.223.22.14 with SMTP id l14mr2558768fab.100.1315229785636; Mon, 05 Sep 2011 06:36:25 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.11.8 with SMTP id m8cs63357lab; Mon, 5 Sep 2011 06:36:25 -0700 (PDT) Received: by 10.229.65.147 with SMTP id j19mr1573203qci.1.1315229784160; Mon, 05 Sep 2011 06:36:24 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to [92.243.29.197]) by mx.google.com with ESMTPS id h20si2010199qco.94.2011.09.05.06.36.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Sep 2011 06:36:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of nchip@afflict.kos.to designates 92.243.29.197 as permitted sender) client-ip=92.243.29.197; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of nchip@afflict.kos.to designates 92.243.29.197 as permitted sender) smtp.mail=nchip@afflict.kos.to Received: by afflict.kos.to (Postfix, from userid 1000) id 73BB7266A0; Mon, 5 Sep 2011 13:36:22 +0000 (UTC) Date: Mon, 5 Sep 2011 16:36:22 +0300 From: Riku Voipio To: submit@bugs.debian.org Subject: please add multi-arch support for mpfr4 Message-ID: <20110905133622.GA19798@afflict.kos.to> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Package: xcb-util Version: 0.3.8-1 Severity: normal User: debian-dpkg@lists.debian.org Usertags: multiarch Tags: patch Hi, The attached patch converts xcb-util to multiarch paths and adds the relevant Multi-Arch: fields to debian/control. Riku diff -urN orig/xcb-util-0.3.8//debian/control xcb-util-0.3.8//debian/control --- orig/xcb-util-0.3.8//debian/control 2011-05-06 14:16:44.000000000 +0300 +++ xcb-util-0.3.8//debian/control 2011-09-05 16:18:27.325006001 +0300 @@ -4,8 +4,8 @@ Maintainer: Debian X Strike Force Uploaders: Julien Danjou , Arnaud Fontaine -Build-Depends: cdbs, - debhelper (>= 5), +Build-Depends: cdbs ( >= 0.4.93), + debhelper (>= 8.1.3), libxcb1-dev (>= 1.6), gperf, pkg-config, @@ -24,7 +24,9 @@ Package: libxcb-util0 Section: libs Architecture: any +Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same Description: utility libraries for X C Binding -- atom, aux and event This package contains the library files needed to run software using libxcb-util. @@ -51,6 +53,7 @@ Depends: libxcb-util0 (= ${binary:Version}), libxcb1-dev, ${misc:Depends} +Multi-Arch: same Description: utility libraries for X C Binding -- atom, aux and event This package contains the header and library files needed to build software using libxcb-util. diff -urN orig/xcb-util-0.3.8//debian/libxcb-util0-dev.install xcb-util-0.3.8//debian/libxcb-util0-dev.install --- orig/xcb-util-0.3.8//debian/libxcb-util0-dev.install 2011-05-06 14:16:44.000000000 +0300 +++ xcb-util-0.3.8//debian/libxcb-util0-dev.install 2011-09-05 16:02:36.805006002 +0300 @@ -1,4 +1,4 @@ usr/include/xcb/*.h -usr/lib/libxcb-util.a -usr/lib/libxcb-util.so -usr/lib/pkgconfig/*.pc +usr/lib/*/libxcb-util.a +usr/lib/*/libxcb-util.so +usr/lib/*/pkgconfig/*.pc diff -urN orig/xcb-util-0.3.8//debian/libxcb-util0.install xcb-util-0.3.8//debian/libxcb-util0.install --- orig/xcb-util-0.3.8//debian/libxcb-util0.install 2011-05-06 14:16:44.000000000 +0300 +++ xcb-util-0.3.8//debian/libxcb-util0.install 2011-09-05 16:02:41.515006002 +0300 @@ -1 +1 @@ -usr/lib/libxcb-util.so.* +usr/lib/*/libxcb-util.so.* diff -urN orig/xcb-util-0.3.8//debian/rules xcb-util-0.3.8//debian/rules --- orig/xcb-util-0.3.8//debian/rules 2011-05-06 14:16:44.000000000 +0300 +++ xcb-util-0.3.8//debian/rules 2011-09-05 16:34:25.525006002 +0300 @@ -9,6 +9,8 @@ ORIG_MAJOR=$(shell git describe upstream | cut -d- -f1) ORIG_GIT=$(shell git describe upstream | cut -d- -f2) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) post-patches:: configure-stamp configure-stamp: