[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2019-12-21 Thread Antonio Rojas via arch-commits
Date: Saturday, December 21, 2019 @ 22:37:46
  Author: arojas
Revision: 372051

xorgproto makedepends no longer needed

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-21 22:04:52 UTC (rev 372050)
+++ PKGBUILD2019-12-21 22:37:46 UTC (rev 372051)
@@ -10,7 +10,7 @@
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='Provides APIs for Wayland'
 depends=('qt5-declarative' 'libxcomposite')
-makedepends=('vulkan-headers' 'xorgproto')
+makedepends=('vulkan-headers')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2019-12-20 Thread Antonio Rojas via arch-commits
Date: Friday, December 20, 2019 @ 09:42:08
  Author: arojas
Revision: 371956

Bump pkgrel for release

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-20 09:39:53 UTC (rev 371955)
+++ PKGBUILD2019-12-20 09:42:08 UTC (rev 371956)
@@ -4,7 +4,7 @@
 pkgname=qt5-wayland
 _qtver=5.14.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2019-12-20 Thread Antonio Rojas via arch-commits
Date: Friday, December 20, 2019 @ 09:39:35
  Author: arojas
Revision: 371954

Fix keyboard repeat rate

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-20 08:29:33 UTC (rev 371953)
+++ PKGBUILD2019-12-20 09:39:35 UTC (rev 371954)
@@ -10,7 +10,7 @@
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='Provides APIs for Wayland'
 depends=('qt5-declarative' 'libxcomposite')
-makedepends=('vulkan-headers')
+makedepends=('vulkan-headers' 'xorgproto')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
@@ -18,13 +18,15 @@
 
qt5-wayland-cursor-timer.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=ce158896;
 
qt5-wayland-linux-dmabuf.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=09861f00;
 
qt5-wayland-linux-dmabuf-2.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=a2be69d4;
-
qt5-wayland-libglvnd-egl.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=c2105d8b;)
+
qt5-wayland-libglvnd-egl.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=c2105d8b;
+
qtbug-80613.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=80ed5501;)
 sha256sums=('32d4fadb3a8dcee8953e6d92ee567927cd7649be6fc8dd378480664902c22610'
 'b04b021cf78bfe765616cc385e85ac00aae13c0e5d2b969e9ccf66a3763670fb'
 '5cf52ce4db458ca316c304ae5ad86158bd7cd5aec74d85fe66896ae27f953560'
 '708daee5fdeea7b7e7a98706c93ac068ec1947d87126c2d7dbdf72e4e3ea0508'
 'd40de7d224455a8741fc8aff13d33a79e926faa16e46239f64fd85db5c12'
-'e8dd89665619aa00874b4c39317366007a8e83bad81a2c3f404880e30591af83')
+'e8dd89665619aa00874b4c39317366007a8e83bad81a2c3f404880e30591af83'
+'1535fcb7bfeb931ce55c6cbdff639f708b8e74452e35ee7477bab1b228aee032')
 
 prepare() {
   mkdir -p build
@@ -35,6 +37,7 @@
   patch -p1 -i ../qt5-wayland-linux-dmabuf.patch   # Fix for DMA-BUF support
   patch -p1 -i ../qt5-wayland-linux-dmabuf-2.patch # More of the same
   patch -p1 -i ../qt5-wayland-libglvnd-egl.patch   # Fix compiling with 
libglvnd's headers
+  patch -p1 -i ../qtbug-80613.patch # Fix keyboard repeat rate
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2019-12-12 Thread Antonio Rojas via arch-commits
Date: Thursday, December 12, 2019 @ 16:00:43
  Author: arojas
Revision: 371301

Fix cursor flickering and high CPU on wayland

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-12 15:56:30 UTC (rev 371300)
+++ PKGBUILD2019-12-12 16:00:43 UTC (rev 371301)
@@ -4,7 +4,7 @@
 pkgname=qt5-wayland
 _qtver=5.14.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -13,11 +13,16 @@
 makedepends=('vulkan-headers')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-sha256sums=('32d4fadb3a8dcee8953e6d92ee567927cd7649be6fc8dd378480664902c22610')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+ 
qt5-wayland-animate-cursor.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=36974955;)
+sha256sums=('32d4fadb3a8dcee8953e6d92ee567927cd7649be6fc8dd378480664902c22610'
+'b04b021cf78bfe765616cc385e85ac00aae13c0e5d2b969e9ccf66a3763670fb')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../qt5-wayland-animate-cursor.patch # Fix flickering and high 
CPU with wayland cursors
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2019-07-03 Thread Antonio Rojas via arch-commits
Date: Wednesday, July 3, 2019 @ 15:06:53
  Author: arojas
