Commit Graph

35 Commits

Author SHA1 Message Date
Wang Mingyu fa1b1dc276 libspiro: upgrade 20221101 -> 20240903
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:37 -07:00
Alexandre Truong eae862b66f libspiro: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix
UNKNOWN_BROKEN status from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:41 -07:00
Alexander Kanavin b46ee0ca65 fontforge: add a readline PACKAGECONFIG
This helps with build determinism; also if readline is not in sysroot
but readline-native is, fontforge erroneously decides to build with it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:47 -08:00
alperak 1497396bfa libspiro: upgrade 20200505 -> 20221101
Changelog:

* bugfix - forgot to remove (1-liner) test code. This will not affect users drawing fonts (fonts are mainly in the +x,+y quadrant).
  This is likely going to affect users using drawing programs since these are equally likely using +/-x and +/-y quadrants.
  Test code introduced during 2017-10-22 and forgotten to get removed before release 20190731.
  This 'bug' affects releases 20190731, 20200505 and 20220722 and is recommended to upgrade to libspiro 20221101 for drawing programs.
* Added ability to start spiros with type '[' or 'a', as long as there is a 'v', 'c', or 'o' in the list of points.
* Thanks to orbea, bugfixes LIBADD for linker flags instead of LDFLAGS, and removed .libs from linker paths (these fixes help other linkers which need more rigid requirements).
* Removed 'make test' and added some Maintenance info for 'make check'. Closes issue #30
* Implemented in https://gcc.gnu.org/wiki/Visibility to help reduce symbol table and exports.
* More info added to spiroentrypoints.h to help developers.
* New method added to libspiro. example code shown in tests/call-test21.c which uses ncq definition SPIRO_INTERNAL_BEZCTX and two associated functions.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-05 10:10:20 -08:00
Khem Raj 7554afa9b3 fontforge: Fix build with gettext 0.22
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 12:41:23 -07:00
Wang Mingyu 3cb99aebf8 fontforge: upgrade 20220308 -> 20230101
0001-cmake-Use-alternate-way-to-detect-libm.patch
refreshed for newversion.

