Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qt5: update to 5.13.1.
@ 2019-09-25 12:33 voidlinux-github
  2019-09-25 14:34 ` [WIP] " voidlinux-github
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-25 12:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 6319 bytes --]

From cbac0bf777d4887a50ff1eb96c51fcd0d0eb2689 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/3] qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0048-qtbug-76742.patch | 25 ---------------------
 srcpkgs/qt5/patches/0100-qtbug-77364.patch | 26 ++++++++++++++++++++++
 srcpkgs/qt5/template                       |  6 ++---
 3 files changed, 29 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..9711b7933c3 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 

From 9134b688e582e81984f15a38a52d67f2a6fc75bf Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/3] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From b9749ca1cf2aecbb07a17848383f08f978580a71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 14:31:42 +0200
Subject: [PATCH 3/3] fixup! qt5: update to 5.13.1.

[ci skip]
---
 srcpkgs/qt5/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 9711b7933c3..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
@ 2019-09-25 14:34 ` voidlinux-github
  2019-09-25 14:42 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-25 14:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/14701#issuecomment-535052974

Comment:
Cool. Let's merge this after https://github.com/void-linux/void-packages/pull/14656 and I'll remove the qt5 bump from the llvm9 PR to avoid having to rebuild twice. I'll test this this evening, probably

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
  2019-09-25 14:34 ` [WIP] " voidlinux-github
  2019-09-25 14:42 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-25 14:42 ` voidlinux-github
  2019-09-25 17:21 ` voidlinux-github
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-25 14:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

[WIP] qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 13628 bytes --]

From cbac0bf777d4887a50ff1eb96c51fcd0d0eb2689 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/7] qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0048-qtbug-76742.patch | 25 ---------------------
 srcpkgs/qt5/patches/0100-qtbug-77364.patch | 26 ++++++++++++++++++++++
 srcpkgs/qt5/template                       |  6 ++---
 3 files changed, 29 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..9711b7933c3 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 

From 9134b688e582e81984f15a38a52d67f2a6fc75bf Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/7] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From b9749ca1cf2aecbb07a17848383f08f978580a71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 14:31:42 +0200
Subject: [PATCH 3/7] fixup! qt5: update to 5.13.1.

[ci skip]
---
 srcpkgs/qt5/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 9711b7933c3..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

From ba88658d13526a47adbb9a4afb06dba9c08fb1ae Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:35:37 +0200
Subject: [PATCH 4/7] fixup! qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0050-pulse-stubs.patch | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/qt5/patches/0050-pulse-stubs.patch

diff --git a/srcpkgs/qt5/patches/0050-pulse-stubs.patch b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
new file mode 100644
index 00000000000..c4f0fae86ee
--- /dev/null
+++ b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
@@ -0,0 +1,49 @@
+Pulse changed API in a recent update and these need to be fixed
+in order to avoid build errors.
+
+--- qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
++++ qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
+@@ -24,11 +24,11 @@ pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p
+ pa_operation* pa_context_get_source_info_by_name(pa_context* c, const char* name, pa_source_info_cb_t cb, void *userdata);
+ pa_operation* pa_context_get_source_info_list(pa_context* c, pa_source_info_cb_t cb, void* userdata);
+ pa_operation* pa_context_get_sink_info_list(pa_context* c, pa_sink_info_cb_t cb, void* userdata);
+-pa_context_state_t pa_context_get_state(pa_context* c);
++pa_context_state_t pa_context_get_state(const pa_context* c);
+ pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name);
+ pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata);
+ void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, void* userdata);
+-pa_operation_state_t pa_operation_get_state(pa_operation* o);
++pa_operation_state_t pa_operation_get_state(const pa_operation* o);
+ void pa_context_unref(pa_context* c);
+ void pa_operation_unref(pa_operation* o);
+ int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes);
+@@ -38,23 +38,23 @@ pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi
+ int pa_stream_disconnect(pa_stream* s);
+ int pa_stream_drop(pa_stream *p);
+ pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* userdata);
+-uint32_t pa_stream_get_device_index(pa_stream* s);
++uint32_t pa_stream_get_device_index(const pa_stream* s);
+ int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
+-pa_stream_state_t pa_stream_get_state(pa_stream* p);
++pa_stream_state_t pa_stream_get_state(const pa_stream* p);
+ pa_stream* pa_stream_new(pa_context*  c, const char*  name, const pa_sample_spec*  ss, const pa_channel_map *  map);
+ pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* p);
+ pa_proplist* pa_proplist_new(void);
+-int pa_proplist_contains(pa_proplist* p, const char* key);
++int pa_proplist_contains(const pa_proplist* p, const char* key);
+ void pa_proplist_free(pa_proplist* p);
+-const char* pa_proplist_gets(pa_proplist* p, const char* key);
++const char* pa_proplist_gets(const pa_proplist* p, const char* key);
+ int pa_proplist_sets(pa_proplist* p, const char* key, const char* value);
+-size_t pa_stream_readable_size(pa_stream *p);
++size_t pa_stream_readable_size(const pa_stream *p);
+ int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
+ void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
+ void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
+ int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
+ void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
+ void pa_stream_unref(pa_stream* s);
+-int pa_context_errno(pa_context *c);
++int pa_context_errno(const pa_context *c);
+ const char* pa_strerror(int error);
+ pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned  channels, pa_volume_t v);

From 0c765a1173a7781555fc97c8d1e76b90b1d62940 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:15 +0200
Subject: [PATCH 5/7] qt5-styleplugins: rebuild against qt-5.13.1

---
 srcpkgs/qt5-styleplugins/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template
index 745bcb8f7a5..ebefd78afde 100644
--- a/srcpkgs/qt5-styleplugins/template
+++ b/srcpkgs/qt5-styleplugins/template
@@ -1,13 +1,13 @@
 # Template file for 'qt5-styleplugins'
 pkgname=qt5-styleplugins
 version=5.0.0
-revision=8
+revision=9
 _gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
 wrksrc="qtstyleplugins-${_gitrev}"
 build_style=qmake
 hostmakedepends="pkg-config qt5-host-tools qt5-devel"
 makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Additional style plugins for Qt5"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="LGPL-2.1-only, LGPL-3.0-only"

From 37e3b73b48f3b95b98538cae9b8ff42586f30171 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:50 +0200
Subject: [PATCH 6/7] qt5dxcb-plugin: rebuild against qt-5.13.1

---
 srcpkgs/qt5dxcb-plugin/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5dxcb-plugin/template b/srcpkgs/qt5dxcb-plugin/template
index 5013fc8751e..48206d277a5 100644
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -1,14 +1,14 @@
 # Template file for 'qt5dxcb-plugin'
 pkgname=qt5dxcb-plugin
 version=5.0.1
-revision=1
+revision=2
 build_style=qmake
 make_build_args="VERSION=${version}"
 hostmakedepends="pkg-config qt5-qmake"
 makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
  qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
  xcb-util-renderutil-devel xcb-util-wm-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Qt platform plugins for DDE"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

From 04d97155ebeb37eba39c737d11e4a6f36f26aa16 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:39:15 +0200
Subject: [PATCH 7/7] qt5integration: rebuild against qt-5.13.1

[ci skip]
---
 srcpkgs/qt5integration/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template
index 5fcb13ba952..5b948a83f4e 100644
--- a/srcpkgs/qt5integration/template
+++ b/srcpkgs/qt5integration/template
@@ -1,12 +1,12 @@
 # Template file for 'qt5integration'
 pkgname=qt5integration
 version=5.0.0
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="qt5-qmake pkg-config"
 makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
  qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
-depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.0<5.13.1"
+depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.1<5.13.2"
 short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
  2019-09-25 14:34 ` [WIP] " voidlinux-github
