[arch-commits] Commit in gnome-tweaks/trunk (PKGBUILD notify.diff)

Jan Steffens heftig at gemini.archlinux.org
Fri Jul 15 06:16:58 UTC 2022


    Date: Friday, July 15, 2022 @ 06:16:56
  Author: heftig
Revision: 451091

42beta+r14+g2d9d76c-1: FS#75327 Fix for libnotify 0.8

Added:
  gnome-tweaks/trunk/notify.diff
Modified:
  gnome-tweaks/trunk/PKGBUILD

-------------+
 PKGBUILD    |   17 +++++++++++++----
 notify.diff |   13 +++++++++++++
 2 files changed, 26 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-15 05:59:16 UTC (rev 451090)
+++ PKGBUILD	2022-07-15 06:16:56 UTC (rev 451091)
@@ -2,7 +2,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-tweaks
-pkgver=42beta+r9+gc66d8c3
+pkgver=42beta+r14+g2d9d76c
 pkgrel=1
 pkgdesc="Graphical interface for advanced GNOME 3 settings (Tweak Tool)"
 url="https://wiki.gnome.org/Apps/Tweaks"
@@ -14,9 +14,11 @@
 conflicts=(gnome-tweak-tool)
 replaces=(gnome-tweak-tool)
 groups=(gnome-extra)
-_commit=c66d8c33108a21af81df6f84c0c9afe73d3ab3f5  # master
-source=("git+https://gitlab.gnome.org/GNOME/gnome-tweaks.git#commit=$_commit")
-sha256sums=('SKIP')
+_commit=2d9d76c614ba3f6464855aeb4193b100df66d95c  # master
+source=("git+https://gitlab.gnome.org/GNOME/gnome-tweaks.git#commit=$_commit"
+        notify.diff)
+sha256sums=('SKIP'
+            'eabafa99f9acaeb6152147a53d47dd29d1d71dc48792280ccb50b2912db14d55')
 
 pkgver() {
   cd $pkgname
@@ -23,6 +25,13 @@
   git describe --tags | sed 's/\.beta/beta/;s/[^-]*-g/r&/;s/-/+/g'
 }
 
+prepare() {
+  cd $pkgname
+
+  # https://bugs.archlinux.org/task/75327
+  git apply -3 ../notify.diff
+}
+
 build() {
   arch-meson $pkgname build
   meson compile -C build

Added: notify.diff
===================================================================
--- notify.diff	                        (rev 0)
+++ notify.diff	2022-07-15 06:16:56 UTC (rev 451091)
@@ -0,0 +1,13 @@
+diff --git i/gtweak/utils.py w/gtweak/utils.py
+index 1dadbbc..1b0efb1 100644
+--- i/gtweak/utils.py
++++ w/gtweak/utils.py
+@@ -12,7 +12,7 @@ import itertools
+ import logging
+ 
+ import gi
+-gi.require_version("Notify", "0.7")
++gi.require_version("Notify", "0.8")
+ from gi.repository import GObject
+ from gi.repository import GLib
+ from gi.repository import Gio



More information about the arch-commits mailing list