Revision: 357263

Fix hidden windows not showing again (FS#63084)

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-03 14:58:11 UTC (rev 357262)
+++ PKGBUILD2019-07-03 15:06:53 UTC (rev 357263)
@@ -4,18 +4,22 @@
 pkgname=qt5-wayland
 _qtver=5.13.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='Provides APIs for Wayland'
-depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
+depends=('qt5-declarative' 'libxcomposite')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
-
kdebug-407651.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=21a5038f;)
+
kdebug-407651.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=21a5038f;
+
qtbug-76397a.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=ec905708;
+
qtbug-76397b.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=a4e6f88f;)
 sha256sums=('b67a6d8119628bca3301bd03992880db07d61d405534067c9cd2a598695a7cf3'
-'f21ff86a4ffb4ba7648cba8d6434d7b0a8caa8abf650ba382d3cfa63c934e01b')
+'f21ff86a4ffb4ba7648cba8d6434d7b0a8caa8abf650ba382d3cfa63c934e01b'
+'ab3c4c1f91c3ebfb4da463fc52959cc4a9b531988b6253fb78e64be05581905d'
+'b61b9872c83a27aad97d21f4e217b6c21f8d94deb164358ce09e3fdbd09332b4')
 
 prepare() {
   mkdir -p build
@@ -22,6 +26,8 @@
 
   cd $_pkgfqn
   patch -p1 -i ../kdebug-407651.patch # Prevent windows from getting larger 
after closing and reopening https://bugs.kde.org/show_bug.cgi?id=407651
+  patch -p1 -i ../qtbug-76397a.patch
+  patch -p1 -i ../qtbug-76397b.patch # 
https://bugreports.qt.io/browse/QTBUG-76657
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2019-06-26 Thread Antonio Rojas via arch-commits
Date: Wednesday, June 26, 2019 @ 10:18:24
  Author: arojas
Revision: 356940

Prevent windows from getting larger after closing and reopening (FS#63009)

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-26 09:59:57 UTC (rev 356939)
+++ PKGBUILD2019-06-26 10:18:24 UTC (rev 356940)
@@ -4,7 +4,7 @@
 pkgname=qt5-wayland
 _qtver=5.13.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -12,11 +12,16 @@
 depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-sha256sums=('b67a6d8119628bca3301bd03992880db07d61d405534067c9cd2a598695a7cf3')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+
kdebug-407651.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=21a5038f;)
+sha256sums=('b67a6d8119628bca3301bd03992880db07d61d405534067c9cd2a598695a7cf3'
+'f21ff86a4ffb4ba7648cba8d6434d7b0a8caa8abf650ba382d3cfa63c934e01b')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../kdebug-407651.patch # Prevent windows from getting larger 
after closing and reopening https://bugs.kde.org/show_bug.cgi?id=407651
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2018-12-17 Thread Antonio Rojas via arch-commits
Date: Monday, December 17, 2018 @ 21:31:50
  Author: arojas
Revision: 342466

Revert patch (FS#61097)

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   11 +++
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-17 21:05:43 UTC (rev 342465)
+++ PKGBUILD2018-12-17 21:31:50 UTC (rev 342466)
@@ -4,7 +4,7 @@
 pkgname=qt5-wayland
 _qtver=5.12.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -12,16 +12,11 @@
 depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
-
qtbug-69077.patch::"http://code.qt.io/cgit/qt/qtwayland.git/patch/?id=1dc85b95;)
-sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7'
-'e4cef3faa5ea86f727cf388320585077cbebfd31b0d9f6a4131797ee5a0d61ac')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
+sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7')
 
 prepare() {
   mkdir -p build
-
-  cd ${_pkgfqn}
-  patch -p1 -i ../qtbug-69077.patch # Fix qtwayland blocks in frame callback
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2018-12-14 Thread Antonio Rojas via arch-commits
Date: Friday, December 14, 2018 @ 09:41:14
  Author: arojas
Revision: 342109

Fix qtwayland blocks in frame callback

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-14 09:01:01 UTC (rev 342108)
+++ PKGBUILD2018-12-14 09:41:14 UTC (rev 342109)
@@ -4,7 +4,7 @@
 pkgname=qt5-wayland
 _qtver=5.12.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -12,11 +12,16 @@
 depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+
qtbug-69077.patch::"http://code.qt.io/cgit/qt/qtwayland.git/patch/?id=1dc85b95;)
+sha256sums=('555c2d1b31733735d94c228f5f9183ea8216d61f85e30af08044763639d97ed7'
+'e4cef3faa5ea86f727cf388320585077cbebfd31b0d9f6a4131797ee5a0d61ac')
 
 prepare() {
   mkdir -p build
+
+  cd ${_pkgfqn}
+  patch -p1 -i ../qtbug-69077.patch # Fix qtwayland blocks in frame callback
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2018-03-22 Thread Antonio Rojas via arch-commits
Date: Thursday, March 22, 2018 @ 10:59:33
  Author: arojas
Revision: 319812

Backport some fixes suggested by upstream

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-22 10:03:39 UTC (rev 319811)
+++ PKGBUILD2018-03-22 10:59:33 UTC (rev 319812)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.10.1
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -14,11 +14,17 @@
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
-
qtwayland-key-compose.patch::"https://github.com/qt/qtwayland/commit/57c4af2b.patch;
-qtbug-62044.patch)
+
qtwayland-key-compose.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=57c4af2b;
+qtbug-62044.patch
+
qtbug-67150.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=26a6372b;
+
qtbug-66867.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=e283cc05;
+
qtwayland-context-create.patch::"https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=7ce033cb;)
 sha256sums=('f5a7643a5ebcdc50d02b293191e675f387f67dc360c27bf6f94345372fba6356'
-'401debccda18236869d601883e1ea9c0d0a541ea12656e43ef9e7d53b835dd92'
-'4b0ac091873b7a2b156ed2af4b2e32ecb22bfb99618f1ae76e9b72670933c3dd')
+'a96b50265791b0d6288deacde3bf75cd4aaf0429412f89190c787793d4a98901'
+'4b0ac091873b7a2b156ed2af4b2e32ecb22bfb99618f1ae76e9b72670933c3dd'
+'88aef190da6b99641bd9d039902d6d4b5a007b9920535694ee48884d9f7a554f'
+'223c5d752e0e0edc36492dc5e4e4ae5b65c61ec30ce499c044c2e99ac31c6e6f'
+'2717e699701232164447ce73c482f79cdcb7c11ea22cfee1aeb210f106d91c38')
 
 prepare() {
   mkdir -p build
@@ -26,6 +32,10 @@
   cd $_pkgfqn
   patch -p1 -i ../qtwayland-key-compose.patch # Backport key composition 
support
   patch -p1 -i ../qtbug-62044.patch # Fix crash when connecting a new screen
+# Backport some crash fixes
+  patch -p1 -i ../qtbug-67150.patch
+  patch -p1 -i ../qtbug-66867.patch
+  patch -p1 -i ../qtwayland-context-create.patch
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD qtbug-62044.patch)

2018-02-22 Thread Antonio Rojas via arch-commits
Date: Thursday, February 22, 2018 @ 12:53:35
  Author: arojas
Revision: 317391

Fix crash when attaching a screen (QTBUG#62044)

Added:
  qt5-wayland/trunk/qtbug-62044.patch
Modified:
  qt5-wayland/trunk/PKGBUILD

---+
 PKGBUILD  |9 ++---
 qtbug-62044.patch |   50 ++
 2 files changed, 56 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-22 10:10:16 UTC (rev 317390)
+++ PKGBUILD2018-02-22 12:53:35 UTC (rev 317391)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.10.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -14,9 +14,11 @@
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
-
qtwayland-key-compose.patch::"https://github.com/qt/qtwayland/commit/57c4af2b.patch;)
+
qtwayland-key-compose.patch::"https://github.com/qt/qtwayland/commit/57c4af2b.patch;
+qtbug-62044.patch)
 sha256sums=('f5a7643a5ebcdc50d02b293191e675f387f67dc360c27bf6f94345372fba6356'
-'401debccda18236869d601883e1ea9c0d0a541ea12656e43ef9e7d53b835dd92')
+'401debccda18236869d601883e1ea9c0d0a541ea12656e43ef9e7d53b835dd92'
+'4b0ac091873b7a2b156ed2af4b2e32ecb22bfb99618f1ae76e9b72670933c3dd')
 
 prepare() {
   mkdir -p build
@@ -23,6 +25,7 @@
 
   cd $_pkgfqn
   patch -p1 -i ../qtwayland-key-compose.patch # Backport key composition 
support
+  patch -p1 -i ../qtbug-62044.patch # Fix crash when connecting a new screen
 }
 
 build() {

Added: qtbug-62044.patch
===
--- qtbug-62044.patch   (rev 0)
+++ qtbug-62044.patch   2018-02-22 12:53:35 UTC (rev 317391)
@@ -0,0 +1,50 @@
+From fd9fec4fc7f43fb939e8e5a946c7858390bbd9d3 Mon Sep 17 00:00:00 2001
+From: Johan Klokkhammer Helsing 
+Date: Thu, 8 Feb 2018 16:53:39 +0100
+Subject: [PATCH] Fix crash when connecting a new screen
+
+In QWaylandWindow::virtualSiblings, don't include screens that have not been
+added yet. I.e. QWaylandScreens for which QPlatformIntegration::screenAdded has
+not yet been called.
+
+There are two reasons why this crash wasn't covered by the
+removePrimaryScreen() test. First of all, the mock output didn't send
+wl_output.done events when updating the mode/geometry. These wayland events are
+what causes QWindowSystemInterface::handleScreenGeometryChange() to be called
+(where virtualSiblings are called).
+
+Furthermore, virtualSiblings is only called when the geometry actually changes,
+so add a new test that changes the screen geometry of the existing screen while
+a new one is being added (i.e. moves it to the right).
+
+Task-number: QTBUG-62044
+Change-Id: I623fbf8799d21c6b9293e7120ded301277639cc6
+Reviewed-by: David Edmundson 
+Reviewed-by: Aleix Pol
+Reviewed-by: Paul Olav Tvete 
+---
+ src/client/qwaylandscreen.cpp   |  6 --
+ tests/auto/client/client/tst_client.cpp | 25 +
+ tests/auto/client/shared/mockcompositor.cpp |  8 
+ tests/auto/client/shared/mockcompositor.h   |  2 ++
+ tests/auto/client/shared/mockoutput.cpp | 27 +--
+ tests/auto/client/shared/mockoutput.h   |  1 +
+ 6 files changed, 65 insertions(+), 4 deletions(-)
+
+diff --git a/src/client/qwaylandscreen.cpp b/src/client/qwaylandscreen.cpp
+index fba75557..1c9ce23b 100644
+--- a/src/client/qwaylandscreen.cpp
 b/src/client/qwaylandscreen.cpp
+@@ -138,8 +138,10 @@ QList 
QWaylandScreen::virtualSiblings() const
+ QList list;
+ const QList screens = mWaylandDisplay->screens();
+ list.reserve(screens.count());
+-foreach (QWaylandScreen *screen, screens)
+-list << screen;
++for (QWaylandScreen *screen : qAsConst(screens)) {
++if (screen->screen())
++list << screen;
++}
+ return list;
+ }
+ 


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2018-01-23 Thread Antonio Rojas via arch-commits
Date: Tuesday, January 23, 2018 @ 16:54:52
  Author: arojas
