From 50dd0fbabe43e7a44f0e39b978b49e0fa0b4cb8acc4026838ad15d862d542cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 23:56:22 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main qt6-svg revision 54523cd3c15d47a7625415788f0efe4c --- .gitattributes | 23 +++ _multibuild | 4 + qt6-svg-rpmlintrc | 5 + qt6-svg.changes | 274 ++++++++++++++++++++++++++++++ qt6-svg.spec | 152 +++++++++++++++++ qtsvg-everywhere-src-6.6.1.tar.xz | 3 + 6 files changed, 461 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 qt6-svg-rpmlintrc create mode 100644 qt6-svg.changes create mode 100644 qt6-svg.spec create mode 100644 qtsvg-everywhere-src-6.6.1.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..46731da --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + docs + + diff --git a/qt6-svg-rpmlintrc b/qt6-svg-rpmlintrc new file mode 100644 index 0000000..978f771 --- /dev/null +++ b/qt6-svg-rpmlintrc @@ -0,0 +1,5 @@ +# using fdupes on include directories means looking for troubles +addFilter("files-duplicate .*") + +# library and development package names don't match +addFilter("no-dependency-on .*") diff --git a/qt6-svg.changes b/qt6-svg.changes new file mode 100644 index 0000000..3ba6e3f --- /dev/null +++ b/qt6-svg.changes @@ -0,0 +1,274 @@ +------------------------------------------------------------------- +Mon Nov 27 14:00:19 UTC 2023 - Christophe Marin + +- Update to 6.6.1: + * https://www.qt.io/blog/qt-6.6.1-released +- Drop patches, merged upstream: + * 0001-fix-nullptr-derefence-with-invalid-SVG.patch + * 0002-make-sure-we-do-not-load-invalid-SVGs-twice.patch + +------------------------------------------------------------------- +Mon Oct 16 14:40:42 UTC 2023 - Manfred Hollstein + +- Add patches (boo#1216269, QTBUG-117944): + * 0001-fix-nullptr-derefence-with-invalid-SVG.patch + * 0002-make-sure-we-do-not-load-invalid-SVGs-twice.patch + +------------------------------------------------------------------- +Tue Oct 10 09:40:01 UTC 2023 - Christophe Marin + +- Update to 6.6.0 + * https://www.qt.io/blog/qt-6.6-released + +------------------------------------------------------------------- +Thu Sep 28 07:34:22 UTC 2023 - Christophe Marin + +- Update to 6.5.3 + * https://www.qt.io/blog/qt-6.5.3-released + +------------------------------------------------------------------- +Thu Jul 20 09:07:19 UTC 2023 - Christophe Marin + +- Update to 6.5.2 + * https://www.qt.io/blog/qt-6.5.2-released-1 + +------------------------------------------------------------------- +Wed May 24 07:45:44 UTC 2023 - Christophe Marin + +- Update to 6.5.1 + * https://www.qt.io/blog/qt-6.5.1-released +- Drop patch, merged upstream: + * CVE-2023-32573-qtsvg-6.5.diff + +------------------------------------------------------------------- +Thu May 11 08:39:38 UTC 2023 - Christophe Marin + +- Add upstream change (boo#1211298, CVE-2023-32573): + * CVE-2023-32573-qtsvg-6.5.diff + +------------------------------------------------------------------- +Mon Apr 3 10:02:45 UTC 2023 - Christophe Marin + +- Update to 6.5.0 + * https://www.qt.io/blog/qt-6.5-lts-released + +------------------------------------------------------------------- +Thu Mar 16 10:00:09 UTC 2023 - Christophe Marin + +- Update to 6.4.3: + * https://www.qt.io/blog/qt-6.4.3-released + +------------------------------------------------------------------- +Fri Jan 6 16:46:52 UTC 2023 - Christophe Marin + +- Update to 6.4.2: + * https://www.qt.io/blog/qt-6.4.2-released + +------------------------------------------------------------------- +Tue Nov 15 11:53:24 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.1: + * https://www.qt.io/blog/qt-6.4.1-released + +------------------------------------------------------------------- +Thu Sep 29 10:36:06 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0: + * https://www.qt.io/blog/qt-6.4-released + +------------------------------------------------------------------- +Fri Sep 16 08:29:21 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0 RC + +------------------------------------------------------------------- +Fri Sep 9 12:41:48 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.2: + * https://www.qt.io/blog/qt-6.3.2-released + +------------------------------------------------------------------- +Fri Jun 17 15:15:37 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.1: + * https://www.qt.io/blog/qt-6.3.1-released + +------------------------------------------------------------------- +Fri Apr 8 11:57:01 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0: + * https://www.qt.io/blog/qt-6.3-released + +------------------------------------------------------------------- +Tue Mar 29 12:28:41 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0-rc + +------------------------------------------------------------------- +Mon Mar 21 08:46:39 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.4 + * https://www.qt.io/blog/qt-6.2.4-released + +------------------------------------------------------------------- +Mon Jan 31 08:54:54 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.3: + * https://www.qt.io/blog/qt-6.2.3-released + +------------------------------------------------------------------- +Wed Dec 1 10:06:28 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.2 + * https://www.qt.io/blog/qt-6.2.2-released +- Make sure all dependencies are present when installing devel + packages. Qt >= 6.2.2 is much less permissive. + +------------------------------------------------------------------- +Tue Oct 26 11:22:58 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.1 + * https://www.qt.io/blog/qt-6.2.1-released + + +------------------------------------------------------------------- +Thu Sep 30 12:30:18 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0: + * https://www.qt.io/blog/qt-6.2-lts-released + +------------------------------------------------------------------- +Sat Sep 25 07:18:43 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc2 + +------------------------------------------------------------------- +Thu Sep 16 14:08:05 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc + +------------------------------------------------------------------- +Thu Sep 9 14:05:28 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-beta4 + +------------------------------------------------------------------- +Wed Sep 1 13:03:51 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.3: + * https://www.qt.io/blog/qt-6.1.3-released + +------------------------------------------------------------------- +Fri Jul 2 14:08:19 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.2. New bugfix release: + * https://www.qt.io/blog/qt-6.1.2-released + +------------------------------------------------------------------- +Tue Jun 8 05:54:19 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.1: + * https://www.qt.io/blog/qt-6.1.1-released + +------------------------------------------------------------------- +Thu May 6 17:10:39 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0: + * https://www.qt.io/blog/qt-6.1-released + +------------------------------------------------------------------- +Fri Apr 23 14:11:42 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-rc. + +------------------------------------------------------------------- +Tue Apr 13 06:29:28 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta3. + +------------------------------------------------------------------- +Wed Mar 31 13:45:15 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.3 + * https://www.qt.io/blog/qt-6.0.3-released + +------------------------------------------------------------------- +Fri Mar 19 15:36:02 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta2 + +------------------------------------------------------------------- +Tue Mar 9 14:49:46 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta1 + https://www.qt.io/blog/qt-6.1-beta-released + +------------------------------------------------------------------- +Tue Mar 9 13:36:09 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.2: + https://www.qt.io/blog/qt-6.0.2-released + +------------------------------------------------------------------- +Wed Feb 3 17:29:08 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.1 + https://www.qt.io/blog/qt-6.0.1-released + +------------------------------------------------------------------- +Wed Dec 23 14:59:53 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + +------------------------------------------------------------------- +Sat Dec 12 18:11:00 UTC 2020 - Christophe Giboudeaux + +- Remove a debug line. + +------------------------------------------------------------------- +Tue Dec 8 14:09:30 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0: + * https://www.qt.io/blog/qt-6.0-released + +------------------------------------------------------------------- +Wed Dec 2 12:09:04 UTC 2020 - Christophe Giboudeaux + +- Qt 6.0.0 RC2 + +------------------------------------------------------------------- +Wed Nov 25 14:23:54 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~rc1 + +------------------------------------------------------------------- +Tue Nov 17 07:26:29 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta5 + +------------------------------------------------------------------- +Tue Nov 10 21:20:47 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta4 + +------------------------------------------------------------------- +Tue Oct 20 07:47:14 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0beta1 + https://www.qt.io/blog/qt-6.0-beta-released + +------------------------------------------------------------------- +Tue Oct 6 21:03:52 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0-alpha + https://www.qt.io/blog/qt-6.0-alpha-released + +------------------------------------------------------------------- +Fri May 8 09:12:05 UTC 2020 - Christophe Giboudeaux + +- Add undetected build requirements to the -devel package. + +------------------------------------------------------------------- +Fri Jan 31 01:08:42 UTC 2020 - Christophe Giboudeaux + +- Add qt6-svg diff --git a/qt6-svg.spec b/qt6-svg.spec new file mode 100644 index 0000000..909206e --- /dev/null +++ b/qt6-svg.spec @@ -0,0 +1,152 @@ +# +# spec file for package qt6-svg +# +# Copyright (c) 2023 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define real_version 6.6.1 +%define short_version 6.6 +%define tar_name qtsvg-everywhere-src +%define tar_suffix %{nil} +# +%global qt6_flavor @BUILD_FLAVOR@%{nil} +%if "%{qt6_flavor}" == "docs" +%define pkg_suffix -docs +%endif +# +Name: qt6-svg%{?pkg_suffix} +Version: 6.6.1 +Release: 0 +Summary: Classes for rendering and displaying SVG drawings +License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) +URL: https://www.qt.io +Source: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz +Source99: qt6-svg-rpmlintrc +BuildRequires: pkgconfig +BuildRequires: qt6-core-private-devel +BuildRequires: qt6-gui-private-devel +BuildRequires: qt6-widgets-private-devel +BuildRequires: cmake(Qt6Core) = %{real_version} +BuildRequires: cmake(Qt6Gui) = %{real_version} +BuildRequires: cmake(Qt6Widgets) = %{real_version} +BuildRequires: pkgconfig(zlib) +# Ignored: only used for building tests +# BuildRequires: cmake(Qt6Xml) +%if "%{qt6_flavor}" == "docs" +BuildRequires: qt6-tools +%{qt6_doc_packages} +%endif + +%description +The Qt SVG module provides classes for rendering and displaying SVG drawings +in widgets and on other paint devices. + +%if !%{qt6_docs_flavor} + +%package -n libQt6Svg6 +Summary: Qt 6 Svg library + +%description -n libQt6Svg6 +The Qt 6 Svg library. + +%package -n libQt6SvgWidgets6 +Summary: Qt 6 SVGWidgets library + +%description -n libQt6SvgWidgets6 +The Qt 6 SvgWidgets library. + +%package devel +Summary: Qt 6 SVG libraries - Development files +Requires: libQt6Svg6 = %{version} +Requires: libQt6SvgWidgets6 = %{version} +Requires: cmake(Qt6Gui) = %{real_version} +Requires: cmake(Qt6Widgets) = %{real_version} + +%description devel +Development files for the Qt 6 SVG libraries. + +%package private-devel +Summary: Non-ABI stable API for the Qt 6 SVG libraries +Requires: cmake(Qt6Svg) = %{real_version} +Requires: cmake(Qt6SvgWidgets) = %{real_version} +%requires_eq qt6-core-private-devel +%requires_eq qt6-gui-private-devel +%requires_eq qt6-widgets-private-devel + +%description private-devel +This package provides private headers of libQt6Svg that do not have any +ABI or API guarantees. + +%endif + +%prep +%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix} + +%build +%cmake_qt6 + +%{qt6_build} + +%install +%{qt6_install} + +%if !%{qt6_docs_flavor} + +# No private headers for Qt6SvgWidgets +rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_svgwidgets_private.pri + +%ldconfig_scriptlets -n libQt6Svg6 +%ldconfig_scriptlets -n libQt6SvgWidgets6 + +%files -n libQt6Svg6 +%license LICENSES/* +%dir %{_qt6_pluginsdir}/iconengines +%dir %{_qt6_pluginsdir}/imageformats +%{_qt6_pluginsdir}/iconengines/libqsvgicon.so +%{_qt6_pluginsdir}/imageformats/libqsvg.so +%{_qt6_libdir}/libQt6Svg.so.* + +%files -n libQt6SvgWidgets6 +%{_qt6_libdir}/libQt6SvgWidgets.so.* + +%files devel +%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/QtSvgTestsConfig.cmake +%{_qt6_cmakedir}/Qt6Gui/* +%{_qt6_cmakedir}/Qt6Svg/ +%{_qt6_cmakedir}/Qt6SvgWidgets/ +%{_qt6_descriptionsdir}/Svg.json +%{_qt6_descriptionsdir}/SvgWidgets.json +%{_qt6_includedir}/QtSvg/ +%{_qt6_includedir}/QtSvgWidgets/ +%{_qt6_libdir}/libQt6Svg.prl +%{_qt6_libdir}/libQt6Svg.so +%{_qt6_libdir}/libQt6SvgWidgets.prl +%{_qt6_libdir}/libQt6SvgWidgets.so +%{_qt6_metatypesdir}/qt6svg_*_metatypes.json +%{_qt6_metatypesdir}/qt6svgwidgets_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_svg.pri +%{_qt6_mkspecsdir}/modules/qt_lib_svgwidgets.pri +%{_qt6_pkgconfigdir}/Qt6Svg.pc +%{_qt6_pkgconfigdir}/Qt6SvgWidgets.pc +%exclude %{_qt6_includedir}/QtSvg/%{real_version}/ + +%files private-devel +%dir %{_qt6_includedir}/QtSvg/ +%{_qt6_includedir}/QtSvg/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_svg_private.pri + +%endif + +%changelog diff --git a/qtsvg-everywhere-src-6.6.1.tar.xz b/qtsvg-everywhere-src-6.6.1.tar.xz new file mode 100644 index 0000000..f396d47 --- /dev/null +++ b/qtsvg-everywhere-src-6.6.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:248deb56d26a463cf3162f530358ccf90cfb654bbf518bb35ddf81b205e09228 +size 1651976