Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / kwin


Commits:
fed75df2 by Tobiasz Laskowski at 2024-06-01T21:17:45+01:00
Apply patch for chromium mouse drag bug

This is a bug in kwin that affects all chromium-based browsers/apps on wayland.

https://bugs.kde.org/show_bug.cgi?id=482142

It will be fixed in the 6.1 release later this month but, given that it's a
pretty bad usability bug, it would be useful to have a patch in the meantime.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -77,11 +77,13 @@ pkgbase = kwin
        optdepends = maliit-keyboard: virtual keyboard for kwin-wayland
        source = https://download.kde.org/stable/plasma/6.0.5/kwin-6.0.5.tar.xz
        source = 
https://download.kde.org/stable/plasma/6.0.5/kwin-6.0.5.tar.xz.sig
+       source = 
fix-chromium-dragging.patch::https://invent.kde.org/plasma/kwin/-/commit/711c5bb43f2823766d5189dc8d567c8f4cec253c.patch
        validpgpkeys = E0A3EB202F8E57528E13E72FD7574483BB57B18D
        validpgpkeys = 0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D
        validpgpkeys = D07BD8662C56CB291B316EB2F5675605C74E02CF
        validpgpkeys = 1FA881591C26B276D7A5518EEAAF29B42A678C20
        sha256sums = 
242e7d210529ec631bc5fe3fe0a117a3d1d4edb1dd3a644aafd5089312f8b0d7
        sha256sums = SKIP
+       sha256sums = 
1254b34e7088871af2f2f2b6a5b267fa29f8b30c3b7055336296e24f91f4a405
 
 pkgname = kwin


=====================================
PKGBUILD
=====================================
@@ -79,15 +79,23 @@ makedepends=(extra-cmake-modules
              xorg-xwayland)
 optdepends=('maliit-keyboard: virtual keyboard for kwin-wayland')
 groups=(plasma)
-source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig}
+        
fix-chromium-dragging.patch::https://invent.kde.org/plasma/$pkgname/-/commit/711c5bb43f2823766d5189dc8d567c8f4cec253c.patch)
 install=$pkgname.install
 sha256sums=('242e7d210529ec631bc5fe3fe0a117a3d1d4edb1dd3a644aafd5089312f8b0d7'
-            'SKIP')
+            'SKIP'
+            '1254b34e7088871af2f2f2b6a5b267fa29f8b30c3b7055336296e24f91f4a405')
 validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D'  # Jonathan 
Esk-Riddell <[email protected]>
               '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah 
<[email protected]>
               'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson 
<[email protected]>
               '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin 
<[email protected]>
 
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  patch -p1 -i "${srcdir}/fix-chromium-dragging.patch"
+}
+
 build() {
   cmake -B build  -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kwin/-/commit/fed75df2f70b9a058c096f6ac2e761aea548a552

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kwin/-/commit/fed75df2f70b9a058c096f6ac2e761aea548a552
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to