Revision: 315309

Backport key composition support (FS#57202)

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-23 16:31:16 UTC (rev 315308)
+++ PKGBUILD2018-01-23 16:54:52 UTC (rev 315309)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.10.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -14,9 +14,11 @@
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
 
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
-
qtbug-65553.patch::"https://github.com/qt/qtwayland/commit/bf09c7a1.patch;)
+
qtbug-65553.patch::"https://github.com/qt/qtwayland/commit/bf09c7a1.patch;
+
qtwayland-key-compose.patch::"https://github.com/qt/qtwayland/commit/57c4af2b.patch;)
 sha256sums=('5657f9656c95f83880f92e7697a1c13c9739bf4d0bfd867e711fff7c84004b93'
-'e2437aa2bca824396cf1df6c4a4f311b59ff1a823886a5d00fb687cb9553fba7')
+'e2437aa2bca824396cf1df6c4a4f311b59ff1a823886a5d00fb687cb9553fba7'
+'401debccda18236869d601883e1ea9c0d0a541ea12656e43ef9e7d53b835dd92')
 
 prepare() {
   mkdir -p build
@@ -23,6 +25,7 @@
 
   cd $_pkgfqn
   patch -p1 -i ../qtbug-65553.patch # Fix frequent crashes in Plasma Wayland
+  patch -p1 -i ../qtwayland-key-compose.patch # Backport key composition 
support
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2018-01-16 Thread Antonio Rojas via arch-commits
Date: Wednesday, January 17, 2018 @ 07:21:12
  Author: arojas
Revision: 314964

Fix Plasma-Wayland crashes

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-16 23:21:49 UTC (rev 314963)
+++ PKGBUILD2018-01-17 07:21:12 UTC (rev 314964)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.10.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -13,11 +13,16 @@
 depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-sha256sums=('5657f9656c95f83880f92e7697a1c13c9739bf4d0bfd867e711fff7c84004b93')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+
qtbug-65553.patch::"https://github.com/qt/qtwayland/commit/bf09c7a1.patch;)
+sha256sums=('5657f9656c95f83880f92e7697a1c13c9739bf4d0bfd867e711fff7c84004b93'
+'e2437aa2bca824396cf1df6c4a4f311b59ff1a823886a5d00fb687cb9553fba7')
 
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  patch -p1 -i ../qtbug-65553.patch # Fix frequent crashes in Plasma Wayland
 }
 
 build() {


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2017-07-01 Thread Antonio Rojas
Date: Saturday, July 1, 2017 @ 19:53:22
  Author: arojas
Revision: 299518

Rebuild against correct version of qt5-base

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-01 19:49:02 UTC (rev 299517)
+++ PKGBUILD2017-07-01 19:53:22 UTC (rev 299518)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.9.1
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD revert-5b807802.patch)

