[arch-commits] Commit in gnome-screensaver/trunk (PKGBUILD gnome-desktop-3.36.patch)

Balló György bgyorgy at archlinux.org
Sun Mar 8 09:00:58 UTC 2020


    Date: Sunday, March 8, 2020 @ 09:00:57
  Author: bgyorgy
Revision: 591557

upgpkg: gnome-screensaver 3.6.1-17: Rebuild for gnome-desktop 3.36

Added:
  gnome-screensaver/trunk/gnome-desktop-3.36.patch
Modified:
  gnome-screensaver/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |   11 ++++++++---
 gnome-desktop-3.36.patch |   13 +++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 09:00:32 UTC (rev 591556)
+++ PKGBUILD	2020-03-08 09:00:57 UTC (rev 591557)
@@ -4,7 +4,7 @@
 
 pkgname=gnome-screensaver
 pkgver=3.6.1
-pkgrel=16
+pkgrel=17
 pkgdesc="Legacy GNOME screensaver"
 arch=('x86_64')
 license=('GPL')
@@ -21,7 +21,8 @@
        lock_screen_on_suspend.patch
        lightdm_switch_user.patch
        use-screensaver-background.patch
-       recenter.patch)
+       recenter.patch
+       gnome-desktop-3.36.patch)
 sha256sums=('f39b78d4f7fed748c7f0a31d694112fb907c6d3c4e63db22eb858df07e962cd0'
             'b6ea9e2eb586d94bcabb617a8f1c2958111df87afdbb51f645882bccdc15cbda'
             '4bb96f62aa069c83b629204a79a3f63b146bcaf773569aee8b5dd23fbcd88974'
@@ -30,7 +31,8 @@
             '516c479558576c6c5a2509abfcbf4fdafb5953d252e7a4ab972f9db6137daca8'
             '5d40bd6e1843150912dc52932eaa94c0f6d57931fd45a3769ef40e2335fe3c6f'
             '7161ff962801d9e34ea564c372de4b5f93b30180b83c13aadbc9a8a1cd73ff65'
-            '6c428b9296376e4b5e2aaf503a754a1ba58333aab50c82279b7c5615d8dd9e69')
+            '6c428b9296376e4b5e2aaf503a754a1ba58333aab50c82279b7c5615d8dd9e69'
+            '412acd14cf665c43a6e2831ed9941fc034174b8beb454210bca8b6068e1239c3')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -56,6 +58,9 @@
   # Restore the original position after shake
   patch -Np1 -i ../recenter.patch
 
+  # Fix built with gnome-desktop 3.36
+  patch -Np1 -i ../gnome-desktop-3.36.patch
+
   # Fix build with systemd support
   sed -i 's/libsystemd-login libsystemd-daemon/libsystemd/' configure.ac
 

Added: gnome-desktop-3.36.patch
===================================================================
--- gnome-desktop-3.36.patch	                        (rev 0)
+++ gnome-desktop-3.36.patch	2020-03-08 09:00:57 UTC (rev 591557)
@@ -0,0 +1,13 @@
+diff -Naur gnome-screensaver-3.6.1.orig/src/gs-manager.c gnome-screensaver-3.6.1/src/gs-manager.c
+--- gnome-screensaver-3.6.1.orig/src/gs-manager.c	2020-03-08 08:53:46.408431578 +0000
++++ gnome-screensaver-3.6.1/src/gs-manager.c	2020-03-08 08:54:31.875738732 +0000
+@@ -788,8 +788,7 @@
+         surface = gnome_bg_create_surface (manager->priv->bg,
+                                            gdk_window,
+                                            width,
+-                                           height,
+-                                           FALSE);
++                                           height);
+         gs_window_set_background_surface (window, surface);
+         cairo_surface_destroy (surface);
+ }



More information about the arch-commits mailing list