@ 2019-09-25 14:42 ` voidlinux-github
  2019-09-25 14:42 ` voidlinux-github
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-25 14:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

[WIP] qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 13628 bytes --]

From cbac0bf777d4887a50ff1eb96c51fcd0d0eb2689 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/7] qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0048-qtbug-76742.patch | 25 ---------------------
 srcpkgs/qt5/patches/0100-qtbug-77364.patch | 26 ++++++++++++++++++++++
 srcpkgs/qt5/template                       |  6 ++---
 3 files changed, 29 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..9711b7933c3 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 

From 9134b688e582e81984f15a38a52d67f2a6fc75bf Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/7] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From b9749ca1cf2aecbb07a17848383f08f978580a71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 14:31:42 +0200
Subject: [PATCH 3/7] fixup! qt5: update to 5.13.1.

[ci skip]
---
 srcpkgs/qt5/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 9711b7933c3..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

From ba88658d13526a47adbb9a4afb06dba9c08fb1ae Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:35:37 +0200
Subject: [PATCH 4/7] fixup! qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0050-pulse-stubs.patch | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/qt5/patches/0050-pulse-stubs.patch

diff --git a/srcpkgs/qt5/patches/0050-pulse-stubs.patch b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
new file mode 100644
index 00000000000..c4f0fae86ee
--- /dev/null
+++ b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
@@ -0,0 +1,49 @@
+Pulse changed API in a recent update and these need to be fixed
+in order to avoid build errors.
+
+--- qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
++++ qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
+@@ -24,11 +24,11 @@ pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p
+ pa_operation* pa_context_get_source_info_by_name(pa_context* c, const char* name, pa_source_info_cb_t cb, void *userdata);
+ pa_operation* pa_context_get_source_info_list(pa_context* c, pa_source_info_cb_t cb, void* userdata);
+ pa_operation* pa_context_get_sink_info_list(pa_context* c, pa_sink_info_cb_t cb, void* userdata);
+-pa_context_state_t pa_context_get_state(pa_context* c);
++pa_context_state_t pa_context_get_state(const pa_context* c);
+ pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name);
+ pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata);
+ void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, void* userdata);
+-pa_operation_state_t pa_operation_get_state(pa_operation* o);
++pa_operation_state_t pa_operation_get_state(const pa_operation* o);
+ void pa_context_unref(pa_context* c);
+ void pa_operation_unref(pa_operation* o);
+ int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes);
+@@ -38,23 +38,23 @@ pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi
+ int pa_stream_disconnect(pa_stream* s);
+ int pa_stream_drop(pa_stream *p);
+ pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* userdata);
+-uint32_t pa_stream_get_device_index(pa_stream* s);
++uint32_t pa_stream_get_device_index(const pa_stream* s);
+ int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
+-pa_stream_state_t pa_stream_get_state(pa_stream* p);
++pa_stream_state_t pa_stream_get_state(const pa_stream* p);
+ pa_stream* pa_stream_new(pa_context*  c, const char*  name, const pa_sample_spec*  ss, const pa_channel_map *  map);
+ pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* p);
+ pa_proplist* pa_proplist_new(void);
+-int pa_proplist_contains(pa_proplist* p, const char* key);
++int pa_proplist_contains(const pa_proplist* p, const char* key);
+ void pa_proplist_free(pa_proplist* p);
+-const char* pa_proplist_gets(pa_proplist* p, const char* key);
++const char* pa_proplist_gets(const pa_proplist* p, const char* key);
+ int pa_proplist_sets(pa_proplist* p, const char* key, const char* value);
+-size_t pa_stream_readable_size(pa_stream *p);
++size_t pa_stream_readable_size(const pa_stream *p);
+ int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
+ void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
+ void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
+ int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
+ void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
+ void pa_stream_unref(pa_stream* s);
+-int pa_context_errno(pa_context *c);
++int pa_context_errno(const pa_context *c);
+ const char* pa_strerror(int error);
+ pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned  channels, pa_volume_t v);

From 0c765a1173a7781555fc97c8d1e76b90b1d62940 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:15 +0200
Subject: [PATCH 5/7] qt5-styleplugins: rebuild against qt-5.13.1

---
 srcpkgs/qt5-styleplugins/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template
index 745bcb8f7a5..ebefd78afde 100644
--- a/srcpkgs/qt5-styleplugins/template
+++ b/srcpkgs/qt5-styleplugins/template
@@ -1,13 +1,13 @@
 # Template file for 'qt5-styleplugins'
 pkgname=qt5-styleplugins
 version=5.0.0
-revision=8
+revision=9
 _gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
 wrksrc="qtstyleplugins-${_gitrev}"
 build_style=qmake
 hostmakedepends="pkg-config qt5-host-tools qt5-devel"
 makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Additional style plugins for Qt5"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="LGPL-2.1-only, LGPL-3.0-only"

From 37e3b73b48f3b95b98538cae9b8ff42586f30171 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:50 +0200
Subject: [PATCH 6/7] qt5dxcb-plugin: rebuild against qt-5.13.1

---
 srcpkgs/qt5dxcb-plugin/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5dxcb-plugin/template b/srcpkgs/qt5dxcb-plugin/template
index 5013fc8751e..48206d277a5 100644
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -1,14 +1,14 @@
 # Template file for 'qt5dxcb-plugin'
 pkgname=qt5dxcb-plugin
 version=5.0.1
-revision=1
+revision=2
 build_style=qmake
 make_build_args="VERSION=${version}"
 hostmakedepends="pkg-config qt5-qmake"
 makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
  qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
  xcb-util-renderutil-devel xcb-util-wm-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Qt platform plugins for DDE"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

From 04d97155ebeb37eba39c737d11e4a6f36f26aa16 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:39:15 +0200
Subject: [PATCH 7/7] qt5integration: rebuild against qt-5.13.1

