NetBSD Problem Report #40285
From www@NetBSD.org Sun Dec 28 15:25:00 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 1A7A863BC6A
for <gnats-bugs@gnats.netbsd.org>; Sun, 28 Dec 2008 15:25:00 +0000 (UTC)
Message-Id: <20081228152459.AD11663BC5B@narn.NetBSD.org>
Date: Sun, 28 Dec 2008 15:24:59 +0000 (UTC)
From: emilianogavilan@gmail.com
Reply-To: emilianogavilan@gmail.com
To: gnats-bugs@NetBSD.org
Subject: "xft-config --cflags" for native xorg lacks /usr/X11R7/include/freetype2
X-Send-Pr-Version: www-1.0
>Number: 40285
>Category: xsrc
>Synopsis: "xft-config --cflags" for native xorg lacks /usr/X11R7/include/freetype2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: mrg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 28 15:25:00 +0000 2008
>Closed-Date: Tue Feb 03 01:20:47 +0000 2009
>Last-Modified: Tue Feb 03 01:20:47 +0000 2009
>Originator: Emiliano
>Release: 5.0_BETA
>Organization:
Gavilan
>Environment:
NetBSD cacharro.amymec.com.ar 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Fri Dec 26 08:33:52 PST 2008 builds@wb28:/home/builds/ab/netbsd-5/amd64/200812260002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
The value returned by "/usr/X11R7/bin/xft-config --cflags" is incorrect
$ /usr/X11R7/bin/xft-config --cflags
-I/usr/X11R7/include
<X11/Xft/Xft.h> includes <ft2build.h>
<ft2build.h> includes <freetype/config/ftheader.h>
The last header is not rooted in /usr/X11R7/include but in
/usr/X11R7/include/freetype2, which should be added to the
"xft-config --cflags" output.
>How-To-Repeat:
Run a configure script for any package which determines the compiling
flags by means of "xft-config --cflags". One of this packages is
Tk 8.5.6/8.6b1
>Fix:
$ diff -u /usr/X11R7/bin/xft-config.orig /usr/X11R7/bin/xft-config
--- /usr/X11R7/bin/xft-config.orig 2008-12-28 13:20:53.000000000 -0200
+++ /usr/X11R7/bin/xft-config 2008-12-28 13:22:34.000000000 -0200
@@ -6,7 +6,7 @@
includedir="${prefix}/include"
version="2.1.12"
freetypelibs="-lfreetype -lz"
-freetypecflags=""
+freetypecflags="-I${includedir}/freetype2"
fontconfiglibs="-lfontconfig"
fontconfigcflags=""
xrenderlibs="-lXrender"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: xsrc-manager->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Sat, 31 Jan 2009 21:22:48 +0000
Responsible-Changed-Why:
i'll fix this.
State-Changed-From-To: open->pending-pullups
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 31 Jan 2009 21:24:21 +0000
State-Changed-Why:
i've commited a fix for this, and will generate pullups for netbsd 5.
thanks for the report.
From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40285 CVS commit: src/external/mit/xorg/bin/xft-config
Date: Sat, 31 Jan 2009 21:23:45 +0000 (UTC)
Module Name: src
Committed By: mrg
Date: Sat Jan 31 21:23:45 UTC 2009
Modified Files:
src/external/mit/xorg/bin/xft-config: Makefile
Log Message:
fill in cflags for freetype. make xft-config.in depend on Makefile,
so that changes to the Makefile cause rebuilds.
fixes PR#40285.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/external/mit/xorg/bin/xft-config/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40285 CVS commit: [netbsd-5] src/external/mit/xorg/bin/xft-config
Date: Mon, 2 Feb 2009 20:57:56 +0000 (UTC)
Module Name: src
Committed By: snj
Date: Mon Feb 2 20:57:56 UTC 2009
Modified Files:
src/external/mit/xorg/bin/xft-config [netbsd-5]: Makefile
Log Message:
Pull up following revision(s) (requested by mrg in ticket #391):
external/mit/xorg/bin/xft-config/Makefile: revision 1.2
fill in cflags for freetype. make xft-config.in depend on Makefile,
so that changes to the Makefile cause rebuilds.
fixes PR#40285.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.1.6.1 src/external/mit/xorg/bin/xft-config/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 03 Feb 2009 01:20:47 +0000
State-Changed-Why:
all done,thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.