Compare commits
No commits in common. "rawhide" and "f37" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,5 +18,3 @@
|
|||||||
/qtbase-everywhere-src-6.4.1.tar.xz
|
/qtbase-everywhere-src-6.4.1.tar.xz
|
||||||
/qtbase-everywhere-src-6.4.2.tar.xz
|
/qtbase-everywhere-src-6.4.2.tar.xz
|
||||||
/qtbase-everywhere-src-6.4.3.tar.xz
|
/qtbase-everywhere-src-6.4.3.tar.xz
|
||||||
/qtbase-everywhere-src-6.5.0.tar.xz
|
|
||||||
/qtbase-everywhere-src-6.5.1.tar.xz
|
|
||||||
|
125
qt6-qtbase.spec
125
qt6-qtbase.spec
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
# See http://bugzilla.redhat.com/223663
|
# See http://bugzilla.redhat.com/223663
|
||||||
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
|
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
|
||||||
%global multilib_basearchs x86_64 %{?mips64} ppc64 s390x sparc64
|
%global multilib_basearchs x86_64 %{?mips64} ppc64 s390x sparc64
|
||||||
@ -37,8 +38,8 @@ BuildRequires: pkgconfig(libsystemd)
|
|||||||
|
|
||||||
Name: qt6-qtbase
|
Name: qt6-qtbase
|
||||||
Summary: Qt6 - QtBase components
|
Summary: Qt6 - QtBase components
|
||||||
Version: 6.5.1
|
Version: 6.4.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||||
Url: http://qt-project.org/
|
Url: http://qt-project.org/
|
||||||
@ -65,7 +66,11 @@ Source6: 10-qt6-check-opengl2.sh
|
|||||||
# macros
|
# macros
|
||||||
Source10: macros.qt6-qtbase
|
Source10: macros.qt6-qtbase
|
||||||
|
|
||||||
Patch1: qtbase-tell-the-truth-about-private-API.patch
|
# borrowed from opensuse
|
||||||
|
# track private api via properly versioned symbols
|
||||||
|
# downside: binaries produced with these differently-versioned symbols are no longer
|
||||||
|
# compatible with qt-project.org's Qt binary releases.
|
||||||
|
Patch1: qtbase-tell-truth-about-private-api.patch
|
||||||
Patch2: qtbase-use-qgnomeplatform-as-default-platform-theme-on-gnome.patch
|
Patch2: qtbase-use-qgnomeplatform-as-default-platform-theme-on-gnome.patch
|
||||||
|
|
||||||
# upstreamable patches
|
# upstreamable patches
|
||||||
@ -81,6 +86,9 @@ Patch51: qtbase-moc-macros.patch
|
|||||||
# drop -O3 and make -O2 by default
|
# drop -O3 and make -O2 by default
|
||||||
Patch54: qtbase-cxxflag.patch
|
Patch54: qtbase-cxxflag.patch
|
||||||
|
|
||||||
|
# support firebird version 3.x
|
||||||
|
Patch55: qtbase-firebird.patch
|
||||||
|
|
||||||
# fix for new mariadb
|
# fix for new mariadb
|
||||||
Patch56: qtbase-mysql.patch
|
Patch56: qtbase-mysql.patch
|
||||||
|
|
||||||
@ -117,7 +125,6 @@ BuildRequires: libjpeg-devel
|
|||||||
BuildRequires: libmng-devel
|
BuildRequires: libmng-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
BuildRequires: mtdev-devel
|
|
||||||
BuildRequires: tslib-devel
|
BuildRequires: tslib-devel
|
||||||
BuildRequires: pkgconfig(alsa)
|
BuildRequires: pkgconfig(alsa)
|
||||||
# required for -accessibility
|
# required for -accessibility
|
||||||
@ -131,7 +138,6 @@ BuildRequires: pkgconfig(gl)
|
|||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(libproxy-1.0)
|
BuildRequires: pkgconfig(libproxy-1.0)
|
||||||
BuildRequires: pkgconfig(libsctp)
|
|
||||||
# xcb-sm
|
# xcb-sm
|
||||||
BuildRequires: pkgconfig(ice) pkgconfig(sm)
|
BuildRequires: pkgconfig(ice) pkgconfig(sm)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
@ -152,8 +158,6 @@ BuildRequires: pkgconfig(egl)
|
|||||||
BuildRequires: pkgconfig(gbm)
|
BuildRequires: pkgconfig(gbm)
|
||||||
BuildRequires: pkgconfig(libglvnd)
|
BuildRequires: pkgconfig(libglvnd)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
# only needed for GLES2 and GLES3 builds
|
|
||||||
#BuildRequires: pkgconfig(glesv2)
|
|
||||||
|
|
||||||
%global sqlite 1
|
%global sqlite 1
|
||||||
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
||||||
@ -163,7 +167,7 @@ BuildRequires: pkgconfig(libpcre2-posix) >= 10.20
|
|||||||
BuildRequires: pkgconfig(libpcre) >= 8.0
|
BuildRequires: pkgconfig(libpcre) >= 8.0
|
||||||
%global pcre 1
|
%global pcre 1
|
||||||
BuildRequires: pkgconfig(xcb-xkb)
|
BuildRequires: pkgconfig(xcb-xkb)
|
||||||
BuildRequires: pkgconfig(xcb) pkgconfig(xcb-glx) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil) pkgconfig(xcb-cursor)
|
BuildRequires: pkgconfig(xcb) pkgconfig(xcb-glx) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
@ -181,10 +185,18 @@ BuildRequires: xorg-x11-server-Xvfb
|
|||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
|
|
||||||
## Sql drivers
|
## Sql drivers
|
||||||
%if 0%{?fedora} || 0%{?epel}
|
# FIXME: disable for now, they don't seem to be implemented in Qt 6.0.0
|
||||||
%global ibase 1
|
# if rhel
|
||||||
%endif
|
%global no_ibase 1
|
||||||
|
%global no_tds 1
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# workaround gold linker bug(s) by not using it
|
||||||
|
# https://bugzilla.redhat.com/1458003
|
||||||
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=21074
|
||||||
|
# reportedly fixed or worked-around, re-enable if there's evidence of problems -- rex
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1635973
|
||||||
|
%global use_gold_linker 0
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Qt is a software toolkit for developing applications.
|
Qt is a software toolkit for developing applications.
|
||||||
@ -214,12 +226,15 @@ Requires: qt6-rpm-macros
|
|||||||
%if 0%{?use_clang}
|
%if 0%{?use_clang}
|
||||||
Requires: clang >= 3.7.0
|
Requires: clang >= 3.7.0
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?ibase}
|
%if 0%{?no_ibase} == 0
|
||||||
Requires: %{name}-ibase%{?_isa} = %{version}-%{release}
|
Requires: %{name}-ibase%{?_isa} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name}-mysql%{?_isa} = %{version}-%{release}
|
Requires: %{name}-mysql%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-odbc%{?_isa} = %{version}-%{release}
|
Requires: %{name}-odbc%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-postgresql%{?_isa} = %{version}-%{release}
|
Requires: %{name}-postgresql%{?_isa} = %{version}-%{release}
|
||||||
|
%if 0%{?no_tds} == 0
|
||||||
|
Requires: %{name}-tds%{?_isa} = %{version}-%{release}
|
||||||
|
%endif
|
||||||
%description devel
|
%description devel
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -250,7 +265,7 @@ Requires: pkgconfig(zlib)
|
|||||||
%description static
|
%description static
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%if 0%{?ibase}
|
%if 0%{?no_ibase} == 0
|
||||||
%package ibase
|
%package ibase
|
||||||
Summary: IBase driver for Qt6's SQL classes
|
Summary: IBase driver for Qt6's SQL classes
|
||||||
BuildRequires: firebird-devel
|
BuildRequires: firebird-devel
|
||||||
@ -284,11 +299,22 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%description postgresql
|
%description postgresql
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
%if 0%{?no_tds} == 0
|
||||||
|
%package tds
|
||||||
|
Summary: TDS driver for Qt6's SQL classes
|
||||||
|
BuildRequires: freetds-devel
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%description tds
|
||||||
|
%{summary}.
|
||||||
|
%endif
|
||||||
|
|
||||||
# debating whether to do 1 subpkg per library or not -- rex
|
# debating whether to do 1 subpkg per library or not -- rex
|
||||||
%package gui
|
%package gui
|
||||||
Summary: Qt6 GUI-related libraries
|
Summary: Qt6 GUI-related libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%if 0%{?fedora} > 20
|
||||||
Recommends: mesa-dri-drivers
|
Recommends: mesa-dri-drivers
|
||||||
|
%endif
|
||||||
# for Source6: 10-qt6-check-opengl2.sh:
|
# for Source6: 10-qt6-check-opengl2.sh:
|
||||||
# glxinfo
|
# glxinfo
|
||||||
Requires: glx-utils
|
Requires: glx-utils
|
||||||
@ -310,6 +336,10 @@ popd
|
|||||||
# check to ensure that can't happen -- rex
|
# check to ensure that can't happen -- rex
|
||||||
test -x configure || chmod +x configure
|
test -x configure || chmod +x configure
|
||||||
|
|
||||||
|
# use proper perl interpretter so autodeps work as expected
|
||||||
|
sed -i -e "s|^#!/usr/bin/env perl$|#!%{__perl}|" \
|
||||||
|
mkspecs/features/data/unix/findclasslist.pl
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# QT is known not to work properly with LTO at this point. Some of the issues
|
# QT is known not to work properly with LTO at this point. Some of the issues
|
||||||
@ -346,15 +376,12 @@ export MAKEFLAGS="%{?_smp_mflags}"
|
|||||||
-DQT_FEATURE_enable_new_dtags=ON \
|
-DQT_FEATURE_enable_new_dtags=ON \
|
||||||
-DQT_FEATURE_journald=%{?journald:ON}%{!?journald:OFF} \
|
-DQT_FEATURE_journald=%{?journald:ON}%{!?journald:OFF} \
|
||||||
-DQT_FEATURE_openssl_linked=ON \
|
-DQT_FEATURE_openssl_linked=ON \
|
||||||
-DQT_FEATURE_libproxy=ON \
|
|
||||||
-DQT_FEATURE_sctp=ON \
|
|
||||||
-DQT_FEATURE_separate_debug_info=OFF \
|
-DQT_FEATURE_separate_debug_info=OFF \
|
||||||
-DQT_FEATURE_reduce_relocations=OFF \
|
-DQT_FEATURE_reduce_relocations=OFF \
|
||||||
-DQT_FEATURE_relocatable=OFF \
|
-DQT_FEATURE_relocatable=OFF \
|
||||||
-DQT_FEATURE_system_jpeg=ON \
|
-DQT_FEATURE_system_jpeg=ON \
|
||||||
-DQT_FEATURE_system_png=ON \
|
-DQT_FEATURE_system_png=ON \
|
||||||
-DQT_FEATURE_system_zlib=ON \
|
-DQT_FEATURE_system_zlib=ON \
|
||||||
%{?ibase:-DQT_FEATURE_sql_ibase=ON} \
|
|
||||||
-DQT_FEATURE_sql_odbc=ON \
|
-DQT_FEATURE_sql_odbc=ON \
|
||||||
-DQT_FEATURE_sql_mysql=ON \
|
-DQT_FEATURE_sql_mysql=ON \
|
||||||
-DQT_FEATURE_sql_psql=ON \
|
-DQT_FEATURE_sql_psql=ON \
|
||||||
@ -364,6 +391,9 @@ export MAKEFLAGS="%{?_smp_mflags}"
|
|||||||
%{?dbus_linked:-DQT_FEATURE_dbus_linked=ON} \
|
%{?dbus_linked:-DQT_FEATURE_dbus_linked=ON} \
|
||||||
%{?pcre:-DQT_FEATURE_system_pcre2=ON} \
|
%{?pcre:-DQT_FEATURE_system_pcre2=ON} \
|
||||||
%{?sqlite:-DQT_FEATURE_system_sqlite=ON} \
|
%{?sqlite:-DQT_FEATURE_system_sqlite=ON} \
|
||||||
|
%{?no_tds:-DQT_FEATURE_sql_tds=OFF}%{!?no_tds:-DQT_FEATURE_sql_tds=ON} \
|
||||||
|
%{?no_ibase:-DQT_FEATURE_sql_ibase=OFF}%{!?no_ibase:-DQT_FEATURE_sql_ibase=ON} \
|
||||||
|
%{?use_gold_linker:-DQT_FEATURE_use_gold_linker=OFF} \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DQT_BUILD_EXAMPLES=%{?examples:ON}%{!?examples:OFF} \
|
-DQT_BUILD_EXAMPLES=%{?examples:ON}%{!?examples:OFF} \
|
||||||
-DQT_BUILD_TESTS=%{?tests:ON}%{!?tests:OFF} \
|
-DQT_BUILD_TESTS=%{?tests:ON}%{!?tests:OFF} \
|
||||||
@ -403,7 +433,7 @@ translationdir=%{_qt6_translationdir}
|
|||||||
|
|
||||||
Name: Qt6
|
Name: Qt6
|
||||||
Description: Qt6 Configuration
|
Description: Qt6 Configuration
|
||||||
Version: 6.5.1
|
Version: 6.4.3
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# rpm macros
|
# rpm macros
|
||||||
@ -461,14 +491,11 @@ install -p -m755 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/10
|
|||||||
mkdir -p %{buildroot}%{_qt6_headerdir}/QtXcb
|
mkdir -p %{buildroot}%{_qt6_headerdir}/QtXcb
|
||||||
install -m 644 src/plugins/platforms/xcb/*.h %{buildroot}%{_qt6_headerdir}/QtXcb/
|
install -m 644 src/plugins/platforms/xcb/*.h %{buildroot}%{_qt6_headerdir}/QtXcb/
|
||||||
|
|
||||||
rm %{buildroot}/%{_qt6_libexecdir}/qt-cmake-private-install.cmake
|
rm %{buildroot}/%{_bindir}/qt-cmake-private-install.cmake
|
||||||
|
|
||||||
# Use better location for some new scripts in qtbase-6.0.1
|
# Use better location for some new scripts in qtbase-6.0.1
|
||||||
mv %{buildroot}/%{_qt6_libexecdir}/ensure_pro_file.cmake %{buildroot}/%{_qt6_libdir}/cmake/Qt6/ensure_pro_file.cmake
|
mv %{buildroot}/%{_qt6_libexecdir}/ensure_pro_file.cmake %{buildroot}/%{_qt6_libdir}/cmake/Qt6/ensure_pro_file.cmake
|
||||||
|
|
||||||
# FIXME why is this being installed?
|
|
||||||
rm %{buildroot}/%{_qt6_libdir}/objects-RelWithDebInfo/ExampleIconsPrivate_resources_1/.rcc/qrc_example_icons.cpp.o
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# verify Qt6.pc
|
# verify Qt6.pc
|
||||||
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
|
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
|
||||||
@ -536,8 +563,8 @@ make check -k ||:
|
|||||||
%{_rpmmacrodir}/macros.qt6-qtbase
|
%{_rpmmacrodir}/macros.qt6-qtbase
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_qt6_libdir}/qt6/modules
|
%dir %{_qt6_datadir}/modules
|
||||||
%dir %{_qt6_libdir}/qt6/metatypes
|
%dir %{_qt6_libdir}/metatypes
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6
|
%dir %{_qt6_libdir}/cmake/Qt6
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6/platforms
|
%dir %{_qt6_libdir}/cmake/Qt6/platforms
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6/platforms/Platform
|
%dir %{_qt6_libdir}/cmake/Qt6/platforms/Platform
|
||||||
@ -555,17 +582,18 @@ make check -k ||:
|
|||||||
%dir %{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegrationPrivate
|
%dir %{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegrationPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupportPrivate
|
%dir %{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupportPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6EglFsKmsSupportPrivate
|
%dir %{_qt6_libdir}/cmake/Qt6EglFsKmsSupportPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6ExampleIconsPrivate
|
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6FbSupportPrivate
|
%dir %{_qt6_libdir}/cmake/Qt6FbSupportPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6Gui
|
%dir %{_qt6_libdir}/cmake/Qt6Gui
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6GuiTools
|
%dir %{_qt6_libdir}/cmake/Qt6GuiTools
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6HostInfo
|
%dir %{_qt6_libdir}/cmake/Qt6HostInfo
|
||||||
|
%dir %{_qt6_libdir}/cmake/Qt6FbSupportPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6KmsSupportPrivate
|
%dir %{_qt6_libdir}/cmake/Qt6KmsSupportPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6Network
|
%dir %{_qt6_libdir}/cmake/Qt6Network
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6OpenGL
|
%dir %{_qt6_libdir}/cmake/Qt6OpenGL
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6OpenGLWidgets
|
%dir %{_qt6_libdir}/cmake/Qt6OpenGLWidgets
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6PrintSupport
|
%dir %{_qt6_libdir}/cmake/Qt6PrintSupport
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6Sql
|
%dir %{_qt6_libdir}/cmake/Qt6Sql
|
||||||
|
%dir %{_qt6_libdir}/cmake/Qt6XcbQpaPrivate
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6Test
|
%dir %{_qt6_libdir}/cmake/Qt6Test
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6Widgets
|
%dir %{_qt6_libdir}/cmake/Qt6Widgets
|
||||||
%dir %{_qt6_libdir}/cmake/Qt6WidgetsTools
|
%dir %{_qt6_libdir}/cmake/Qt6WidgetsTools
|
||||||
@ -574,40 +602,40 @@ make check -k ||:
|
|||||||
%dir %{_qt6_bindir}
|
%dir %{_qt6_bindir}
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/androiddeployqt
|
%{_bindir}/androiddeployqt
|
||||||
%{_bindir}/androiddeployqt6
|
|
||||||
%{_bindir}/androidtestrunner
|
%{_bindir}/androidtestrunner
|
||||||
%{_bindir}/qdbuscpp2xml*
|
%{_bindir}/qdbuscpp2xml*
|
||||||
%{_bindir}/qdbusxml2cpp*
|
%{_bindir}/qdbusxml2cpp*
|
||||||
%{_bindir}/qmake*
|
%{_bindir}/qmake*
|
||||||
%{_bindir}/qtpaths*
|
%{_bindir}/qtpaths*
|
||||||
%{_bindir}/qt-cmake
|
%{_bindir}/qt-cmake
|
||||||
|
%{_bindir}/qt-cmake-private
|
||||||
|
%{_bindir}/qt-cmake-standalone-test
|
||||||
%{_bindir}/qt-configure-module
|
%{_bindir}/qt-configure-module
|
||||||
%{_libdir}/qt6/bin/qmake6
|
%{_libdir}/qt6/bin/qmake6
|
||||||
%{_qt6_bindir}/androiddeployqt
|
%{_qt6_bindir}/androiddeployqt
|
||||||
%{_qt6_bindir}/androiddeployqt6
|
|
||||||
%{_qt6_bindir}/androidtestrunner
|
%{_qt6_bindir}/androidtestrunner
|
||||||
%{_qt6_bindir}/qdbuscpp2xml
|
%{_qt6_bindir}/qdbuscpp2xml
|
||||||
%{_qt6_bindir}/qdbusxml2cpp
|
%{_qt6_bindir}/qdbusxml2cpp
|
||||||
%{_qt6_bindir}/qmake
|
%{_qt6_bindir}/qmake
|
||||||
%{_qt6_bindir}/qtpaths*
|
%{_qt6_bindir}/qtpaths*
|
||||||
%{_qt6_bindir}/qt-cmake
|
%{_qt6_bindir}/qt-cmake
|
||||||
|
%{_qt6_bindir}/qt-cmake-private
|
||||||
|
%{_qt6_bindir}/qt-cmake-private-install.cmake
|
||||||
|
%{_qt6_bindir}/qt-cmake-standalone-test
|
||||||
%{_qt6_bindir}/qt-configure-module
|
%{_qt6_bindir}/qt-configure-module
|
||||||
%{_qt6_libexecdir}/qt-cmake-private
|
|
||||||
%{_qt6_libexecdir}/qt-cmake-standalone-test
|
|
||||||
%{_qt6_libexecdir}/cmake_automoc_parser
|
%{_qt6_libexecdir}/cmake_automoc_parser
|
||||||
%{_qt6_libexecdir}/qt-internal-configure-tests
|
%{_qt6_libexecdir}/qt-internal-configure-tests
|
||||||
%{_qt6_libexecdir}/sanitizer-testrunner.py
|
%{_qt6_libexecdir}/syncqt.pl
|
||||||
%{_qt6_libexecdir}/syncqt
|
|
||||||
%{_qt6_libexecdir}/android_emulator_launcher.sh
|
%{_qt6_libexecdir}/android_emulator_launcher.sh
|
||||||
%{_qt6_libexecdir}/moc
|
%{_qt6_libexecdir}/moc
|
||||||
%{_qt6_libexecdir}/tracegen
|
%{_qt6_libexecdir}/tracegen
|
||||||
%{_qt6_libexecdir}/tracepointgen
|
|
||||||
%{_qt6_libexecdir}/qlalr
|
%{_qt6_libexecdir}/qlalr
|
||||||
|
%{_qt6_libexecdir}/qt-internal-configure-tests
|
||||||
%{_qt6_libexecdir}/qvkgen
|
%{_qt6_libexecdir}/qvkgen
|
||||||
%{_qt6_libexecdir}/rcc
|
%{_qt6_libexecdir}/rcc
|
||||||
%{_qt6_libexecdir}/uic
|
%{_qt6_libexecdir}/uic
|
||||||
%{_qt6_libexecdir}/qt-testrunner.py
|
%{_qt6_libexecdir}/qt-testrunner.py
|
||||||
%{_qt6_libdir}/qt6/modules/*.json
|
%{_qt6_datadir}/modules/*.json
|
||||||
%if "%{_qt6_headerdir}" != "%{_includedir}"
|
%if "%{_qt6_headerdir}" != "%{_includedir}"
|
||||||
%dir %{_qt6_headerdir}
|
%dir %{_qt6_headerdir}
|
||||||
%endif
|
%endif
|
||||||
@ -615,7 +643,6 @@ make check -k ||:
|
|||||||
%{_qt6_headerdir}/QtCore/
|
%{_qt6_headerdir}/QtCore/
|
||||||
%{_qt6_headerdir}/QtDBus/
|
%{_qt6_headerdir}/QtDBus/
|
||||||
%{_qt6_headerdir}/QtInputSupport
|
%{_qt6_headerdir}/QtInputSupport
|
||||||
%{_qt6_headerdir}/QtExampleIcons
|
|
||||||
%{_qt6_headerdir}/QtGui/
|
%{_qt6_headerdir}/QtGui/
|
||||||
%{_qt6_headerdir}/QtNetwork/
|
%{_qt6_headerdir}/QtNetwork/
|
||||||
%{_qt6_headerdir}/QtOpenGL/
|
%{_qt6_headerdir}/QtOpenGL/
|
||||||
@ -653,7 +680,7 @@ make check -k ||:
|
|||||||
%{_qt6_libdir}/libQt6Widgets.prl
|
%{_qt6_libdir}/libQt6Widgets.prl
|
||||||
%{_qt6_libdir}/libQt6Widgets.so
|
%{_qt6_libdir}/libQt6Widgets.so
|
||||||
%{_qt6_libdir}/libQt6XcbQpa.prl
|
%{_qt6_libdir}/libQt6XcbQpa.prl
|
||||||
%{_qt6_libdir}/libQt6XcbQpa.so
|
%{_qt6_libdir}/libQt6XcbQpa.so
|
||||||
%{_qt6_libdir}/libQt6Xml.prl
|
%{_qt6_libdir}/libQt6Xml.prl
|
||||||
%{_qt6_libdir}/libQt6Xml.so
|
%{_qt6_libdir}/libQt6Xml.so
|
||||||
%{_qt6_libdir}/libQt6EglFSDeviceIntegration.prl
|
%{_qt6_libdir}/libQt6EglFSDeviceIntegration.prl
|
||||||
@ -668,10 +695,8 @@ make check -k ||:
|
|||||||
%{_qt6_libdir}/cmake/Qt6/libexec/*
|
%{_qt6_libdir}/cmake/Qt6/libexec/*
|
||||||
%{_qt6_libdir}/cmake/Qt6/platforms/*.cmake
|
%{_qt6_libdir}/cmake/Qt6/platforms/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6/platforms/Platform/*.cmake
|
%{_qt6_libdir}/cmake/Qt6/platforms/Platform/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6/qbatchedtestrunner.in.cpp
|
|
||||||
%{_qt6_libdir}/cmake/Qt6/ModuleDescription.json.in
|
%{_qt6_libdir}/cmake/Qt6/ModuleDescription.json.in
|
||||||
%{_qt6_libdir}/cmake/Qt6/QtFileConfigure.txt.in
|
%{_qt6_libdir}/cmake/Qt6/QtFileConfigure.txt.in
|
||||||
%{_qt6_libdir}/cmake/Qt6/QtConfigureTimeExecutableCMakeLists.txt.in
|
|
||||||
%{_qt6_libdir}/cmake/Qt6/QtSeparateDebugInfo.Info.plist.in
|
%{_qt6_libdir}/cmake/Qt6/QtSeparateDebugInfo.Info.plist.in
|
||||||
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/COPYING-CMAKE-SCRIPTS
|
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/COPYING-CMAKE-SCRIPTS
|
||||||
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules/*.cmake
|
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules/*.cmake
|
||||||
@ -694,7 +719,6 @@ make check -k ||:
|
|||||||
%{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegrationPrivate/*.cmake
|
%{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegrationPrivate/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupportPrivate/*.cmake
|
%{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupportPrivate/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6EglFsKmsSupportPrivate/*.cmake
|
%{_qt6_libdir}/cmake/Qt6EglFsKmsSupportPrivate/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6ExampleIconsPrivate/*.cmake
|
|
||||||
%{_qt6_libdir}/cmake/Qt6FbSupportPrivate/*.cmake
|
%{_qt6_libdir}/cmake/Qt6FbSupportPrivate/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6Gui/*.cmake
|
%{_qt6_libdir}/cmake/Qt6Gui/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6GuiTools/*.cmake
|
%{_qt6_libdir}/cmake/Qt6GuiTools/*.cmake
|
||||||
@ -705,14 +729,14 @@ make check -k ||:
|
|||||||
%{_qt6_libdir}/cmake/Qt6OpenGL/*.cmake
|
%{_qt6_libdir}/cmake/Qt6OpenGL/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6OpenGLWidgets/*.cmake
|
%{_qt6_libdir}/cmake/Qt6OpenGLWidgets/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6PrintSupport/*.cmake
|
%{_qt6_libdir}/cmake/Qt6PrintSupport/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6Sql/Qt6Sql*.cmake
|
%{_qt6_libdir}/cmake/Qt6Sql/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QSQLiteDriverPlugin*.cmake
|
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QSQLiteDriverPlugin*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6Test/*.cmake
|
%{_qt6_libdir}/cmake/Qt6Test/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6Widgets/*.cmake
|
%{_qt6_libdir}/cmake/Qt6Widgets/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6WidgetsTools/*.cmake
|
%{_qt6_libdir}/cmake/Qt6WidgetsTools/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6XcbQpaPrivate/*.cmake
|
%{_qt6_libdir}/cmake/Qt6XcbQpaPrivate/*.cmake
|
||||||
%{_qt6_libdir}/cmake/Qt6Xml/*.cmake
|
%{_qt6_libdir}/cmake/Qt6Xml/*.cmake
|
||||||
%{_qt6_libdir}/qt6/metatypes/*.json
|
%{_qt6_libdir}/metatypes/*.json
|
||||||
%{_qt6_libdir}/pkgconfig/*.pc
|
%{_qt6_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%if 0%{?egl}
|
%if 0%{?egl}
|
||||||
@ -729,8 +753,6 @@ make check -k ||:
|
|||||||
%{_qt6_headerdir}/QtDeviceDiscoverySupport
|
%{_qt6_headerdir}/QtDeviceDiscoverySupport
|
||||||
%{_qt6_libdir}/libQt6DeviceDiscoverySupport.*a
|
%{_qt6_libdir}/libQt6DeviceDiscoverySupport.*a
|
||||||
%{_qt6_libdir}/libQt6DeviceDiscoverySupport.prl
|
%{_qt6_libdir}/libQt6DeviceDiscoverySupport.prl
|
||||||
%{_qt6_libdir}/libQt6ExampleIcons.a
|
|
||||||
%{_qt6_libdir}/libQt6ExampleIcons.prl
|
|
||||||
%{_qt6_headerdir}/QtFbSupport
|
%{_qt6_headerdir}/QtFbSupport
|
||||||
%{_qt6_libdir}/libQt6FbSupport.*a
|
%{_qt6_libdir}/libQt6FbSupport.*a
|
||||||
%{_qt6_libdir}/libQt6FbSupport.prl
|
%{_qt6_libdir}/libQt6FbSupport.prl
|
||||||
@ -744,10 +766,10 @@ make check -k ||:
|
|||||||
%{_qt6_examplesdir}/
|
%{_qt6_examplesdir}/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?ibase}
|
%if 0%{?no_ibase} == 0
|
||||||
%files ibase
|
%files ibase
|
||||||
%{_qt6_plugindir}/sqldrivers/libqsqlibase.so
|
%{_qt6_plugindir}/sqldrivers/libqsqlibase.so
|
||||||
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QIBaseDriverPlugin*.cmake
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files mysql
|
%files mysql
|
||||||
@ -762,6 +784,11 @@ make check -k ||:
|
|||||||
%{_qt6_plugindir}/sqldrivers/libqsqlpsql.so
|
%{_qt6_plugindir}/sqldrivers/libqsqlpsql.so
|
||||||
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QPSQLDriverPlugin*.cmake
|
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QPSQLDriverPlugin*.cmake
|
||||||
|
|
||||||
|
%if 0%{?no_tds} == 0
|
||||||
|
%files tds
|
||||||
|
%{_qt6_plugindir}/sqldrivers/libqsqltds.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%ldconfig_scriptlets gui
|
%ldconfig_scriptlets gui
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
@ -818,16 +845,6 @@ make check -k ||:
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon May 22 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1
|
|
||||||
- 6.5.1
|
|
||||||
|
|
||||||
* Fri Apr 7 2023 Marie Loise Nolden <loise@kde.org> - 6.5.0-2
|
|
||||||
- fix xcb plugin with new dependency xcb-cursor instead of Xcursor
|
|
||||||
introduction with qt 6.5, add firebird sql plugin cleanly, clean up spec file
|
|
||||||
|
|
||||||
* Mon Apr 03 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.0-1
|
|
||||||
- 6.5.0
|
|
||||||
|
|
||||||
* Mon Apr 03 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.3-2
|
* Mon Apr 03 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.3-2
|
||||||
- Enable zstd support
|
- Enable zstd support
|
||||||
|
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
From 25e78cce15fdf737cc48ed5d7683ad1d01b55621 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christophe Giboudeaux <christophe@krop.fr>
|
|
||||||
Date: Sun, 20 Sep 2020 09:57:22 +0200
|
|
||||||
Subject: [PATCH] Tell the truth about private API
|
|
||||||
|
|
||||||
Mark private API with symbols only for the current patch release
|
|
||||||
|
|
||||||
This change is a port of the libqt5-qtbase patch which was
|
|
||||||
added during the Qt 5.6 cycle.
|
|
||||||
---
|
|
||||||
cmake/QtFlagHandlingHelpers.cmake | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/cmake/QtFlagHandlingHelpers.cmake b/cmake/QtFlagHandlingHelpers.cmake
|
|
||||||
index d8597326cc..f9da7b2171 100644
|
|
||||||
--- a/cmake/QtFlagHandlingHelpers.cmake
|
|
||||||
+++ b/cmake/QtFlagHandlingHelpers.cmake
|
|
||||||
@@ -23,7 +23,7 @@ function(qt_internal_add_linker_version_script target)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(TEST_ld_version_script)
|
|
||||||
- set(contents "Qt_${PROJECT_VERSION_MAJOR}_PRIVATE_API {\n qt_private_api_tag*;\n")
|
|
||||||
+ set(contents "Qt_${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}_PRIVATE_API {\n qt_private_api_tag*;\n")
|
|
||||||
if(arg_PRIVATE_HEADERS)
|
|
||||||
foreach(ph ${arg_PRIVATE_HEADERS})
|
|
||||||
string(APPEND contents " @FILE:${ph}@\n")
|
|
||||||
--
|
|
||||||
2.40.0
|
|
16
qtbase-tell-truth-about-private-api.patch
Normal file
16
qtbase-tell-truth-about-private-api.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
|
||||||
|
index 3cacc8df..469e6f50 100644
|
||||||
|
--- a/mkspecs/features/qt_module.prf
|
||||||
|
+++ b/mkspecs/features/qt_module.prf
|
||||||
|
@@ -218,9 +218,9 @@ android: CONFIG += qt_android_deps no_linker_version_script
|
||||||
|
QMAKE_LFLAGS += $${QMAKE_LFLAGS_VERSION_SCRIPT}$$verscript
|
||||||
|
|
||||||
|
internal_module {
|
||||||
|
- verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API { *; };"
|
||||||
|
+ verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}_PRIVATE_API { *; };"
|
||||||
|
} else {
|
||||||
|
- verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API {" \
|
||||||
|
+ verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}_PRIVATE_API {" \
|
||||||
|
" qt_private_api_tag*;"
|
||||||
|
|
||||||
|
private_api_headers = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.QPA_HEADER_FILES
|
@ -1,13 +1,13 @@
|
|||||||
diff --git a/src/corelib/global/qtversionchecks.h b/src/corelib/global/qtversionchecks.h
|
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
|
||||||
index d3b7a7b0..a8b9c6f3 100644
|
index 6e83b78f..6a18cc19 100644
|
||||||
--- a/src/corelib/global/qtversionchecks.h
|
--- a/src/corelib/global/qglobal.h
|
||||||
+++ b/src/corelib/global/qtversionchecks.h
|
+++ b/src/corelib/global/qglobal.h
|
||||||
@@ -26,7 +26,7 @@
|
@@ -59,7 +59,7 @@
|
||||||
/*
|
/*
|
||||||
can be used like #if (QT_VERSION >= QT_VERSION_CHECK(6, 4, 0))
|
can be used like #if (QT_VERSION >= QT_VERSION_CHECK(6, 4, 0))
|
||||||
*/
|
*/
|
||||||
-#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
|
-#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
|
||||||
+#define QT_VERSION_CHECK(qt_version_check_major, qt_version_check_minor, qt_version_check_patch) ((qt_version_check_major<<16)|(qt_version_check_minor<<8)|(qt_version_check_patch))
|
+#define QT_VERSION_CHECK(qt_version_check_major, qt_version_check_minor, qt_version_check_patch) ((qt_version_check_major<<16)|(qt_version_check_minor<<8)|(qt_version_check_patch))
|
||||||
|
|
||||||
/*
|
#ifdef QT_BOOTSTRAPPED
|
||||||
Helper macros to make some simple code active in Qt 6 or Qt 7 only,
|
#include <QtCore/qconfig-bootstrapped.h>
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (qtbase-everywhere-src-6.5.1.tar.xz) = 7f7b20bbc25cda65266d6067cdd68e3e077636988d67dbf5783f79a61186135fb3a36d57ac72cfe4501012035b630ab1f5849148e4817726d4f459fa1937e91a
|
SHA512 (qtbase-everywhere-src-6.4.3.tar.xz) = a2d0779ba7ee8b8b78f5dc8db06177d04d50463fea7cad0b7785721acfc33dbbbaa1a7bfc052edb90ba1d11b488c30004daa43b6924a97126b9b8f82ad1a7f43
|
||||||
|
Loading…
Reference in New Issue
Block a user