Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/fontforge fontforge: update to 20200314.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5878fb9a95f
branches:  trunk
changeset: 438742:e5878fb9a95f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 09 10:32:08 2020 +0000

description:
fontforge: update to 20200314.

Significant changes include the following.

    FontForge now has much improved stroke expansion functionality. The main change is that it actually works most of the time. New features include support for arbitrary convex nibs and the 
miter-clip and arc join styles from SVG 2. All functionality is accessible from the Python and native APIs. (By @skef.)
    Remove overlap handles certain important edge cases better. (By @skef and @frank-trampe.)
    The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. (By @skef.)
    The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. (By @ctrlcctrlv.)
    One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. (By @skef.)
    UFO import now outputs the note field properly. (By @skef.)
    SVG import is much more robust. (By @skef.)
    We have dropped most gnulib and autotools logic in favor of CMake, which dramatically simplifies the build system and just as dramatically improves build time. (By @jtanx.)
    As part of the switch to CMake, per the deprecation of Python 2, and per the lack of objections to the proposal on the mailing list, we have dropped support for building FontForge with Python 2 
support. The non-build-system Python 2 code remains, but it is neither tested nor maintained nor supported and is likely to follow a trajectory of decay and then removal.
    Documentation is now rendered in Sphinx, which makes maintenance and improvement easier. (By @jtanx.)
    Translations now happen on crowdin, which makes contributions easier. (By @jtanx.)
    We got such a contribution for Croatian. (By @milotype.)
    Character view point coloring is more consistent, and preview fills support transparency. (By @skef.)
    The user can now move and close tabs in the character view. (By @ctrlcctrlv.)
    The metrics view now allows for entry of negative kerning values and runs a bit more smoothly. (By @ctrlcctrlv.)
    There is now a warning when a user is about to discard an unsaved script. (By @ctrlcctrlv.)
    We fixed bugs all over, as always, with particular attention given to the metrics view, Python, Spiro, and high-resolution displays.

Notes on build system changes:

    libgutils and libgunicode have been combined into libfontforge
    libgdraw and libfontforgeexe have been combined into the fontforge executable itself
    No development files are installed (headers, or pkg-config). This is because we do not provide a stable API or ABI to work against, nor are the headers actually well configured to be used 
externally. We are also not aware of any maintained product that compiles against FontForge itself.

diffstat:

 fonts/fontforge/Makefile                     |   49 +-
 fonts/fontforge/PLIST                        |  831 +--------------------------
 fonts/fontforge/PLIST.Darwin                 |    2 -
 fonts/fontforge/distinfo                     |   12 +-
 fonts/fontforge/hacks.mk                     |   18 -
 fonts/fontforge/patches/patch-configure      |   96 ---
 fonts/fontforge/patches/patch-po_Makefile.in |   15 -
 7 files changed, 23 insertions(+), 1000 deletions(-)

diffs (truncated from 1112 to 300 lines):

diff -r 0fd21b786ba4 -r e5878fb9a95f fonts/fontforge/Makefile
--- a/fonts/fontforge/Makefile  Wed Sep 09 09:19:47 2020 +0000
+++ b/fonts/fontforge/Makefile  Wed Sep 09 10:32:08 2020 +0000
@@ -1,64 +1,40 @@
-# $NetBSD: Makefile,v 1.115 2020/08/17 20:18:41 leot Exp $
+# $NetBSD: Makefile,v 1.116 2020/09/09 10:32:08 wiz Exp $
 
-DISTNAME=      fontforge-20190801
-PKGREVISION=   5
+DISTNAME=      fontforge-20200314
 CATEGORIES=    fonts editors
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fontforge/}
 GITHUB_PROJECT=        fontforge
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      https://fontforge.github.io/
 COMMENT=       Postscript font editor
 LICENSE=       modified-bsd
 
-EXTRACT_USING= bsdtar
-
 USE_TOOLS+=    gmake msgfmt pkg-config xgettext
 USE_LANGUAGES= c c++11
-USE_LIBTOOL=   yes
-GNU_CONFIGURE= yes
+USE_CMAKE=     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
+CONFIGURE_DIRS+=       build
+CMAKE_ARGS+=           ..
 
