diff --git a/20200505.tar.gz b/20200505.tar.gz deleted file mode 100644 index c08b916..0000000 --- a/20200505.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00be530b5c0ea9274baadf6c05521f0b192d4c3c1db636ac8b08efd44aaea8f5 -size 98636 diff --git a/20221101.tar.gz b/20221101.tar.gz new file mode 100644 index 0000000..f138427 --- /dev/null +++ b/20221101.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5d8af0648e33fe2344c41824823974a32c4e880c4ae9d846ec4414836a421c4 +size 107796 diff --git a/libspiro.changes b/libspiro.changes index b7730fd..3207c54 100644 --- a/libspiro.changes +++ b/libspiro.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu Dec 8 20:28:06 UTC 2022 - Dirk Müller + +- update to 20221101: + * Bugfix - removed forgotten if-then code used with scaling tests. + Majority of users won't notice a difference since most FontForge + fonts are created in the +x,+y quadrant. Users that might see a + change/difference are users drawing only in the -x, -y quadrant. + * Enhanced libspiro to allow closed-loop spiros starting with '[' + or 'a' by seeking the first available 'v', 'c', or 'o' as start, + which may be found later in the spiro curve. This was the least + modification needed to allow call-test10 or call-test11 to pass. + * Due to confusion created when ppedit was also re-licensed as MIT + APACHE and GPL2+, it's necessary to re-clarify libspiro is GPL3+. + In summary, GPL can include MIT code, MIT code cannot accept GPL. + Please note code not in ppedit like libspiro's java is GNU GPL2+. + Please note that libspiro's improvements or patches are also GPL. + * Thanks to orbea for bugfixes concerning linking and linker flags, + and removing .libs from linker path (some linkers don't like it). + * Added more commenting in spiroentrypoints.h to clarify functions. + * Reconfigured code to avoid exporting bezctx_intf.h since this is + supposed to be internal to libspiro and not for external calling. + * Also added https://gcc.gnu.org/wiki/Visibility to reduce exports. + * SPIRO_INTERNAL_BEZCTX and call-test21.c added for simpler method + of accessing libspiro for programs that only need the end result. + * Test added for 'a','h' to ensure points don't overlap, else exit. + ------------------------------------------------------------------- Sat Aug 15 21:50:34 UTC 2020 - Dirk Mueller diff --git a/libspiro.spec b/libspiro.spec index ecd718b..e4723aa 100644 --- a/libspiro.spec +++ b/libspiro.spec @@ -1,7 +1,7 @@ # # spec file for package libspiro # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,18 @@ %define sonum 1 Name: libspiro -Version: 20200505 +Version: 20221101 Release: 0 Summary: A clothoid to bezier spline converter -License: GPL-2.0-or-later +License: GPL-3.0-or-later Group: System/Libraries -Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz URL: https://github.com/fontforge/libspiro -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig %description libspiro contains routines which will convert an array of clothoid @@ -47,13 +46,13 @@ spline control points into an equivalent set of bezier control points. %package devel Summary: Development Files for %{name} Group: Development/Libraries/C and C++ -Requires: %{name}1 = %{version} glibc-devel +Requires: %{name}1 = %{version} +Requires: glibc-devel %description devel This package contains all necessary include files and libraries needed to compile and develop applications that use %{name}. - %prep %setup -q @@ -62,25 +61,24 @@ autoreconf -i automake --foreign -Wall %configure --with-pic\ --disable-static -make %{?smp_mflags} +%make_build %install -%makeinstall -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{name}%{sonum} -p /sbin/ldconfig - %postun -n %{name}%{sonum} -p /sbin/ldconfig %files -n %{name}%{sonum} %license COPYING -%doc ChangeLog README* +%doc ChangeLog README* %{_libdir}/lib*.so.* %files devel %{_includedir}/* %{_libdir}/*.so -%{_mandir}/man3/libspiro.3* +%{_mandir}/man3/libspiro.3%{?ext_man} %{_libdir}/pkgconfig/*.pc %changelog