Bug#225129: marked as done (gtk+2.0: FTBFS: Freetype errors in configure)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 27 Dec 2003 12:48:24 -0600


Your message dated Sat, 27 Dec 2003 13:17:22 -0500
with message-id <E1AaJ06-00058P-00@auric.debian.org>
and subject line Bug#225129: fixed in gtk+2.0 2.2.4-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Dec 2003 17:56:41 +0000
>From daniel@frobnitz.ddts.net Fri Dec 26 11:56:40 2003
Return-path: <daniel@frobnitz.ddts.net>
Received: from maynard.mail.mindspring.net [207.69.200.243] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AZvDU-0002xW-00; Fri, 26 Dec 2003 10:53:36 -0600
Received: from user-119bq03.biz.mindspring.com ([66.149.232.3] helo=frobnitz.ddts.net)
	by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1)
	id 1AZvDU-0001Wy-00
	for submit@bugs.debian.org; Fri, 26 Dec 2003 11:53:36 -0500
Received: from daniel by frobnitz.ddts.net with local (Exim 4.30)
	id 1AZvDI-0004P9-8z
	for submit@bugs.debian.org; Fri, 26 Dec 2003 08:53:24 -0800
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gtk+2.0: FTBFS: Freetype errors in configure
From: Daniel Schepler <schepler@math.berkeley.edu>
Date: Fri, 26 Dec 2003 08:53:24 -0800
Message-ID: <87ptebjzaz.fsf@frobnitz.ddts.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: Daniel Schepler <daniel@frobnitz.ddts.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

--=-=-=

Package: gtk+2.0
Severity: serious
Version: 2.2.4-2
Tags: patch

>From my build log:

...
checking for x86 platform... yes
checking compiler support for MMX... yes
checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... no
configure: error: pangoxft Pango backend found but did not find freetype libraries
make: *** [debian/stampdir/configure-static-stamp] Error 1

The config.log file shows errors with the new FreeType build system
(unfortunately I seem to have deleted that).

I've included a patch which fixes the build errors for me.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.6.0-test11 #1 Wed Dec 3 21:42:26 PST 2003 i686
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.ISO-8859-1)


-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=gtk+2.0.diff
Content-Description: gtk+2.0 patch

--- gtk+2.0-2.2.4.old/debian/patches/002_gtk+-debian-freetype.patch	1970-01-01 00:00:00.000000000 +0000
+++ gtk+2.0-2.2.4/debian/patches/002_gtk+-debian-freetype.patch	2003-12-26 15:42:06.000000000 +0000
@@ -0,0 +1,26 @@
+diff -Nru gtk+-2.2.4.orig/configure gtk+-2.2.4/configure
+--- gtk+-2.2.4.orig/configure	2003-12-26 15:02:48.427829000 +0000
++++ gtk+-2.2.4/configure	2003-12-26 15:41:00.350762731 +0000
+@@ -24745,7 +24745,8 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
+ 
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include FT_ERRORS_H
+ 
+ int
+diff -Nru gtk+-2.2.4.orig/configure.in gtk+-2.2.4/configure.in
+--- gtk+-2.2.4.orig/configure.in	2003-12-26 15:02:48.324791000 +0000
++++ gtk+-2.2.4/configure.in	2003-12-26 15:36:27.533900776 +0000
+@@ -964,7 +964,8 @@
+ 
+       AC_MSG_CHECKING([For sufficiently new FreeType (at least 2.0.1)])
+       AC_TRY_COMPILE([
+-#include <freetype/freetype.h>
++#include <ft2build.h>
++#include FT_FREETYPE_H
+ #include FT_ERRORS_H
+     ],
+ 	             [(void)1;],:,have_freetype=false)

--=-=-=--

---------------------------------------
Received: (at 225129-close) by bugs.debian.org; 27 Dec 2003 18:44:40 +0000
>From katie@auric.debian.org Sat Dec 27 12:44:40 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AaJ71-0005Wy-00; Sat, 27 Dec 2003 12:24:31 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AaJ06-00058P-00; Sat, 27 Dec 2003 13:17:22 -0500
From: Sebastien Bacher <seb128@debian.org>
To: 225129-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#225129: fixed in gtk+2.0 2.2.4-3
Message-Id: <E1AaJ06-00058P-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sat, 27 Dec 2003 13:17:22 -0500
Delivered-To: 225129-close@bugs.debian.org

