[packages/libgnome-keyring] - fix building with vala >= 0.42

hawk hawk at pld-linux.org
Sun Aug 18 15:04:41 CEST 2019


commit 655ae0d75bb2b7e8a8c22eaa6f5c1eee5040ca1e
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sun Aug 18 15:02:59 2019 +0200

    - fix building with vala >= 0.42

 libgnome-keyring-vala.patch | 12 ++++++++++++
 libgnome-keyring.spec       |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libgnome-keyring.spec b/libgnome-keyring.spec
index 7fa5334..a2601d2 100644
--- a/libgnome-keyring.spec
+++ b/libgnome-keyring.spec
@@ -7,11 +7,12 @@ Summary:	libgnome-keyring library
 Summary(pl.UTF-8):	Biblioteka libgnome-keyring
 Name:		libgnome-keyring
 Version:	3.12.0
-Release:	4
+Release:	5
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libgnome-keyring/3.12/%{name}-%{version}.tar.xz
 # Source0-md5:	6696e4f2e9aed4625cdc3af30bd8c238
+Patch0:		%{name}-vala.patch
 URL:		http://live.gnome.org/GnomeKeyring
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -91,6 +92,7 @@ API libgnome-keyring dla języka Vala.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
diff --git a/libgnome-keyring-vala.patch b/libgnome-keyring-vala.patch
new file mode 100644
index 0000000..685ea64
--- /dev/null
+++ b/libgnome-keyring-vala.patch
@@ -0,0 +1,12 @@
+diff -ur libgnome-keyring-3.12.0.orig/library/GnomeKeyring-1.0.metadata libgnome-keyring-3.12.0/library/GnomeKeyring-1.0.metadata
+--- libgnome-keyring-3.12.0.orig/library/GnomeKeyring-1.0.metadata	2014-01-16 19:28:19.000000000 +0100
++++ libgnome-keyring-3.12.0/library/GnomeKeyring-1.0.metadata	2019-08-18 15:01:22.392000000 +0200
+@@ -54,7 +54,7 @@
+ set_network_password skip=false
+ store_password skip=false
+ store_password_sync skip=false
+-unlock skip=false
++ at unlock skip=false
+ 
+ find_items*.callback type_arguments="GnomeKeyring.Found"
+ find_network_password*.callback type_arguments="GnomeKeyring.NetworkPasswordData"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgnome-keyring.git/commitdiff/655ae0d75bb2b7e8a8c22eaa6f5c1eee5040ca1e



More information about the pld-cvs-commit mailing list