Your message dated Sun, 05 Jan 2020 19:49:25 +0000
with message-id <[email protected]>
and subject line Bug#945403: fixed in libg15render 1.3.0~svn316-3
has caused the Debian Bug report #945403,
regarding libg15render FTCBFS: uses the wrong pkg-config
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
945403: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945403
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libg15render
Version: 1.3.0~svn316-2.4
Tags: patch
User: [email protected]
Usertags: ftcbfs
libg15render fails to cross build from source, because ./configure hard
codes the build architecture pkg-config and thus fails finding
freetype2. This is a regression introduced in #892334. Replacing a
freetype-config with pkg-config does not simply work. freetype-config
was architecture-dependent while pkg-config needs to be told about the
architecture by a prefix. For this reason, one should always be using
PKG_CHECK_MODULES with autoconf. Note that PKG_CHECK_MODULES does not
work inside AC_ARG_VAR. I had to do a bit of restructuring, but the
resulting code is more concise. Please consider applying the attached
patch.
Helmut
--- libg15render-1.3.0~svn316.orig/configure.in
+++ libg15render-1.3.0~svn316/configure.in
@@ -14,17 +14,15 @@
# Checks for --enable args
AC_MSG_CHECKING(whether to enable FreeType2 support)
-AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support],
- if [[[ "$enableval" = "yes" ]]]; then
- AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
- CFLAGS="$CFLAGS `pkg-config --cflags freetype2`"
- FTLIB="-lfreetype"
- ttf_support="yes"
- else
- ttf_support="no"
- fi,
+AC_ARG_ENABLE(ttf, [ --enable-ttf enable FreeType2 support])
+AS_IF([[[ "$enable_ttf" = "yes" ]]],[
+ AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
+ PKG_CHECK_MODULES([FREETYPE2],[freetype2])
+ CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
+ ttf_support="yes"
+],[
ttf_support="no"
-)
+])
AC_MSG_RESULT($ttf_support)
# Checks for libraries.
@@ -43,7 +41,6 @@
AC_HEADER_STDC
AC_CHECK_FUNCS([memset])
-AC_SUBST(FTLIB)
AC_CONFIG_FILES([
Makefile
src/Makefile
--- libg15render-1.3.0~svn316.orig/src/Makefile.am
+++ libg15render-1.3.0~svn316/src/Makefile.am
@@ -5,10 +5,10 @@
lib_LTLIBRARIES = libg15render.la
libg15render_la_SOURCES = libg15render.h text.c pixel.c screen.c
-libg15render_la_LIBADD = @FTLIB@
+libg15render_la_LIBADD = @FREETYPE2_LIBS@
libg15render_la_LDFLAGS = -version-info 2:0:1
include_HEADERS= libg15render.h
bin_PROGRAMS = g15fontconvert
g15fontconvert_SOURCES = g15fontconvert.c
-g15fontconvert_LDADD = libg15render.la @FTLIB@
+g15fontconvert_LDADD = libg15render.la @FREETYPE2_LIBS@
--- End Message ---
--- Begin Message ---
Source: libg15render
Source-Version: 1.3.0~svn316-3
We believe that the bug you reported is fixed in the latest version of
libg15render, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <[email protected]> (supplier of updated libg15render package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 05 Jan 2020 20:40:17 +0100
Source: libg15render
Architecture: source
Version: 1.3.0~svn316-3
Distribution: unstable
Urgency: medium
Maintainer: Alexander Ponyatykh <[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Closes: 810434 945181 945403
Changes:
libg15render (1.3.0~svn316-3) unstable; urgency=medium
.
[ Alexander Ponyatykh ]
* New maintainer (Closes: #945181).
* Switch to debhelper.
* Remove d/watch file pointing to a dead site.
* Don't install .la files.
* Multiarchify.
* Remove unneeded build dependencies (Closes: #810434).
* debian/patches/01-pkg-config-configure-in.patch:
- Fix failed cross build from source due to incorrect use of pkg-config
(Closes: #945403).
* Update debian/copyright.
.
[ Andrej Shadura ]
* Remove debian/tmp from the install files.
* Convert debian/copyright to the machine-readable format.
* d/{changelog, control}: Remove trailing whitespaces.
* d/control: Add Vcs-* field.
* Add gbp.conf.
Checksums-Sha1:
ccfcd776a1ecafac2f5a185f0befd6c8bbc4bcb4 1809 libg15render_1.3.0~svn316-3.dsc
bec8702c633d3f695b6b208b8665d6edf747b83b 3308
libg15render_1.3.0~svn316-3.debian.tar.xz
Checksums-Sha256:
f73d1572517a3ed00da735e0b843d5a219abbc9b6d5d3a2d3b06dff7f7584a22 1809
libg15render_1.3.0~svn316-3.dsc
1dd114d0e097aa9641fb0c4f70c591b56c964ff72b99c8f38b33b6e144c73c8b 3308
libg15render_1.3.0~svn316-3.debian.tar.xz
Files:
d1e2cc2db82ae6be3c6a0791017ad373 1809 libs optional
libg15render_1.3.0~svn316-3.dsc
ceefe5719243b366b42613f13726595a 3308 libs optional
libg15render_1.3.0~svn316-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAl4SPGwACgkQXkCM2RzY
OdJETAf+LdBeZA3+GXJ/fVzJVOF3Ktu3w+prdJBUIO/5NsrMbqx+ZPatZB+AEYJN
LguGByS4yYocRsXtlOI6Tu8DfgQtsHW2dV2NZm7yx42QwEL0AN5KUqN5hJawgpPF
qVFaZ4t761HTjXZzJdYMYSaf/QXshjivpuuTf3Dz6YvR2WSUaUTGNmLlJdeAVeCS
MWs96lQm0w0e6jwKay6DPMwi3NCQuiT6d63Z8J582r18gueD8R1W7Lq7L5QC/jCW
DiVY0qT6BJbi8o2fF2bLmWiSMc+4hLnB/Q0DA809ovpKskaRaL7aiOQp7qNCLpTe
Wm+9hxvR6K8mRwEyGqXBbM2P6+G4mg==
=VJ41
-----END PGP SIGNATURE-----
--- End Message ---