diff options
author | minskim <minskim@pkgsrc.org> | 2008-12-15 00:44:52 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2008-12-15 00:44:52 +0000 |
commit | 708e5a71822d92c54a8de087c6b378d056c5827b (patch) | |
tree | 24145957c6397d0301790fcada89f4748bea55e2 /graphics/silgraphite-xft | |
parent | 78a327e028ba148eee70182c82549a6f566b7ce8 (diff) | |
download | pkgsrc-708e5a71822d92c54a8de087c6b378d056c5827b.tar.gz |
Import silgraphite-xft-2.3 as graphics/silgraphite-xft.
Graphite is a smart font engine that basically takes a unicode string
and font formatting information (features, size, etc.) and returns a
set of positioned glyphs. In reality, Graphite does more than this in
that it handles cursor tracking and interaction with the rendering
engine for string selection, etc.
This package is a wrapper for Xft.
Diffstat (limited to 'graphics/silgraphite-xft')
-rw-r--r-- | graphics/silgraphite-xft/DESCR | 7 | ||||
-rw-r--r-- | graphics/silgraphite-xft/Makefile | 25 | ||||
-rw-r--r-- | graphics/silgraphite-xft/PLIST | 4 | ||||
-rw-r--r-- | graphics/silgraphite-xft/buildlink3.mk | 22 | ||||
-rw-r--r-- | graphics/silgraphite-xft/distinfo | 7 | ||||
-rw-r--r-- | graphics/silgraphite-xft/patches/patch-aa | 9 | ||||
-rw-r--r-- | graphics/silgraphite-xft/patches/patch-ab | 10 |
7 files changed, 84 insertions, 0 deletions
diff --git a/graphics/silgraphite-xft/DESCR b/graphics/silgraphite-xft/DESCR new file mode 100644 index 00000000000..6a815ba99da --- /dev/null +++ b/graphics/silgraphite-xft/DESCR @@ -0,0 +1,7 @@ +Graphite is a smart font engine that basically takes a unicode string +and font formatting information (features, size, etc.) and returns a +set of positioned glyphs. In reality, Graphite does more than this in +that it handles cursor tracking and interaction with the rendering +engine for string selection, etc. + +This package is a wrapper for Xft. diff --git a/graphics/silgraphite-xft/Makefile b/graphics/silgraphite-xft/Makefile new file mode 100644 index 00000000000..2bb3264492e --- /dev/null +++ b/graphics/silgraphite-xft/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ + +DISTNAME= silgraphite-2.3 +PKGNAME= ${DISTNAME:S/silgraphite/silgraphite-xft/} +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silgraphite/} + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://silgraphite.sourceforge.net/ +COMMENT= Xft wrapper for SIL Graphite + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +WRKSRC= ${WRKDIR}/${DISTNAME}/wrappers/xft + +.include "../../graphics/silgraphite/buildlink3.mk" +.include "../../graphics/silgraphite-ft/buildlink3.mk" +.include "../../x11/libXft/buildlink3.mk" + +post-install: + ${INSTALL_DATA} ${WRKSRC}/silgraphite-xft.pc ${PREFIX}/lib/pkgconfig + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/silgraphite-xft/PLIST b/graphics/silgraphite-xft/PLIST new file mode 100644 index 00000000000..61fa4345567 --- /dev/null +++ b/graphics/silgraphite-xft/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ +include/graphite/XftGrFont.h +lib/libgraphite-xft.la +lib/pkgconfig/silgraphite-xft.pc diff --git a/graphics/silgraphite-xft/buildlink3.mk b/graphics/silgraphite-xft/buildlink3.mk new file mode 100644 index 00000000000..3892cc94b07 --- /dev/null +++ b/graphics/silgraphite-xft/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SILGRAPHITE_XFT_BUILDLINK3_MK:= ${SILGRAPHITE_XFT_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= silgraphite-xft +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsilgraphite-xft} +BUILDLINK_PACKAGES+= silgraphite-xft +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}silgraphite-xft + +.if ${SILGRAPHITE_XFT_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.silgraphite-xft+= silgraphite-xft>=2.3 +BUILDLINK_PKGSRCDIR.silgraphite-xft?= ../../wip/silgraphite-xft +.endif # SILGRAPHITE_XFT_BUILDLINK3_MK + +.include "../../graphics/silgraphite-ft/buildlink3.mk" +.include "../../x11/libXft/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/silgraphite-xft/distinfo b/graphics/silgraphite-xft/distinfo new file mode 100644 index 00000000000..2731256172c --- /dev/null +++ b/graphics/silgraphite-xft/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ + +SHA1 (silgraphite-2.3.tar.gz) = f3f7ed75fd16197bae41953ffb8c13d53ffae773 +RMD160 (silgraphite-2.3.tar.gz) = 0a8ca776793c0835799387ea6ab11a5ea7d72e2f +Size (silgraphite-2.3.tar.gz) = 3394463 bytes +SHA1 (patch-aa) = 5d9288b9dc9f00deacf641c9b9b05101c6b5da2f +SHA1 (patch-ab) = bea4dff59b82302390926259bd09c3b9336c86c2 diff --git a/graphics/silgraphite-xft/patches/patch-aa b/graphics/silgraphite-xft/patches/patch-aa new file mode 100644 index 00000000000..87a226fe114 --- /dev/null +++ b/graphics/silgraphite-xft/patches/patch-aa @@ -0,0 +1,9 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ + +--- installed-top.pc.in.orig 2007-06-28 01:12:11.000000000 -0700 ++++ installed-top.pc.in +@@ -1,2 +1,4 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ + libdir=@libdir@ + includedir=@includedir@ diff --git a/graphics/silgraphite-xft/patches/patch-ab b/graphics/silgraphite-xft/patches/patch-ab new file mode 100644 index 00000000000..5c7f49d2093 --- /dev/null +++ b/graphics/silgraphite-xft/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2008/12/15 00:44:52 minskim Exp $ + +--- silgraphite-xft.pc.in.orig 2007-06-08 09:10:11.000000000 -0700 ++++ silgraphite-xft.pc.in +@@ -1,5 +1,3 @@ +-prefix=@prefix@ +-exec_prefix=@exec_prefix@ + + Name: graphite-xft + Description: An Xft backend for Graphite |