svn commit: r509716 - in head/print: . harfbuzz harfbuzz-bh-view harfbuzz-icu
Koop Mast
kwm at FreeBSD.org
Sat Aug 24 09:20:48 UTC 2019
Author: kwm
Date: Sat Aug 24 09:20:46 2019
New Revision: 509716
URL: https://svnweb.freebsd.org/changeset/ports/509716
Log:
Remove the hb-view utitilty from the main harfbuzz port and move it to it's
own port. The hb-view utility is the only part of harfbuzz that requires
cairo. So now harfbuzz doesn't pull in x11 libraries or mesa via cairo,this
is usefull for ports that want to use harfbuzz but don't use or want x11.
Add license
Exp-run by: antoine@
PR: 239662
Added:
head/print/harfbuzz-bh-view/
head/print/harfbuzz-bh-view/Makefile (contents, props changed)
head/print/harfbuzz-bh-view/pkg-plist (contents, props changed)
Modified:
head/print/Makefile
head/print/harfbuzz-icu/Makefile
head/print/harfbuzz/Makefile
head/print/harfbuzz/pkg-plist
Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile Sat Aug 24 09:02:38 2019 (r509715)
+++ head/print/Makefile Sat Aug 24 09:20:46 2019 (r509716)
@@ -81,6 +81,7 @@
SUBDIR += gutenprint
SUBDIR += gv
SUBDIR += harfbuzz
+ SUBDIR += harfbuzz-hb-view
SUBDIR += harfbuzz-icu
SUBDIR += hp2xx
SUBDIR += hplip
Added: head/print/harfbuzz-bh-view/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/harfbuzz-bh-view/Makefile Sat Aug 24 09:20:46 2019 (r509716)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+PORTREVISION= 0
+PKGNAMESUFFIX= -hb-view
+
+COMMENT= Harfbuzz hb-view utility
+
+MASTERDIR= ${.CURDIR}/../../print/harfbuzz
+PLIST= ${.CURDIR}/pkg-plist
+HARFBUZZ_SLAVE= hb-view
+
+.include "${MASTERDIR}/Makefile"
Added: head/print/harfbuzz-bh-view/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/harfbuzz-bh-view/pkg-plist Sat Aug 24 09:20:46 2019 (r509716)
@@ -0,0 +1,55 @@
+ at comment bin/hb-ot-shape-closure
+ at comment bin/hb-shape
+ at comment bin/hb-subset
+bin/hb-view
+ at comment include/harfbuzz/hb-aat-layout.h
+ at comment include/harfbuzz/hb-aat.h
+ at comment include/harfbuzz/hb-blob.h
+ at comment include/harfbuzz/hb-buffer.h
+ at comment include/harfbuzz/hb-common.h
+ at comment include/harfbuzz/hb-deprecated.h
+ at comment include/harfbuzz/hb-face.h
+ at comment include/harfbuzz/hb-font.h
+ at comment include/harfbuzz/hb-ft.h
+ at comment include/harfbuzz/hb-glib.h
+ at comment include/harfbuzz/hb-gobject-enums.h
+ at comment include/harfbuzz/hb-gobject-structs.h
+ at comment include/harfbuzz/hb-gobject.h
+ at comment include/harfbuzz/hb-graphite2.h
+ at comment include/harfbuzz/hb-map.h
+ at comment include/harfbuzz/hb-icu.h
+ at comment include/harfbuzz/hb-ot-color.h
+ at comment include/harfbuzz/hb-ot-deprecated.h
+ at comment include/harfbuzz/hb-ot-font.h
+ at comment include/harfbuzz/hb-ot-layout.h
+ at comment include/harfbuzz/hb-ot-math.h
+ at comment include/harfbuzz/hb-ot-name.h
+ at comment include/harfbuzz/hb-ot-shape.h
+ at comment include/harfbuzz/hb-ot-var.h
+ at comment include/harfbuzz/hb-ot.h
+ at comment include/harfbuzz/hb-set.h
+ at comment include/harfbuzz/hb-shape-plan.h
+ at comment include/harfbuzz/hb-shape.h
+ at comment include/harfbuzz/hb-subset.h
+ at comment include/harfbuzz/hb-unicode.h
+ at comment include/harfbuzz/hb-version.h
+ at comment include/harfbuzz/hb.h
+ at comment lib/cmake/harfbuzz/harfbuzz-config.cmake
+ at comment lib/girepository-1.0/HarfBuzz-0.0.typelib
+ at comment lib/libharfbuzz-gobject.so
+ at comment lib/libharfbuzz-gobject.so.0
+ at comment lib/libharfbuzz-gobject.so.%%LIBVER%%
+ at comment lib/libharfbuzz-icu.so
+ at comment lib/libharfbuzz-icu.so.0
+ at comment lib/libharfbuzz-icu.so.%%LIBVER%%
+ at comment lib/libharfbuzz-subset.so
+ at comment lib/libharfbuzz-subset.so.0
+ at comment lib/libharfbuzz-subset.so.%%LIBVER%%
+ at comment lib/libharfbuzz.so
+ at comment lib/libharfbuzz.so.0
+ at comment lib/libharfbuzz.so.%%LIBVER%%
+ at comment libdata/pkgconfig/harfbuzz-gobject.pc
+ at comment libdata/pkgconfig/harfbuzz-icu.pc
+ at comment libdata/pkgconfig/harfbuzz-subset.pc
+ at comment libdata/pkgconfig/harfbuzz.pc
+ at comment share/gir-1.0/HarfBuzz-0.0.gir
Modified: head/print/harfbuzz-icu/Makefile
==============================================================================
--- head/print/harfbuzz-icu/Makefile Sat Aug 24 09:02:38 2019 (r509715)
+++ head/print/harfbuzz-icu/Makefile Sat Aug 24 09:20:46 2019 (r509716)
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -icu
COMMENT= Harfbuzz ICU support
Modified: head/print/harfbuzz/Makefile
==============================================================================
--- head/print/harfbuzz/Makefile Sat Aug 24 09:02:38 2019 (r509715)
+++ head/print/harfbuzz/Makefile Sat Aug 24 09:20:46 2019 (r509716)
@@ -3,22 +3,26 @@
PORTNAME= harfbuzz
PORTVERSION= 2.6.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= print
MASTER_SITES= http://www.freedesktop.org/software/harfbuzz/release/
MAINTAINER= gnome at FreeBSD.org
COMMENT?= OpenType text shaping engine
+LICENSE= MIT
+
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libgraphite2.so:graphics/graphite2
-USE_LDCONFIG= yes
USES= compiler:c++11-lib gettext-runtime gmake gnome libtool \
pathfix pkgconfig tar:xz
-USE_GNOME= cairo glib20 introspection:build
+USE_GNOME= glib20 introspection:build
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-graphite2 --with-gobject=yes
+USE_LDCONFIG= yes
+
INSTALL_TARGET= install-strip
TEST_TARGET= check
@@ -27,13 +31,22 @@ PLIST_SUB+= LIBVER=0.20600.1
HARFBUZZ_SLAVE?= no
.if ${HARFBUZZ_SLAVE} == no
-CONFIGURE_ARGS+= --without-icu
-.else
+CONFIGURE_ARGS+= --without-icu --without-cairo
+.elif ${HARFBUZZ_SLAVE} == icu
CONFIGURE_ARGS+= --with-icu \
+ --without-cairo \
--disable-gtk-doc-html
LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \
libicudata.so:devel/icu
+.elif ${HARFBUZZ_SLAVE} == hb-view
+CONFIGURE_ARGS+= --with-cairo \
+ --without-icu
+LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz
+USE_GNOME+= cairo
+.endif
+
+.if ${HARFBUZZ_SLAVE} != no
post-patch:
${REINPLACE_CMD} -e 's|install-data-am: install-data-local|install-data-am:|g' \
${WRKSRC}/docs/Makefile.in
Modified: head/print/harfbuzz/pkg-plist
==============================================================================
--- head/print/harfbuzz/pkg-plist Sat Aug 24 09:02:38 2019 (r509715)
+++ head/print/harfbuzz/pkg-plist Sat Aug 24 09:20:46 2019 (r509716)
@@ -1,7 +1,6 @@
bin/hb-ot-shape-closure
bin/hb-shape
bin/hb-subset
-bin/hb-view
include/harfbuzz/hb-aat-layout.h
include/harfbuzz/hb-aat.h
include/harfbuzz/hb-blob.h
More information about the svn-ports-head
mailing list