[ci skip]
---
 srcpkgs/qt5integration/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template
index 5fcb13ba952..5b948a83f4e 100644
--- a/srcpkgs/qt5integration/template
+++ b/srcpkgs/qt5integration/template
@@ -1,12 +1,12 @@
 # Template file for 'qt5integration'
 pkgname=qt5integration
 version=5.0.0
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="qt5-qmake pkg-config"
 makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
  qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
-depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.0<5.13.1"
+depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.1<5.13.2"
 short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-09-25 17:21 ` voidlinux-github
@ 2019-09-25 17:21 ` voidlinux-github
  2019-09-26  0:40 ` voidlinux-github
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-25 17:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

[WIP] qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 14550 bytes --]

From cbac0bf777d4887a50ff1eb96c51fcd0d0eb2689 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/8] qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0048-qtbug-76742.patch | 25 ---------------------
 srcpkgs/qt5/patches/0100-qtbug-77364.patch | 26 ++++++++++++++++++++++
 srcpkgs/qt5/template                       |  6 ++---
 3 files changed, 29 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..9711b7933c3 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 

From 9134b688e582e81984f15a38a52d67f2a6fc75bf Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/8] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From b9749ca1cf2aecbb07a17848383f08f978580a71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 14:31:42 +0200
Subject: [PATCH 3/8] fixup! qt5: update to 5.13.1.

[ci skip]
---
 srcpkgs/qt5/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 9711b7933c3..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

From ba88658d13526a47adbb9a4afb06dba9c08fb1ae Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:35:37 +0200
Subject: [PATCH 4/8] fixup! qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0050-pulse-stubs.patch | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/qt5/patches/0050-pulse-stubs.patch

diff --git a/srcpkgs/qt5/patches/0050-pulse-stubs.patch b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
new file mode 100644
index 00000000000..c4f0fae86ee
--- /dev/null
+++ b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
@@ -0,0 +1,49 @@
+Pulse changed API in a recent update and these need to be fixed
+in order to avoid build errors.
+
+--- qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
++++ qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
+@@ -24,11 +24,11 @@ pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p
+ pa_operation* pa_context_get_source_info_by_name(pa_context* c, const char* name, pa_source_info_cb_t cb, void *userdata);
+ pa_operation* pa_context_get_source_info_list(pa_context* c, pa_source_info_cb_t cb, void* userdata);
+ pa_operation* pa_context_get_sink_info_list(pa_context* c, pa_sink_info_cb_t cb, void* userdata);
+-pa_context_state_t pa_context_get_state(pa_context* c);
++pa_context_state_t pa_context_get_state(const pa_context* c);
+ pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name);
+ pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata);
+ void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, void* userdata);
+-pa_operation_state_t pa_operation_get_state(pa_operation* o);
++pa_operation_state_t pa_operation_get_state(const pa_operation* o);
+ void pa_context_unref(pa_context* c);
+ void pa_operation_unref(pa_operation* o);
+ int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes);
+@@ -38,23 +38,23 @@ pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi
+ int pa_stream_disconnect(pa_stream* s);
+ int pa_stream_drop(pa_stream *p);
+ pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* userdata);
+-uint32_t pa_stream_get_device_index(pa_stream* s);
++uint32_t pa_stream_get_device_index(const pa_stream* s);
+ int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
+-pa_stream_state_t pa_stream_get_state(pa_stream* p);
++pa_stream_state_t pa_stream_get_state(const pa_stream* p);
+ pa_stream* pa_stream_new(pa_context*  c, const char*  name, const pa_sample_spec*  ss, const pa_channel_map *  map);
+ pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* p);
+ pa_proplist* pa_proplist_new(void);
+-int pa_proplist_contains(pa_proplist* p, const char* key);
++int pa_proplist_contains(const pa_proplist* p, const char* key);
+ void pa_proplist_free(pa_proplist* p);
+-const char* pa_proplist_gets(pa_proplist* p, const char* key);
++const char* pa_proplist_gets(const pa_proplist* p, const char* key);
+ int pa_proplist_sets(pa_proplist* p, const char* key, const char* value);
+-size_t pa_stream_readable_size(pa_stream *p);
++size_t pa_stream_readable_size(const pa_stream *p);
+ int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
+ void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
+ void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
+ int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
+ void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
+ void pa_stream_unref(pa_stream* s);
+-int pa_context_errno(pa_context *c);
++int pa_context_errno(const pa_context *c);
+ const char* pa_strerror(int error);
+ pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned  channels, pa_volume_t v);

From 0c765a1173a7781555fc97c8d1e76b90b1d62940 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:15 +0200
Subject: [PATCH 5/8] qt5-styleplugins: rebuild against qt-5.13.1

---
 srcpkgs/qt5-styleplugins/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template
index 745bcb8f7a5..ebefd78afde 100644
--- a/srcpkgs/qt5-styleplugins/template
+++ b/srcpkgs/qt5-styleplugins/template
@@ -1,13 +1,13 @@
 # Template file for 'qt5-styleplugins'
 pkgname=qt5-styleplugins
 version=5.0.0
-revision=8
+revision=9
 _gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
 wrksrc="qtstyleplugins-${_gitrev}"
 build_style=qmake
 hostmakedepends="pkg-config qt5-host-tools qt5-devel"
 makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Additional style plugins for Qt5"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="LGPL-2.1-only, LGPL-3.0-only"

From 37e3b73b48f3b95b98538cae9b8ff42586f30171 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:50 +0200
Subject: [PATCH 6/8] qt5dxcb-plugin: rebuild against qt-5.13.1

---
 srcpkgs/qt5dxcb-plugin/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5dxcb-plugin/template b/srcpkgs/qt5dxcb-plugin/template
index 5013fc8751e..48206d277a5 100644
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -1,14 +1,14 @@
 # Template file for 'qt5dxcb-plugin'
 pkgname=qt5dxcb-plugin
 version=5.0.1
-revision=1
+revision=2
 build_style=qmake
 make_build_args="VERSION=${version}"
 hostmakedepends="pkg-config qt5-qmake"
 makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
  qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
  xcb-util-renderutil-devel xcb-util-wm-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Qt platform plugins for DDE"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

From 04d97155ebeb37eba39c737d11e4a6f36f26aa16 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:39:15 +0200
Subject: [PATCH 7/8] qt5integration: rebuild against qt-5.13.1

[ci skip]
---
 srcpkgs/qt5integration/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template
index 5fcb13ba952..5b948a83f4e 100644
--- a/srcpkgs/qt5integration/template
+++ b/srcpkgs/qt5integration/template
@@ -1,12 +1,12 @@
 # Template file for 'qt5integration'
 pkgname=qt5integration
 version=5.0.0
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="qt5-qmake pkg-config"
 makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
  qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
-depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.0<5.13.1"
+depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.1<5.13.2"
 short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

From 4a5a5d66e3e3049a6f15c7c1fb53e03350484347 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 19:21:32 +0200
Subject: [PATCH 8/8] fixup! qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0027-remove-glibc-check.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/qt5/patches/0027-remove-glibc-check.patch

diff --git a/srcpkgs/qt5/patches/0027-remove-glibc-check.patch b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
new file mode 100644
index 00000000000..fd0ab849c01
--- /dev/null
+++ b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
@@ -0,0 +1,13 @@
+--- qtwebengine/config.tests/glibc/glibc.cpp
++++ qtwebengine/config.tests/glibc/glibc.cpp
+@@ -28,10 +28,6 @@
+ 
+ #include <features.h>
+ 
+-#if __GLIBC__ < 2 || __GLIBC_MINOR__ < 17
+-#error glibc versions below 2.17 are not supported
+-#endif
+-
+ int main(int , char **) {
+   return 0;
+ }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-09-25 14:42 ` voidlinux-github
@ 2019-09-25 17:21 ` voidlinux-github
  2019-09-25 17:21 ` voidlinux-github
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-25 17:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

