summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorminskim <minskim>2008-12-09 01:54:25 +0000
committerminskim <minskim>2008-12-09 01:54:25 +0000
commit8b11fd9b8f7a404fe07d6a7163c4b4c0d1101ca4 (patch)
tree5b94fb42b65dd73dbfeb7878f447da01beaa257a /graphics
parent144eeccd85517409053a53cf23b3df7f13bafe94 (diff)
downloadpkgsrc-8b11fd9b8f7a404fe07d6a7163c4b4c0d1101ca4.tar.gz
Import silgraphite from pkgsrc-wip.
Graphite is a project under development within SIL's Non-Roman Script Initiative and Language Software Development groups to provide rendering capabilities for complex non-Roman writing systems. Its smart-font engine is the bit that takes a Unicode string, font formatting information (features, size, etc.), and a font, and returns a set of positioned glyphs. Graphite also does more than this, in that it can handle cursor tracking and interaction with the application for string selection, etc.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/silgraphite/DESCR9
-rw-r--r--graphics/silgraphite/Makefile21
-rw-r--r--graphics/silgraphite/PLIST28
-rw-r--r--graphics/silgraphite/buildlink3.mk19
-rw-r--r--graphics/silgraphite/distinfo5
5 files changed, 82 insertions, 0 deletions
diff --git a/graphics/silgraphite/DESCR b/graphics/silgraphite/DESCR
new file mode 100644
index 00000000000..20257d3948d
--- /dev/null
+++ b/graphics/silgraphite/DESCR
@@ -0,0 +1,9 @@
+Graphite is a project under development within SIL's Non-Roman Script
+Initiative and Language Software Development groups to provide
+rendering capabilities for complex non-Roman writing systems.
+
+Its smart-font engine is the bit that takes a Unicode string, font
+formatting information (features, size, etc.), and a font, and returns
+a set of positioned glyphs. Graphite also does more than this, in
+that it can handle cursor tracking and interaction with the
+application for string selection, etc.
diff --git a/graphics/silgraphite/Makefile b/graphics/silgraphite/Makefile
new file mode 100644
index 00000000000..a01a17ba6f8
--- /dev/null
+++ b/graphics/silgraphite/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/09 01:54:25 minskim Exp $
+
+DISTNAME= silgraphite-2.3
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silgraphite/}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://silgraphite.sourceforge.net/
+COMMENT= Font engine for complex non-Roman writing systems
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+WRKSRC= ${WRKDIR}/${DISTNAME}/engine
+
+PKGCONFIG_OVERRIDE+= silgraphite.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/silgraphite/PLIST b/graphics/silgraphite/PLIST
new file mode 100644
index 00000000000..34525963675
--- /dev/null
+++ b/graphics/silgraphite/PLIST
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/09 01:54:25 minskim Exp $
+include/graphite/FileFont.h
+include/graphite/Font.h
+include/graphite/GrAppData.h
+include/graphite/GrClient.h
+include/graphite/GrCommon.h
+include/graphite/GrConstants.h
+include/graphite/GrData.h
+include/graphite/GrDebug.h
+include/graphite/GrExt.h
+include/graphite/GrFeature.h
+include/graphite/GrMstypes.h
+include/graphite/GrPlatform.h
+include/graphite/GrResult.h
+include/graphite/GrStructs.h
+include/graphite/GrWrappers.h
+include/graphite/GraphiteProcess.h
+include/graphite/IGrEngine.h
+include/graphite/IGrJustifier.h
+include/graphite/IGraphiteProcess.h
+include/graphite/ITextSource.h
+include/graphite/MemoryUsage.h
+include/graphite/Segment.h
+include/graphite/SegmentAux.h
+include/graphite/SegmentPainter.h
+lib/libgraphite.la
+lib/pkgconfig/silgraphite.pc
+@dirrm include/graphite
diff --git a/graphics/silgraphite/buildlink3.mk b/graphics/silgraphite/buildlink3.mk
new file mode 100644
index 00000000000..a1e7220d097
--- /dev/null
+++ b/graphics/silgraphite/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/12/09 01:54:25 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SILGRAPHITE_BUILDLINK3_MK:= ${SILGRAPHITE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= silgraphite
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsilgraphite}
+BUILDLINK_PACKAGES+= silgraphite
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}silgraphite
+
+.if ${SILGRAPHITE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.silgraphite+= silgraphite>=2.3
+BUILDLINK_PKGSRCDIR.silgraphite?= ../../graphics/silgraphite
+.endif # SILGRAPHITE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/graphics/silgraphite/distinfo b/graphics/silgraphite/distinfo
new file mode 100644
index 00000000000..8f7a5d9f731
--- /dev/null
+++ b/graphics/silgraphite/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/09 01:54:25 minskim Exp $
+
+SHA1 (silgraphite-2.3.tar.gz) = f3f7ed75fd16197bae41953ffb8c13d53ffae773
+RMD160 (silgraphite-2.3.tar.gz) = 0a8ca776793c0835799387ea6ab11a5ea7d72e2f
+Size (silgraphite-2.3.tar.gz) = 3394463 bytes