Sync from SUSE:SLFO:Main qt6-tools revision d7d1c8926f6440917b2e33440b9b6de7

This commit is contained in:
Adrian Schröter 2025-02-07 11:21:17 +01:00
parent 65c1c91262
commit f767cc7797
4 changed files with 65 additions and 19 deletions

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Jan 22 18:08:40 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Fix license.
-------------------------------------------------------------------
Mon Dec 2 13:02:14 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 6.8.1:
* https://www.qt.io/blog/qt-6.8.1-released
-------------------------------------------------------------------
Mon Nov 11 14:53:49 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Reintroduce proper %requires_eq on libclang, it's needed to ensure
that qdoc pulls in a libclang suitable for the used libclang-cpp.
-------------------------------------------------------------------
Mon Nov 4 11:58:21 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Fix qdoc runtime dependency
-------------------------------------------------------------------
Tue Oct 8 09:29:54 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 6.8.0:
* https://www.qt.io/blog/qt-6.8-released
- Drop patch, no longer needed:
* fix-llvm19-build.patch
-------------------------------------------------------------------
Sat Sep 28 08:23:10 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 6.7.3
* https://www.qt.io/blog/qt-6.7.3-released
-------------------------------------------------------------------
Tue Sep 24 21:22:32 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add fix-llvm19-build.patch to fix build with LLVM 19. Upstream
report is at https://bugreports.qt.io/browse/QTBUG-129146.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 19 07:26:03 UTC 2024 - Christophe Marin <christophe@krop.fr> Wed Jun 19 07:26:03 UTC 2024 - Christophe Marin <christophe@krop.fr>

View File