[WIP] qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 14550 bytes --]

From cbac0bf777d4887a50ff1eb96c51fcd0d0eb2689 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/8] qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0048-qtbug-76742.patch | 25 ---------------------
 srcpkgs/qt5/patches/0100-qtbug-77364.patch | 26 ++++++++++++++++++++++
 srcpkgs/qt5/template                       |  6 ++---
 3 files changed, 29 insertions(+), 28 deletions(-)
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..9711b7933c3 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 

From 9134b688e582e81984f15a38a52d67f2a6fc75bf Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/8] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From b9749ca1cf2aecbb07a17848383f08f978580a71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 14:31:42 +0200
Subject: [PATCH 3/8] fixup! qt5: update to 5.13.1.

[ci skip]
---
 srcpkgs/qt5/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 9711b7933c3..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

From ba88658d13526a47adbb9a4afb06dba9c08fb1ae Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:35:37 +0200
Subject: [PATCH 4/8] fixup! qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0050-pulse-stubs.patch | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 srcpkgs/qt5/patches/0050-pulse-stubs.patch

diff --git a/srcpkgs/qt5/patches/0050-pulse-stubs.patch b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
new file mode 100644
index 00000000000..c4f0fae86ee
--- /dev/null
+++ b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
@@ -0,0 +1,49 @@
+Pulse changed API in a recent update and these need to be fixed
+in order to avoid build errors.
+
+--- qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
++++ qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
+@@ -24,11 +24,11 @@ pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p
+ pa_operation* pa_context_get_source_info_by_name(pa_context* c, const char* name, pa_source_info_cb_t cb, void *userdata);
+ pa_operation* pa_context_get_source_info_list(pa_context* c, pa_source_info_cb_t cb, void* userdata);
+ pa_operation* pa_context_get_sink_info_list(pa_context* c, pa_sink_info_cb_t cb, void* userdata);
+-pa_context_state_t pa_context_get_state(pa_context* c);
++pa_context_state_t pa_context_get_state(const pa_context* c);
+ pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name);
+ pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata);
+ void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, void* userdata);
+-pa_operation_state_t pa_operation_get_state(pa_operation* o);
++pa_operation_state_t pa_operation_get_state(const pa_operation* o);
+ void pa_context_unref(pa_context* c);
+ void pa_operation_unref(pa_operation* o);
+ int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes);
+@@ -38,23 +38,23 @@ pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi
+ int pa_stream_disconnect(pa_stream* s);
+ int pa_stream_drop(pa_stream *p);
+ pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* userdata);
+-uint32_t pa_stream_get_device_index(pa_stream* s);
++uint32_t pa_stream_get_device_index(const pa_stream* s);
+ int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
+-pa_stream_state_t pa_stream_get_state(pa_stream* p);
++pa_stream_state_t pa_stream_get_state(const pa_stream* p);
+ pa_stream* pa_stream_new(pa_context*  c, const char*  name, const pa_sample_spec*  ss, const pa_channel_map *  map);
+ pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* p);
+ pa_proplist* pa_proplist_new(void);
+-int pa_proplist_contains(pa_proplist* p, const char* key);
++int pa_proplist_contains(const pa_proplist* p, const char* key);
+ void pa_proplist_free(pa_proplist* p);
+-const char* pa_proplist_gets(pa_proplist* p, const char* key);
++const char* pa_proplist_gets(const pa_proplist* p, const char* key);
+ int pa_proplist_sets(pa_proplist* p, const char* key, const char* value);
+-size_t pa_stream_readable_size(pa_stream *p);
++size_t pa_stream_readable_size(const pa_stream *p);
+ int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
+ void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
+ void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
+ int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
+ void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
+ void pa_stream_unref(pa_stream* s);
+-int pa_context_errno(pa_context *c);
++int pa_context_errno(const pa_context *c);
+ const char* pa_strerror(int error);
+ pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned  channels, pa_volume_t v);

From 0c765a1173a7781555fc97c8d1e76b90b1d62940 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:15 +0200
Subject: [PATCH 5/8] qt5-styleplugins: rebuild against qt-5.13.1

---
 srcpkgs/qt5-styleplugins/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template
index 745bcb8f7a5..ebefd78afde 100644
--- a/srcpkgs/qt5-styleplugins/template
+++ b/srcpkgs/qt5-styleplugins/template
@@ -1,13 +1,13 @@
 # Template file for 'qt5-styleplugins'
 pkgname=qt5-styleplugins
 version=5.0.0
-revision=8
+revision=9
 _gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
 wrksrc="qtstyleplugins-${_gitrev}"
 build_style=qmake
 hostmakedepends="pkg-config qt5-host-tools qt5-devel"
 makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Additional style plugins for Qt5"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="LGPL-2.1-only, LGPL-3.0-only"

From 37e3b73b48f3b95b98538cae9b8ff42586f30171 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:50 +0200
Subject: [PATCH 6/8] qt5dxcb-plugin: rebuild against qt-5.13.1

---
 srcpkgs/qt5dxcb-plugin/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5dxcb-plugin/template b/srcpkgs/qt5dxcb-plugin/template
index 5013fc8751e..48206d277a5 100644
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -1,14 +1,14 @@
 # Template file for 'qt5dxcb-plugin'
 pkgname=qt5dxcb-plugin
 version=5.0.1
-revision=1
+revision=2
 build_style=qmake
 make_build_args="VERSION=${version}"
 hostmakedepends="pkg-config qt5-qmake"
 makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
  qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
  xcb-util-renderutil-devel xcb-util-wm-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Qt platform plugins for DDE"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