Changelog:
==========
    Display the block name for reserved code points by4934
    Don't respond to wheel scrolls for buttons/tabsets by4940
    gfilechooser.c: fix behaviour when changing file type by4939
    Better control-drag handling for line-adjacent points by4945
    Fix resolution of program root by4956
    Fix missed nonextcp edit by4958
    Support ToUnicode extraction from PDFs for Type3 fonts by4961
    Add resource file and Windows application manifest by4950
    Fix name extraction for Type3 fonts from pdfs by4960
    cmake: Install fonttools and pycontrib by4941
    Fix InfoPlist.strings file name. by4962
    Fix normalisation of absolute paths by4963
    Handle non-array cm transforms while reading graphics stream from PDFs by4965
    Fix rect extraction from graphics stream for type3 fonts by4967
    Change which lookup types are suggested for jamo features by4994
    Better line handling in simplify by4981
    Use 'cmap' for Adobe-Identity-0 CID fonts by4993
    Fix ChangeGlyph calcluations relative to new nonext/prevcp conventions by4979
    Docs composite glyph by4971
    FVSplineFontPieceMeal: Check that the clut is present before applying conversion by4999
    Expand the lists of languages and scripts by4982
    Add flags to Python font.transform() by4980
    Support setting SplineChar width from importOutlines. by5005
    Undefine "extended" macro temporarily on GNU Hurd by5047
    Define PATH_MAX and MAXPATHLEN for GNU/Hurd compatibility by5046
    Fix Ascent & Descent Importing from SVG Font by5035
    Prevent floating point shenanigans in loop termination (fixes #5012) by5013
    GroupFindLPos() in fontforgeexe/groupsdlg.c null pointer fix by5025
    Fix drawing outside of expose calls by4949
    Fixed one more typo by5055
    Upgrade GitHub Actions by5014
    Prevents memory underflow in GFileMimeType() in gutils/fsys.c by5018
    Add a preference for saving editor state by5044
    splineutil.c: prevent hang on nan input by5058
    Shell-quote command sent to compressor in BDF by5060
    Fix pfadecrypt bugs by5074
    Include SFDUTF7 functions in libfontforge.so by5078
    splinefit.c: Improvements to merge/simplify by5095
    RFE: [FEAT] When reference to non-existent glyphs are present in an OpenTy by4097
    docs: Python scripting - update font.mergeFeature with details of boo by5107
    Fix logic for CharString double-movetos after PR 4685 by5120
    Upgrade to Unicode 15.0.0 and fix and expand the script lists by5110
    Fix broken link on scripting page by5135
    Fix typo in man page by5106
    Fix painting behaviour of the ruler linger window and layer change dialog by5163
    fontinfo.c: fix crash from uninitialised other_pos by5165
    tottfgpos: Fix needless warning about 16-bit field by5136
    ufo.c: emit guidelines key by5166
    fvmetrics.c: partial revert of 1033bc6 by5167
    Update tranlsations from Crowdin by5168
    Fix woff2 decoding by5160
    Record unicode cmap encodings when one glyph is in multiple slots by4586

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-04 15:33:58 -08:00
Khem Raj aac23a0407 fontforge: Inherit python3targetconfig
It currently ends up using native python3-config which adds native paths
to compiler includes which is not what we want.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-03 08:11:30 -08:00
Khem Raj cd14aec054 fontforge: Use alternate way to detect libm
libm is folded into libc in latest glibc and build fails to detect
it with given cmake mechanism, therefore use slighly different mechanism
which work on hosts with or without libm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 16:03:33 -07:00
Khem Raj 8527047909 fontforge: Upgrade to 20220308
Switch build system to cmake
Add patch to avoid hardcoding build paths in scripts
Forward port musl patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 05:00:25 -07:00
Khem Raj 69c05e1ae9 libspiro: Add recipe
Needed by recent fontforge

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-06 05:00:25 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Khem Raj a133111e69 recipes: Fix override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 2b67b882ee fontforge: Link with libpython3
Helps building with python3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:35 -08:00
Andreas Müller 83f8750081 fontforge: add mime-xdg to inherit
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19 02:20:59 -08:00
Andreas Müller 1cc86099a8 fontforge: rework for python3
* python3native is necessary because configure asks for version. If it uses
  host's version python modules might be installed in wrong paths
* checked: ${PN}-python is packed properly
* while at it remove uneccessary (wrong) line: there is no ${PN}-python-dbg

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 15:44:06 -08:00
Denys Dmytriyenko 4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Khem Raj 233d3b20c5 fontforge: Upgrade to 20190801 release
License-Update: Dropped plugins [1] and gnulib [2]

- Add a fix for musl build to include sys/select.h
- gnulib dependency is not needed anymore
- Disable libuninameslist, recipe is missing in OE

[1] https://github.com/fontforge/fontforge/commit/ed62345e3ad7484cd0bf714f5ef9c7012dad157c#diff-9879d6db96fd29134fc802214163b95a

[2] https://github.com/fontforge/fontforge/commit/51c045a09804c20725527878c753df6ba96dafa8#diff-9879d6db96fd29134fc802214163b95a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-30 16:54:51 -07:00
Andreas Müller da77cc1dca fontforge: upgrade 20170731 -> 20190413
* Features added and bugs fixed. For more information see [1]
* add gtk-icon-cache mime to inherit

[1] https://github.com/fontforge/fontforge/releases

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-06 08:32:04 -07:00
Andreas Müller a6210af06b fontforge: Fix multilib / lib32 packaging
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:45:53 -08:00
Hongxu Jia 4f74d29855 fontforge: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Martin Jansa 6f536298c1 fontforge: explicitly depend on gettext-native
* fixes:
  Making all in po
  make[2]: Entering directory
  `TOPDIR/BUILD/work/x86_64-linux/fontforge-native/20170731-r0/build/po'
  msgfmt --check --output-file=ca.mo ../../git/po/ca.po
  msgfmt --check --output-file=el.mo ../../git/po/el.po
  msgfmt --check --output-file=es.mo ../../git/po/es.po
  msgfmt --check --output-file=it.mo ../../git/po/it.po
  /bin/bash: msgfmt: command not found
  /bin/bash: msgfmt: command not found
  /bin/bash: msgfmt: command not found
  /bin/bash: msgfmt: command not found
  make[2]: *** [ca.mo] Error 127
  make[2]: *** Waiting for unfinished jobs....
  make[2]: *** [el.mo] Error 127
  make[2]: *** [es.mo] Error 127
  make[2]: *** [it.mo] Error 127
  make[2]: Leaving directory
  `TOPDIR/BUILD/work/x86_64-linux/fontforge-native/20170731-r0/build/po'

* as Ross explained:
  needs explicit dependency on gettext-native
  native disables NLS so just has gettext-minimal-native in the depends

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-26 17:30:31 -08:00
Wenzong Fan d5e04a6b28 fontforge: update to 20170731 to fix CVEs
Fixed CVEs & Issues:
  CVE-2017-11577: #3088
  CVE-2017-11576: #3091
  CVE-2017-11575: #3096
  CVE-2017-11574: #3090
  CVE-2017-11572: #3092
  CVE-2017-11571: #3087
  CVE-2017-11569: #3093
  CVE-2017-11568: #3089

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:04:13 +02:00
Andreas Müller 936654143a fontforge: update 20150824 -> 20161012
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-23 23:22:26 +01:00
Andreas Müller a369df8795 fontforge: add gettext to inherit and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-23 23:22:26 +01:00
Martin Jansa b7f480cc4c python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist
* fails repeatedly as reported in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:44:34 +01:00
Hongxu Jia 8cb799e570 fontforge-native: support python module
>>> import fontforge

The python module is required by lohit.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:58 +02:00
Andreas Müller 5ec8663e20 fontforge: add back gnulib to DEPENDS
commit 00ec8bc10d
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date:   Sun May 8 15:08:12 2016 -0400

    autotools-bootstrap: make bootstrap package specific.

removed this dependency causing:

ERROR: fontforge-20150824-r0 do_configure: Function failed: do_configure (log file is located at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/log.do_configure.26234)
ERROR: Logfile of failure stored in: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/log.do_configure.26234
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/share/gnulib': No such file or directory
| WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/run.do_configure.26234:1 exit 1 from 'cp -rf /home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/share/gnulib /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/git'
| ERROR: Function failed: do_configure (log file is located at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/fontforge/20150824-r0/temp/log.do_configure.26234)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-27 15:39:14 +02:00
Paul Gortmaker 00ec8bc10d autotools-bootstrap: make bootstrap package specific.
The theory behind this bbclass was reasonable, with the primary
goal being to avoid multiple downloads of gnulib, but it neglected
the fact that packages would be shipping a specific version of the
./bootstrap which will support some flags but maybe not all the
latest ones from the latest gnulib/build-aux/bootstrap file.

I attempted to simply update the two pkgs to use the latest copy
of bootstrap from gnulib but this of course triggers the descent
into autoconf hell that we all know and love.  Rather than futzing
with the packages configure.ac and deviating from what the pkg
maintainers intended and tested, we can just let the packages have
independent calls to ./bootstrap with whatever flags are needed.

The goal of this commit is to move the prepend out to the packages
and then delete the class without any real functional change ; i.e.
a purely mechanical change.  Then we can adjust each package to
ensure it will still build with a modern host, in an independent
fashion, while keeping the main advantage of not fetching gnulib
two extra times for netcf and fontforge.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-05-12 11:53:30 -04:00
Andreas Müller f0226de025 fontforge: avoid cloning uthash during do_compile
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2015-11-06 17:49:37 +01:00
Andreas Müller 9a8268fbd5 fontforge: use autotools-bootstrap.bbclass
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2015-11-06 17:49:36 +01:00
Andreas Müller de033e18d1 fontforge: update to 20150824
* LICENSE was rewrittem stating out more clearly that huge parts were initially
  licensed under BSD clause 3 - so add that licence.
* Follow suggestion not to use github release tarballs [1] and use git as
  source.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2015-August/102843.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-08 16:18:34 +02:00
Martin Jansa 1096c5e4ae fontforge: add x11 to REQUIRED_DISTRO_FEATURES for target build which depends on libxi
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-16 21:09:09 +02:00
Andreas Müller 355ac80dfc fontforge: add 20141126
Have this recipe in my meta-qt5-extra but would be happy to get it under the
hood of Martin's world.

It started with the native part to build kde's oxygen-fonts but maybe somebody
likes to have it on target.

Tested native part by gazillions of builds / target part in xfce environment.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2015-05-28 10:35:14 +02:00