summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-09-02 14:45:37 +0000
committernia <nia@pkgsrc.org>2019-09-02 14:45:37 +0000
commit0adad4995942f2a5ebed4becf0a05617ff85c624 (patch)
tree5d14306640bb2b572c930b131b61a2bed42f7d57 /fonts
parentcf6fe1527147a6a189595f81cdeb925f9b681763 (diff)
downloadpkgsrc-0adad4995942f2a5ebed4becf0a05617ff85c624.tar.gz
fontforge: Update to 20190801
Along with the usual bugfixes, there have been a couple of new features worth calling out: Added Croatian translation Added user decompositions New graphic for the splash/about screen Images embedded in SFDs are now serialised as PNGs This is enabled by default, but may be turned off with the 'WritePNGInSFD' option. A new tag is used to identify this mode; 'Image2', instead of 'Image' This requires FontForge to be compiled with libpng support. If not compiled with libpng, FontForge will revert to the old method of serialising RLE encoded raw images. As part of an ongoing effort to clean up the code base, there have additionally been multiple build system changes: Python 2 support is deprecated. It is strongly recommended to build with Python 3 support. Python 2 support will be removed in a future release. Both the Windows and Mac builds are now built with Python 3 instead of Python 2. The minimum supported version for the Mac build is now MacOS Sierra (10.12) FontForge no longer uses gnulib collab support has been removed The build system now expects libuninameslist to be present, and will fail if it is not found. Building without libuninameslist must be explcititly specified using --without-libuninameslist
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontforge/Makefile50
-rw-r--r--fonts/fontforge/PLIST83
-rw-r--r--fonts/fontforge/distinfo17
-rw-r--r--fonts/fontforge/options.mk21
-rw-r--r--fonts/fontforge/patches/patch-Makefile.in15
-rw-r--r--fonts/fontforge/patches/patch-configure40
-rw-r--r--fonts/fontforge/patches/patch-fontforge_splinefont.h55
-rw-r--r--fonts/fontforge/patches/patch-fontforgeexe_Makefile.in24
-rw-r--r--fonts/fontforge/patches/patch-fontforgeexe_startui.c35
9 files changed, 104 insertions, 236 deletions
diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile
index 07cc6e7e09c..99e09c07102 100644
--- a/fonts/fontforge/Makefile
+++ b/fonts/fontforge/Makefile
@@ -1,38 +1,43 @@
-# $NetBSD: Makefile,v 1.108 2019/04/25 07:32:54 maya Exp $
+# $NetBSD: Makefile,v 1.109 2019/09/02 14:45:37 nia Exp $
-DISTNAME= fontforge-dist-20170731
-PKGNAME= ${DISTNAME:S/-dist-/-/}
-PKGREVISION= 5
+DISTNAME= fontforge-20190801
CATEGORIES= fonts editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=fontforge/}
-EXTRACT_SUFX= .tar.xz
+GITHUB_PROJECT= fontforge
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= adam@NetBSD.org
-HOMEPAGE= http://fontforge.github.io/
+HOMEPAGE= https://fontforge.github.io/
COMMENT= Postscript font editor
LICENSE= modified-bsd
-GITHUB_PROJECT= fontforge
-GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_USING= bsdtar
-WRKSRC= ${WRKDIR}/fontforge-2.0.${PKGVERSION_NOREV}
-USE_LANGUAGES= c
-USE_LIBTOOL= yes
+USE_TOOLS+= gmake msgfmt pkg-config xgettext
+USE_LANGUAGES= c c++11
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+# C++11
+GCC_REQD+= 4.8
+
+# Make the build reproducable.
+CONFIGURE_ENV+= SOURCE_DATE_EPOCH=${PKGVERSION_NOREV}0000
+
+CONFIGURE_ARGS+= --enable-gdk
+CONFIGURE_ARGS+= --enable-woff2
+
USE_PKGLOCALEDIR= yes
-USE_TOOLS+= gmake msgfmt pkg-config
-GNU_CONFIGURE= yes
+PY_PATCHPLIST= yes
PKGCONFIG_OVERRIDE_STAGE= post-configure
PKGCONFIG_OVERRIDE+= libfontforge.pc
PKGCONFIG_OVERRIDE+= libfontforgeexe.pc
-CHECK_PORTABILITY_SKIP+=osx/FontForge.app/Contents/MacOS/*
-CHECK_INTERPRETER_SKIP+=share/fontforge/python/collab/*
-CHECK_INTERPRETER_SKIP+=share/fontforge/python/gdraw/*
-CHECK_INTERPRETER_SKIP+=share/fontforge/python/simple/*
-
-PY_PATCHPLIST= yes
+CHECK_PORTABILITY_SKIP+= osx/FontForge.app/Contents/MacOS/*
+CHECK_INTERPRETER_SKIP+= share/fontforge/python/collab/*
+CHECK_INTERPRETER_SKIP+= share/fontforge/python/gdraw/*
+CHECK_INTERPRETER_SKIP+= share/fontforge/python/simple/*
.include "../../mk/bsd.prefs.mk"
@@ -41,13 +46,14 @@ PY_PATCHPLIST= yes
_TOOLS_USE_PKGSRC.date= yes
.endif
-.include "options.mk"
-
.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/woff2/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
@@ -59,6 +65,8 @@ _TOOLS_USE_PKGSRC.date= yes
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/libuninameslist/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/fontforge/PLIST b/fonts/fontforge/PLIST
index abc57d8e40c..04bde10051a 100644
--- a/fonts/fontforge/PLIST
+++ b/fonts/fontforge/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2017/08/25 09:20:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.36 2019/09/02 14:45:37 nia Exp $
bin/fontforge
bin/fontimage
bin/fontlint
@@ -13,19 +13,18 @@ include/fontforge/bitmapcontrol.h
include/fontforge/carbon.h
include/fontforge/chardata.h
include/fontforge/charset.h
-include/fontforge/configure-fontforge.h
-include/fontforge/cvruler.h
include/fontforge/delta.h
include/fontforge/dlist.h
-include/fontforge/dynamic.h
include/fontforge/edgelist.h
include/fontforge/edgelist2.h
include/fontforge/encoding.h
include/fontforge/fffreetype.h
+include/fontforge/ffgdk.h
include/fontforge/ffglib.h
include/fontforge/ffpython.h
-include/fontforge/fileutil.h
+include/fontforge/flaglist.h
include/fontforge/fontforge-config.h
+include/fontforge/fontforge-version-extras.h
include/fontforge/fontforge.h
include/fontforge/fontforgevw.h
include/fontforge/fvmetrics.h
@@ -37,7 +36,7 @@ include/fontforge/gimage.h
include/fontforge/gio.h
include/fontforge/gkeysym.h
include/fontforge/glif_name_hash.h
-include/fontforge/gnetwork.h
+include/fontforge/glyphcomp.h
include/fontforge/gprogress.h
include/fontforge/gresedit.h
include/fontforge/gresource.h
@@ -45,15 +44,15 @@ include/fontforge/groups.h
include/fontforge/gutils.h
include/fontforge/gwidget.h
include/fontforge/gwwiconv.h
+include/fontforge/hotkeys.h
include/fontforge/intl.h
-include/fontforge/libffstamp.h
include/fontforge/lookups.h
include/fontforge/mem.h
include/fontforge/mm.h
include/fontforge/namehash.h
include/fontforge/nonlineartrans.h
include/fontforge/ofl.h
-include/fontforge/plugins.h
+include/fontforge/prefs.h
include/fontforge/print.h
include/fontforge/psfont.h
include/fontforge/savefont.h
@@ -68,14 +67,14 @@ include/fontforge/stemdb.h
include/fontforge/ttf.h
include/fontforge/ttfinstrs.h
include/fontforge/uiinterface.h
+include/fontforge/unicodelibinfo.h
include/fontforge/unicoderange.h
-include/fontforge/usermenu.h
include/fontforge/ustring.h
include/fontforge/utype.h
+include/fontforge/views.h
lib/libfontforge.la
lib/libfontforgeexe.la
-${PLIST.x11}lib/libgdraw.la
-lib/libgioftp.la
+lib/libgdraw.la
lib/libgunicode.la
lib/libgutils.la
lib/pkgconfig/libfontforge.pc
@@ -86,7 +85,8 @@ man/man1/fontforge.1
man/man1/fontimage.1
man/man1/fontlint.1
man/man1/sfddiff.1
-share/applications/fontforge.desktop
+share/appdata/org.fontforge.FontForge.appdata.xml
+share/applications/org.fontforge.FontForge.desktop
share/doc/fontforge/.htaccess
share/doc/fontforge/AA-Comparison.html
share/doc/fontforge/AddLookup-Liga.png
@@ -156,6 +156,7 @@ share/doc/fontforge/Efore.png
share/doc/fontforge/EforeTtf.png
share/doc/fontforge/Ehinted.png
share/doc/fontforge/EhintedTtf.png
+share/doc/fontforge/Encodings.ps.gz
share/doc/fontforge/Eperspective.png
share/doc/fontforge/FF32.png
share/doc/fontforge/FFmacotfIcon.png
@@ -456,6 +457,7 @@ share/doc/fontforge/faqFrame.html
share/doc/fontforge/featsetdlg.png
share/doc/fontforge/featurefile.html
share/doc/fontforge/ff-history.html
+share/doc/fontforge/ff-screenshot.png
share/doc/fontforge/ffanvil16.png
share/doc/fontforge/ffanvil300.png
share/doc/fontforge/ffanvil32.png
@@ -691,7 +693,6 @@ share/doc/fontforge/phi-hints-filled.png
share/doc/fontforge/phi-hints-outline.png
share/doc/fontforge/phi-nohints-filled.png
share/doc/fontforge/phi-nohints-outline.png
-share/doc/fontforge/plugins.html
share/doc/fontforge/pnts.gif
share/doc/fontforge/pointinfo-interp.png
share/doc/fontforge/pointinfo.png
@@ -828,29 +829,7 @@ share/doc/fontforge/x-height.png
share/doc/fontforge/xItalic.png
share/doc/fontforge/xim.html
share/doc/fontforge/xres.html
-share/fontforge/Adobe-CNS1-6.cidmap
-share/fontforge/Adobe-GB1-5.cidmap
-share/fontforge/Adobe-Identity-0.cidmap
-share/fontforge/Adobe-Japan1-5.cidmap
-share/fontforge/Adobe-Japan1-6.cidmap
-share/fontforge/Adobe-Japan2-0.cidmap
-share/fontforge/Adobe-Korea1-2.cidmap
share/fontforge/hotkeys/default
-share/fontforge/nodejs/collabwebview/client.html
-share/fontforge/nodejs/collabwebview/css/print.css
-share/fontforge/nodejs/collabwebview/css/styles.css
-share/fontforge/nodejs/collabwebview/index.html
-share/fontforge/nodejs/collabwebview/js/constants.js
-share/fontforge/nodejs/collabwebview/js/contentEditable/component.json
-share/fontforge/nodejs/collabwebview/js/contentEditable/contenteditable.jquery.json
-share/fontforge/nodejs/collabwebview/js/contentEditable/example.html
-share/fontforge/nodejs/collabwebview/js/contentEditable/jquery.contenteditable.js
-share/fontforge/nodejs/collabwebview/js/fontdrag.js
-share/fontforge/nodejs/collabwebview/js/jquery-1.9.1.min.js
-share/fontforge/nodejs/collabwebview/js/jquery.masonry.min.js
-share/fontforge/nodejs/collabwebview/js/otfeatures.js
-share/fontforge/nodejs/collabwebview/package.json
-share/fontforge/nodejs/collabwebview/server.js
share/fontforge/pixmaps/Cantarell-Bold.ttf
share/fontforge/pixmaps/Cantarell-BoldOblique.ttf
share/fontforge/pixmaps/Cantarell-Oblique.ttf
@@ -1204,35 +1183,27 @@ share/fontforge/pixmaps/viewzoomin.png
share/fontforge/pixmaps/viewzoomout.png
share/fontforge/pixmaps/wireframe.png
share/fontforge/prefs
-share/fontforge/python/collab/sessionjoin-and-change-c.py
-share/fontforge/python/collab/sessionjoin-and-save-to-out.sfd.py
-share/fontforge/python/collab/sessionstart.py
-share/fontforge/python/collab/web-test-collab.py
share/fontforge/python/excepthook.py
-share/fontforge/python/gdraw/README
-share/fontforge/python/gdraw/__init__.py
-share/fontforge/python/gdraw/_gdraw.py
-share/fontforge/python/gdraw/gdraw.html
-share/fontforge/python/gdraw/gdraw.py
share/fontforge/python/simple/expand-a.py
share/fontforge/python/simple/load-font-and-show-name.py
share/fontforge/python/test.sfd
-share/fontforge/python/webcollab.py
-share/icons/hicolor/128x128/apps/fontforge.png
-share/icons/hicolor/16x16/apps/fontforge.png
-share/icons/hicolor/22x22/apps/fontforge.png
-share/icons/hicolor/24x24/apps/fontforge.png
-share/icons/hicolor/256x256/apps/fontforge.png
-share/icons/hicolor/32x32/apps/fontforge.png
-share/icons/hicolor/48x48/apps/fontforge.png
-share/icons/hicolor/64x64/apps/fontforge.png
-share/icons/hicolor/scalable/apps/fontforge.svg
+share/icons/hicolor/128x128/apps/org.fontforge.FontForge.png
+share/icons/hicolor/16x16/apps/org.fontforge.FontForge.png
+share/icons/hicolor/22x22/apps/org.fontforge.FontForge.png
+share/icons/hicolor/24x24/apps/org.fontforge.FontForge.png
+share/icons/hicolor/256x256/apps/org.fontforge.FontForge.png
+share/icons/hicolor/32x32/apps/org.fontforge.FontForge.png
+share/icons/hicolor/48x48/apps/org.fontforge.FontForge.png
+share/icons/hicolor/512x512/apps/org.fontforge.FontForge.png
+share/icons/hicolor/64x64/apps/org.fontforge.FontForge.png
+share/icons/hicolor/scalable/apps/org.fontforge.FontForge.svg
share/locale/ca/LC_MESSAGES/FontForge.mo
share/locale/de/LC_MESSAGES/FontForge.mo
share/locale/el/LC_MESSAGES/FontForge.mo
share/locale/en_GB/LC_MESSAGES/FontForge.mo
share/locale/es/LC_MESSAGES/FontForge.mo
share/locale/fr/LC_MESSAGES/FontForge.mo
+share/locale/hr/LC_MESSAGES/FontForge.mo
share/locale/it/LC_MESSAGES/FontForge.mo
share/locale/ja/LC_MESSAGES/FontForge.mo
share/locale/ko/LC_MESSAGES/FontForge.mo
@@ -1244,4 +1215,8 @@ share/locale/uk/LC_MESSAGES/FontForge.mo
share/locale/vi/LC_MESSAGES/FontForge.mo
share/locale/zh_CN/LC_MESSAGES/FontForge.mo
share/locale/zh_TW/LC_MESSAGES/FontForge.mo
+share/metainfo/org.fontforge.FontForge.appdata.xml
+share/metainfo/org.fontforge.FontForge.metainfo.xml
share/mime/packages/fontforge.xml
+share/pixmaps/org.fontforge.FontForge.png
+share/pixmaps/org.fontforge.FontForge.xpm
diff --git a/fonts/fontforge/distinfo b/fonts/fontforge/distinfo
index 1b5d9072016..531b89531f9 100644
--- a/fonts/fontforge/distinfo
+++ b/fonts/fontforge/distinfo
@@ -1,12 +1,9 @@
-$NetBSD: distinfo,v 1.69 2017/11/15 10:18:06 adam Exp $
+$NetBSD: distinfo,v 1.70 2019/09/02 14:45:37 nia Exp $
-SHA1 (fontforge-dist-20170731.tar.xz) = 89ab434e523dbea8fd9f81907dda33f023055b05
-RMD160 (fontforge-dist-20170731.tar.xz) = af473f403999937dd95715bdfd98f582d05c94cd
-SHA512 (fontforge-dist-20170731.tar.xz) = 26f7a40714460716a24dd0229fdb027f3766bcc48db64b8993436ddcb6277898f9f3b67ad4fc0be515b2b38e01370d1c7d9ee3c6ece1be862b7d8c9882411f11
-Size (fontforge-dist-20170731.tar.xz) = 13985256 bytes
-SHA1 (patch-Makefile.in) = 5a7cad2f9516540048008a13a257d6c9720a22c9
-SHA1 (patch-configure) = 23c953855960f65c539d9ccd15df14fb6a9a2428
-SHA1 (patch-fontforge_splinefont.h) = eda077c87d3bba57a6b6fe0f62d83956e6e13bc1
-SHA1 (patch-fontforgeexe_Makefile.in) = 725a0a033132bf859917e8f28c5d0cbbad3eea0e
-SHA1 (patch-fontforgeexe_startui.c) = e390742321931ded9f5143fbe3dc2f81e5abbbdc
+SHA1 (fontforge-20190801.tar.gz) = b0a248b8c7709550347a8d8cf6d2dbbb2e28d252
+RMD160 (fontforge-20190801.tar.gz) = 1b8e8ba52dc35034e250c0b2cd9c4acef01794f2
+SHA512 (fontforge-20190801.tar.gz) = 78f3e1e94e38e26dcf52c6a0e038753033dc47052b7492f0ac0aaf1b8962e4e4bbf07c2550ef6014ea7290a6429bf669acb0691735efe0aee368480b4b7e6236
+Size (fontforge-20190801.tar.gz) = 20766334 bytes
+SHA1 (patch-configure) = 3943ced86608110a18fc75252be2be6a92c6bf76
+SHA1 (patch-fontforge_splinefont.h) = be7739b6145b3c622913efa9f2d679860c35cccb
SHA1 (patch-po_Makefile.in) = 75990b7371e5ce525deba693c651dbd5222e558b
diff --git a/fonts/fontforge/options.mk b/fonts/fontforge/options.mk
deleted file mode 100644
index 57073a1ba3d..00000000000
--- a/fonts/fontforge/options.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2016/04/04 17:33:10 joerg Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.fontforge
-PKG_SUPPORTED_OPTIONS= x11
-PKG_SUGGESTED_OPTIONS= x11
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+= x11
-
-.if !empty(PKG_OPTIONS:Mx11)
-PLIST.x11= yes
-# checks for X11/Intrinsic.h
-BUILDLINK_DEPMETHOD.libXt+= build
-.include "../../x11/libSM/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
-.include "../../x11/libXi/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-x
-.endif
diff --git a/fonts/fontforge/patches/patch-Makefile.in b/fonts/fontforge/patches/patch-Makefile.in
deleted file mode 100644
index bc6d80cf5d0..00000000000
--- a/fonts/fontforge/patches/patch-Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-Makefile.in,v 1.1 2016/02/07 14:09:08 adam Exp $
-
-Do not install OS X bundle.
-
---- Makefile.in.orig 2016-02-07 11:51:25.000000000 +0000
-+++ Makefile.in
-@@ -165,7 +165,7 @@ DIST_COMMON = $(top_srcdir)/mk/layout.am
- @LIBZMQ_TRUE@am__append_1 = collab
- @GRAPHICAL_USER_INTERFACE_TRUE@am__append_2 = gdraw
- @PYTHON_EXTENSION_TRUE@am__append_3 = pyhook
--@MACINTOSH_TRUE@am__append_4 = mackeys osx
-+@MACINTOSH_TRUE@am__append_4 = mackeys
- @XDG_DESKTOP_TRUE@am__append_5 = desktop
- subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/fonts/fontforge/patches/patch-configure b/fonts/fontforge/patches/patch-configure
index 4991c5ec633..0f69c47565a 100644
--- a/fonts/fontforge/patches/patch-configure
+++ b/fonts/fontforge/patches/patch-configure
@@ -1,45 +1,15 @@
-$NetBSD: patch-configure,v 1.3 2017/08/25 09:20:38 adam Exp $
+$NetBSD: patch-configure,v 1.4 2019/09/02 14:45:37 nia Exp $
-Portability fixes.
-Disable IPython modules.
+Remove unsupported date argument.
---- configure.orig 2017-07-31 08:30:42.386015000 +0000
+--- configure.orig 2019-08-01 09:12:22.865001000 +0000
+++ configure
-@@ -20382,7 +20382,7 @@ fi
-
- fi
-
-- if test x"${have_zlib}" == xyes; then
-+ if test x"${have_zlib}" = xyes; then
- ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
- if test "x$ac_cv_header_zlib_h" = xyes; then :
-
-@@ -37045,9 +37045,8 @@ if test x"${i_do_have_python_scripting}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPython" >&5
- $as_echo_n "checking for IPython... " >&6; }
- if $( $PYTHON -c 'import IPython' 2>&5 ); then
-- have_ipython=yes;
-+ have_ipython=no;
-
--$as_echo "#define HAVE_IPYTHON 1" >>confdefs.h
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
-@@ -37090,7 +37089,7 @@ fi
- #--------------------------------------------------------------------------
-
- # Check whether --enable-breakpad was given.
--if test "${enable_breakpad+set}" = set; then :
-+if test "${enable_breakpad+set}" = set; then
- enableval=$enable_breakpad; have_breakpad=yes
- fi
-
-@@ -37307,7 +37306,7 @@ FONTFORGE_DATE_NOW=${SOURCE_DATE_EPOCH:-
+@@ -26865,7 +26865,7 @@ FONTFORGE_DATE_NOW=${SOURCE_DATE_EPOCH:-
FONTFORGE_DATE_OPTS="--date=@${FONTFORGE_DATE_NOW}"
if ! date --version 2>/dev/null ; then
# Use POSIX date instead of GNU date on BSD systems
- FONTFORGE_DATE_OPTS="-j -f %s ${FONTFORGE_DATE_NOW}"
-+ FONTFORGE_DATE_OPTS="-j -r ${FONTFORGE_DATE_NOW}"
++ FONTFORGE_DATE_OPTS="-j ${FONTFORGE_DATE_NOW}"
fi
FONTFORGE_MODTIME="$(date -u $FONTFORGE_DATE_OPTS +'%s')L"
FONTFORGE_MODTIME_STR="$(date -u $FONTFORGE_DATE_OPTS +'%H:%M %Z %e-%b-%Y')"
diff --git a/fonts/fontforge/patches/patch-fontforge_splinefont.h b/fonts/fontforge/patches/patch-fontforge_splinefont.h
index 2cfda8af457..3d914d82409 100644
--- a/fonts/fontforge/patches/patch-fontforge_splinefont.h
+++ b/fonts/fontforge/patches/patch-fontforge_splinefont.h
@@ -1,28 +1,41 @@
-$NetBSD: patch-fontforge_splinefont.h,v 1.2 2016/09/27 10:24:57 taca Exp $
+$NetBSD: patch-fontforge_splinefont.h,v 1.3 2019/09/02 14:45:37 nia Exp $
-* NetBSD does not implement uselocale().
-* NetBSD prior to 7.0 dose not have locale_t.
+NetBSD does not implement uselocale().
---- fontforge/splinefont.h.orig 2016-04-05 01:29:03.000000000 +0000
+--- fontforge/splinefont.h.orig 2019-07-22 10:10:01.551001000 +0000
+++ fontforge/splinefont.h
-@@ -3549,6 +3549,20 @@ char * delimit_null(const char * input,
+@@ -2625,17 +2625,33 @@ extern bool isSplinePointPartOfGuide( Sp
- #include "ustring.h"
+ extern void debug_printHint( StemInfo *h, char* msg );
-+#ifdef __NetBSD__
-+#define BAD_LOCALE_HACK
-+#ifndef __LOCALE_T_DECLARED
-+typedef char* locale_t;
-+#define LC_GLOBAL_LOCALE ((locale_t)-1)
-+#define LC_ALL_MASK LC_ALL
-+#define LC_COLLATE_MASK LC_COLLATE
-+#define LC_CTYPE_MASK LC_CTYPE
-+#define LC_MONETARY_MASK LC_MONETARY
-+#define LC_NUMERIC_MASK LC_NUMERIC
-+#define LC_TIME_MASK LC_TIME
-+#endif
-+#endif
-+
- #ifdef _WIN32
+-#if defined(_WIN32) || defined(__HAIKU__)
++#if defined(_WIN32) || defined(__HAIKU__) || defined(__NetBSD__)
#define BAD_LOCALE_HACK
++#ifndef __NetBSD__
typedef char* locale_t;
++#endif
++#ifndef LC_GLOBAL_LOCALE
+ #define LC_GLOBAL_LOCALE ((locale_t)-1)
++#endif
++#ifndef LC_ALL_MASK
+ #define LC_ALL_MASK LC_ALL
++#endif
++#ifndef LC_COLLATE_MASK
+ #define LC_COLLATE_MASK LC_COLLATE
++#endif
++#ifndef LC_CTYPE_MASK
+ #define LC_CTYPE_MASK LC_CTYPE
++#endif
++#ifndef LC_MONETARY_MASK
+ #define LC_MONETARY_MASK LC_MONETARY
++#endif
++#ifndef LC_NUMERIC_MASK
+ #define LC_NUMERIC_MASK LC_NUMERIC
++#endif
++#ifndef LC_TIME_MASK
+ #define LC_TIME_MASK LC_TIME
+ #endif
++#endif
+
+ static inline void switch_to_c_locale(locale_t * tmplocale_p, locale_t * oldlocale_p) {
+ #ifndef BAD_LOCALE_HACK
diff --git a/fonts/fontforge/patches/patch-fontforgeexe_Makefile.in b/fonts/fontforge/patches/patch-fontforgeexe_Makefile.in
deleted file mode 100644
index 2d6ba6c2f5d..00000000000
--- a/fonts/fontforge/patches/patch-fontforgeexe_Makefile.in
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-fontforgeexe_Makefile.in,v 1.4 2017/09/04 21:13:22 jperkin Exp $
-
-Fix linking Objective-C code.
-
---- fontforgeexe/Makefile.in.orig 2017-07-31 08:30:47.000000000 +0000
-+++ fontforgeexe/Makefile.in
-@@ -391,7 +391,7 @@ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
- am__v_lt_0 = --silent
- am__v_lt_1 =
- libfontforgeexe_la_LINK = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \
-- $(LIBTOOLFLAGS) --mode=link $(OBJCLD) \
-+ $(LIBTOOLFLAGS) --tag=CC --mode=link $(OBJCLD) \
- $(libfontforgeexe_la_OBJCFLAGS) $(OBJCFLAGS) \
- $(libfontforgeexe_la_LDFLAGS) $(LDFLAGS) -o $@
- PROGRAMS = $(bin_PROGRAMS)
-@@ -2501,7 +2501,7 @@ fontforge-main.obj: main.c
- @am__fastdepOBJC_FALSE@ $(AM_V_OBJC@am__nodep@)$(LTOBJCCOMPILE) -c -o $@ $<
-
- libfontforgeexe_la-macobjective.lo: macobjective.m
--@am__fastdepOBJC_TRUE@ $(AM_V_OBJC)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfontforgeexe_la_CPPFLAGS) $(CPPFLAGS) $(libfontforgeexe_la_OBJCFLAGS) $(OBJCFLAGS) -MT libfontforgeexe_la-macobjective.lo -MD -MP -MF $(DEPDIR)/libfontforgeexe_la-macobjective.Tpo -c -o libfontforgeexe_la-macobjective.lo `test -f 'macobjective.m' || echo '$(srcdir)/'`macobjective.m
-+@am__fastdepOBJC_TRUE@ $(AM_V_OBJC)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile --tag=CC $(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libfontforgeexe_la_CPPFLAGS) $(CPPFLAGS) $(libfontforgeexe_la_OBJCFLAGS) $(OBJCFLAGS) -MT libfontforgeexe_la-macobjective.lo -MD -MP -MF $(DEPDIR)/libfontforgeexe_la-macobjective.Tpo -c -o libfontforgeexe_la-macobjective.lo `test -f 'macobjective.m' || echo '$(srcdir)/'`macobjective.m
- @am__fastdepOBJC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libfontforgeexe_la-macobjective.Tpo $(DEPDIR)/libfontforgeexe_la-macobjective.Plo
- @AMDEP_TRUE@@am__fastdepOBJC_FALSE@ $(AM_V_OBJC)source='macobjective.m' object='libfontforgeexe_la-macobjective.lo' libtool=yes @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepOBJC_FALSE@ DEPDIR=$(DEPDIR) $(OBJCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
diff --git a/fonts/fontforge/patches/patch-fontforgeexe_startui.c b/fonts/fontforge/patches/patch-fontforgeexe_startui.c
deleted file mode 100644
index 83318dde94f..00000000000
--- a/fonts/fontforge/patches/patch-fontforgeexe_startui.c
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-fontforgeexe_startui.c,v 1.1 2017/11/15 10:18:06 adam Exp $
-
-Fix building on newer macOS.
-
---- fontforgeexe/startui.c.orig 2017-07-22 05:00:39.000000000 +0000
-+++ fontforgeexe/startui.c
-@@ -516,23 +516,23 @@ static OSErr install_apple_event_handle
-
- err = AEInstallEventHandler(kCoreEventClass, kAEOpenApplication,
- NewAEEventHandlerUPP(OpenApplicationAE), 0, false);
-- require_noerr(err, CantInstallAppleEventHandler);
-+ __Require_noErr(err, CantInstallAppleEventHandler);
-
- err = AEInstallEventHandler(kCoreEventClass, kAEReopenApplication,
- NewAEEventHandlerUPP(ReopenApplicationAE), 0, false);
-- require_noerr(err, CantInstallAppleEventHandler);
-+ __Require_noErr(err, CantInstallAppleEventHandler);
-
- err = AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments,
- NewAEEventHandlerUPP(OpenDocumentsAE), 0, false);
-- require_noerr(err, CantInstallAppleEventHandler);
-+ __Require_noErr(err, CantInstallAppleEventHandler);
-
- err = AEInstallEventHandler(kCoreEventClass, kAEQuitApplication,
- NewAEEventHandlerUPP(QuitApplicationAE), 0, false);
-- require_noerr(err, CantInstallAppleEventHandler);
-+ __Require_noErr(err, CantInstallAppleEventHandler);
-
- err = AEInstallEventHandler(kCoreEventClass, kAEShowPreferences,
- NewAEEventHandlerUPP(ShowPreferencesAE), 0, false);
-- require_noerr(err, CantInstallAppleEventHandler);
-+ __Require_noErr(err, CantInstallAppleEventHandler);
-
- /* some debugging code, for now */
- if ( getenv("HOME")!=NULL ) {