-USE_PKGLOCALEDIR=      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/*
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../mk/bsd.prefs.mk"
+pre-configure:
+       ${MKDIR} ${WRKSRC}/build
 
-# Requires GNU date features
-.if ${OPSYS} == "SunOS"
-_TOOLS_USE_PKGSRC.date=        yes
-.endif
+# XXX msgfmt: unknown option -- xml
+_TOOLS_USE_PKGSRC.msgfmt=      yes
 
 .include "../../lang/python/application.mk"
-# Python38 needs use of pkgconfig python-3.8-embed
-.if ${PYPKGPREFIX} == "py38"
-EMBED=-embed
-.else
-EMBED=
-.endif
-SUBST_CLASSES+=                pkgconf
-SUBST_STAGE.pkgconf=   pre-configure
-SUBST_FILES.pkgconf=   configure
-SUBST_VARS.pkgconf=    EMBED
-
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../databases/shared-mime-info/mimedb.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
@@ -81,4 +57,5 @@
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0fd21b786ba4 -r e5878fb9a95f fonts/fontforge/PLIST
--- a/fonts/fontforge/PLIST     Wed Sep 09 09:19:47 2020 +0000
+++ b/fonts/fontforge/PLIST     Wed Sep 09 10:32:08 2020 +0000
@@ -1,834 +1,17 @@
-@comment $NetBSD: PLIST,v 1.36 2019/09/02 14:45:37 nia Exp $
+@comment $NetBSD: PLIST,v 1.37 2020/09/09 10:32:08 wiz Exp $
 bin/fontforge
 bin/fontimage
 bin/fontlint
 bin/sfddiff
-include/fontforge/PfEd.h
-include/fontforge/autowidth.h
-include/fontforge/autowidth2.h
-include/fontforge/baseviews.h
-include/fontforge/basics.h
-include/fontforge/bezctx_ff.h
-include/fontforge/bitmapcontrol.h
-include/fontforge/carbon.h
-include/fontforge/chardata.h
-include/fontforge/charset.h
-include/fontforge/delta.h
-include/fontforge/dlist.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/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
-include/fontforge/gdraw.h
-include/fontforge/gfile.h
-include/fontforge/ggadget.h
-include/fontforge/gicons.h
-include/fontforge/gimage.h
-include/fontforge/gio.h
-include/fontforge/gkeysym.h
-include/fontforge/glif_name_hash.h
-include/fontforge/glyphcomp.h
-include/fontforge/gprogress.h
-include/fontforge/gresedit.h
-include/fontforge/gresource.h
-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/lookups.h
-include/fontforge/mem.h
-include/fontforge/mm.h
-include/fontforge/namehash.h
-include/fontforge/nonlineartrans.h
-include/fontforge/ofl.h
-include/fontforge/prefs.h
-include/fontforge/print.h
-include/fontforge/psfont.h
-include/fontforge/savefont.h
-include/fontforge/scriptfuncs.h
-include/fontforge/scripting.h
-include/fontforge/sd.h
-include/fontforge/search.h
-include/fontforge/sfd1.h
-include/fontforge/sflayoutP.h
-include/fontforge/splinefont.h
-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/ustring.h
-include/fontforge/utype.h
-include/fontforge/views.h
-lib/libfontforge.la
-lib/libfontforgeexe.la
-lib/libgdraw.la
-lib/libgunicode.la
-lib/libgutils.la
-lib/pkgconfig/libfontforge.pc
-lib/pkgconfig/libfontforgeexe.pc
-${PYSITELIB}/fontforge.la
-${PYSITELIB}/psMat.la
+lib/libfontforge.so
+lib/libfontforge.so.4
+${PYSITELIB}/fontforge.so
+${PYSITELIB}/psMat.so
 man/man1/fontforge.1
 man/man1/fontimage.1
 man/man1/fontlint.1
 man/man1/sfddiff.1
-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
-share/doc/fontforge/AmbrosiaFV-bm.png
-share/doc/fontforge/AmbrosiaFV.png
-share/doc/fontforge/Anna.gif
-share/doc/fontforge/Antigone.gif
-share/doc/fontforge/As.png
-share/doc/fontforge/BASEdlg.png
-share/doc/fontforge/BASEfeat.png
-share/doc/fontforge/BASElang.png
-share/doc/fontforge/BDFgrey.html
-share/doc/fontforge/BethSans.png
-share/doc/fontforge/BethSerif.png
-share/doc/fontforge/BexpandBigSerifs.png
-share/doc/fontforge/BexpandCJK.png
-share/doc/fontforge/BexpandLCG.png
-share/doc/fontforge/BexpandLCGsquish.png
-share/doc/fontforge/Big5.txt
-share/doc/fontforge/BitmapReference.png
-share/doc/fontforge/BitmapView.png
-share/doc/fontforge/BoldHiraDA.png
-share/doc/fontforge/BottomSerif.png
-share/doc/fontforge/Bperspective.png
-share/doc/fontforge/C1.png
-share/doc/fontforge/C10.png
-share/doc/fontforge/C2.png
-share/doc/fontforge/C3.png
-share/doc/fontforge/C4.png
-share/doc/fontforge/C5.png
-share/doc/fontforge/C6.png
-share/doc/fontforge/C7.png
-share/doc/fontforge/C8.png
-share/doc/fontforge/C9.png
-share/doc/fontforge/CaslonOriginality.png
-share/doc/fontforge/ChangeGlyph1Dlg.png
-share/doc/fontforge/ChangeGlyph2Dlg.png
-share/doc/fontforge/ChangeGlyph3Dlg.png
-share/doc/fontforge/ChangeWeight.png
-share/doc/fontforge/ChangeXHeightDlg.png
-share/doc/fontforge/CharPrint.png
-share/doc/fontforge/ClippedA.png
-share/doc/fontforge/ClippedARaster.png
-share/doc/fontforge/CondenseExtend.png
-share/doc/fontforge/Constrain1_1.png
-share/doc/fontforge/Constrain1_2.png
-share/doc/fontforge/Constrain2_1.png
-share/doc/fontforge/Constrain2_2.png
-share/doc/fontforge/Cspirals.png
-share/doc/fontforge/Cspiro0.png
-share/doc/fontforge/Cspiro1.png
-share/doc/fontforge/Cspiro10.png
-share/doc/fontforge/Cspiro2.png
-share/doc/fontforge/Cspiro3.png
-share/doc/fontforge/Cspiro4.png
-share/doc/fontforge/Cspiro5.png
-share/doc/fontforge/Cspiro6.png
-share/doc/fontforge/Cspiro6_5.png
-share/doc/fontforge/Cspiro7.png
-share/doc/fontforge/Cspiro8.png
-share/doc/fontforge/Cspiro9.png
-share/doc/fontforge/CyrilItalicComp.png
-share/doc/fontforge/DisplayFonts.png
-share/doc/fontforge/Eback.png
-share/doc/fontforge/EbackTtf.png
-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
-share/doc/fontforge/FFsfd32.png
-share/doc/fontforge/FVHMetrics.png
-share/doc/fontforge/FVVMetrics.png
-share/doc/fontforge/FlatSerif.png
-share/doc/fontforge/FontDisplay.png
-share/doc/fontforge/FontForge.css
-share/doc/fontforge/FontForgeSplash.png
-share/doc/fontforge/FontImage.png
-share/doc/fontforge/FontSample.png
-share/doc/fontforge/GButton.png
-share/doc/fontforge/GCancelButton.png
-share/doc/fontforge/GComboBox.png
-share/doc/fontforge/GComboBoxMenu.png
-share/doc/fontforge/GDefaultButton.png
-share/doc/fontforge/GDropList.png
-share/doc/fontforge/GLabel.png
-share/doc/fontforge/GListMark.png
-share/doc/fontforge/GMatrixEdit.png
-share/doc/fontforge/GNumericField.png
-share/doc/fontforge/GNumericFieldSpinner.png
-share/doc/fontforge/GRadio.png
-share/doc/fontforge/GSUB-Order.png
-share/doc/fontforge/GTextField.png
-share/doc/fontforge/GenerateFamily.png
-share/doc/fontforge/GenerateOptions.png
-share/doc/fontforge/GenerateTTC.png
-share/doc/fontforge/GlossaryFS.html
-share/doc/fontforge/GlossaryFrame.html
-share/doc/fontforge/GlyphSep-To.png
-share/doc/fontforge/GlyphSep-rectangles.png
-share/doc/fontforge/GradientDlg.png
-share/doc/fontforge/GridFit.png
-share/doc/fontforge/GridFitM.png
-share/doc/fontforge/H-bm.png
-share/doc/fontforge/H-gm.png
-share/doc/fontforge/HI.hints.png
-share/doc/fontforge/HI.nohints.png
-share/doc/fontforge/HebrewMetrics.png
-share/doc/fontforge/HebrewSerifs.png
-share/doc/fontforge/Hints.png
-share/doc/fontforge/HotKeys.html
-share/doc/fontforge/IndexFS.html
-share/doc/fontforge/IndexFrame.html



Home | Main Index | Thread Index | Old Index