From 04d97155ebeb37eba39c737d11e4a6f36f26aa16 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:39:15 +0200
Subject: [PATCH 7/8] qt5integration: rebuild against qt-5.13.1

[ci skip]
---
 srcpkgs/qt5integration/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template
index 5fcb13ba952..5b948a83f4e 100644
--- a/srcpkgs/qt5integration/template
+++ b/srcpkgs/qt5integration/template
@@ -1,12 +1,12 @@
 # Template file for 'qt5integration'
 pkgname=qt5integration
 version=5.0.0
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="qt5-qmake pkg-config"
 makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
  qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
-depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.0<5.13.1"
+depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.1<5.13.2"
 short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

From 4a5a5d66e3e3049a6f15c7c1fb53e03350484347 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 19:21:32 +0200
Subject: [PATCH 8/8] fixup! qt5: update to 5.13.1.

---
 srcpkgs/qt5/patches/0027-remove-glibc-check.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/qt5/patches/0027-remove-glibc-check.patch

diff --git a/srcpkgs/qt5/patches/0027-remove-glibc-check.patch b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
new file mode 100644
index 00000000000..fd0ab849c01
--- /dev/null
+++ b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
@@ -0,0 +1,13 @@
+--- qtwebengine/config.tests/glibc/glibc.cpp
++++ qtwebengine/config.tests/glibc/glibc.cpp
+@@ -28,10 +28,6 @@
+ 
+ #include <features.h>
+ 
+-#if __GLIBC__ < 2 || __GLIBC_MINOR__ < 17
+-#error glibc versions below 2.17 are not supported
+-#endif
+-
+ int main(int , char **) {
+   return 0;
+ }

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-09-25 17:21 ` voidlinux-github
@ 2019-09-26  0:40 ` voidlinux-github
  2019-09-26  9:40 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26  0:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/14701#issuecomment-535279104

Comment:
Looks like `qt5dxcb-plugin` needs this:

```
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -29,6 +29,11 @@ pre_configure() {
 		msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
 		exit 1
 	fi
+
+	# no headers for 5.13.1 yet; 5.13.0 headers are the same for this
+	# remove on next version upgrade (after upstream has added them)
+	ln -s ${wrksrc}/platformplugin/libqt5xcbqpa-dev/5.13.0 \
+	      ${wrksrc}/platformplugin/libqt5xcbqpa-dev/5.13.1
 }
 
 if [ "$CROSS_BUILD" ]; then
```

The reason for that is that the headers weren't added for 5.13.1 yet. I diffed the 5.13.0 headers against the ones from 5.13.1 Qt source, and the only change was that 5.13.1 added some non-virtual private method in a place which is irrelevant for this, so for now this is perfectly okay.