2017-02-16 Thread Antonio Rojas
Date: Thursday, February 16, 2017 @ 12:33:11
  Author: arojas
Revision: 289051

Revert change that breaks Plasma Wayland (FS#52728)

Added:
  qt5-wayland/trunk/revert-5b807802.patch
Modified:
  qt5-wayland/trunk/PKGBUILD

---+
 PKGBUILD  |   12 -
 revert-5b807802.patch |  542 
 2 files changed, 551 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-16 11:53:46 UTC (rev 289050)
+++ PKGBUILD2017-02-16 12:33:11 UTC (rev 289051)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.8.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -13,11 +13,17 @@
 depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-md5sums=('0a40bd721bd5e1630601beab660c6ea9')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+revert-5b807802.patch)
+md5sums=('0a40bd721bd5e1630601beab660c6ea9'
+ '95e986e9c0ab5ebe03c85efb69ee751a')
 
 prepare() {
   mkdir -p build
+
+# Revert commit that breaks Plasma Wayland
+  cd ${_pkgfqn}
+  patch -Rp1 -i ../revert-5b807802.patch
 }
 
 build() {

Added: revert-5b807802.patch
===
--- revert-5b807802.patch   (rev 0)
+++ revert-5b807802.patch   2017-02-16 12:33:11 UTC (rev 289051)
@@ -0,0 +1,542 @@
+From 5b807802866c8df00cb3340d4f9bcc343be5973a Mon Sep 17 00:00:00 2001
+From: Giulio Camuffo 
+Date: Sat, 2 Jul 2016 10:46:58 +0200
+Subject: [PATCH] Create and destroy the shell surface when showing and hiding
+
+This changes the shell surface handling for windows, and instead of
+creating the shell surface at initialization time, and then attaching
+a null buffer to hide it, it creates the shell surface on setVisible(true),
+and destroys it on setVisible(false).
+This fixes hiding when using xdg_shell, as that interface defines that
+attaching a null buffer to an xdg_surface is an error.
+Also this should help with bugged EGL drivers which attach a buffer
+after eglSwapBuffers() returns, which used to cause a newly hidden
+window to get a new valid buffer after we attached a null one, showing
+it again.
+
+Task-number: QTBUG-47902
+Change-Id: I8e0a0442319a98cc1361803ea7be1d079b36fc8c
+Reviewed-by: Johan Helsing 
+Reviewed-by: Paul Olav Tvete 
+---
+ src/client/qwaylandshellsurface_p.h|  5 +-
+ src/client/qwaylandshmbackingstore.cpp |  8 +-
+ src/client/qwaylandwindow.cpp  | 90 +++---
+ src/client/qwaylandwindow_p.h  |  2 +
+ src/client/qwaylandwlshellsurface.cpp  | 10 +++
+ src/client/qwaylandwlshellsurface_p.h  |  6 +-
+ src/client/qwaylandxdgpopup.cpp|  6 ++
+ src/client/qwaylandxdgpopup_p.h|  2 +
+ src/client/qwaylandxdgsurface.cpp  | 19 ++---
+ src/client/qwaylandxdgsurface_p.h  |  5 +-
+ .../client/wayland-egl/qwaylandeglwindow.cpp   | 10 +++
+ .../client/wayland-egl/qwaylandeglwindow.h |  4 +
+ .../qwaylandxcompositeeglcontext.cpp   |  4 +-
+ .../qwaylandxcompositeglxcontext.cpp   |  4 +-
+ .../ivi-shell/qwaylandivisurface.cpp   |  7 ++
+ .../ivi-shell/qwaylandivisurface_p.h   |  2 +
+ tests/auto/client/client/tst_client.cpp|  4 +-
+ 17 files changed, 110 insertions(+), 78 deletions(-)
+
+diff --git a/src/client/qwaylandshellsurface_p.h 
b/src/client/qwaylandshellsurface_p.h
+index 63b77ab..b51c252 100644
+--- a/src/client/qwaylandshellsurface_p.h
 b/src/client/qwaylandshellsurface_p.h
+@@ -94,15 +94,14 @@ class Q_WAYLAND_CLIENT_EXPORT QWaylandShellSurface : 
public QObject
+ 
+ inline QWaylandWindow *window() { return m_window; }
+ 
++virtual void setType(Qt::WindowType type, QWaylandWindow 
*transientParent) = 0;
++
+ protected:
+ virtual void setMaximized() {}
+ virtual void setFullscreen() {}
+ virtual void setNormal() {}
+ virtual void setMinimized() {}
+ 
+-virtual void setTopLevel() {}
+-virtual void updateTransientParent(QWindow * /*parent*/) {}
+-
+ private:
+ QWaylandWindow *m_window;
+ friend class QWaylandWindow;
+diff --git a/src/client/qwaylandshmbackingstore.cpp 
b/src/client/qwaylandshmbackingstore.cpp
+index 5f8336c..d0d6cfd 100644
+--- a/src/client/qwaylandshmbackingstore.cpp
 b/src/client/qwaylandshmbackingstore.cpp
+@@ -211,13 +211,7 @@ void 

[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2016-10-01 Thread Antonio Rojas
Date: Saturday, October 1, 2016 @ 08:51:22
  Author: arojas
Revision: 277503

Install binaries to the standard location

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-10-01 08:46:42 UTC (rev 277502)
+++ PKGBUILD2016-10-01 08:51:22 UTC (rev 277503)
@@ -5,7 +5,7 @@
 pkgname=qt5-wayland
 _qtver=5.7.0
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2016-08-08 Thread Antonio Rojas
Date: Monday, August 8, 2016 @ 17:51:58
  Author: arojas
Revision: 273506

Add wayland dependency explicitely

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-08 17:42:51 UTC (rev 273505)
+++ PKGBUILD2016-08-08 17:51:58 UTC (rev 273506)
@@ -5,12 +5,12 @@
 pkgname=qt5-wayland
 _qtver=5.7.0
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='Provides APIs for Wayland'
-depends=('qt5-declarative' 'libxcomposite')
+depends=('qt5-declarative' 'libxcomposite' 'wayland') # namcap note: wayland 
is needed for nvidia-libgl users
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
 
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2016-06-21 Thread Antonio Rojas
Date: Tuesday, June 21, 2016 @ 15:39:36
  Author: arojas
Revision: 270425

Fix out-of-tree build

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |   21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-21 14:33:27 UTC (rev 270424)
+++ PKGBUILD2016-06-21 15:39:36 UTC (rev 270425)
@@ -13,24 +13,29 @@
 depends=('qt5-declarative' 'libxcomposite')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-md5sums=('2d2543a2564ee1b5db9f25dca9cc2e3b')
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;
+
qtbug-53945.patch::"https://github.com/qtproject/qtwayland/commit/75294be3.patch;)
+md5sums=('2d2543a2564ee1b5db9f25dca9cc2e3b'
+ '887f656b651e230169ce02753f14d746')
 
 prepare() {
   mkdir -p build
+
+  cd ${_pkgfqn}
+# Fix out-of-tree build
+  patch -p1 -i ../qtbug-53945.patch
 }
 
 build() {
-#  cd build
-  cd ${_pkgfqn} # out-of-tree build fails 
https://bugreports.qt.io/browse/QTBUG-54148
-# qmake ../${_pkgfqn}
-  qmake .
+  cd build
+
+  qmake ../${_pkgfqn}
   make
 }
 
 package() {
-# cd build
-  cd ${_pkgfqn}
+  cd build
+
   make INSTALL_ROOT="$pkgdir" install
 
   # Drop QMAKE_PRL_BUILD_DIR because reference the build dir


[arch-commits] Commit in qt5-wayland/trunk (PKGBUILD)

2016-06-09 Thread Felix Yan
Date: Thursday, June 9, 2016 @ 10:40:37
  Author: fyan
Revision: 269209

upgpkg: qt5-wayland 5.6.1-1

Upstream release

Modified:
  qt5-wayland/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-09 08:40:30 UTC (rev 269208)
+++ PKGBUILD2016-06-09 08:40:37 UTC (rev 269209)
@@ -3,7 +3,7 @@
 # Contributor: Andrea Scarpino 
 
 pkgname=qt5-wayland
-_qtver=5.6.0
+_qtver=5.6.1
 pkgver=${_qtver/-/}
 pkgrel=1
 arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
 
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz;)
-md5sums=('9dbfb0278eb0891e50b136d8b6eaa62b')
+md5sums=('5b7654c9a909eb0de6c41796f16915ca')
 
 prepare() {
   mkdir -p build