head 1.6; access; symbols pkgsrc-2020Q2:1.5.0.2 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.4.0.4 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.6 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.2 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.3.0.18 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.16 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.14 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.12 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.10 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.8 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.6 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.4 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.2.0.10 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.8 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.6 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.4 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.2 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2020.09.09.10.32.08; author wiz; state dead; branches; next 1.5; commitid KNozn35MFDM5omnC; 1.5 date 2020.05.24.12.00.51; author markd; state Exp; branches; next 1.4; commitid kZtTiS2fGC4Ilu9C; 1.4 date 2019.09.02.14.45.37; author nia; state Exp; branches; next 1.3; commitid XCDgnA68YfOpMrBB; 1.3 date 2017.08.25.09.20.38; author adam; state Exp; branches; next 1.2; commitid 3RcizhVwlGeRHz4A; 1.2 date 2016.04.07.10.09.02; author adam; state Exp; branches; next 1.1; commitid y6qJHo3iFboScG1z; 1.1 date 2016.02.07.14.09.08; author adam; state Exp; branches; next ; commitid 9OrQQaP2fF7LsZTy; desc @@ 1.6 log @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. @ text @$NetBSD: patch-configure,v 1.5 2020/05/24 12:00:51 markd Exp $ Remove unsupported date argument. Python 3.8 requires different pkg_config call. --- configure.orig 2019-08-01 09:12:22.865001000 +0000 +++ configure @@@@ -21315,11 +21315,11 @@@@ if test -n "$PYTHON_CFLAGS"; then elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\"\${PYTHON_VERSION}\"\""; } >&5 - ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"") 2>&5 + ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"@@EMBED@@") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "python-"${PYTHON_VERSION}"" 2>/dev/null` + pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "python-"${PYTHON_VERSION}"@@EMBED@@" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@@@ -21332,11 +21332,11 @@@@ if test -n "$PYTHON_LIBS"; then elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\"\${PYTHON_VERSION}\"\""; } >&5 - ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"") 2>&5 + ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"@@EMBED@@") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "python-"${PYTHON_VERSION}"" 2>/dev/null` + pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "python-"${PYTHON_VERSION}"@@EMBED@@" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@@@ -21357,9 +21357,9 @@@@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-"${PYTHON_VERSION}"" 2>&1` + PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-"${PYTHON_VERSION}"@@EMBED@@" 2>&1` else - PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-"${PYTHON_VERSION}"" 2>&1` + PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-"${PYTHON_VERSION}"@@EMBED@@" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PYTHON_PKG_ERRORS" >&5 @@@@ -21384,11 +21384,11 @@@@ if test -n "$PYTHONDEV_CFLAGS"; then elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\"\${PYTHON_VERSION}\"\""; } >&5 - ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"") 2>&5 + ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"@@EMBED@@") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_PYTHONDEV_CFLAGS=`$PKG_CONFIG --cflags "python-"${PYTHON_VERSION}"" 2>/dev/null` + pkg_cv_PYTHONDEV_CFLAGS=`$PKG_CONFIG --cflags "python-"${PYTHON_VERSION}"@@EMBED@@" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@@@ -21401,11 +21401,11 @@@@ if test -n "$PYTHONDEV_LIBS"; then elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\"\${PYTHON_VERSION}\"\""; } >&5 - ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"") 2>&5 + ($PKG_CONFIG --exists --print-errors "python-"${PYTHON_VERSION}"@@EMBED@@") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_PYTHONDEV_LIBS=`$PKG_CONFIG --libs "python-"${PYTHON_VERSION}"" 2>/dev/null` + pkg_cv_PYTHONDEV_LIBS=`$PKG_CONFIG --libs "python-"${PYTHON_VERSION}"@@EMBED@@" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@@@ -21426,9 +21426,9 @@@@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - PYTHONDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-"${PYTHON_VERSION}"" 2>&1` + PYTHONDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-"${PYTHON_VERSION}"@@EMBED@@" 2>&1` else - PYTHONDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-"${PYTHON_VERSION}"" 2>&1` + PYTHONDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-"${PYTHON_VERSION}"@@EMBED@@" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PYTHONDEV_PKG_ERRORS" >&5 @@@@ -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 ${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')" @ 1.5 log @fontforge: python3.8 needs you to use the python3.8-embed pkg-config file. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2019/09/02 14:45:37 nia Exp $ @ 1.4 log @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 @ text @d1 1 a1 1 $NetBSD$ d4 1 d8 80 @ 1.3 log @20170731: This incorporates a large number of adjustments and fixes and adds packages for newer Ubuntu releases. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2016/04/07 10:09:02 adam Exp $ d3 1 a3 2 Portability fixes. Disable IPython modules. d5 1 a5 1 --- configure.orig 2017-07-31 08:30:42.386015000 +0000 d7 1 a7 30 @@@@ -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:- d12 1 a12 1 + FONTFORGE_DATE_OPTS="-j -r ${FONTFORGE_DATE_NOW}" @ 1.2 log @Changes 20160404: This fixes a number of bugs and crashes and adds a few small features. Most importantly, this release comes with a working Macintosh package. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2016/02/07 14:09:08 adam Exp $ d3 2 a4 2 Fix building on OS X. Portability fix. d6 1 a6 1 --- configure.orig 2016-04-05 01:57:34.000000000 +0000 d8 1 a8 9 @@@@ -15228,7 +15228,6 @@@@ $as_echo "#define __Mac 1" >>confdefs.h MACAPP="" fi - RAW_COMPILE_PLATFORM_CFLAGS=" $CFLAGS -arch x86_64 -arch i386 " @@@@ -19653,7 +19652,7 @@@@ fi d17 12 a28 1 @@@@ -35279,7 +35278,7 @@@@ fi d37 9 @ 1.1 log @Changes 20150824: This fixes a few bugs, including some in U. F. O. kerning classes and FreeType rasterization, and adds a Korean translation. @ text @d1 1 a1 1 $NetBSD$ d4 1 d6 1 a6 1 --- configure.orig 2016-02-07 11:36:39.000000000 +0000 d8 1 a8 1 @@@@ -15139,7 +15139,6 @@@@ $as_echo "#define __Mac 1" >>confdefs.h d16 10 a25 1 @@@@ -32762,7 +32761,7 @@@@ fi @