tags 887714 + pending
thanks

Hugh McMaster:
> A rebuild of your package with freetype 2.9.1 installed confirmed that your
> package will FTBFS once the new version of freetype enters unstable. In
> almost all cases, this build failure was caused by the configure script not
> detecting the freetype libraries, as freetype-config is not shipped in
> 2.9.1.
> 
> Given the build failure and upcoming upload of freetype 2.9.1, I am raising
> the severity of this bug to Serious.
> 
> Please use pkg-config to detect freetype.

I've prepared an NMU to fix this bug (as 3.2-2.1) and I'm attaching the
NMU diff to this message.  I've uploaded it to DELAYED/5.  Please let me know if
you'd like the upload delayed longer.

Thanks

   -- Chris


-- 
Chris Knadle
chris.kna...@coredump.us
diff -u g15composer-3.2/debian/control g15composer-3.2/debian/control
--- g15composer-3.2/debian/control
+++ g15composer-3.2/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Giacomo Catenazzi <c...@debian.org>
 Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libfreetype6-dev,
- libg15-dev, libg15render-dev (>= 1.2-3), libg15daemon-client-dev
+ libg15-dev, libg15render-dev (>= 1.2-3), libg15daemon-client-dev, pkg-config
 Standards-Version: 3.8.2
 Homepage: http://www.g15tools.com/
 
diff -u g15composer-3.2/debian/changelog g15composer-3.2/debian/changelog
--- g15composer-3.2/debian/changelog
+++ g15composer-3.2/debian/changelog
@@ -1,3 +1,12 @@
+g15composer (3.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/control:
+    - Add pkg-config to Build-Depends
+  * patched configure and configure.in to use pkg-config (Closes: #887714)
+
+ -- Christopher Knadle <chris.kna...@coredump.us>  Wed, 24 Oct 2018 04:20:30 +0000
+
 g15composer (3.2-2) unstable; urgency=low
 
   * Update policy, add ${misc:Depends}, add homepage
only in patch2:
unchanged:
--- g15composer-3.2.orig/configure
+++ g15composer-3.2/configure
@@ -3637,8 +3637,8 @@
 #define TTF_SUPPORT 1
 _ACEOF
 
-        	        CFLAGS="$CFLAGS `freetype-config --cflags`"
-        	        CXXFLAGS="$CXXFLAGS `freetype-config --cflags`"
+        	        CFLAGS="$CFLAGS `pkg-config --cflags freetype2`"
+        	        CXXFLAGS="$CXXFLAGS `pkg-config --cflags freetype2`"
         	        FTLIB="-lfreetype"
 	                ttf_support="yes"
 else
only in patch2:
unchanged:
--- g15composer-3.2.orig/configure.in
+++ g15composer-3.2/configure.in
@@ -19,8 +19,8 @@
         if [[[ "$enableval" = "yes" ]]]; then
 		AC_CHECK_LIB([g15render], [g15r_ttfLoad],
 	                AC_DEFINE(TTF_SUPPORT, [1], [Define to 1 to enable FreeType2 support])
-        	        CFLAGS="$CFLAGS `freetype-config --cflags`"
-        	        CXXFLAGS="$CXXFLAGS `freetype-config --cflags`"
+        	        CFLAGS="$CFLAGS `pkg-config --cflags freetype2`"
+        	        CXXFLAGS="$CXXFLAGS `pkg-config --cflags freetype2`"
         	        FTLIB="-lfreetype"
 	                ttf_support="yes",
 			AC_MSG_ERROR(["libg15render does not support ttf functions. please reconfigure with --enable-ttf"])

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to