Should be removed for next bump afterwards, though.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (5 preceding siblings ...)
  2019-09-26  0:40 ` voidlinux-github
@ 2019-09-26  9:40 ` voidlinux-github
  2019-09-26  9:40 ` voidlinux-github
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26  9:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

[WIP] qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 14049 bytes --]

From d697b6cf06500313c3f38105d3fe78f4c0ff5d1c Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/5] qt5: update to 5.13.1.

---
 .../qt5/patches/0027-remove-glibc-check.patch | 13 +++++
 srcpkgs/qt5/patches/0048-qtbug-76742.patch    | 25 ----------
 srcpkgs/qt5/patches/0050-pulse-stubs.patch    | 49 +++++++++++++++++++
 srcpkgs/qt5/patches/0100-qtbug-77364.patch    | 26 ++++++++++
 srcpkgs/qt5/template                          |  7 +--
 5 files changed, 92 insertions(+), 28 deletions(-)
 create mode 100644 srcpkgs/qt5/patches/0027-remove-glibc-check.patch
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0050-pulse-stubs.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0027-remove-glibc-check.patch b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
new file mode 100644
index 00000000000..fd0ab849c01
--- /dev/null
+++ b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
@@ -0,0 +1,13 @@
+--- qtwebengine/config.tests/glibc/glibc.cpp
++++ qtwebengine/config.tests/glibc/glibc.cpp
+@@ -28,10 +28,6 @@
+ 
+ #include <features.h>
+ 
+-#if __GLIBC__ < 2 || __GLIBC_MINOR__ < 17
+-#error glibc versions below 2.17 are not supported
+-#endif
+-
+ int main(int , char **) {
+   return 0;
+ }
diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0050-pulse-stubs.patch b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
new file mode 100644
index 00000000000..c4f0fae86ee
--- /dev/null
+++ b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
@@ -0,0 +1,49 @@
+Pulse changed API in a recent update and these need to be fixed
+in order to avoid build errors.
+
+--- qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
++++ qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
+@@ -24,11 +24,11 @@ pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p
+ pa_operation* pa_context_get_source_info_by_name(pa_context* c, const char* name, pa_source_info_cb_t cb, void *userdata);
+ pa_operation* pa_context_get_source_info_list(pa_context* c, pa_source_info_cb_t cb, void* userdata);
+ pa_operation* pa_context_get_sink_info_list(pa_context* c, pa_sink_info_cb_t cb, void* userdata);
+-pa_context_state_t pa_context_get_state(pa_context* c);
++pa_context_state_t pa_context_get_state(const pa_context* c);
+ pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name);
+ pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata);
+ void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, void* userdata);
+-pa_operation_state_t pa_operation_get_state(pa_operation* o);
++pa_operation_state_t pa_operation_get_state(const pa_operation* o);
+ void pa_context_unref(pa_context* c);
+ void pa_operation_unref(pa_operation* o);
+ int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes);
+@@ -38,23 +38,23 @@ pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi
+ int pa_stream_disconnect(pa_stream* s);
+ int pa_stream_drop(pa_stream *p);
+ pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* userdata);
+-uint32_t pa_stream_get_device_index(pa_stream* s);
++uint32_t pa_stream_get_device_index(const pa_stream* s);
+ int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
+-pa_stream_state_t pa_stream_get_state(pa_stream* p);
++pa_stream_state_t pa_stream_get_state(const pa_stream* p);
+ pa_stream* pa_stream_new(pa_context*  c, const char*  name, const pa_sample_spec*  ss, const pa_channel_map *  map);
+ pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* p);
+ pa_proplist* pa_proplist_new(void);
+-int pa_proplist_contains(pa_proplist* p, const char* key);
++int pa_proplist_contains(const pa_proplist* p, const char* key);
+ void pa_proplist_free(pa_proplist* p);
+-const char* pa_proplist_gets(pa_proplist* p, const char* key);
++const char* pa_proplist_gets(const pa_proplist* p, const char* key);
+ int pa_proplist_sets(pa_proplist* p, const char* key, const char* value);
+-size_t pa_stream_readable_size(pa_stream *p);
++size_t pa_stream_readable_size(const pa_stream *p);
+ int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
+ void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
+ void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
+ int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
+ void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
+ void pa_stream_unref(pa_stream* s);
+-int pa_context_errno(pa_context *c);
++int pa_context_errno(const pa_context *c);
+ const char* pa_strerror(int error);
+ pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned  channels, pa_volume_t v);
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

From 685693a0dc073bece50b133f554dc8a54e2ad491 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/5] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From e001a29d64fb95cca6cf20f5f9e2c3908ab6bc71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:15 +0200
Subject: [PATCH 3/5] qt5-styleplugins: rebuild against qt-5.13.1

---
 srcpkgs/qt5-styleplugins/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template
index 745bcb8f7a5..ebefd78afde 100644
--- a/srcpkgs/qt5-styleplugins/template
+++ b/srcpkgs/qt5-styleplugins/template
@@ -1,13 +1,13 @@
 # Template file for 'qt5-styleplugins'
 pkgname=qt5-styleplugins
 version=5.0.0
-revision=8
+revision=9
 _gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
 wrksrc="qtstyleplugins-${_gitrev}"
 build_style=qmake
 hostmakedepends="pkg-config qt5-host-tools qt5-devel"
 makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Additional style plugins for Qt5"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="LGPL-2.1-only, LGPL-3.0-only"

From 9fca5d2089ffac90bb0772f6125c4da464dab2e7 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:50 +0200
Subject: [PATCH 4/5] qt5dxcb-plugin: rebuild against qt-5.13.1

---
 srcpkgs/qt5dxcb-plugin/template | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5dxcb-plugin/template b/srcpkgs/qt5dxcb-plugin/template
index 5013fc8751e..1dbb3a8f99c 100644
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -1,14 +1,14 @@
 # Template file for 'qt5dxcb-plugin'
 pkgname=qt5dxcb-plugin
 version=5.0.1
-revision=1
+revision=2
 build_style=qmake
 make_build_args="VERSION=${version}"
 hostmakedepends="pkg-config qt5-qmake"
 makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
  qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
  xcb-util-renderutil-devel xcb-util-wm-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Qt platform plugins for DDE"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"
@@ -29,6 +29,11 @@ pre_configure() {
 		msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
 		exit 1
 	fi
+
+	# no headers for 5.13.1 yet; 5.13.0 headers are the same for this
+	# remove on next version upgrade (after upstream has added them)
+	ln -s ${wrksrc}/platformplugin/libqt5xcbqpa-dev/5.13.0 \
+		${wrksrc}/platformplugin/libqt5xcbqpa-dev/5.13.1
 }
 
 if [ "$CROSS_BUILD" ]; then

From 3874d6e584a8ccac66ba4adaf8f4248bada85b1f Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:39:15 +0200
Subject: [PATCH 5/5] qt5integration: rebuild against qt-5.13.1

[ci skip]
---
 srcpkgs/qt5integration/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template
index 5fcb13ba952..5b948a83f4e 100644
--- a/srcpkgs/qt5integration/template
+++ b/srcpkgs/qt5integration/template
@@ -1,12 +1,12 @@
 # Template file for 'qt5integration'
 pkgname=qt5integration
 version=5.0.0
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="qt5-qmake pkg-config"
 makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
  qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
-depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.0<5.13.1"
+depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.1<5.13.2"
 short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (6 preceding siblings ...)
  2019-09-26  9:40 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-26  9:40 ` voidlinux-github
  2019-09-26  9:43 ` voidlinux-github
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26  9:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages qt5.13.1
https://github.com/void-linux/void-packages/pull/14701

[WIP] qt5: update to 5.13.1.
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

A patch file from https://github.com/void-linux/void-packages/pull/14701.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5.13.1-14701.patch --]
[-- Type: text/x-diff, Size: 14049 bytes --]

From d697b6cf06500313c3f38105d3fe78f4c0ff5d1c Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:47:52 +0200
Subject: [PATCH 1/5] qt5: update to 5.13.1.

---
 .../qt5/patches/0027-remove-glibc-check.patch | 13 +++++
 srcpkgs/qt5/patches/0048-qtbug-76742.patch    | 25 ----------
 srcpkgs/qt5/patches/0050-pulse-stubs.patch    | 49 +++++++++++++++++++
 srcpkgs/qt5/patches/0100-qtbug-77364.patch    | 26 ++++++++++
 srcpkgs/qt5/template                          |  7 +--
 5 files changed, 92 insertions(+), 28 deletions(-)
 create mode 100644 srcpkgs/qt5/patches/0027-remove-glibc-check.patch
 delete mode 100644 srcpkgs/qt5/patches/0048-qtbug-76742.patch
 create mode 100644 srcpkgs/qt5/patches/0050-pulse-stubs.patch
 create mode 100644 srcpkgs/qt5/patches/0100-qtbug-77364.patch

diff --git a/srcpkgs/qt5/patches/0027-remove-glibc-check.patch b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
new file mode 100644
index 00000000000..fd0ab849c01
--- /dev/null
+++ b/srcpkgs/qt5/patches/0027-remove-glibc-check.patch
@@ -0,0 +1,13 @@
+--- qtwebengine/config.tests/glibc/glibc.cpp
++++ qtwebengine/config.tests/glibc/glibc.cpp
+@@ -28,10 +28,6 @@
+ 
+ #include <features.h>
+ 
+-#if __GLIBC__ < 2 || __GLIBC_MINOR__ < 17
+-#error glibc versions below 2.17 are not supported
+-#endif
+-
+ int main(int , char **) {
+   return 0;
+ }
diff --git a/srcpkgs/qt5/patches/0048-qtbug-76742.patch b/srcpkgs/qt5/patches/0048-qtbug-76742.patch
deleted file mode 100644
index 311ad55e4d4..00000000000
--- a/srcpkgs/qt5/patches/0048-qtbug-76742.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: https://codereview.qt-project.org/c/qt/qtbase/+/267242
-Upstream: yes
-Reason: fix focus stealing in applications (e.g. VirtualBox)
-
---- qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp	2019-07-21 11:56:22.250127747 +0200
-@@ -133,6 +133,7 @@
-         qunsetenv("DESKTOP_STARTUP_ID");
- 
-     m_focusInTimer.setSingleShot(true);
-+    m_focusInTimer.setInterval(100);
-     m_focusInTimer.callOnTimeout([]() {
-         // No FocusIn events for us, proceed with FocusOut normally.
-         QWindowSystemInterface::handleWindowActivated(nullptr, Qt::ActiveWindowFocusReason);
---- qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-06-13 06:18:18.000000000 +0200
-+++ qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp	2019-07-21 11:58:00.255122346 +0200
-@@ -848,7 +848,7 @@
-     connection()->setFocusWindow(nullptr);
-     relayFocusToModalWindow();
-     // Do not set the active window to nullptr if there is a FocusIn coming.
--    connection()->focusInTimer().start(400);
-+    connection()->focusInTimer().start();
- }
- 
- struct QtMotifWmHints {
diff --git a/srcpkgs/qt5/patches/0050-pulse-stubs.patch b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
new file mode 100644
index 00000000000..c4f0fae86ee
--- /dev/null
+++ b/srcpkgs/qt5/patches/0050-pulse-stubs.patch
@@ -0,0 +1,49 @@
+Pulse changed API in a recent update and these need to be fixed
+in order to avoid build errors.
+
+--- qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
++++ qtwebengine/src/3rdparty/chromium/media/audio/pulse/pulse.sigs
+@@ -24,11 +24,11 @@ pa_operation* pa_context_get_source_info_by_index(pa_context* c, uint32_t idx, p
+ pa_operation* pa_context_get_source_info_by_name(pa_context* c, const char* name, pa_source_info_cb_t cb, void *userdata);
+ pa_operation* pa_context_get_source_info_list(pa_context* c, pa_source_info_cb_t cb, void* userdata);
+ pa_operation* pa_context_get_sink_info_list(pa_context* c, pa_sink_info_cb_t cb, void* userdata);
+-pa_context_state_t pa_context_get_state(pa_context* c);
++pa_context_state_t pa_context_get_state(const pa_context* c);
+ pa_context* pa_context_new(pa_mainloop_api* mainloop, const char* name);
+ pa_operation* pa_context_set_source_volume_by_index(pa_context* c, uint32_t idx, const pa_cvolume* volume, pa_context_success_cb_t cb, void* userdata);
+ void pa_context_set_state_callback(pa_context* c, pa_context_notify_cb_t cb, void* userdata);
+-pa_operation_state_t pa_operation_get_state(pa_operation* o);
++pa_operation_state_t pa_operation_get_state(const pa_operation* o);
+ void pa_context_unref(pa_context* c);
+ void pa_operation_unref(pa_operation* o);
+ int pa_stream_begin_write(pa_stream* p, void** data, size_t* nbytes);
+@@ -38,23 +38,23 @@ pa_operation* pa_stream_cork(pa_stream* s, int b, pa_stream_success_cb_t cb, voi
+ int pa_stream_disconnect(pa_stream* s);
+ int pa_stream_drop(pa_stream *p);
+ pa_operation* pa_stream_flush(pa_stream* s, pa_stream_success_cb_t cb, void* userdata);
+-uint32_t pa_stream_get_device_index(pa_stream* s);
++uint32_t pa_stream_get_device_index(const pa_stream* s);
+ int pa_stream_get_latency(pa_stream* s, pa_usec_t* r_usec, int* negative);
+-pa_stream_state_t pa_stream_get_state(pa_stream* p);
++pa_stream_state_t pa_stream_get_state(const pa_stream* p);
+ pa_stream* pa_stream_new(pa_context*  c, const char*  name, const pa_sample_spec*  ss, const pa_channel_map *  map);
+ pa_stream* pa_stream_new_with_proplist(pa_context* c, const char* name, const pa_sample_spec* ss, const pa_channel_map* map, pa_proplist* p);
+ pa_proplist* pa_proplist_new(void);
+-int pa_proplist_contains(pa_proplist* p, const char* key);
++int pa_proplist_contains(const pa_proplist* p, const char* key);
+ void pa_proplist_free(pa_proplist* p);
+-const char* pa_proplist_gets(pa_proplist* p, const char* key);
++const char* pa_proplist_gets(const pa_proplist* p, const char* key);
+ int pa_proplist_sets(pa_proplist* p, const char* key, const char* value);
+-size_t pa_stream_readable_size(pa_stream *p);
++size_t pa_stream_readable_size(const pa_stream *p);
+ int pa_stream_peek(pa_stream* p, const void** data, size_t* nbytes);
+ void pa_stream_set_read_callback(pa_stream* p, pa_stream_request_cb_t cb, void* userdata);
+ void pa_stream_set_state_callback(pa_stream* s, pa_stream_notify_cb_t cb, void* userdata);
+ int pa_stream_write(pa_stream* p, const void* data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek);
+ void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
+ void pa_stream_unref(pa_stream* s);
+-int pa_context_errno(pa_context *c);
++int pa_context_errno(const pa_context *c);
+ const char* pa_strerror(int error);
+ pa_cvolume* pa_cvolume_set(pa_cvolume* a, unsigned  channels, pa_volume_t v);
diff --git a/srcpkgs/qt5/patches/0100-qtbug-77364.patch b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
new file mode 100644
index 00000000000..5a3629bf0b7
--- /dev/null
+++ b/srcpkgs/qt5/patches/0100-qtbug-77364.patch
@@ -0,0 +1,26 @@
+From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
+From: David Faure <david.faure@kdab.com>
+Date: Mon, 09 Sep 2019 18:12:26 +0200
+Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly
+
+My commit 3e7463411e adjusted the focus widget by setting
+QApplicationPrivate::focus_widget directly, while there is a method for
+doing this properly, including setFocus_sys() and emitting signals.
+
+Fixes: QTBUG-77364
+Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
+---
+
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index cf5a81c..6889c2e 100644
+--- qtbase/src/widgets/kernel/qwidget.cpp
++++ qtbase/src/widgets/kernel/qwidget.cpp
+@@ -6204,7 +6204,7 @@
+ 
+     if (changingAppFocusWidget) {
+         QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+-        QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++        QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+     }
+ }
+ 
diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template
index 610b2a88b07..0b74add5101 100644
--- a/srcpkgs/qt5/template
+++ b/srcpkgs/qt5/template
@@ -1,7 +1,7 @@
 # Template file for 'qt5'
 pkgname=qt5
-version=5.13.0
-revision=4
+version=5.13.1
+revision=1
 wrksrc="qt-everywhere-src-${version}"
 build_style=gnu-configure
 hostmakedepends="cmake clang flex git glib-devel gperf ninja pkg-config
@@ -21,7 +21,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://qt.io/"
 distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/single/qt-everywhere-src-${version}.tar.xz"
-checksum=2cba31e410e169bd5cdae159f839640e672532a4687ea0f265f686421e0e86d6
+checksum=adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e
 replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
  qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
 
@@ -412,6 +412,7 @@ do_configure() {
 }
 
 do_build() {
+	export NINJAJOBS=${makejobs}
 	# Run make twice because sometimes a file "chrome/grit/generated_resources.h"
 	# is not yet ready when it is to be included. Repeating make works around that
 	# problem without having to resort to disable_parallel_build=yes

From 685693a0dc073bece50b133f554dc8a54e2ad491 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 13:50:15 +0200
Subject: [PATCH 2/5] telegram-desktop: rebuild against qt-5.13.1

---
 srcpkgs/telegram-desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template
index 47c73c597fb..e6ffd524aba 100644
--- a/srcpkgs/telegram-desktop/template
+++ b/srcpkgs/telegram-desktop/template
@@ -1,7 +1,7 @@
 # Template file for 'telegram-desktop'
 pkgname=telegram-desktop
 version=1.8.8
-revision=1
+revision=2
 _libtgvoip_commit=d4a0f719ffd8d29e88474f67abc9fc862661c3b9
 _GSL_commit=d846fe50a3f0bb7767c7e087a05f4be95f4da0ec
 _variant_commit=550ac2f159ca883d360c196149b466955c77a573
@@ -18,7 +18,7 @@ makedepends="alsa-lib-devel ffmpeg-devel gtk+3-devel libappindicator-devel
  libdbusmenu-glib-devel libopenal-devel minizip-devel opus-devel xxHash-devel
  $(vopt_if pulseaudio 'pulseaudio-devel') qt5-devel range-v3 libva-devel
  rapidjson liblz4-devel rlottie-devel"
-depends="qt5-imageformats qt5>=5.13.0<5.13.1"
+depends="qt5-imageformats qt5>=5.13.1<5.13.2"
 short_desc="Telegram Desktop messaging app"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later WITH OpenSSL"

From e001a29d64fb95cca6cf20f5f9e2c3908ab6bc71 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:15 +0200
Subject: [PATCH 3/5] qt5-styleplugins: rebuild against qt-5.13.1

---
 srcpkgs/qt5-styleplugins/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template
index 745bcb8f7a5..ebefd78afde 100644
--- a/srcpkgs/qt5-styleplugins/template
+++ b/srcpkgs/qt5-styleplugins/template
@@ -1,13 +1,13 @@
 # Template file for 'qt5-styleplugins'
 pkgname=qt5-styleplugins
 version=5.0.0
-revision=8
+revision=9
 _gitrev=600c296f4d429ffeb8203feb54efeacc2bbea0f7
 wrksrc="qtstyleplugins-${_gitrev}"
 build_style=qmake
 hostmakedepends="pkg-config qt5-host-tools qt5-devel"
 makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Additional style plugins for Qt5"
 maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
 license="LGPL-2.1-only, LGPL-3.0-only"

From 9fca5d2089ffac90bb0772f6125c4da464dab2e7 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:36:50 +0200
Subject: [PATCH 4/5] qt5dxcb-plugin: rebuild against qt-5.13.1

---
 srcpkgs/qt5dxcb-plugin/template | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5dxcb-plugin/template b/srcpkgs/qt5dxcb-plugin/template
index 5013fc8751e..1dbb3a8f99c 100644
--- a/srcpkgs/qt5dxcb-plugin/template
+++ b/srcpkgs/qt5dxcb-plugin/template
@@ -1,14 +1,14 @@
 # Template file for 'qt5dxcb-plugin'
 pkgname=qt5dxcb-plugin
 version=5.0.1
-revision=1
+revision=2
 build_style=qmake
 make_build_args="VERSION=${version}"
 hostmakedepends="pkg-config qt5-qmake"
 makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
  qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
  xcb-util-renderutil-devel xcb-util-wm-devel"
-depends="qt5>=5.13.0<5.13.1"
+depends="qt5>=5.13.1<5.13.2"
 short_desc="Qt platform plugins for DDE"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"
@@ -29,6 +29,11 @@ pre_configure() {
 		msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
 		exit 1
 	fi
+
+	# no headers for 5.13.1 yet; 5.13.0 headers are the same for this
+	# remove on next version upgrade (after upstream has added them)
+	ln -s ${wrksrc}/platformplugin/libqt5xcbqpa-dev/5.13.0 \
+		${wrksrc}/platformplugin/libqt5xcbqpa-dev/5.13.1
 }
 
 if [ "$CROSS_BUILD" ]; then

From 3874d6e584a8ccac66ba4adaf8f4248bada85b1f Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Wed, 25 Sep 2019 16:39:15 +0200
Subject: [PATCH 5/5] qt5integration: rebuild against qt-5.13.1

[ci skip]
---
 srcpkgs/qt5integration/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/qt5integration/template b/srcpkgs/qt5integration/template
index 5fcb13ba952..5b948a83f4e 100644
--- a/srcpkgs/qt5integration/template
+++ b/srcpkgs/qt5integration/template
@@ -1,12 +1,12 @@
 # Template file for 'qt5integration'
 pkgname=qt5integration
 version=5.0.0
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="qt5-qmake pkg-config"
 makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
  qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
-depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.0<5.13.1"
+depends="qt5dxcb-plugin qt5-styleplugins qt5>=5.13.1<5.13.2"
 short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
 maintainer="John <johnz@posteo.net>"
 license="GPL-3.0-or-later"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (7 preceding siblings ...)
  2019-09-26  9:40 ` voidlinux-github
