pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz HarfBuzz is an OpenType text shaping en...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cea31c119477
branches: trunk
changeset: 609711:cea31c119477
user: adam <adam%pkgsrc.org@localhost>
date: Mon Oct 08 19:20:33 2012 +0000
description:
HarfBuzz is an OpenType text shaping engine.
diffstat:
fonts/harfbuzz/DESCR | 1 +
fonts/harfbuzz/Makefile | 24 ++++++++++++++++++++++++
fonts/harfbuzz/PLIST | 21 +++++++++++++++++++++
fonts/harfbuzz/PLIST.Darwin | 2 ++
fonts/harfbuzz/buildlink3.mk | 16 ++++++++++++++++
fonts/harfbuzz/distinfo | 6 ++++++
fonts/harfbuzz/patches/patch-util_options.cc | 26 ++++++++++++++++++++++++++
7 files changed, 96 insertions(+), 0 deletions(-)
diffs (124 lines):
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/DESCR Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,1 @@
+HarfBuzz is an OpenType text shaping engine.
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/Makefile Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2012/10/08 19:20:33 adam Exp $
+
+DISTNAME= harfbuzz-0.9.4
+CATEGORIES= fonts
+MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://harfbuzz.org/
+COMMENT= OpenType text shaping engine
+LICENSE= mit
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE= harfbuzz.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/PLIST Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2012/10/08 19:20:33 adam Exp $
+bin/hb-ot-shape-closure
+bin/hb-shape
+bin/hb-view
+include/harfbuzz/hb-blob.h
+include/harfbuzz/hb-buffer.h
+include/harfbuzz/hb-common.h
+include/harfbuzz/hb-font.h
+include/harfbuzz/hb-ft.h
+include/harfbuzz/hb-glib.h
+include/harfbuzz/hb-gobject.h
+include/harfbuzz/hb-ot-layout.h
+include/harfbuzz/hb-ot-tag.h
+include/harfbuzz/hb-ot.h
+include/harfbuzz/hb-set.h
+include/harfbuzz/hb-shape.h
+include/harfbuzz/hb-unicode.h
+include/harfbuzz/hb-version.h
+include/harfbuzz/hb.h
+lib/libharfbuzz.la
+lib/pkgconfig/harfbuzz.pc
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/PLIST.Darwin
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/PLIST.Darwin Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2012/10/08 19:20:33 adam Exp $
+include/harfbuzz/hb-coretext.h
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/buildlink3.mk Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2012/10/08 19:20:33 adam Exp $
+
+BUILDLINK_TREE+= harfbuzz
+
+.if !defined(HARFBUZZ_BUILDLINK3_MK)
+HARFBUZZ_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.harfbuzz+= harfbuzz>=0.9.4
+BUILDLINK_PKGSRCDIR.harfbuzz?= ../../fonts/harfbuzz
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.endif # HARFBUZZ_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -harfbuzz
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/distinfo Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/10/08 19:20:33 adam Exp $
+
+SHA1 (harfbuzz-0.9.4.tar.bz2) = fcae002e8eb7d012dab7a4af881d8079ea13444d
+RMD160 (harfbuzz-0.9.4.tar.bz2) = 3a29834cb0f41883810c93a04dfd77c2275935de
+Size (harfbuzz-0.9.4.tar.bz2) = 736116 bytes
+SHA1 (patch-util_options.cc) = 4ee9ee39d1413ef4fad2023a0b62c4a8c00d91ad
diff -r ba7c475c0ca2 -r cea31c119477 fonts/harfbuzz/patches/patch-util_options.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/harfbuzz/patches/patch-util_options.cc Mon Oct 08 19:20:33 2012 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-util_options.cc,v 1.1 2012/10/08 19:20:33 adam Exp $
+
+Avoid non-portable _setmode().
+
+--- util/options.cc.orig 2012-10-08 18:14:30.000000000 +0000
++++ util/options.cc
+@@ -525,9 +525,6 @@ font_options_t::get_font (void) const
+ /* read it */
+ GString *gs = g_string_new (NULL);
+ char buf[BUFSIZ];
+-#ifdef HAVE__SETMODE
+- _setmode (fileno (stdin), _O_BINARY);
+-#endif
+ while (!feof (stdin)) {
+ size_t ret = fread (buf, 1, sizeof (buf), stdin);
+ if (ferror (stdin))
+@@ -669,9 +666,6 @@ output_options_t::get_file_handle (void)
+ if (output_file)
+ fp = fopen (output_file, "wb");
+ else {
+-#ifdef HAVE__SETMODE
+- _setmode (fileno (stdout), _O_BINARY);
+-#endif
+ fp = stdout;
+ }
+ if (!fp)
Home |
Main Index |
Thread Index |
Old Index