Skip to content

Instantly share code, notes, and snippets.

@HurricanePootis
Created April 8, 2023 04:09
Show Gist options
  • Save HurricanePootis/d1c195962827235fcee162f642029e71 to your computer and use it in GitHub Desktop.
Save HurricanePootis/d1c195962827235fcee162f642029e71 to your computer and use it in GitHub Desktop.
Patch file for breeze-gtk for a temporary CSD Scaling Issue Fix. Download the breeze-gtk PKGBUILD with `paru -G breeze-gtk` and use `patch -p1 < PKGBUILD.patch` in the directory to apply.
--- A/PKGBUILD 2023-04-07 02:33:37.000000000 -0500
+++ B/PKGBUILD 2023-04-07 23:04:36.460914620 -0500
@@ -2,7 +2,7 @@
pkgname=breeze-gtk
pkgver=5.27.4
-pkgrel=1
+pkgrel=2
pkgdesc='Breeze widget theme for GTK 2 and 3'
arch=(any)
url='https://kde.org/plasma-desktop/'
@@ -10,14 +10,22 @@
depends=()
makedepends=(extra-cmake-modules sassc python-cairo breeze)
groups=(plasma)
-source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
+ window-decorations.patch::https://invent.kde.org/plasma/breeze-gtk/-/commit/c5e757a198321208c6b1e99313652577c263ecc0.patch)
sha256sums=('cb967dcd258065f87a9cb43f8022378e7ead1db83590ca2eea4e77196226999f'
- 'SKIP')
+ 'SKIP'
+ '1f912c030bc3f40da6487e13a04ceb1834cf6568cd7857f894081c5ed1ef0fef')
validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <[email protected]>
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <[email protected]>
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <[email protected]>
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <[email protected]>
+prepare(){
+ # Remove whenever breeze-gtk 5.27.5 comes out
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 < "$srcdir/window-decorations.patch"
+}
+
build(){
cmake -B build -S $pkgname-$pkgver
cmake --build build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment