fontforge/get-source.sh

28 lines
647 B
Bash
Raw Normal View History

#!/bin/sh
#
# repack source -- delete libX11-*.noarch.rpm from there; see bug #926061
#
VERSION=$1
if [ -z $VERSION ]; then
echo "usage: $0 date_version"
echo "example: $0 20150330"
exit 1
fi
wget "https://github.com/fontforge/fontforge/archive/$VERSION.tar.gz"
tar xf $VERSION.tar.gz
pushd fontforge-$VERSION
# do not depend on git
git clone https://github.com/troydhanson/uthash
git clone --depth 1 https://github.com/coreutils/gnulib.git gnulib
# remove not shippable files (bug 926061)
Accepting request 794956 from home:alarrosa:branches:M17N - Update to version 20200314: * 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. * Remove overlap handles certain important edge cases better. * The Python API now has a function called genericGlyphChange that matches the "Change Glyph" command in the GUI. See #4133 for more details. * The Python API now has functions for getting Unicode script and for interrogating glyph boundaries. * One can now use text flags (rather than just numerical flags) when opening a font file via the Python API. * UFO import now outputs the note field properly. * SVG import is much more robust. * 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. * 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. * Translations now happen on crowdin, which makes contributions easier. OBS-URL: https://build.opensuse.org/request/show/794956 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=74
2020-04-20 18:12:31 +02:00
# rm win/gold/libX11-*.noarch.rpm
popd
tar cJf fontforge-$VERSION-repacked.tar.xz fontforge-$VERSION
rm -rf fontforge-$VERSION
rm $VERSION.tar.gz