@ -16,8 +16,8 @@
# #
%define real_version 6.7.2 %define real_version 6.8.1
%define short_version 6.7 %define short_version 6.8
%define tar_name qttools-everywhere-src %define tar_name qttools-everywhere-src
%define tar_suffix %{nil} %define tar_suffix %{nil}
# #
@ -27,16 +27,15 @@
%endif %endif
# #
Name: qt6-tools%{?pkg_suffix} Name: qt6-tools%{?pkg_suffix}
Version: 6.7.2 Version: 6.8.1
Release: 0 Release: 0
Summary: Qt 6 Tools libraries and tools Summary: Qt 6 Tools libraries and tools
# TODO Check if it's still valid
# Legal: # Legal:
# most src/ subfolders are GPL-3.0-only WITH Qt-GPL-exception-1.0, except: # most src/ subfolders are GPL-3.0-only WITH Qt-GPL-exception-1.0, except:
# qdoc is GPL-3.0-only WITH Qt-GPL-exception-1.0 + (LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later)) == GPL-3.0-only # qdoc is GPL-3.0-only WITH Qt-GPL-exception-1.0
# src/shared contains BSD-3-Clause and LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) files. The # src/shared contains BSD-3-Clause and LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-only) files. The
# 'GPL-3.0-only WITH Qt-GPL-exception-1.0' files in this folder are only used on Windows. # 'GPL-3.0-only WITH Qt-GPL-exception-1.0' files in this folder are only used on Windows.
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-3.0-only WITH Qt-GPL-exception-1.0 License: (LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only WITH Qt-GPL-exception-1.0
URL: https://www.qt.io URL: https://www.qt.io
Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz Source0: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
Source10: org.qt.designer6.desktop Source10: org.qt.designer6.desktop
@ -47,14 +46,10 @@ Source13: org.qt.assistant6.desktop
Source14: linguist6.png Source14: linguist6.png
Source99: qt6-tools-rpmlintrc Source99: qt6-tools-rpmlintrc
# clang-devel in Leap 15 points to clang7... # clang-devel in Leap 15 points to clang7...
%if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150600 %if 0%{?suse_version} == 1500
BuildRequires: clang17-devel BuildRequires: clang17-devel
%else %else
%if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400 BuildRequires: clang-devel >= 17
BuildRequires: clang15-devel
%else
BuildRequires: clang-devel >= 8
%endif
%endif %endif
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -65,6 +60,7 @@ BuildRequires: qt6-qml-private-devel
BuildRequires: qt6-quick-private-devel BuildRequires: qt6-quick-private-devel
BuildRequires: qt6-widgets-private-devel BuildRequires: qt6-widgets-private-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: cmake(Qt6Concurrent) = %{real_version}
BuildRequires: cmake(Qt6Core) = %{real_version} BuildRequires: cmake(Qt6Core) = %{real_version}
BuildRequires: cmake(Qt6DBus) = %{real_version} BuildRequires: cmake(Qt6DBus) = %{real_version}
BuildRequires: cmake(Qt6Gui) = %{real_version} BuildRequires: cmake(Qt6Gui) = %{real_version}
@ -72,6 +68,7 @@ BuildRequires: cmake(Qt6Network) = %{real_version}
BuildRequires: cmake(Qt6OpenGL) = %{real_version} BuildRequires: cmake(Qt6OpenGL) = %{real_version}
BuildRequires: cmake(Qt6OpenGLWidgets) = %{real_version} BuildRequires: cmake(Qt6OpenGLWidgets) = %{real_version}
BuildRequires: cmake(Qt6PrintSupport) = %{real_version} BuildRequires: cmake(Qt6PrintSupport) = %{real_version}
BuildRequires: cmake(Qt6QmlLSPrivate) = %{real_version}
BuildRequires: cmake(Qt6Quick) = %{real_version} BuildRequires: cmake(Qt6Quick) = %{real_version}
BuildRequires: cmake(Qt6QuickWidgets) = %{real_version} BuildRequires: cmake(Qt6QuickWidgets) = %{real_version}
BuildRequires: cmake(Qt6Sql) = %{real_version} BuildRequires: cmake(Qt6Sql) = %{real_version}
@ -243,9 +240,11 @@ Command line client for communication over D-Bus.
%package qdoc %package qdoc
Summary: Qt 6 Tool used by Qt to generate documentation Summary: Qt 6 Tool used by Qt to generate documentation
License: GPL-3.0-only License: GPL-3.0-only WITH Qt-GPL-exception-1.0
# qdoc hardcodes clang include paths: boo#1109367, QTBUG-70687 # qdoc hardcodes clang include paths: boo#1109367, QTBUG-70687
%requires_eq libclang%{_llvm_sonum} %requires_eq libclang%{_libclang_sonum}
# Both qdoc and libclang link against libclang-cpp, so make sure it's compatible.
%requires_eq libclang-cpp%{_llvm_sonum}
%description qdoc %description qdoc
Qt 6 Tool used by Qt to generate documentation. Qt 6 Tool used by Qt to generate documentation.
@ -281,7 +280,9 @@ This library does not have any ABI or API guarantees.
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix} %autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
%build %build
%cmake_qt6 -DBUILD_TESTING:BOOL=OFF %cmake_qt6 \
-DQT_GENERATE_SBOM:BOOL=FALSE \
-DBUILD_TESTING:BOOL=FALSE
%{qt6_build} %{qt6_build}
@ -294,6 +295,7 @@ This library does not have any ABI or API guarantees.
# CMake files are not needed for plugins (except for Qt6UiPlugin) # CMake files are not needed for plugins (except for Qt6UiPlugin)
rm %{buildroot}%{_qt6_cmakedir}/Qt6Designer/*Plugin{Config,Targets}*.cmake rm %{buildroot}%{_qt6_cmakedir}/Qt6Designer/*Plugin{Config,Targets}*.cmake
rm %{buildroot}%{_qt6_cmakedir}/Qt6Help/*Plugin{Config,Targets}*.cmake
# This doesn't look useful # This doesn't look useful
rm -r %{buildroot}%{_qt6_includedir}/QtQDocCatch* rm -r %{buildroot}%{_qt6_includedir}/QtQDocCatch*
@ -412,6 +414,8 @@ install -D -m644 src/assistant/assistant/images/assistant-128.png %{buildroot}%{
%{_datadir}/icons/hicolor/128x128/apps/assistant6.png %{_datadir}/icons/hicolor/128x128/apps/assistant6.png
%{_datadir}/icons/hicolor/32x32/apps/assistant6.png %{_datadir}/icons/hicolor/32x32/apps/assistant6.png
%{_qt6_bindir}/assistant %{_qt6_bindir}/assistant
%dir %{_qt6_pluginsdir}/help
%{_qt6_pluginsdir}/help/libhelpplugin.so
%files designer %files designer
%dir %{_qt6_pluginsdir}/designer %dir %{_qt6_pluginsdir}/designer

BIN
qttools-everywhere-src-6.7.2.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
qttools-everywhere-src-6.8.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.