Accepting request 1060348 from devel:libraries:c_c++
- 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. (forwarded request 1060006 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/1060348 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libspiro?expand=0&rev=10
This commit is contained in:
commit
bf4984d852
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:00be530b5c0ea9274baadf6c05521f0b192d4c3c1db636ac8b08efd44aaea8f5
|
|
||||||
size 98636
|
|
BIN
20221101.tar.gz
(Stored with Git LFS)
Normal file
BIN
20221101.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 8 20:28:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Sat Aug 15 21:50:34 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libspiro
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,19 +18,18 @@
|
|||||||
|
|
||||||
%define sonum 1
|
%define sonum 1
|
||||||
Name: libspiro
|
Name: libspiro
|
||||||
Version: 20200505
|
Version: 20221101
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A clothoid to bezier spline converter
|
Summary: A clothoid to bezier spline converter
|
||||||
License: GPL-2.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz
|
|
||||||
URL: https://github.com/fontforge/libspiro
|
URL: https://github.com/fontforge/libspiro
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source0: https://github.com/fontforge/libspiro/archive/%{version}.tar.gz
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libspiro contains routines which will convert an array of clothoid
|
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
|
%package devel
|
||||||
Summary: Development Files for %{name}
|
Summary: Development Files for %{name}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}1 = %{version} glibc-devel
|
Requires: %{name}1 = %{version}
|
||||||
|
Requires: glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
to compile and develop applications that use %{name}.
|
to compile and develop applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -62,14 +61,13 @@ autoreconf -i
|
|||||||
automake --foreign -Wall
|
automake --foreign -Wall
|
||||||
%configure --with-pic\
|
%configure --with-pic\
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %{name}%{sonum} -p /sbin/ldconfig
|
%post -n %{name}%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}%{sonum} -p /sbin/ldconfig
|
%postun -n %{name}%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}%{sonum}
|
%files -n %{name}%{sonum}
|
||||||
@ -80,7 +78,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_mandir}/man3/libspiro.3*
|
%{_mandir}/man3/libspiro.3%{?ext_man}
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user