Allow potrace as an alternative to autotrace

Both autotrace and potrace are supported for bitmap to vector graphics
conversion.  For flatpaks, potrace is preferred because it is standalone
compared to autotrace which (through ImageMagick and pstoedit) has a
large dependency tree.
This commit is contained in:
Yaakov Selkowitz 2023-08-07 22:36:50 -04:00
parent 92fda056ca
commit da3ade2e6a

View File

@ -2,7 +2,7 @@
Name: fontforge Name: fontforge
Version: 20230101 Version: 20230101
Release: 6%{?dist} Release: 7%{?dist}
Summary: Outline and bitmap font editor Summary: Outline and bitmap font editor
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -12,7 +12,7 @@ Source0: https://github.com/fontforge/%{name}/archive/%{version}.tar.gz#/
Patch0: 0001-Fix-errors-in-French-and-Italian-translations.patch Patch0: 0001-Fix-errors-in-French-and-Italian-translations.patch
Requires: xdg-utils Requires: xdg-utils
Requires: autotrace Requires: (autotrace or potrace)
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -126,6 +126,9 @@ popd
%doc %{_pkgdocdir} %doc %{_pkgdocdir}
%changelog %changelog
* Tue Aug 08 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 20230101-7
- Allow potrace as an alternative to autotrace
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20230101-6 * Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20230101-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild