summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-16 12:08:42 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-16 12:08:42 +0000
commit936ef7ff8cdca5ef051af549e621482d3dfb36c7 (patch)
tree1a8d0ea63673eee07d58453a7ab1452a2df137a3 /fonts
parentf949c4c851485b2da3ded4c199ba499e909c3ef1 (diff)
downloadpkgsrc-936ef7ff8cdca5ef051af549e621482d3dfb36c7.tar.gz
Initial import of Xft2-2.1. Description follows:
Xft (2.0) provides a client-side font API for X applications. It uses Fontconfig to select fonts and the X protocol for rendering them. When available, Xft uses the Render extension to accelerate text drawing. When Render is not available, Xft uses the core protocol to draw client-side glyphs. This provides completely compatible support of client-side fonts for all X servers. Xft (2.0) hides most of the underlying system details so that developers can confidently use its API to access client-side fonts in any X environment. Approved by wiz.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/Xft2/DESCR10
-rw-r--r--fonts/Xft2/Makefile23
-rw-r--r--fonts/Xft2/PLIST5
-rw-r--r--fonts/Xft2/buildlink2.mk27
-rw-r--r--fonts/Xft2/distinfo5
-rw-r--r--fonts/Xft2/patches/patch-aa13
6 files changed, 83 insertions, 0 deletions
diff --git a/fonts/Xft2/DESCR b/fonts/Xft2/DESCR
new file mode 100644
index 00000000000..e03bd429e5c
--- /dev/null
+++ b/fonts/Xft2/DESCR
@@ -0,0 +1,10 @@
+Xft (2.0) provides a client-side font API for X applications. It uses
+Fontconfig to select fonts and the X protocol for rendering them. When
+available, Xft uses the Render extension to accelerate text drawing.
+When Render is not available, Xft uses the core protocol to draw
+client-side glyphs. This provides completely compatible support of
+client-side fonts for all X servers.
+
+Xft (2.0) hides most of the underlying system details so that developers
+can confidently use its API to access client-side fonts in any X
+environment.
diff --git a/fonts/Xft2/Makefile b/fonts/Xft2/Makefile
new file mode 100644
index 00000000000..70ea0ce7787
--- /dev/null
+++ b/fonts/Xft2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/16 12:08:42 jmmv Exp $
+#
+
+DISTNAME= fcpackage.2_1
+PKGNAME= Xft2-2.1
+CATEGORIES= fonts x11
+MASTER_SITES= http://fontconfig.org/release/
+
+MAINTAINER= jmmv@netbsd.org
+HOMEPAGE= http://fontconfig.org/
+COMMENT= Library for configuring and customizing font access
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+USE_X11= YES
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/Xft
+
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../fonts/fontconfig/buildlink2.mk"
+.include "../../mk/bsd.pkg.install.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/Xft2/PLIST b/fonts/Xft2/PLIST
new file mode 100644
index 00000000000..1b3bee78118
--- /dev/null
+++ b/fonts/Xft2/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/16 12:08:42 jmmv Exp $
+bin/xft-config
+lib/libXft.so.2.0
+lib/libXft.so.2
+lib/pkgconfig/xft.pc
diff --git a/fonts/Xft2/buildlink2.mk b/fonts/Xft2/buildlink2.mk
new file mode 100644
index 00000000000..adcd0d8190a
--- /dev/null
+++ b/fonts/Xft2/buildlink2.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/12/16 12:08:42 jmmv Exp $
+#
+# This Makefile fragment is included by packages that use Xft2.
+#
+# This file was created automatically using createbuildlink 2.2.
+#
+
+.if !defined(XFT2_BUILDLINK2_MK)
+XFT2_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= Xft2
+BUILDLINK_DEPENDS.Xft2?= Xft2>=2.1
+BUILDLINK_PKGSRCDIR.Xft2?= ../../fonts/Xft2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.Xft2=Xft2
+BUILDLINK_PREFIX.Xft2_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.Xft2+= lib/libXft.*
+BUILDLINK_FILES.Xft2+= lib/pkgconfig/xft.pc
+
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../fonts/fontconfig/buildlink2.mk"
+
+BUILDLINK_TARGETS+= Xft2-buildlink
+
+Xft2-buildlink: _BUILDLINK_USE
+
+.endif # XFT2_BUILDLINK2_MK
diff --git a/fonts/Xft2/distinfo b/fonts/Xft2/distinfo
new file mode 100644
index 00000000000..0417757a80e
--- /dev/null
+++ b/fonts/Xft2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/16 12:08:42 jmmv Exp $
+
+SHA1 (fcpackage.2_1.tar.gz) = b4d960ea1e2384f48aa9fed05e90ad4755da12be
+Size (fcpackage.2_1.tar.gz) = 544661 bytes
+SHA1 (patch-aa) = d5de3f8a56cb1484e41f1e21dfeb72777ab10f02
diff --git a/fonts/Xft2/patches/patch-aa b/fonts/Xft2/patches/patch-aa
new file mode 100644
index 00000000000..deb62b15e28
--- /dev/null
+++ b/fonts/Xft2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/16 12:08:42 jmmv Exp $
+
+--- Makefile.in.orig Fri May 31 09:01:49 2002
++++ Makefile.in
+@@ -66,7 +66,7 @@ LIBBASE=libXft.so
+ LIBFILE=$(LIBBASE).@PACKAGE_MAJOR@.@PACKAGE_MINOR@
+ LIBMAJOR=$(LIBBASE).@PACKAGE_MAJOR@
+
+-LIBS=@LIBS@
++LIBS=@LIBS@ @LDFLAGS@
+
+ SRCS=xftcolor.c \
+ xftcore.c \