Hello community,
here is the log from the commit of package libfreehand for
openSUSE:Leap:15.2:SLE-workarounds checked in at 2020-03-05 11:11:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:SLE-workarounds/libfreehand (Old)
and /work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.libfreehand.new.26092
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfreehand"
Thu Mar 5 11:11:13 2020 rev:1 rq: version:0.1.2
Changes:
--------
New Changes file:
--- /dev/null 2019-12-19 10:12:34.003146842 +0100
+++
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.libfreehand.new.26092/libfreehand.changes
2020-03-05 11:11:14.506199476 +0100
@@ -0,0 +1,75 @@
+-------------------------------------------------------------------
+Thu Feb 20 10:09:45 UTC 2020 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Fix build with icu 65.1: [bsc#1164434]
+ * Add libfreehand-icu-build-fix.patch
+
+-------------------------------------------------------------------
+Sat Sep 16 11:56:19 UTC 2017 - [email protected]
+
+- Version update to 0.1.2:
+ * Fix several hangs and leaks when reading damaged files found with the
+ help of american-fuzzy-lop.
+ * Fix build with recent clang.
+ * Make --help output of all command-line tools more help2man-friendly.
+ * Require C++11 for build.
+ * Parse more features:
+ * text on path
+ * more text attributes
+ * stroke patterns
+ * arrows
+ * paragraph attributes
+ * custom line and fill styles
+ * text effects
+ * Write correct rotation center of a textbox.
+ * Fix an issue found by oss-fuzz.
+ * Fix several issues found by Coverity.
+ * Various code cleanups and other small improvements.
+
+-------------------------------------------------------------------
+Thu Jun 11 15:22:31 UTC 2015 - [email protected]
+
+- Upgrade to upstream version 0.1.1
+ * drastical improvement of all features
+ - fills
+ - strokes
+ - embedded images
+ - embedded text
+ * output of visible elements only in right place on the canvas
+ * coverage from Freehand 3.0 to Freehand 11
+- Add build dependency on icu and lcms2
+
+-------------------------------------------------------------------
+Wed Aug 13 12:21:21 UTC 2014 - [email protected]
+
+- Fix source url.
+
+-------------------------------------------------------------------
+Mon May 26 09:45:24 UTC 2014 - [email protected]
+
+- Upgrade to upstream version 0.1.0
+ * ABI change
+ * Remove dependency on libwpd-devel and libwpg-devel
+ * Add dependency on librevenge-devel
+
+-------------------------------------------------------------------
+Sat Jan 18 15:05:11 UTC 2014 - [email protected]
+
+- build with -fvisibility-inlines-hidden, modest reduction
+ in the exported symbol table as the library is already small.
+
+-------------------------------------------------------------------
+Fri Nov 1 10:11:04 UTC 2013 - [email protected]
+
+- visio -> freehand typo.
+
+-------------------------------------------------------------------
+Fri Nov 1 09:03:45 UTC 2013 - [email protected]
+
+- Acutally package all content and make it build.
+
+-------------------------------------------------------------------
+Fri Nov 1 08:57:36 UTC 2013 - [email protected]
+
+- Initial commit of freehand library. To be used in libo-4.2.
+
New:
----
libfreehand-0.1.2.tar.xz
libfreehand-icu-build-fix.patch
libfreehand.changes
libfreehand.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libfreehand.spec ++++++
#
# spec file for package libfreehand
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define libname libfreehand-0_1-1
Name: libfreehand
Version: 0.1.2
Release: 0
Summary: Library for import of FreeHand drawings
License: MPL-2.0
Group: Productivity/Publishing/Word
Url: http://www.freedesktop.org/wiki/Software/libfreehand
Source0:
http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM libfreehand-icu-build-fix.patch: fix build with icu 65.1.
Patch0: libfreehand-icu-build-fix.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gperf
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cppunit)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(librevenge-0.0)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
%description
Libfreehand is library providing ability to interpret and import
Adobe/Macromedia
drawings into various applications. You can find it being used in libreoffice.
%package -n %{libname}
Summary: Library for parsing the Adobe/Macromedia drawings
Group: System/Libraries
%description -n %{libname}
Libfreehand is library providing ability to interpret and import
Adobe/Macromedia
drawings into various applications. You can find it being used in libreoffice.
%package devel
Summary: Files for Developing with libfreehand
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
Libfreehand is library providing ability to interpret and import
Adobe/Macromedia
drawings into various applications. You can find it being used in libreoffice.
This package contains the libfreehand development files.
%package devel-doc
Summary: Documentation for the libfreehand API
Group: Documentation/HTML
BuildArch: noarch
%description devel-doc
This package contains documentation for the libfreehand API.
%package tools
Summary: Tools to work with Adobe/Macromedia drawings
Group: Productivity/Publishing/Word
%description tools
This package contains tools to work with Adobe/Macromedia drawings.
%prep
%setup -q
%patch0 -p1
%build
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
%configure \
--disable-silent-rules \
--disable-werror \
--disable-static \
--docdir=%{_docdir}/%{name}-devel/html
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
cp -p AUTHORS COPYING ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
%fdupes -s %{buildroot}
%check
make %{?_smp_mflags} check
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%{_libdir}/*.so.*
%files devel
%doc %dir %{_docdir}/%{name}-devel/
%doc %{_docdir}/%{name}-devel/[A-Z]*
%{_libdir}/*.so
%{_libdir}/pkgconfig/lib*.pc
%{_includedir}/%{name}-*
%files devel-doc
%doc %{_docdir}/%{name}-devel/html/
%files tools
%doc AUTHORS COPYING ChangeLog
%{_bindir}/*
%changelog
++++++ libfreehand-icu-build-fix.patch ++++++
>From af3197f795625f5188602073205a34369698b6df Mon Sep 17 00:00:00 2001
From: Heiko Becker <[email protected]>
Date: Fri, 4 Oct 2019 01:46:12 +0200
Subject: [PATCH] Add missing semicolon to fix build with icu 65.1
Change-Id: I7a0b0d600e9f7770245a7485813a944bfac4f088
Reviewed-on: https://gerrit.libreoffice.org/80224
Reviewed-by: Miklos Vajna <[email protected]>
Tested-by: Miklos Vajna <[email protected]>
---
src/lib/libfreehand_utils.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/libfreehand_utils.cpp b/src/lib/libfreehand_utils.cpp
index 439c457..32f23e0 100644
--- a/src/lib/libfreehand_utils.cpp
+++ b/src/lib/libfreehand_utils.cpp
@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString
&text, std::vector<unsigne
while (j < length)
{
UChar32 c;
- U16_NEXT(s, j, length, c)
+ U16_NEXT(s, j, length, c);
unsigned char outbuf[U8_MAX_LENGTH+1];
int i = 0;
U8_APPEND_UNSAFE(&outbuf[0], i, c);
--
2.23.0