Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opentoonz for openSUSE:Factory checked in at 2021-04-24 23:08:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opentoonz (Old) and /work/SRC/openSUSE:Factory/.opentoonz.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opentoonz" Sat Apr 24 23:08:49 2021 rev:13 rq:887972 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opentoonz/opentoonz.changes 2021-04-12 15:49:54.469275271 +0200 +++ /work/SRC/openSUSE:Factory/.opentoonz.new.12324/opentoonz.changes 2021-04-24 23:10:01.171468315 +0200 @@ -1,0 +2,7 @@ +Fri Apr 23 08:03:09 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Use a _service file to exclude most of third party subfolders. + thirdparty/openblas contains unredistributable files and some + precompiled dll files are present in a couple other folders. + +------------------------------------------------------------------- Old: ---- _servicedata opentoonz-1.5.0.tar.gz New: ---- _service opentoonz-1.5.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opentoonz.spec ++++++ --- /var/tmp/diff_new_pack.7en9RW/_old 2021-04-24 23:10:01.923469378 +0200 +++ /var/tmp/diff_new_pack.7en9RW/_new 2021-04-24 23:10:01.927469385 +0200 @@ -23,7 +23,7 @@ License: BSD-2-Clause Group: Productivity/Graphics/Other URL: https://opentoonz.github.io/e/ -Source0: https://github.com/opentoonz/opentoonz/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.xz Source3: %{name}-rpmlintrc # PATCH-FIX-UPSTREAM Patch0: 0001-Fix-linker-errors-on-Linux.patch @@ -49,18 +49,18 @@ BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5OpenGL) BuildRequires: cmake(Qt5PrintSupport) -BuildRequires: cmake(Qt5SerialPort) BuildRequires: cmake(Qt5Script) +BuildRequires: cmake(Qt5SerialPort) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(liblz4) +BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libmypaint) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libusb-1.0) -BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(lzo2) BuildRequires: pkgconfig(mypaint-brushes-1.0) >= 1.3 %ifarch x86_64 @@ -83,12 +83,10 @@ %prep %autosetup -p1 -# Remove all thirdparty except tiff which is patched. -find thirdparty/* -maxdepth 0 ! -name "tiff-*" ! -name "lzo" ! -name "kiss_fft*" -type d -exec rm -r "{}" \; -# Keep thirdparty/lzo/driver, but remove library. -rm -r thirdparty/lzo/2.* - %build +# NOTE: Third party dependencies are dropped from the tarball thanks to the +# _service file. Only kissfft130, lzo/driver and tiff-4.0.3 shall be kept. + # TODO upstream planning to replace custom thirdparty libs with system versions cd thirdparty/tiff-* export CFLAGS="%{optflags} -fPIC" ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">git://github.com/opentoonz/opentoonz</param> <param name="revision">v1.5.0</param> <param name="versionformat">1.5.0</param> <!-- the openblas folder contains unredistributable files --> <param name="exclude">thirdparty/openblas</param> <!-- more thirdparty dependencies we don't need --> <param name="exclude">thirdparty/Lz4</param> <param name="exclude">thirdparty/glew</param> <param name="exclude">thirdparty/glut</param> <param name="exclude">thirdparty/libjpeg-turbo</param> <param name="exclude">thirdparty/libmypaint</param> <param name="exclude">thirdparty/libpng-1.6.21</param> <param name="exclude">thirdparty/libusb</param> <param name="exclude">thirdparty/superlu</param> <param name="exclude">thirdparty/zlib-1.2.8</param> <!-- thirdparty/lzo/driver is needed, but the 2.x subfolder can be dropped --> <param name="exclude">thirdparty/lzo/2.03</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services>