Source: gtk+2.0
Source-Version: 2.2.4-3

We believe that the bug you reported is fixed in the latest version of
gtk+2.0, which is due to be installed in the Debian FTP archive:

gtk+2.0_2.2.4-3.diff.gz
  to pool/main/g/gtk+2.0/gtk+2.0_2.2.4-3.diff.gz
gtk+2.0_2.2.4-3.dsc
  to pool/main/g/gtk+2.0/gtk+2.0_2.2.4-3.dsc
gtk2.0-examples_2.2.4-3_i386.deb
  to pool/main/g/gtk+2.0/gtk2.0-examples_2.2.4-3_i386.deb
libgtk2.0-0_2.2.4-3_i386.deb
  to pool/main/g/gtk+2.0/libgtk2.0-0_2.2.4-3_i386.deb
libgtk2.0-common_2.2.4-3_i386.deb
  to pool/main/g/gtk+2.0/libgtk2.0-common_2.2.4-3_i386.deb
libgtk2.0-dbg_2.2.4-3_i386.deb
  to pool/main/g/gtk+2.0/libgtk2.0-dbg_2.2.4-3_i386.deb
libgtk2.0-dev_2.2.4-3_i386.deb
  to pool/main/g/gtk+2.0/libgtk2.0-dev_2.2.4-3_i386.deb
libgtk2.0-doc_2.2.4-3_all.deb
  to pool/main/g/gtk+2.0/libgtk2.0-doc_2.2.4-3_all.deb



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 225129@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastien Bacher <seb128@debian.org> (supplier of updated gtk+2.0 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 27 Dec 2003 13:00:17 +0100
Source: gtk+2.0
Binary: libgtk2.0-dev libgtk2.0-dbg libgtk2.0-0 libgtk2.0-doc gtk2.0-examples libgtk2.0-common
Architecture: source i386 all
Version: 2.2.4-3
Distribution: unstable
Urgency: low
Maintainer: Akira TAGOH <tagoh@debian.org>
Changed-By: Sebastien Bacher <seb128@debian.org>
Description: 
 gtk2.0-examples - Examples files for the GTK+ 2.0
 libgtk2.0-0 - The GTK+ graphical user interface library
 libgtk2.0-common - Common files for the GTK+ graphical user interface library
 libgtk2.0-dbg - The GTK+ libraries and debugging symbols
 libgtk2.0-dev - Development files for the GTK+ library
 libgtk2.0-doc - Documentation for the GTK+ graphical user interface library
Closes: 225129
Changes: 
 gtk+2.0 (2.2.4-3) unstable; urgency=low
 .
   * debian/patches/:
     - 002_gtk+-debian-freetype.patch: patch from Daniel Schepler to fix the
       build failure due to freetype (Closes: #225129).
Files: 
 c1ea2fe0e2949aa9afe3cbd9b5b8e689 1463 libs optional gtk+2.0_2.2.4-3.dsc
 3644818a624c8523dc507c7c31a63dc3 91584 libs optional gtk+2.0_2.2.4-3.diff.gz
 a825f6f59af9f9face035cc471556962 1464980 doc optional libgtk2.0-doc_2.2.4-3_all.deb
 dccfece042b515c081e33f97e13c10fa 1848674 libs optional libgtk2.0-0_2.2.4-3_i386.deb
 05f9ce71f754d2854a403a9ba535c26c 1606578 misc optional libgtk2.0-common_2.2.4-3_i386.deb
 12d6d68f72bbb85817772dfe3d22a283 2306994 libdevel optional libgtk2.0-dev_2.2.4-3_i386.deb
 716d4dddf045d1db9f88d847d434fe7a 8354018 libdevel extra libgtk2.0-dbg_2.2.4-3_i386.deb
 aceb40ddd32edda479a2a3410e0a70ad 257426 x11 extra gtk2.0-examples_2.2.4-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/7ZNEzWFP1/XWUWkRAgeEAJ4mu+AK7lftLpC5UFJnZZASnVCPbgCaAtXN
zpSPvEb4wR5iLWE9OvJeEls=
=+ueV
-----END PGP SIGNATURE-----