|
@@ -8,7 +8,7 @@ Summary: Qt toolkit
|
|
Summary(ja): Qt ツールキット
|
|
Summary(ja): Qt ツールキット
|
|
Name: qt4
|
|
Name: qt4
|
|
Version: 4.8.6
|
|
Version: 4.8.6
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 3%{?_dist_release}
|
|
|
|
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
|
|
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
|
|
@@ -26,8 +26,9 @@ Source5: qconfig-multilib.h
|
|
Source20: assistant.desktop.vine
|
|
Source20: assistant.desktop.vine
|
|
Source21: designer.desktop.vine
|
|
Source21: designer.desktop.vine
|
|
Source22: linguist.desktop.vine
|
|
Source22: linguist.desktop.vine
|
|
-Source23: qtdemo.desktop.vine
|
|
+Source23: qdbusviewer.desktop.vine
|
|
-Source24: qtconfig.desktop.vine
|
|
+Source24: qtdemo.desktop.vine
|
|
|
|
+Source25: qtconfig.desktop.vine
|
|
|
|
|
|
# upstream qt4-logo, http://trolltech.com/images/products/qt/qt4-logo
|
|
# upstream qt4-logo, http://trolltech.com/images/products/qt/qt4-logo
|
|
Source30: hi128-app-qt4-logo.png
|
|
Source30: hi128-app-qt4-logo.png
|
|
@@ -46,10 +47,17 @@ Patch15: qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
|
|
# workaround for gdal/grass crashers wrt glib_eventloop null deref's
|
|
# workaround for gdal/grass crashers wrt glib_eventloop null deref's
|
|
Patch23: qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
|
|
Patch23: qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
|
|
|
|
|
|
|
|
+# hack out largely useless (to users) warnings about qdbusconnection
|
|
|
|
+# (often in kde apps), keep an eye on https://git.reviewboard.kde.org/r/103699/
|
|
|
|
+Patch25: qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch
|
|
|
|
+
|
|
# kde4/multilib QT_PLUGIN_PATH
|
|
# kde4/multilib QT_PLUGIN_PATH
|
|
Patch28: qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch
|
|
Patch28: qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch
|
|
|
|
|
|
## upstreamable bits
|
|
## upstreamable bits
|
|
|
|
+# add support for pkgconfig's Requires.private to qmake
|
|
|
|
+Patch50: qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch
|
|
|
|
+
|
|
# fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations
|
|
# fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations
|
|
Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
|
|
Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
|
|
|
|
|
|
@@ -83,9 +91,6 @@ Patch71: qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch
|
|
# sql/drivers/tds/qsql_tds.cpp:341:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
|
|
# sql/drivers/tds/qsql_tds.cpp:341:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
|
|
Patch74: qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch
|
|
Patch74: qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch
|
|
|
|
|
|
-# workaround crash on ppc64
|
|
|
|
-Patch75: qt-ppc64-crash.patch
|
|
|
|
-
|
|
|
|
# add missing method for QBasicAtomicPointer on s390(x)
|
|
# add missing method for QBasicAtomicPointer on s390(x)
|
|
Patch76: qt-everywhere-opensource-src-4.8.0-s390-atomic.patch
|
|
Patch76: qt-everywhere-opensource-src-4.8.0-s390-atomic.patch
|
|
|
|
|
|
@@ -101,10 +106,29 @@ Patch81: qt-everywhere-opensource-src-4.8.2--assistant-crash.patch
|
|
# QDir::homePath() should account for an empty HOME environment variable on X11
|
|
# QDir::homePath() should account for an empty HOME environment variable on X11
|
|
Patch82: qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch
|
|
Patch82: qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch
|
|
|
|
|
|
|
|
+# poll support
|
|
|
|
+Patch83: qt-4.8-poll.patch
|
|
|
|
+
|
|
|
|
+# fix QTBUG-35459 (too low entityCharacterLimit=1024 for CVE-2013-4549)
|
|
|
|
+Patch84: qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch
|
|
|
|
+
|
|
|
|
+# systemtrayicon plugin support (for appindicators)
|
|
|
|
+Patch86: qt-everywhere-opensource-src-4.8.6-systemtrayicon.patch
|
|
|
|
+
|
|
|
|
+# fixes for LibreOffice from the upstream Qt bug tracker (#1105422):
|
|
|
|
+Patch87: qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch
|
|
|
|
+Patch88: qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch
|
|
|
|
+Patch89: qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch
|
|
|
|
+
|
|
# upstream patches
|
|
# upstream patches
|
|
# http://codereview.qt-project.org/#change,22006
|
|
# http://codereview.qt-project.org/#change,22006
|
|
Patch100: qt-everywhere-opensource-src-4.8.1-qtgahandle.patch
|
|
Patch100: qt-everywhere-opensource-src-4.8.1-qtgahandle.patch
|
|
|
|
|
|
|
|
+# backported from Qt5 (essentially)
|
|
|
|
+# http://bugzilla.redhat.com/702493
|
|
|
|
+# https://bugreports.qt-project.org/browse/QTBUG-5545
|
|
|
|
+Patch102: qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch
|
|
|
|
+
|
|
# workaround for MOC issues with Boost headers (#756395)
|
|
# workaround for MOC issues with Boost headers (#756395)
|
|
# https://bugreports.qt-project.org/browse/QTBUG-22829
|
|
# https://bugreports.qt-project.org/browse/QTBUG-22829
|
|
Patch113: qt-everywhere-opensource-src-4.8.5-QTBUG-22829.patch
|
|
Patch113: qt-everywhere-opensource-src-4.8.5-QTBUG-22829.patch
|
|
@@ -123,10 +147,11 @@ Patch1001: qt-everywhere-opensource-src-4.8.0-system_ca_certificates_vine.patch
|
|
%define odbc -plugin-sql-odbc
|
|
%define odbc -plugin-sql-odbc
|
|
%define psql -plugin-sql-psql
|
|
%define psql -plugin-sql-psql
|
|
%define sqlite -plugin-sql-sqlite
|
|
%define sqlite -plugin-sql-sqlite
|
|
-%define tds -no-sql-tds
|
|
+%define tds -plugin-sql-tds
|
|
|
|
|
|
-%define phonon -phonon
|
|
+# don't build with phonon backend now
|
|
-%define phonon_backend -phonon-backend
|
|
+#define phonon -phonon
|
|
|
|
+#define phonon_backend -phonon-backend
|
|
%define dbus -dbus-linked
|
|
%define dbus -dbus-linked
|
|
%define graphicssystem -graphicssystem raster
|
|
%define graphicssystem -graphicssystem raster
|
|
# FIXME/TODO: use system webkit for assistant, examples/webkit, demos/browser
|
|
# FIXME/TODO: use system webkit for assistant, examples/webkit, demos/browser
|
|
@@ -203,6 +228,9 @@ BuildRequires: unixODBC-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: sqlite3-devel
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
+%if "%{?tds}" != "-no-sql-tds"
|
|
|
|
+BuildRequires: freetds-devel
|
|
|
|
+%endif
|
|
|
|
|
|
Obsoletes: qt4-sqlite < 4.7.3
|
|
Obsoletes: qt4-sqlite < 4.7.3
|
|
Provides: qt4-sqlite = %{version}-%{release}
|
|
Provides: qt4-sqlite = %{version}-%{release}
|
|
@@ -228,6 +256,7 @@ applications, as well as the README files for qt.
|
|
|
|
|
|
%package config
|
|
%package config
|
|
Summary: Graphical configuration tool for programs using Qt 4
|
|
Summary: Graphical configuration tool for programs using Qt 4
|
|
|
|
+Summary(ja): Qt 4 を使用するプログラムのためのグラフィカルな設定ツール
|
|
Group: User Interface/Desktops
|
|
Group: User Interface/Desktops
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires(post): alternatives
|
|
Requires(post): alternatives
|
|
@@ -284,6 +313,9 @@ Summary: API documentation for Qt4
|
|
Summary(ja): Qt4 の API ドキュメント
|
|
Summary(ja): Qt4 の API ドキュメント
|
|
Group: Documentation
|
|
Group: Documentation
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
+# Requires assistant
|
|
|
|
+Requires: qt4-tools = %{version}-%{release}
|
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
%description doc
|
|
%description doc
|
|
%{summary}.
|
|
%{summary}.
|
|
@@ -325,6 +357,7 @@ IBase driver for Qt's SQL classes (QSQL)
|
|
|
|
|
|
%package MySQL
|
|
%package MySQL
|
|
Summary: MySQL drivers for Qt's SQL classes.
|
|
Summary: MySQL drivers for Qt's SQL classes.
|
|
|
|
+Summary(ja): Qt SQL 用の MySQL ドライバ
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: qt4-mysql = %{version}-%{release}
|
|
Provides: qt4-mysql = %{version}-%{release}
|
|
@@ -334,6 +367,7 @@ MySQL driver for Qt's SQL classes (QSQL)
|
|
|
|
|
|
%package ODBC
|
|
%package ODBC
|
|
Summary: ODBC drivers for Qt's SQL classes.
|
|
Summary: ODBC drivers for Qt's SQL classes.
|
|
|
|
+Summary(ja): Qt SQL 用の ODBC ドライバ
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: qt4-odbc = %{version}-%{release}
|
|
Provides: qt4-odbc = %{version}-%{release}
|
|
@@ -352,6 +386,7 @@ PostgreSQL driver for Qt's SQL classes (QSQL)
|
|
|
|
|
|
%package tds
|
|
%package tds
|
|
Summary: TDS driver for Qt's SQL classes
|
|
Summary: TDS driver for Qt's SQL classes
|
|
|
|
+Summary(ja): Qt SQL 用の TDS ドライバ
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: qt-tds = %{version}-%{release}
|
|
Provides: qt-tds = %{version}-%{release}
|
|
@@ -397,6 +432,9 @@ rm -fv mkspecs/linux-g++*/qmake.conf.multilib-optflags
|
|
%patch4 -p1 -b .uic_multilib
|
|
%patch4 -p1 -b .uic_multilib
|
|
%patch15 -p1 -b .enable_ft_lcdfilter
|
|
%patch15 -p1 -b .enable_ft_lcdfilter
|
|
%patch23 -p1 -b .glib_eventloop_nullcheck
|
|
%patch23 -p1 -b .glib_eventloop_nullcheck
|
|
|
|
+%patch25 -p1 -b .qdbusconnection_no_debug
|
|
|
|
+%patch28 -p1 -b .qt_plugin_path
|
|
|
|
+%patch50 -p1 -b .qmake_pkgconfig_requires_private
|
|
## TODO: still worth carrying? if so, upstream it.
|
|
## TODO: still worth carrying? if so, upstream it.
|
|
%patch53 -p1 -b .qatomic-inline-asm
|
|
%patch53 -p1 -b .qatomic-inline-asm
|
|
## TODO: upstream me
|
|
## TODO: upstream me
|
|
@@ -411,17 +449,25 @@ popd
|
|
%patch69 -p1 -b .QTBUG-22037
|
|
%patch69 -p1 -b .QTBUG-22037
|
|
%patch71 -p1 -b .QTBUG-21900
|
|
%patch71 -p1 -b .QTBUG-21900
|
|
%patch74 -p1 -b .tds_no_strict_aliasing
|
|
%patch74 -p1 -b .tds_no_strict_aliasing
|
|
-%patch75 -p1 -b .ppc64-crash
|
|
+#patch75 -p1 -b .ppc64-crash
|
|
%patch76 -p1 -b .s390-atomic
|
|
%patch76 -p1 -b .s390-atomic
|
|
%patch77 -p1 -b .icu_no_spam
|
|
%patch77 -p1 -b .icu_no_spam
|
|
%patch81 -p1 -b .assistant-crash
|
|
%patch81 -p1 -b .assistant-crash
|
|
%patch82 -p1 -b .QTBUG-4862
|
|
%patch82 -p1 -b .QTBUG-4862
|
|
|
|
+%patch83 -p1 -b .poll
|
|
|
|
+%patch87 -p1 -b .QTBUG-37380
|
|
|
|
+%patch88 -p0 -b .QTBUG-34614
|
|
|
|
+%patch89 -p0 -b .QTBUG-38585
|
|
|
|
|
|
# upstream patches
|
|
# upstream patches
|
|
%patch100 -p1 -b .QTgaHandler
|
|
%patch100 -p1 -b .QTgaHandler
|
|
|
|
+%patch102 -p1 -b .qgtkstyle_disable_gtk_theme_check
|
|
%patch113 -p1 -b .QTBUG-22829
|
|
%patch113 -p1 -b .QTBUG-22829
|
|
|
|
|
|
# security fixes
|
|
# security fixes
|
|
|
|
+# regression fixes for the security fixes
|
|
|
|
+%patch84 -p1 -b .QTBUG-35459
|
|
|
|
+%patch86 -p1 -b .systemtrayicon
|
|
|
|
|
|
# Patches for Vine
|
|
# Patches for Vine
|
|
%patch1001 -p1 -b .system_ca_certificates
|
|
%patch1001 -p1 -b .system_ca_certificates
|
|
@@ -466,8 +512,9 @@ done
|
|
sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE20} > assistant.desktop
|
|
sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE20} > assistant.desktop
|
|
sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE21} > designer.desktop
|
|
sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE21} > designer.desktop
|
|
sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE22} > linguist.desktop
|
|
sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE22} > linguist.desktop
|
|
-sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE23} > qtdemo.desktop
|
|
+sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE23} > qdbusviewer.desktop
|
|
-sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE24} > qtconfig.desktop
|
|
+sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE24} > qtdemo.desktop
|
|
|
|
+sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE25} > qtconfig.desktop
|
|
|
|
|
|
%build
|
|
%build
|
|
# build shared, threaded (default) libraries
|
|
# build shared, threaded (default) libraries
|
|
@@ -574,7 +621,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
desktop-file-install \
|
|
desktop-file-install \
|
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
|
--vendor="" \
|
|
--vendor="" \
|
|
- assistant.desktop designer.desktop linguist.desktop qtconfig.desktop
|
|
+ assistant.desktop designer.desktop linguist.desktop qdbusviewer.desktop qtconfig.desktop
|
|
|
|
|
|
## pkg-config
|
|
## pkg-config
|
|
# strip extraneous dirs/libraries
|
|
# strip extraneous dirs/libraries
|
|
@@ -645,6 +692,9 @@ for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
|
|
size=$(echo $(basename ${icon}) | cut -d- -f2)
|
|
size=$(echo $(basename ${icon}) | cut -d- -f2)
|
|
install -p -m644 -D ${icon} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist4.png
|
|
install -p -m644 -D ${icon} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist4.png
|
|
done
|
|
done
|
|
|
|
+# qdbusviewer icons
|
|
|
|
+install -p -m644 -D tools/qdbus/qdbusviewer/images/qdbusviewer.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/qdbusviewer.png
|
|
|
|
+install -p -m644 -D tools/qdbus/qdbusviewer/images/qdbusviewer-128.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/qdbusviewer.png
|
|
|
|
|
|
# Qt.pc
|
|
# Qt.pc
|
|
cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/Qt.pc << EOF
|
|
cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/Qt.pc << EOF
|
|
@@ -1008,8 +1058,10 @@ fi
|
|
%{_qt4_translationdir}/linguist_*.qm
|
|
%{_qt4_translationdir}/linguist_*.qm
|
|
%{_datadir}/applications/assistant.desktop
|
|
%{_datadir}/applications/assistant.desktop
|
|
%{_datadir}/applications/linguist.desktop
|
|
%{_datadir}/applications/linguist.desktop
|
|
|
|
+%{_datadir}/applications/qdbusviewer.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/assistant*
|
|
%{_datadir}/icons/hicolor/*/apps/assistant*
|
|
%{_datadir}/icons/hicolor/*/apps/linguist*
|
|
%{_datadir}/icons/hicolor/*/apps/linguist*
|
|
|
|
+%{_datadir}/icons/hicolor/*/apps/qdbusviewer*
|
|
%{_qt4_docdir}/qch/linguist.qch
|
|
%{_qt4_docdir}/qch/linguist.qch
|
|
|
|
|
|
%if 0%{?qvfb}
|
|
%if 0%{?qvfb}
|
|
@@ -1087,6 +1139,15 @@ fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Feb 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.8.6-3
|
|
|
|
+- updated Source20, 21, 22 and 23
|
|
|
|
+- added Patch25, 50, 83, 84, 86, 87, 88, 89 and 102 from Fedora
|
|
|
|
+- dropt Patch75
|
|
|
|
+- dropt phonon-gstreamer support, built without gstreamer 0.10.x
|
|
|
|
+- added qdbusviewer.desktops
|
|
|
|
+- added tds subpackage
|
|
|
|
+- changed doc subpackage to noarch.rpm
|
|
|
|
+
|
|
* Mon Jul 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.8.6-2
|
|
* Mon Jul 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.8.6-2
|
|
- rebuilt
|
|
- rebuilt
|
|
|
|
|