Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src In recent freetype2 installation, ft2build.h should be located
details: https://anonhg.NetBSD.org/src/rev/737ebd357616
branches: trunk
changeset: 336062:737ebd357616
user: ryoon <ryoon%NetBSD.org@localhost>
date: Mon Feb 09 16:27:29 2015 +0000
description:
In recent freetype2 installation, ft2build.h should be located
under include/freetype2.
This change should fix non pkg-config build that uses freetype2,
for example, pkgsrc/lang/openjdk8.
netbsd-7 has also this problem.
diffstat:
distrib/sets/lists/xcomp/mi | 5 +++--
external/mit/xorg/lib/freetype/Makefile | 6 +-----
external/mit/xorg/lib/freetype/freetype/Makefile | 4 ++--
external/mit/xorg/lib/freetype/freetype2.pc.in | 4 ++--
4 files changed, 8 insertions(+), 11 deletions(-)
diffs (81 lines):
diff -r 80a08768f33f -r 737ebd357616 distrib/sets/lists/xcomp/mi
--- a/distrib/sets/lists/xcomp/mi Mon Feb 09 07:55:52 2015 +0000
+++ b/distrib/sets/lists/xcomp/mi Mon Feb 09 16:27:29 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.155 2015/01/31 17:14:23 roy Exp $
+# $NetBSD: mi,v 1.156 2015/02/09 16:27:29 ryoon Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -5745,6 +5745,7 @@
./usr/X11R7/include/freetype2/freetype/tttables.h -unknown- obsolete
./usr/X11R7/include/freetype2/freetype/tttags.h -unknown- obsolete
./usr/X11R7/include/freetype2/freetype/ttunpat.h -unknown- obsolete
+./usr/X11R7/include/freetype2/ft2build.h -unknown- xorg
./usr/X11R7/include/freetype2/ftadvanc.h -unknown- xorg
./usr/X11R7/include/freetype2/ftautoh.h -unknown- xorg
./usr/X11R7/include/freetype2/ftbbox.h -unknown- xorg
@@ -5788,7 +5789,7 @@
./usr/X11R7/include/freetype2/tttables.h -unknown- xorg
./usr/X11R7/include/freetype2/tttags.h -unknown- xorg
./usr/X11R7/include/freetype2/ttunpat.h -unknown- xorg
-./usr/X11R7/include/ft2build.h -unknown- xorg
+./usr/X11R7/include/ft2build.h xcomp-obsolete obsolete
./usr/X11R7/include/libdrm/drm.h -unknown- xorg
./usr/X11R7/include/libdrm/drm_fourcc.h -unknown- xorg
./usr/X11R7/include/libdrm/drm_mode.h -unknown- xorg
diff -r 80a08768f33f -r 737ebd357616 external/mit/xorg/lib/freetype/Makefile
--- a/external/mit/xorg/lib/freetype/Makefile Mon Feb 09 07:55:52 2015 +0000
+++ b/external/mit/xorg/lib/freetype/Makefile Mon Feb 09 16:27:29 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2015/01/26 08:47:25 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2015/02/09 16:27:29 ryoon Exp $
.include <bsd.own.mk>
@@ -77,10 +77,6 @@
.PATH: ${FREETYPE}/src/winfonts
SRCS+= winfnt.c
-.PATH: ${FREETYPE}/include
-INCS= ft2build.h
-INCSDIR=${X11INCDIR}
-
CPPFLAGS+= ${X11FLAGS.THREADLIB}
CPPFLAGS+= -DFT_CONFIG_OPTION_SYSTEM_ZLIB \
-DFT_CONFIG_CONFIG_H="<ftconfig.h>" \
diff -r 80a08768f33f -r 737ebd357616 external/mit/xorg/lib/freetype/freetype/Makefile
--- a/external/mit/xorg/lib/freetype/freetype/Makefile Mon Feb 09 07:55:52 2015 +0000
+++ b/external/mit/xorg/lib/freetype/freetype/Makefile Mon Feb 09 16:27:29 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/03/20 22:23:30 mrg Exp $
+# $NetBSD: Makefile,v 1.18 2015/02/09 16:27:29 ryoon Exp $
.include <bsd.own.mk>
@@ -15,7 +15,7 @@
ftpfr.h ftrender.h ftsizes.h ftsnames.h ftstroke.h ftsynth.h \
ftsystem.h fttrigon.h fttypes.h ftwinfnt.h ftxf86.h \
t1tables.h ttnameid.h tttables.h tttags.h ttunpat.h \
- ftautoh.h ftcffdrv.h
+ ftautoh.h ftcffdrv.h ft2build.h
SCRIPTS= freetype-config
diff -r 80a08768f33f -r 737ebd357616 external/mit/xorg/lib/freetype/freetype2.pc.in
--- a/external/mit/xorg/lib/freetype/freetype2.pc.in Mon Feb 09 07:55:52 2015 +0000
+++ b/external/mit/xorg/lib/freetype/freetype2.pc.in Mon Feb 09 16:27:29 2015 +0000
@@ -1,11 +1,11 @@
prefix=@prefix@
exec_prefix=${prefix}
libdir=${prefix}/lib
-includedir=${prefix}/include
+includedir=${prefix}/include/freetype2
Name: FreeType 2
Description: A free, high-quality, and portable font engine.
Version: @VERSION@
Requires:
Libs: -L${libdir} -lfreetype -lz -lbz2
-Cflags: -I${includedir}/freetype2 -I${includedir}
+Cflags: -I${includedir}
Home |
Main Index |
Thread Index |
Old Index