@ 2019-09-26  9:43 ` voidlinux-github
  2019-09-26 17:42 ` voidlinux-github
  2019-09-26 21:11 ` [PR PATCH] [Merged]: " voidlinux-github
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26  9:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/14701#issuecomment-535426472

Comment:
Branch is cleaned up and ready to be merged after the llvm update.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (8 preceding siblings ...)
  2019-09-26  9:43 ` voidlinux-github
@ 2019-09-26 17:42 ` voidlinux-github
  2019-09-26 21:11 ` [PR PATCH] [Merged]: " voidlinux-github
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 17:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/14701#issuecomment-535612161

Comment:
llvm9 is ready, so pending on that now.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Merged]: [WIP] qt5: update to 5.13.1.
  2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
                   ` (9 preceding siblings ...)
  2019-09-26 17:42 ` voidlinux-github
@ 2019-09-26 21:11 ` voidlinux-github
  10 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-09-26 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

There's a merged pull request on the void-packages repository

[WIP] qt5: update to 5.13.1.
https://github.com/void-linux/void-packages/pull/14701

Description:
@q66

Testing repo: https://void.johnnynator.dev/qt-5.13.1/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-09-26 21:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-25 12:33 [PR PATCH] qt5: update to 5.13.1 voidlinux-github
2019-09-25 14:34 ` [WIP] " voidlinux-github
2019-09-25 14:42 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-25 14:42 ` voidlinux-github
2019-09-25 17:21 ` voidlinux-github
2019-09-25 17:21 ` voidlinux-github
2019-09-26  0:40 ` voidlinux-github
2019-09-26  9:40 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-26  9:40 ` voidlinux-github
2019-09-26  9:43 ` voidlinux-github
2019-09-26 17:42 ` voidlinux-github
2019-09-26 21:11 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).