]> git.pld-linux.org Git - packages/gnome-screensaver.git/commitdiff
- rel 11 auto/th/gnome-screensaver-3.6.1-11
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Apr 2020 21:59:14 +0000 (23:59 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Apr 2020 21:59:14 +0000 (23:59 +0200)
- fix building with gnome-desktop 3.35+

gnome-desktop335.patch [new file with mode: 0644]
gnome-screensaver.spec

diff --git a/gnome-desktop335.patch b/gnome-desktop335.patch
new file mode 100644 (file)
index 0000000..cfe44fc
--- /dev/null
@@ -0,0 +1,17 @@
+API changed in 3.35.4:
+
+https://gitlab.gnome.org/GNOME/gnome-desktop/commit/2882b3e5840b14f4487f19084f9e362786ae4fa3
+
+diff -up a/src/gs-manager.c b/src/gs-manager.c
+--- a/src/gs-manager.c 2020-01-16 16:33:22.958802273 -0500
++++ b/src/gs-manager.c 2020-01-16 16:33:33.440696997 -0500
+@@ -820,8 +820,7 @@ apply_background_to_window (GSManager *m
+         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);
+ }
index df6dd2a7942de42a3a19be78ad12d08141227d69..b3948637bc9f88e919362558a3c9574194834e5b 100644 (file)
@@ -2,7 +2,7 @@ Summary:        GNOME screensaver
 Summary(pl.UTF-8):     Wygaszacz ekranu GNOME
 Name:          gnome-screensaver
 Version:       3.6.1
-Release:       10
+Release:       11
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-screensaver/3.6/%{name}-%{version}.tar.xz
@@ -10,6 +10,7 @@ Source0:      http://ftp.gnome.org/pub/GNOME/sources/gnome-screensaver/3.6/%{name}-%{
 Source1:       %{name}.pamd
 Patch0:                am.patch
 Patch1:                %{name}-systemd.patch
+Patch2:                gnome-desktop335.patch
 URL:           http://live.gnome.org/GnomeScreensaver
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.10
@@ -55,6 +56,7 @@ xscreensaver.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__intltoolize}
This page took 0.120637 seconds and 4 git commands to generate.