Control: reassign -1  libfreetype6-dev 2.8-0.2

On Tue, Aug 08, 2017 at 11:07:54AM +0200, Helmut Grohne wrote:
> Package: libfreetype-dev

wrong package name, reassignin.

> Version: 2.8-0.2
> File: /usr/bin/freetype-config
> Tags: patch
> Control: affects -1 + src:foobillardplus
> 
> When libfreetype-dev is installed for a non-native architecture, it
> does not work at all. It issues calls to "pkg-config ... freetype2" and
> expects reasonable results as the same package contains freetype2.pc.
> That is not the case however as pkg-config does not necessarily search
> /usr/lib/$packagearch/pkgconfig. For it to search that directory,
> pkg-config must be qualified with the GNU triplet of the package
> architecture. The attached patch does just that. Please consider
> applying it.
> 
> Helmut

> diff -u freetype-2.8/debian/changelog freetype-2.8/debian/changelog
> --- freetype-2.8/debian/changelog
> +++ freetype-2.8/debian/changelog
> @@ -1,3 +1,10 @@
> +freetype (2.8-0.3) UNRELEASED; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Patch freetype-config to use arch-qualified pkg-config. (Closes: #-1)
> +
> + -- Helmut Grohne <hel...@subdivi.de>  Tue, 08 Aug 2017 10:46:18 +0200
> +
>  freetype (2.8-0.2) unstable; urgency=medium
>  
>    * Non-maintainer upload.
> diff -u freetype-2.8/debian/rules freetype-2.8/debian/rules
> --- freetype-2.8/debian/rules
> +++ freetype-2.8/debian/rules
> @@ -3,9 +3,7 @@
>  # This is free software; see the GNU General Public Licence
>  # version 2 or later for copying conditions.  There is NO warranty.
>  
> -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> -DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
> -DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
> +include /usr/share/dpkg/architecture.mk
>  
>  ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
>    export LIBPNG_CFLAGS = -I/usr/include/libpng12
> @@ -96,6 +94,7 @@
>               $(CURDIR)/debian/$(demospkg)/usr/bin/
>  endif
>       sed -i -e'/dependency_libs/s/'.*'//' 
> debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libfreetype.la
> +     sed -i -e's/pkg-config/$(DEB_HOST_GNU_TYPE)-&/' 
> debian/tmp/usr/bin/freetype-config
>  
>  override_dh_install:
>       dh_install --fail-missing


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to