Split out ICU integration library from the harfbuzz package. Only a few pieces of software are using the ICU integration library, these aren't the big harfbuzz users (i.e. gtk). this is intended to lessen the impact of icu's frequent ABI breaks.diff -r1.343 -r1.344 pkgsrc/fonts/Makefile
(nia)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.343 2020/08/06 11:08:20 pin Exp $ | 1 | # $NetBSD: Makefile,v 1.344 2020/11/06 15:06:49 nia Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Fonts | 4 | COMMENT= Fonts | |
5 | 5 | |||
6 | SUBDIR+= AnonymousPro | 6 | SUBDIR+= AnonymousPro | |
7 | SUBDIR+= CamingoCode | 7 | SUBDIR+= CamingoCode | |
8 | SUBDIR+= Code-New-Roman | 8 | SUBDIR+= Code-New-Roman | |
9 | SUBDIR+= CutiveFont | 9 | SUBDIR+= CutiveFont | |
10 | SUBDIR+= EB-Garamond | 10 | SUBDIR+= EB-Garamond | |
11 | SUBDIR+= FiraCode | 11 | SUBDIR+= FiraCode | |
12 | SUBDIR+= Hack-ttf | 12 | SUBDIR+= Hack-ttf | |
13 | SUBDIR+= Hasklig | 13 | SUBDIR+= Hasklig | |
14 | SUBDIR+= Inter-UI | 14 | SUBDIR+= Inter-UI | |
@@ -109,26 +109,27 @@ SUBDIR+= freefont-ttf | @@ -109,26 +109,27 @@ SUBDIR+= freefont-ttf | |||
109 | SUBDIR+= freefonts | 109 | SUBDIR+= freefonts | |
110 | SUBDIR+= gbdfed | 110 | SUBDIR+= gbdfed | |
111 | SUBDIR+= gentium-ttf | 111 | SUBDIR+= gentium-ttf | |
112 | SUBDIR+= geoslab703-ttf | 112 | SUBDIR+= geoslab703-ttf | |
113 | SUBDIR+= ghostscript-cidfonts | 113 | SUBDIR+= ghostscript-cidfonts | |
114 | SUBDIR+= ghostscript-cidfonts-ryumin | 114 | SUBDIR+= ghostscript-cidfonts-ryumin | |
115 | SUBDIR+= ghostscript-cmaps | 115 | SUBDIR+= ghostscript-cmaps | |
116 | SUBDIR+= ghostscript-fonts | 116 | SUBDIR+= ghostscript-fonts | |
117 | SUBDIR+= gnome-font-viewer | 117 | SUBDIR+= gnome-font-viewer | |
118 | SUBDIR+= go-ttf | 118 | SUBDIR+= go-ttf | |
119 | SUBDIR+= gsftopkk | 119 | SUBDIR+= gsftopkk | |
120 | SUBDIR+= gucharmap | 120 | SUBDIR+= gucharmap | |
121 | SUBDIR+= harfbuzz | 121 | SUBDIR+= harfbuzz | |
122 | SUBDIR+= harfbuzz-icu | |||
122 | SUBDIR+= ibm-plex-otf | 123 | SUBDIR+= ibm-plex-otf | |
123 | SUBDIR+= ibm-plex-ttf | 124 | SUBDIR+= ibm-plex-ttf | |
124 | SUBDIR+= inconsolata-g | 125 | SUBDIR+= inconsolata-g | |
125 | SUBDIR+= inconsolata-ttf | 126 | SUBDIR+= inconsolata-ttf | |
126 | SUBDIR+= intlfonts | 127 | SUBDIR+= intlfonts | |
127 | SUBDIR+= ipaexfont | 128 | SUBDIR+= ipaexfont | |
128 | SUBDIR+= ipafont | 129 | SUBDIR+= ipafont | |
129 | SUBDIR+= ja-elisat | 130 | SUBDIR+= ja-elisat | |
130 | SUBDIR+= ja-elisau | 131 | SUBDIR+= ja-elisau | |
131 | SUBDIR+= ja-kaname | 132 | SUBDIR+= ja-kaname | |
132 | SUBDIR+= ja-kappa20 | 133 | SUBDIR+= ja-kappa20 | |
133 | SUBDIR+= ja-naga10 | 134 | SUBDIR+= ja-naga10 | |
134 | SUBDIR+= ja-sazanami-ttf | 135 | SUBDIR+= ja-sazanami-ttf |
@@ -1,83 +1,12 @@ | @@ -1,83 +1,12 @@ | |||
1 | # $NetBSD: Makefile,v 1.136 2020/11/05 09:08:06 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.137 2020/11/06 15:06:49 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= harfbuzz-2.7.2 | |||
4 | PKGREVISION= 1 | 3 | PKGREVISION= 1 | |
5 | CATEGORIES= fonts | |||
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=harfbuzz/} | |||
7 | GITHUB_TAG= ${PKGVERSION_NOREV} | |||
8 | 4 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 5 | .include "Makefile.common" | |
10 | HOMEPAGE= https://harfbuzz.github.io/ | |||
11 | COMMENT= OpenType text shaping engine | |||
12 | LICENSE= mit | |||
13 | ||||
14 | # C++11 | |||
15 | GCC_REQD+= 4.9 | |||
16 | ||||
17 | .include "../../mk/bsd.prefs.mk" | |||
18 | .include "../../graphics/librsvg/available.mk" | |||
19 | ||||
20 | USE_LANGUAGES= c c++ | |||
21 | USE_TOOLS+= pkg-config | |||
22 | ||||
23 | # cairo/fontconfig are only needed for command line utilities | |||
24 | MESON_ARGS+= -Dcairo=disabled | |||
25 | MESON_ARGS+= -Dfontconfig=disabled | |||
26 | ||||
27 | MESON_ARGS+= -Dintrospection=disabled | |||
28 | MESON_ARGS+= -Dbenchmark=disabled | |||
29 | ||||
30 | PLIST_VARS+= graphite2 | |||
31 | .if ${LIBRSVG_TYPE} == "rust" | |||
32 | MESON_ARGS+= -Dgraphite=enabled | |||
33 | PLIST.graphite2= yes | |||
34 | .else | |||
35 | MESON_ARGS+= -Dgraphite=disabled | |||
36 | .endif | |||
37 | ||||
38 | PKGCONFIG_OVERRIDE+= output/meson-private/*.pc | |||
39 | 6 | |||
40 | PKGCONFIG_OVERRIDE_STAGE= pre-install | 7 | COMMENT= OpenType text shaping engine | |
41 | ||||
42 | LDFLAGS.OpenBSD+= -lz | |||
43 | ||||
44 | .include "options.mk" | |||
45 | ||||
46 | # gcc too old | |||
47 | BUILDLINK_TRANSFORM.MirBSD+= rm:-fvisibility-inlines-hidden | |||
48 | ||||
49 | PLIST_VARS+= coretext | |||
50 | ||||
51 | .if ${OPSYS} == "Darwin" | |||
52 | . if !empty(OS_VERSION:M[0-8].*) | |||
53 | # MacOS X < 10.5 does not have CoreText. | |||
54 | MESON_ARGS+= -Dcoretext=disabled | |||
55 | ||||
56 | . elif !empty(OS_VERSION:M9.*) | |||
57 | # MacOS X 10.5 has CoreText but it's | |||
58 | # buggy. CTLineCreateWithAttributedString() seemingly fails when | |||
59 | # trying to use a font which isn't installed into the system standard | |||
60 | # path. | |||
61 | # See http://forum.libcinder.org/topic/text-not-working-in-leopard-osx-10-5 | |||
62 | MESON_ARGS+= -Dcoretext=disabled | |||
63 | ||||
64 | . else | |||
65 | MESON_ARGS+= -Dcoretext=enabled | |||
66 | PLIST.coretext= yes | |||
67 | . endif | |||
68 | .endif | |||
69 | 8 | |||
70 | PYTHON_FOR_BUILD_ONLY= tool | 9 | # Use external icu support. | |
71 | REPLACE_PYTHON+= src/*.py | 10 | MESON_ARGS+= -Dicu=disabled | |
72 | 11 | |||
73 | .include "../../devel/meson/build.mk" | |||
74 | .include "../../devel/glib2/buildlink3.mk" | |||
75 | .include "../../devel/zlib/buildlink3.mk" | |||
76 | #BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0 | |||
77 | #.include "../../graphics/cairo/buildlink3.mk" | |||
78 | .include "../../graphics/freetype2/buildlink3.mk" | |||
79 | .if ${LIBRSVG_TYPE} == "rust" | |||
80 | # graphite2 support breaks graphics/librsvg-c | |||
81 | .include "../../graphics/graphite2/buildlink3.mk" | |||
82 | .endif | |||
83 | .include "../../mk/bsd.pkg.mk" | 12 | .include "../../mk/bsd.pkg.mk" |
# $NetBSD: Makefile.common,v 1.1 2020/11/06 15:06:49 nia Exp $
# used by fonts/harfbuzz-icu/Makefile
DISTNAME= harfbuzz-2.7.2
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GITHUB:=harfbuzz/}
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://harfbuzz.github.io/
LICENSE= mit
WRKSRC= ${WRKDIR}/${DISTNAME}
DISTINFO_FILE= ${.CURDIR}/../../fonts/harfbuzz/distinfo
#PATCHDIR= ${.CURDIR}/../../fonts/harfbuzz/patches
# C++11
GCC_REQD+= 4.9
.include "../../mk/bsd.prefs.mk"
.include "../../graphics/librsvg/available.mk"
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
# cairo/fontconfig are only needed for command line utilities
MESON_ARGS+= -Dcairo=disabled
MESON_ARGS+= -Dfontconfig=disabled
MESON_ARGS+= -Dintrospection=disabled
MESON_ARGS+= -Dbenchmark=disabled
PLIST_VARS+= graphite2
.if ${LIBRSVG_TYPE} == "rust"
MESON_ARGS+= -Dgraphite=enabled
PLIST.graphite2= yes
.else
MESON_ARGS+= -Dgraphite=disabled
.endif
PKGCONFIG_OVERRIDE+= output/meson-private/*.pc
PKGCONFIG_OVERRIDE_STAGE= pre-install
LDFLAGS.OpenBSD+= -lz
.include "../../fonts/harfbuzz/options.mk"
# gcc too old
BUILDLINK_TRANSFORM.MirBSD+= rm:-fvisibility-inlines-hidden
PLIST_VARS+= coretext
.if ${OPSYS} == "Darwin"
. if !empty(OS_VERSION:M[0-8].*)
# MacOS X < 10.5 does not have CoreText.
MESON_ARGS+= -Dcoretext=disabled
. elif !empty(OS_VERSION:M9.*)
# MacOS X 10.5 has CoreText but it's
# buggy. CTLineCreateWithAttributedString() seemingly fails when
# trying to use a font which isn't installed into the system standard
# path.
# See http://forum.libcinder.org/topic/text-not-working-in-leopard-osx-10-5
MESON_ARGS+= -Dcoretext=disabled
. else
MESON_ARGS+= -Dcoretext=enabled
PLIST.coretext= yes
. endif
.endif
PYTHON_FOR_BUILD_ONLY= tool
REPLACE_PYTHON+= src/*.py
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
#BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0
#.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.if ${LIBRSVG_TYPE} == "rust"
# graphite2 support breaks graphics/librsvg-c
.include "../../graphics/graphite2/buildlink3.mk"
.endif
@@ -1,70 +1,65 @@ | @@ -1,70 +1,65 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.44 2020/09/04 10:50:08 prlw1 Exp $ | 1 | @comment $NetBSD: PLIST,v 1.45 2020/11/06 15:06:49 nia Exp $ | |
2 | bin/hb-ot-shape-closure | 2 | bin/hb-ot-shape-closure | |
3 | bin/hb-shape | 3 | bin/hb-shape | |
4 | bin/hb-subset | 4 | bin/hb-subset | |
5 | include/harfbuzz/hb-aat-layout.h | 5 | include/harfbuzz/hb-aat-layout.h | |
6 | include/harfbuzz/hb-aat.h | 6 | include/harfbuzz/hb-aat.h | |
7 | include/harfbuzz/hb-blob.h | 7 | include/harfbuzz/hb-blob.h | |
8 | include/harfbuzz/hb-buffer.h | 8 | include/harfbuzz/hb-buffer.h | |
9 | include/harfbuzz/hb-common.h | 9 | include/harfbuzz/hb-common.h | |
10 | ${PLIST.coretext}include/harfbuzz/hb-coretext.h | 10 | ${PLIST.coretext}include/harfbuzz/hb-coretext.h | |
11 | include/harfbuzz/hb-deprecated.h | 11 | include/harfbuzz/hb-deprecated.h | |
12 | include/harfbuzz/hb-draw.h | 12 | include/harfbuzz/hb-draw.h | |
13 | include/harfbuzz/hb-face.h | 13 | include/harfbuzz/hb-face.h | |
14 | include/harfbuzz/hb-font.h | 14 | include/harfbuzz/hb-font.h | |
15 | include/harfbuzz/hb-ft.h | 15 | include/harfbuzz/hb-ft.h | |
16 | include/harfbuzz/hb-glib.h | 16 | include/harfbuzz/hb-glib.h | |
17 | include/harfbuzz/hb-gobject-enums.h | 17 | include/harfbuzz/hb-gobject-enums.h | |
18 | include/harfbuzz/hb-gobject-structs.h | 18 | include/harfbuzz/hb-gobject-structs.h | |
19 | include/harfbuzz/hb-gobject.h | 19 | include/harfbuzz/hb-gobject.h | |
20 | ${PLIST.graphite2}include/harfbuzz/hb-graphite2.h | 20 | ${PLIST.graphite2}include/harfbuzz/hb-graphite2.h | |
21 | ${PLIST.icu}include/harfbuzz/hb-icu.h | |||
22 | include/harfbuzz/hb-map.h | 21 | include/harfbuzz/hb-map.h | |
23 | include/harfbuzz/hb-ot-color.h | 22 | include/harfbuzz/hb-ot-color.h | |
24 | include/harfbuzz/hb-ot-deprecated.h | 23 | include/harfbuzz/hb-ot-deprecated.h | |
25 | include/harfbuzz/hb-ot-font.h | 24 | include/harfbuzz/hb-ot-font.h | |
26 | include/harfbuzz/hb-ot-layout.h | 25 | include/harfbuzz/hb-ot-layout.h | |
27 | include/harfbuzz/hb-ot-math.h | 26 | include/harfbuzz/hb-ot-math.h | |
28 | include/harfbuzz/hb-ot-meta.h | 27 | include/harfbuzz/hb-ot-meta.h | |
29 | include/harfbuzz/hb-ot-metrics.h | 28 | include/harfbuzz/hb-ot-metrics.h | |
30 | include/harfbuzz/hb-ot-name.h | 29 | include/harfbuzz/hb-ot-name.h | |
31 | include/harfbuzz/hb-ot-shape.h | 30 | include/harfbuzz/hb-ot-shape.h | |
32 | include/harfbuzz/hb-ot-var.h | 31 | include/harfbuzz/hb-ot-var.h | |
33 | include/harfbuzz/hb-ot.h | 32 | include/harfbuzz/hb-ot.h | |
34 | include/harfbuzz/hb-set.h | 33 | include/harfbuzz/hb-set.h | |
35 | include/harfbuzz/hb-shape-plan.h | 34 | include/harfbuzz/hb-shape-plan.h | |
36 | include/harfbuzz/hb-shape.h | 35 | include/harfbuzz/hb-shape.h | |
37 | include/harfbuzz/hb-style.h | 36 | include/harfbuzz/hb-style.h | |
38 | include/harfbuzz/hb-subset.h | 37 | include/harfbuzz/hb-subset.h | |
39 | include/harfbuzz/hb-unicode.h | 38 | include/harfbuzz/hb-unicode.h | |
40 | include/harfbuzz/hb-version.h | 39 | include/harfbuzz/hb-version.h | |
41 | include/harfbuzz/hb.h | 40 | include/harfbuzz/hb.h | |
42 | lib/cmake/harfbuzz/harfbuzz-config.cmake | 41 | lib/cmake/harfbuzz/harfbuzz-config.cmake | |
43 | ${PLIST.introspection}lib/girepository-1.0/HarfBuzz-0.0.typelib | 42 | ${PLIST.introspection}lib/girepository-1.0/HarfBuzz-0.0.typelib | |
44 | lib/libharfbuzz-gobject.so | 43 | lib/libharfbuzz-gobject.so | |
45 | lib/libharfbuzz-gobject.so.0 | 44 | lib/libharfbuzz-gobject.so.0 | |
46 | lib/libharfbuzz-gobject.so.0.20702.0 | 45 | lib/libharfbuzz-gobject.so.0.20702.0 | |
47 | ${PLIST.icu}lib/libharfbuzz-icu.so | |||
48 | ${PLIST.icu}lib/libharfbuzz-icu.so.0 | |||
49 | ${PLIST.icu}lib/libharfbuzz-icu.so.0.20702.0 | |||
50 | lib/libharfbuzz-subset.so | 46 | lib/libharfbuzz-subset.so | |
51 | lib/libharfbuzz-subset.so.0 | 47 | lib/libharfbuzz-subset.so.0 | |
52 | lib/libharfbuzz-subset.so.0.20702.0 | 48 | lib/libharfbuzz-subset.so.0.20702.0 | |
53 | lib/libharfbuzz.so | 49 | lib/libharfbuzz.so | |
54 | lib/libharfbuzz.so.0 | 50 | lib/libharfbuzz.so.0 | |
55 | lib/libharfbuzz.so.0.20702.0 | 51 | lib/libharfbuzz.so.0.20702.0 | |
56 | lib/pkgconfig/harfbuzz-gobject.pc | 52 | lib/pkgconfig/harfbuzz-gobject.pc | |
57 | ${PLIST.icu}lib/pkgconfig/harfbuzz-icu.pc | |||
58 | lib/pkgconfig/harfbuzz-subset.pc | 53 | lib/pkgconfig/harfbuzz-subset.pc | |
59 | lib/pkgconfig/harfbuzz.pc | 54 | lib/pkgconfig/harfbuzz.pc | |
60 | ${PLIST.introspection}share/gir-1.0/HarfBuzz-0.0.gir | 55 | ${PLIST.introspection}share/gir-1.0/HarfBuzz-0.0.gir | |
61 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/HarfBuzz.png | 56 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/HarfBuzz.png | |
62 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/HarfBuzz.svg | 57 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/HarfBuzz.svg | |
63 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/a-clustering-example-for-levels-0-and-1.html | 58 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/a-clustering-example-for-levels-0-and-1.html | |
64 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/aat-shaping.html | 59 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/aat-shaping.html | |
65 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html | 60 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/adding-text-to-the-buffer.html | |
66 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/annotation-glossary.html | 61 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/annotation-glossary.html | |
67 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-full.html | 62 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/api-index-full.html | |
68 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html | 63 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/buffers-language-script-and-direction.html | |
69 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/building.html | 64 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/building.html | |
70 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/ch01s03.html | 65 | ${PLIST.doc}share/gtk-doc/html/harfbuzz/ch01s03.html |
@@ -1,34 +1,26 @@ | @@ -1,34 +1,26 @@ | |||
1 | # $NetBSD: options.mk,v 1.9 2020/09/04 10:50:08 prlw1 Exp $ | 1 | # $NetBSD: options.mk,v 1.10 2020/11/06 15:06:49 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz | |
4 | PKG_SUPPORTED_OPTIONS+= doc icu introspection | 4 | PKG_SUPPORTED_OPTIONS+= doc introspection | |
5 | PKG_SUGGESTED_OPTIONS= doc icu introspection | 5 | PKG_SUGGESTED_OPTIONS= doc introspection | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | PLIST_VARS+= doc icu introspection | 9 | PLIST_VARS+= doc introspection | |
10 | 10 | |||
11 | .if !empty(PKG_OPTIONS:Mdoc) | 11 | .if !empty(PKG_OPTIONS:Mdoc) | |
12 | MESON_ARGS+= -Ddocs=enabled | 12 | MESON_ARGS+= -Ddocs=enabled | |
13 | .include "../../textproc/gtk-doc/buildlink3.mk" | 13 | .include "../../textproc/gtk-doc/buildlink3.mk" | |
14 | PLIST.doc= yes | 14 | PLIST.doc= yes | |
15 | .else | 15 | .else | |
16 | MESON_ARGS+= -Ddocs=disabled | 16 | MESON_ARGS+= -Ddocs=disabled | |
17 | .endif | 17 | .endif | |
18 | 18 | |||
19 | .if !empty(PKG_OPTIONS:Micu) | |||
20 | .include "../../textproc/icu/buildlink3.mk" | |||
21 | MESON_ARGS+= -Dicu=enabled | |||
22 | PLIST.icu= yes | |||
23 | .else | |||
24 | MESON_ARGS+= -Dicu=disabled | |||
25 | .endif | |||
26 | ||||
27 | .if !empty(PKG_OPTIONS:Mintrospection) | 19 | .if !empty(PKG_OPTIONS:Mintrospection) | |
28 | BUILDLINK_DEPMETHOD.gobject-introspection+= build | 20 | BUILDLINK_DEPMETHOD.gobject-introspection+= build | |
29 | .include "../../devel/gobject-introspection/buildlink3.mk" | 21 | .include "../../devel/gobject-introspection/buildlink3.mk" | |
30 | MESON_ARGS+= -Dintrospection=enabled | 22 | MESON_ARGS+= -Dintrospection=enabled | |
31 | PLIST.introspection= yes | 23 | PLIST.introspection= yes | |
32 | .else | 24 | .else | |
33 | MESON_ARGS+= -Dintrospection=disabled | 25 | MESON_ARGS+= -Dintrospection=disabled | |
34 | .endif | 26 | .endif |
International Components for Unicode integration for HarfBuzz
# $NetBSD: Makefile,v 1.1 2020/11/06 15:06:49 nia Exp $
# XXX: hack to override meson installation
INSTALL_DIRS=
.include "../../fonts/harfbuzz/Makefile.common"
PKGNAME= ${DISTNAME:S/^harfbuzz-/harfbuzz-icu-/1}
COMMENT= OpenType text shaping engine (ICU integration)
MESON_ARGS+= -Dicu=enabled
INSTALLATION_DIRS+= include/harfbuzz
INSTALLATION_DIRS+= lib
INSTALLATION_DIRS+= lib/pkgconfig
HARFBUZZ_ICU_LIBNAME= libharfbuzz-icu.so.0.20702.0
.PHONY: harfbuzz-icu-install
harfbuzz-icu-install:
${INSTALL_DATA} ${WRKSRC}/src/hb-icu.h \
${DESTDIR}${PREFIX}/include/harfbuzz/hb-icu.h
${INSTALL_DATA} ${WRKSRC}/output/meson-private/harfbuzz-icu.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig/harfbuzz-icu.pc
${INSTALL_LIB} ${WRKSRC}/output/src/${HARFBUZZ_ICU_LIBNAME} \
${DESTDIR}${PREFIX}/lib
cd ${DESTDIR}${PREFIX}/lib && ${LN} -s ${HARFBUZZ_ICU_LIBNAME} libharfbuzz-icu.so.0
cd ${DESTDIR}${PREFIX}/lib && ${LN} -s ${HARFBUZZ_ICU_LIBNAME} libharfbuzz-icu.so
do-install: harfbuzz-icu-install
.include "../../fonts/harfbuzz/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2020/11/06 15:06:49 nia Exp $
include/harfbuzz/hb-icu.h
lib/libharfbuzz-icu.so
lib/libharfbuzz-icu.so.0
lib/libharfbuzz-icu.so.0.20702.0
lib/pkgconfig/harfbuzz-icu.pc
# $NetBSD: buildlink3.mk,v 1.1 2020/11/06 15:06:49 nia Exp $
BUILDLINK_TREE+= harfbuzz-icu
.if !defined(HARFBUZZ_ICU_BUILDLINK3_MK)
HARFBUZZ_ICU_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.harfbuzz-icu+= harfbuzz-icu>=2.1.1
BUILDLINK_ABI_DEPENDS.harfbuzz-icu+= harfbuzz-icu>=2.6.4nb2
.include "../../fonts/harfbuzz/buildlink3.mk"
.endif # HARFBUZZ_ICU_BUILDLINK3_MK
BUILDLINK_TREE+= -harfbuzz-icu
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.245 2020/11/05 09:08:42 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.246 2020/11/06 15:06:49 nia Exp $ | |
2 | 2 | |||
3 | VERREL= 7.0.3 | 3 | VERREL= 7.0.3 | |
4 | VERRC= 1 | 4 | VERRC= 1 | |
5 | VER= ${VERREL}.${VERRC} | 5 | VER= ${VERREL}.${VERRC} | |
6 | DISTNAME= libreoffice-${VER} | 6 | DISTNAME= libreoffice-${VER} | |
7 | PKGREVISION= 3 | 7 | PKGREVISION= 4 | |
8 | CATEGORIES= misc | 8 | CATEGORIES= misc | |
9 | MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${VERREL}/ | 9 | MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${VERREL}/ | |
10 | EXTRACT_SUFX= .tar.xz | 10 | EXTRACT_SUFX= .tar.xz | |
11 | 11 | |||
12 | MAINTAINER= ryoon@NetBSD.org | 12 | MAINTAINER= ryoon@NetBSD.org | |
13 | HOMEPAGE= https://www.libreoffice.org/ | 13 | HOMEPAGE= https://www.libreoffice.org/ | |
14 | COMMENT= Office productivity suite from The Document Foundation | 14 | COMMENT= Office productivity suite from The Document Foundation | |
15 | LICENSE= gnu-lgpl-v3 | 15 | LICENSE= gnu-lgpl-v3 | |
16 | 16 | |||
17 | UNLIMIT_RESOURCES+= cputime | 17 | UNLIMIT_RESOURCES+= cputime | |
18 | 18 | |||
19 | USE_LANGUAGES= c gnu++17 | 19 | USE_LANGUAGES= c gnu++17 | |
20 | 20 | |||
@@ -340,26 +340,27 @@ BUILDLINK_API_DEPENDS.libetonyek+= libet | @@ -340,26 +340,27 @@ BUILDLINK_API_DEPENDS.libetonyek+= libet | |||
340 | .include "../../devel/boost-libs/buildlink3.mk" | 340 | .include "../../devel/boost-libs/buildlink3.mk" | |
341 | .include "../../devel/cppunit/buildlink3.mk" | 341 | .include "../../devel/cppunit/buildlink3.mk" | |
342 | .include "../../devel/gperf/buildlink3.mk" | 342 | .include "../../devel/gperf/buildlink3.mk" | |
343 | .include "../../devel/libexecinfo/buildlink3.mk" | 343 | .include "../../devel/libexecinfo/buildlink3.mk" | |
344 | .include "../../devel/liblangtag/buildlink3.mk" | 344 | .include "../../devel/liblangtag/buildlink3.mk" | |
345 | .include "../../devel/mdds/buildlink3.mk" | 345 | .include "../../devel/mdds/buildlink3.mk" | |
346 | .include "../../devel/nss/buildlink3.mk" | 346 | .include "../../devel/nss/buildlink3.mk" | |
347 | .include "../../devel/zlib/buildlink3.mk" | 347 | .include "../../devel/zlib/buildlink3.mk" | |
348 | .include "../../fonts/fontconfig/buildlink3.mk" | 348 | .include "../../fonts/fontconfig/buildlink3.mk" | |
349 | # harfbuzz with graphite2 support is required. | 349 | # harfbuzz with graphite2 support is required. | |
350 | .if ${LIBRSVG_TYPE} == "rust" | 350 | .if ${LIBRSVG_TYPE} == "rust" | |
351 | #BUILDLINK_API_DEPENDS.harfbuzz+= harfbuzz>=1.4.2 | 351 | #BUILDLINK_API_DEPENDS.harfbuzz+= harfbuzz>=1.4.2 | |
352 | .include "../../fonts/harfbuzz/buildlink3.mk" | 352 | .include "../../fonts/harfbuzz/buildlink3.mk" | |
353 | .include "../../fonts/harfbuzz-icu/buildlink3.mk" | |||
353 | .include "../../graphics/graphite2/buildlink3.mk" | 354 | .include "../../graphics/graphite2/buildlink3.mk" | |
354 | .endif | 355 | .endif | |
355 | # Requires JCS_EXT_BGRA | 356 | # Requires JCS_EXT_BGRA | |
356 | #.include "../../mk/jpeg.buildlink3.mk" | 357 | #.include "../../mk/jpeg.buildlink3.mk" | |
357 | .include "../../graphics/cairo/buildlink3.mk" | 358 | .include "../../graphics/cairo/buildlink3.mk" | |
358 | .include "../../graphics/freetype2/buildlink3.mk" | 359 | .include "../../graphics/freetype2/buildlink3.mk" | |
359 | .include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk" | 360 | .include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk" | |
360 | .include "../../graphics/glew/buildlink3.mk" | 361 | .include "../../graphics/glew/buildlink3.mk" | |
361 | .include "../../graphics/glu/buildlink3.mk" | 362 | .include "../../graphics/glu/buildlink3.mk" | |
362 | .include "../../graphics/glm/buildlink3.mk" | 363 | .include "../../graphics/glm/buildlink3.mk" | |
363 | .include "../../graphics/lcms2/buildlink3.mk" | 364 | .include "../../graphics/lcms2/buildlink3.mk" | |
364 | .include "../../graphics/libepoxy/buildlink3.mk" | 365 | .include "../../graphics/libepoxy/buildlink3.mk" | |
365 | .include "../../graphics/librsvg/buildlink3.mk" | 366 | .include "../../graphics/librsvg/buildlink3.mk" |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.196 2020/11/05 09:07:13 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.197 2020/11/06 15:06:49 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= webkitgtk-2.30.2 | 3 | DISTNAME= webkitgtk-2.30.2 | |
4 | PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} | 4 | PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 2 | |
6 | CATEGORIES= www | 6 | CATEGORIES= www | |
7 | MASTER_SITES= https://www.webkitgtk.org/releases/ | 7 | MASTER_SITES= https://www.webkitgtk.org/releases/ | |
8 | EXTRACT_SUFX= .tar.xz | 8 | EXTRACT_SUFX= .tar.xz | |
9 | 9 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= https://www.webkitgtk.org/ | 11 | HOMEPAGE= https://www.webkitgtk.org/ | |
12 | COMMENT= GTK port of the WebKit browser engine | 12 | COMMENT= GTK port of the WebKit browser engine | |
13 | LICENSE= 2-clause-bsd AND gnu-lgpl-v2 | 13 | LICENSE= 2-clause-bsd AND gnu-lgpl-v2 | |
14 | 14 | |||
15 | # shm_open(3) and shm_unlink(3) appeared in NetBSD 7.0 | 15 | # shm_open(3) and shm_unlink(3) appeared in NetBSD 7.0 | |
16 | NOT_FOR_PLATFORM= NetBSD-[1-6].*-* | 16 | NOT_FOR_PLATFORM= NetBSD-[1-6].*-* | |
17 | 17 | |||
18 | TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools | 18 | TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools | |
@@ -123,26 +123,27 @@ CFLAGS+= -DRELEASE_WITHOUT_OPTIMIZATIONS | @@ -123,26 +123,27 @@ CFLAGS+= -DRELEASE_WITHOUT_OPTIMIZATIONS | |||
123 | 123 | |||
124 | # Needed for JavaScript JIT | 124 | # Needed for JavaScript JIT | |
125 | NOT_PAX_MPROTECT_SAFE+= libexec/webkit2gtk-4.0/WebKitWebProcess | 125 | NOT_PAX_MPROTECT_SAFE+= libexec/webkit2gtk-4.0/WebKitWebProcess | |
126 | NOT_PAX_MPROTECT_SAFE+= libexec/webkit2gtk-4.0/jsc | 126 | NOT_PAX_MPROTECT_SAFE+= libexec/webkit2gtk-4.0/jsc | |
127 | 127 | |||
128 | .include "options.mk" | 128 | .include "options.mk" | |
129 | 129 | |||
130 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1 | 130 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.32.1 | |
131 | .include "../../devel/glib2/buildlink3.mk" | 131 | .include "../../devel/glib2/buildlink3.mk" | |
132 | .include "../../devel/zlib/buildlink3.mk" | 132 | .include "../../devel/zlib/buildlink3.mk" | |
133 | .include "../../databases/sqlite3/buildlink3.mk" | 133 | .include "../../databases/sqlite3/buildlink3.mk" | |
134 | .include "../../devel/gperf/buildlink3.mk" | 134 | .include "../../devel/gperf/buildlink3.mk" | |
135 | .include "../../devel/pango/buildlink3.mk" | 135 | .include "../../devel/pango/buildlink3.mk" | |
136 | .include "../../fonts/harfbuzz-icu/buildlink3.mk" | |||
136 | .include "../../fonts/woff2/buildlink3.mk" | 137 | .include "../../fonts/woff2/buildlink3.mk" | |
137 | .include "../../graphics/cairo-gobject/buildlink3.mk" | 138 | .include "../../graphics/cairo-gobject/buildlink3.mk" | |
138 | .include "../../graphics/freetype2/buildlink3.mk" | 139 | .include "../../graphics/freetype2/buildlink3.mk" | |
139 | .include "../../graphics/libwebp/buildlink3.mk" | 140 | .include "../../graphics/libwebp/buildlink3.mk" | |
140 | .include "../../mk/jpeg.buildlink3.mk" | 141 | .include "../../mk/jpeg.buildlink3.mk" | |
141 | BUILDLINK_API_DEPENDS.png+= png>=1.5.1beta08 | 142 | BUILDLINK_API_DEPENDS.png+= png>=1.5.1beta08 | |
142 | .include "../../graphics/png/buildlink3.mk" | 143 | .include "../../graphics/png/buildlink3.mk" | |
143 | BUILDLINK_API_DEPENDS.gstreamer1+= gstreamer1>=1.0.3 | 144 | BUILDLINK_API_DEPENDS.gstreamer1+= gstreamer1>=1.0.3 | |
144 | .include "../../multimedia/gstreamer1/buildlink3.mk" | 145 | .include "../../multimedia/gstreamer1/buildlink3.mk" | |
145 | BUILDLINK_API_DEPENDS.gst-plugins1-base+= gst-plugins1-base>=1.0.3 | 146 | BUILDLINK_API_DEPENDS.gst-plugins1-base+= gst-plugins1-base>=1.0.3 | |
146 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" | 147 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" | |
147 | BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.42.2nb3 | 148 | BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.42.2nb3 | |
148 | .include "../../net/libsoup/buildlink3.mk" | 149 | .include "../../net/libsoup/buildlink3.mk" |