diff --git a/desktop/toolkit/qt5/qt5-phonon/actions.py b/desktop/toolkit/qt5/qt5-phonon/actions.py new file mode 100644 index 0000000000..728dfadd88 --- /dev/null +++ b/desktop/toolkit/qt5/qt5-phonon/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import kde5 +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + kde5.configure("-DPHONON_BUILD_PHONON4QT5=ON \ + -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON") + +def build(): + kde5.make() + +def install(): + kde5.install() + + #pisitools.domove("/usr/share/qt5/mkspecs/modules/qt_phonon4qt5.pri", "/usr/lib/qt5/mkspecs/modules/") + #pisitools.removeDir("/usr/share/qt5") diff --git a/desktop/toolkit/qt5/qt5-phonon/files/phonon-qt5.12.patch b/desktop/toolkit/qt5/qt5-phonon/files/phonon-qt5.12.patch new file mode 100644 index 0000000000..2bd0912b57 --- /dev/null +++ b/desktop/toolkit/qt5/qt5-phonon/files/phonon-qt5.12.patch @@ -0,0 +1,14 @@ +diff --git a/phonon/pulsesupport.cpp b/phonon/pulsesupport.cpp +index b7009b11..d3240840 100644 +--- a/phonon/pulsesupport.cpp ++++ b/phonon/pulsesupport.cpp +@@ -840,7 +840,8 @@ PulseSupport::PulseSupport() + } + + // We require a glib event loop +- if (!QByteArray(QAbstractEventDispatcher::instance()->metaObject()->className()).contains("EventDispatcherGlib")) { ++ if (!QByteArray(QAbstractEventDispatcher::instance()->metaObject()->className()).contains("EventDispatcherGlib") && ++ !QByteArray(QAbstractEventDispatcher::instance()->metaObject()->className()).contains("GlibEventDispatcher")) { + qWarning("WARNING: Disabling PulseAudio integration for lack of GLib event loop."); + return; + } diff --git a/desktop/toolkit/qt5/qt5-phonon/files/qt-5.4.2.patch b/desktop/toolkit/qt5/qt5-phonon/files/qt-5.4.2.patch new file mode 100644 index 0000000000..f4231e3dac --- /dev/null +++ b/desktop/toolkit/qt5/qt5-phonon/files/qt-5.4.2.patch @@ -0,0 +1,23 @@ +From: Hrvoje Senjan +Date: Thu, 28 May 2015 15:56:47 +0000 +Subject: Yet another _include_dirs fix +X-Git-Url: http://quickgit.kde.org/?p=phonon.git&a=commitdiff&h=635b65fa417f49ac4ae189e926bf138efc6544d6 +--- +Yet another _include_dirs fix + +The variable is set as a definition, so mark it as such +--- + + +--- a/cmake/FindPhononInternal.cmake ++++ b/cmake/FindPhononInternal.cmake +@@ -409,7 +409,7 @@ + file(WRITE "${_source_file}" "${_source}") + set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${QT_INCLUDES}") + +- try_compile(_compile_result ${CMAKE_BINARY_DIR} ${_source_file} CMAKE_FLAGS "${_include_dirs}" OUTPUT_VARIABLE _compile_output_var) ++ try_compile(_compile_result ${CMAKE_BINARY_DIR} ${_source_file} CMAKE_FLAGS "${CMAKE_CXX_FLAGS}" COMPILE_DEFINITIONS "${_include_dirs}" OUTPUT_VARIABLE _compile_output_var) + + if(NOT _compile_result) + message("${_compile_output_var}") + diff --git a/desktop/toolkit/qt5/qt5-phonon/pspec.xml b/desktop/toolkit/qt5/qt5-phonon/pspec.xml new file mode 100644 index 0000000000..1dd90f8ee7 --- /dev/null +++ b/desktop/toolkit/qt5/qt5-phonon/pspec.xml @@ -0,0 +1,217 @@ + + + + + qt5-phonon + http://phonon.kde.org + + Pisi Linux Admins + admins@pisilinux.org + + LGPLv2.1 + library + Cross platform multimedia API for KDE4 using QT5 + Phonon was created as a solution to several problems with multimedia commonly faced by Unix desktops, especially KDE 3's outdated multimedia framework aRts. Phonon itself is not a multimedia framework, but interfaces with existing frameworks such as GStreamer or Xine via backends. + https://download.kde.org/stable/phonon/4.11.1/phonon-4.11.1.tar.xz + + extra-cmake-modules + qt5-declarative-devel + qt5-base-devel + qt5-designer-devel + qt5-linguist + alsa-lib-devel + gst-plugins-base-devel + pulseaudio-libs-devel + gstreamer-devel + mesa-devel + + + + + + + + qt5-phonon + + libgcc + qt5-base + qt5-designer + + pulseaudio-libs + + + /usr/bin + /usr/lib/libphonon* + /usr/lib/qt5 + /usr/share/dbus-1 + /usr/share/phonon4qt5 + /usr/share/locale + + + + + qt5-phonon-devel + Development files for phonon-qt5 + + qt5-phonon + qt5-base-devel + qt5-designer-devel + pulseaudio-libs-devel + + + /usr/include + /usr/lib/pkgconfig + /usr/lib/cmake + + + + + + 2020-09-09 + 4.11.1 + Rebuild qt5.15.1 + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-04-04 + 4.11.1 + Rebuild qt5.14.2 + Mustafa Cinasal + muscnsl@gmail.com + + + 2020-02-28 + 4.11.1 + Rebuild qt5.14.1 + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-12-22 + 4.11.1 + Rebuild qt5.13.2 + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-10-02 + 4.11.1 + Rebuild qt5.13.2 + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-09-26 + 4.11.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-09-15 + 4.11.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-09-04 + 4.11.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-06-24 + 4.10.2 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-04-14 + 4.10.2 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + + + 2019-01-08 + 4.10.2 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-12-12 + 4.10.1 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-10-18 + 4.10.1 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-08-11 + 4.10.1 + Rebuild + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2018-05-01 + 4.10.1 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2018-02-27 + 4.10.0 + Version bump + Mustafa Cinasal + muscnsl@gmail.com + + + 2017-02-28 + 5.29.0 + Rebuild for new Toolchain. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2017-02-27 + 4.9.1 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2016-05-16 + 4.9.0 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2016-05-03 + 4.9.0 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2015-08-13 + 4.8.3 + First release + Stefan Gronewold(groni) + groni@pisilinux.org + + + diff --git a/desktop/toolkit/qt5/qt5-phonon/translations.xml b/desktop/toolkit/qt5/qt5-phonon/translations.xml new file mode 100644 index 0000000000..b0f45dbca5 --- /dev/null +++ b/desktop/toolkit/qt5/qt5-phonon/translations.xml @@ -0,0 +1,13 @@ + + + + phonon + KDE4 için platform bağımsız çokluortam kitaplığı + Phonon, Unix masaüstlerinde özellikle de KDE3'ün eski çokluortam çatısı aRts'tan kaynaklanan bir çok problemi çözmek için üretilmiştir. Phonon kendi başına bir çokluortam çatısı değildir, Xine veya GStreamer gibi varolan çatıları arka uç olarak kullanırak bir arayüz görevi görür. + + + + phonon-devel + phonon için geliştirme dosyaları + + diff --git a/desktop/toolkit/qt5/qt5-webengine/actions.py b/desktop/toolkit/qt5/qt5-webengine/actions.py index 4b0303cad6..31b57224ab 100755 --- a/desktop/toolkit/qt5/qt5-webengine/actions.py +++ b/desktop/toolkit/qt5/qt5-webengine/actions.py @@ -22,6 +22,7 @@ def setup(): -system-ffmpeg \ -system-opus \ -system-webp \ + -spellchecker \ -webengine-icu \ -webengine-kerberos") diff --git a/desktop/toolkit/qt5/qt5-webengine/files/dark-mode-crash.patch b/desktop/toolkit/qt5/qt5-webengine/files/dark-mode-crash.patch new file mode 100644 index 0000000000..5945ac0991 --- /dev/null +++ b/desktop/toolkit/qt5/qt5-webengine/files/dark-mode-crash.patch @@ -0,0 +1,51 @@ +From 4e8ca195e4a58a35b015ec55f32fb35403acb5ad Mon Sep 17 00:00:00 2001 +From: Kirill Burtsev +Date: Fri, 12 Jun 2020 16:30:23 +0200 +Subject: Fix crash on run with blink setting DarkModeImagePolicy=kFilterSmart + +Activating Dark Mode with with smart image filter policy +'--blink-settings=darkModeEnabled=true,darkModeImagePolicy=2' +lead to crash due stack-use-after-scope. Don't use use local references. +Issue was fixed after refatoring here: +https://chromium-review.googlesource.com/c/chromium/src/+/2169489 +Won't be needed after chromium 85.0.4166.0 + +Change-Id: I6a36a394be41602c10b4c4bca3aa197c99d3be0c +Reviewed-by: Florian Bruhin +Reviewed-by: Michal Klocek +--- + .../blink/renderer/platform/graphics/dark_mode_filter.cc | 10 +++------- + 1 file changed, 3 insertions(+), 7 deletions(-) + +diff --git a/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_filter.cc b/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_filter.cc +index 0c2a478ca67..6f76ef45588 100644 +--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_filter.cc ++++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/dark_mode_filter.cc +@@ -49,21 +49,17 @@ bool ShouldApplyToImage(const DarkModeSettings& settings, + Image* image) { + switch (settings.image_policy) { + case DarkModeImagePolicy::kFilterSmart: { +- DarkModeImageClassifier* classifier; ++ DarkModeClassification result = DarkModeClassification::kNotClassified; + switch (settings.classifier_type) { + case DarkModeClassifierType::kIcon: { +- DarkModeIconClassifier icon_classifier; +- classifier = &icon_classifier; ++ result = DarkModeIconClassifier().Classify(image, src_rect, dest_rect); + break; + } + case DarkModeClassifierType::kGeneric: { +- DarkModeGenericClassifier generic_classifier; +- classifier = &generic_classifier; ++ result = DarkModeGenericClassifier().Classify(image, src_rect, dest_rect); + break; + } + } +- DarkModeClassification result = +- classifier->Classify(image, src_rect, dest_rect); + return result == DarkModeClassification::kApplyFilter; + } + case DarkModeImagePolicy::kFilterNone: +-- +cgit v1.2.1 + diff --git a/desktop/toolkit/qt5/qt5-webengine/pspec.xml b/desktop/toolkit/qt5/qt5-webengine/pspec.xml index 8d068e02d8..a322f395e7 100755 --- a/desktop/toolkit/qt5/qt5-webengine/pspec.xml +++ b/desktop/toolkit/qt5/qt5-webengine/pspec.xml @@ -11,15 +11,15 @@ Provides support for web applications using the Chromium browser project Provides support for web applications using the Chromium browser project LGPLv2.1-linking-exception - http://download.qt.io/official_releases/qt/5.14/5.14.2/submodules/qtwebengine-everywhere-src-5.14.2.tar.xz + http://download.qt.io/official_releases/qt/5.15/5.15.1/submodules/qtwebengine-everywhere-src-5.15.1.tar.xz - qt5-base-devel - qt5-declarative-devel - qt5-xmlpatterns-devel - qt5-location-devel - qt5-sensors-devel - qt5-webchannel-devel - qt5-designer-devel + qt5-base-devel + qt5-declarative-devel + qt5-xmlpatterns-devel + qt5-location-devel + qt5-sensors-devel + qt5-webchannel-devel + qt5-designer-devel bison re2-devel re2c @@ -76,7 +76,7 @@ python-Jinja2 - + @@ -85,7 +85,8 @@ qt5-webengine /usr/lib/qt5/bin/ - /usr/bin + /usr/bin + /usr/lib/libQt5Pdf* /usr/lib/libQt5WebEngine* /usr/lib/libQt5WebEngineWidgets* /usr/lib/qt5 @@ -116,7 +117,7 @@ libopus libxml2 libvpx - qt5-base + qt5-base alsa-lib harfbuzz libevent @@ -126,11 +127,11 @@ libXScrnSaver libXdamage libXrender - qt5-location + qt5-location libXcomposite libjpeg-turbo - qt5-webchannel - qt5-declarative + qt5-webchannel + qt5-declarative zlib minizip protobuf @@ -147,17 +148,17 @@ qt5-webengine - qt5-base-devel - qt5-declarative-devel - qt5-location-devel - qt5-webchannel-devel + qt5-base-devel + qt5-declarative-devel + qt5-location-devel + qt5-webchannel-devel qt5-webengine-docs - qt5-base + qt5-base /usr/share/doc @@ -165,6 +166,13 @@ + + 2020-09-09 + 5.15.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-05-30 5.14.2