From 9854415af9a2f3351bed7c9e5bf7609fa31245f75078fa8ed1e8c0cb977391c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 23:52:59 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main qt6-qt5compat revision 40ae0da79e961dac7ee57029f05222d3 --- .gitattributes | 23 +++ _multibuild | 4 + qt5compat-everywhere-src-6.6.1.tar.xz | 3 + qt6-qt5compat-rpmlintrc | 2 + qt6-qt5compat.changes | 251 ++++++++++++++++++++++++++ qt6-qt5compat.spec | 140 ++++++++++++++ 6 files changed, 423 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 qt5compat-everywhere-src-6.6.1.tar.xz create mode 100644 qt6-qt5compat-rpmlintrc create mode 100644 qt6-qt5compat.changes create mode 100644 qt6-qt5compat.spec 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/qt5compat-everywhere-src-6.6.1.tar.xz b/qt5compat-everywhere-src-6.6.1.tar.xz new file mode 100644 index 0000000..7598915 --- /dev/null +++ b/qt5compat-everywhere-src-6.6.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e1d15b6eda4172383208109d957257c8fa26a8a881f2901a4e9f347a31bc1f2 +size 14640664 diff --git a/qt6-qt5compat-rpmlintrc b/qt6-qt5compat-rpmlintrc new file mode 100644 index 0000000..65d7455 --- /dev/null +++ b/qt6-qt5compat-rpmlintrc @@ -0,0 +1,2 @@ +# library and development package names don't match +addFilter("no-dependency-on .*") diff --git a/qt6-qt5compat.changes b/qt6-qt5compat.changes new file mode 100644 index 0000000..1016e96 --- /dev/null +++ b/qt6-qt5compat.changes @@ -0,0 +1,251 @@ +------------------------------------------------------------------- +Mon Nov 27 14:00:14 UTC 2023 - Christophe Marin + +- Update to 6.6.1: + * https://www.qt.io/blog/qt-6.6.1-released + +------------------------------------------------------------------- +Tue Oct 10 09:39:55 UTC 2023 - Christophe Marin + +- Update to 6.6.0 + * https://www.qt.io/blog/qt-6.6-released + +------------------------------------------------------------------- +Thu Sep 28 07:34:16 UTC 2023 - Christophe Marin + +- Update to 6.5.3 + * https://www.qt.io/blog/qt-6.5.3-released + +------------------------------------------------------------------- +Thu Jul 20 09:06:59 UTC 2023 - Christophe Marin + +- Update to 6.5.2 + * https://www.qt.io/blog/qt-6.5.2-released-1 + +------------------------------------------------------------------- +Fri Jun 30 15:13:12 UTC 2023 - Christophe Marin + +- Update subpackages requirements + +------------------------------------------------------------------- +Wed May 24 07:45:39 UTC 2023 - Christophe Marin + +- Update to 6.5.1 + * https://www.qt.io/blog/qt-6.5.1-released + +------------------------------------------------------------------- +Mon Apr 3 10:02:23 UTC 2023 - Christophe Marin + +- Update to 6.5.0 + * https://www.qt.io/blog/qt-6.5-lts-released + +------------------------------------------------------------------- +Thu Mar 16 10:00:04 UTC 2023 - Christophe Marin + +- Update to 6.4.3: + * https://www.qt.io/blog/qt-6.4.3-released + +------------------------------------------------------------------- +Fri Jan 6 16:46:46 UTC 2023 - Christophe Marin + +- Update to 6.4.2: + * https://www.qt.io/blog/qt-6.4.2-released + +------------------------------------------------------------------- +Tue Nov 15 11:53:17 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.1: + * https://www.qt.io/blog/qt-6.4.1-released + +------------------------------------------------------------------- +Thu Sep 29 10:35:58 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0: + * https://www.qt.io/blog/qt-6.4-released + +------------------------------------------------------------------- +Fri Sep 16 08:29:13 UTC 2022 - Christophe Giboudeaux + +- Update to 6.4.0 RC + +------------------------------------------------------------------- +Fri Sep 9 12:41:42 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.2: + * https://www.qt.io/blog/qt-6.3.2-released + +------------------------------------------------------------------- +Fri Jun 17 15:15:24 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.1: + * https://www.qt.io/blog/qt-6.3.1-released + +------------------------------------------------------------------- +Fri Apr 8 11:56:57 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0: + * https://www.qt.io/blog/qt-6.3-released + +------------------------------------------------------------------- +Tue Mar 29 12:28:37 UTC 2022 - Christophe Giboudeaux + +- Update to 6.3.0-rc + +------------------------------------------------------------------- +Mon Mar 21 08:46:37 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.4 + * https://www.qt.io/blog/qt-6.2.4-released + +------------------------------------------------------------------- +Mon Jan 31 08:54:41 UTC 2022 - Christophe Giboudeaux + +- Update to 6.2.3: + * https://www.qt.io/blog/qt-6.2.3-released + +------------------------------------------------------------------- +Wed Dec 1 10:06:16 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:51 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.1 + * https://www.qt.io/blog/qt-6.2.1-released + + +------------------------------------------------------------------- +Thu Sep 30 12:28:55 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0: + * https://www.qt.io/blog/qt-6.2-lts-released + +------------------------------------------------------------------- +Sat Sep 25 07:18:39 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc2 + +------------------------------------------------------------------- +Thu Sep 16 14:07:52 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-rc + +------------------------------------------------------------------- +Thu Sep 9 14:05:16 UTC 2021 - Christophe Giboudeaux + +- Update to 6.2.0-beta4 + +------------------------------------------------------------------- +Wed Sep 1 13:03:46 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.3: + * https://www.qt.io/blog/qt-6.1.3-released + +------------------------------------------------------------------- +Fri Jul 2 14:08:02 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:15 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.1: + * https://www.qt.io/blog/qt-6.1.1-released + +------------------------------------------------------------------- +Thu May 6 17:10:31 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0: + * https://www.qt.io/blog/qt-6.1-released + +------------------------------------------------------------------- +Fri Apr 23 14:11:39 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-rc. + +------------------------------------------------------------------- +Tue Apr 13 06:29:26 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta3. + +------------------------------------------------------------------- +Wed Mar 31 13:51:23 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.3 + * https://www.qt.io/blog/qt-6.0.3-released + +------------------------------------------------------------------- +Fri Mar 19 15:42:48 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta2 + +------------------------------------------------------------------- +Fri Mar 5 17:24:05 UTC 2021 - Christophe Giboudeaux + +- Update to 6.1.0-beta1 + https://www.qt.io/blog/qt-6.1-beta-released + +------------------------------------------------------------------- +Fri Mar 5 09:31:24 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.2: + https://www.qt.io/blog/qt-6.0.2-released + +------------------------------------------------------------------- +Wed Feb 3 17:19:31 UTC 2021 - Christophe Giboudeaux + +- Update to 6.0.1 + https://www.qt.io/blog/qt-6.0.1-released + +------------------------------------------------------------------- +Wed Dec 16 11:26:09 UTC 2020 - Christophe Giboudeaux + +- Use a different 'Name' when building the docs flavor. + +------------------------------------------------------------------- +Tue Dec 8 14:09:10 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0: + * https://www.qt.io/blog/qt-6.0-released + +------------------------------------------------------------------- +Wed Dec 2 12:09:00 UTC 2020 - Christophe Giboudeaux + +- Qt 6.0.0 RC2 + +------------------------------------------------------------------- +Wed Nov 25 14:21:43 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~rc1 + +------------------------------------------------------------------- +Tue Nov 17 07:26:24 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta5 + +------------------------------------------------------------------- +Tue Nov 10 21:19:53 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0~beta4 + +------------------------------------------------------------------- +Tue Oct 20 07:47:11 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0beta1 + https://www.qt.io/blog/qt-6.0-beta-released + +------------------------------------------------------------------- +Tue Oct 6 20:15:20 UTC 2020 - Christophe Giboudeaux + +- Update to 6.0.0-alpha + https://www.qt.io/blog/qt-6.0-alpha-released + +------------------------------------------------------------------- +Sat Aug 8 13:32:23 UTC 2020 - Jonas Kvinge + +- Add qt6-qt5compat diff --git a/qt6-qt5compat.spec b/qt6-qt5compat.spec new file mode 100644 index 0000000..9b28d49 --- /dev/null +++ b/qt6-qt5compat.spec @@ -0,0 +1,140 @@ +# +# spec file for package qt6-qt5compat +# +# 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 qt5compat-everywhere-src +%define tar_suffix %{nil} +# +%global qt6_flavor @BUILD_FLAVOR@%{nil} +%if "%{qt6_flavor}" == "docs" +%define pkg_suffix -docs +%endif +# +Name: qt6-qt5compat%{?pkg_suffix} +Version: 6.6.1 +Release: 0 +Summary: Unsupported Qt 5 APIs for Qt 6 +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-qt5compat-rpmlintrc +BuildRequires: fdupes +BuildRequires: pkgconfig +BuildRequires: qt6-core-private-devel +BuildRequires: qt6-gui-private-devel +BuildRequires: qt6-qml-private-devel +BuildRequires: qt6-quick-private-devel +BuildRequires: qt6-shadertools-private-devel +BuildRequires: cmake(Qt6Core) = %{real_version} +BuildRequires: cmake(Qt6Gui) = %{real_version} +BuildRequires: cmake(Qt6Network) = %{real_version} +BuildRequires: cmake(Qt6Quick) = %{real_version} +BuildRequires: cmake(Qt6ShaderTools) = %{real_version} +BuildRequires: cmake(Qt6Xml) = %{real_version} +BuildRequires: pkgconfig(icu-i18n) +%if "%{qt6_flavor}" == "docs" +BuildRequires: qt6-tools +%{qt6_doc_packages} +%endif + +%description +The Qt 6 Compat library provides unsupported Qt 5 APIs which can be useful +while porting Qt 5 code. + +%if !%{qt6_docs_flavor} + +%package imports +Summary: Qt 6 Core 5 Compat QML files and plugins + +%description imports +QML files and plugins from the Qt 6 Core5Compat module. +This package shall be used while porting away from qtgraphicaleffects. + +%package -n libQt6Core5Compat6 +Summary: Qt 6 Core 5 Compat library + +%description -n libQt6Core5Compat6 +The Qt 6 Core 5 Compat library + +%package devel +Summary: Qt 6 Core 5 Compat library - Development files +Requires: libQt6Core5Compat6 = %{version} +Requires: cmake(Qt6Core) = %{real_version} + +%description devel +Development files for the Qt 6 Core 5 Compat library + +%package private-devel +Summary: Non-ABI stable API for the Qt 6 Qt5 Compat library +Requires: cmake(Qt6Core5Compat) = %{real_version} +%requires_eq qt6-core-private-devel + +%description private-devel +This package provides private headers of libQt6Core5Compat 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} + +%fdupes %{buildroot} + +# CMake files are not needed for plugins +rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins + +%ldconfig_scriptlets -n libQt6Core5Compat6 + +%files imports +%{_qt6_qmldir}/Qt5Compat/ + +%files -n libQt6Core5Compat6 +%license LICENSES/* +%{_qt6_libdir}/libQt6Core5Compat.so.* + +%files devel +%{_qt6_cmakedir}/Qt6/FindWrapIconv.cmake +%{_qt6_cmakedir}/Qt6BuildInternals/StandaloneTests/Qt5CompatTestsConfig.cmake +%{_qt6_cmakedir}/Qt6Core5Compat/ +%{_qt6_descriptionsdir}/Core5Compat.json +%{_qt6_includedir}/QtCore5Compat/ +%{_qt6_libdir}/libQt6Core5Compat.prl +%{_qt6_libdir}/libQt6Core5Compat.so +%{_qt6_metatypesdir}/qt6core5compat_*_metatypes.json +%{_qt6_mkspecsdir}/modules/qt_lib_core5compat.pri +%{_qt6_pkgconfigdir}/Qt6Core5Compat.pc +%exclude %{_qt6_includedir}/QtCore5Compat/%{real_version} + +%files private-devel +%{_qt6_includedir}/QtCore5Compat/%{real_version}/ +%{_qt6_mkspecsdir}/modules/qt_lib_core5compat_private.pri + +%endif + +%changelog