Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsecret for openSUSE:Factory 
checked in at 2021-09-26 21:48:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsecret (Old)
 and      /work/SRC/openSUSE:Factory/.libsecret.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsecret"

Sun Sep 26 21:48:11 2021 rev:29 rq:920820 version:0.20.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsecret/libsecret.changes      2020-10-14 
15:38:37.826350634 +0200
+++ /work/SRC/openSUSE:Factory/.libsecret.new.1899/libsecret.changes    
2021-09-26 21:48:21.342755907 +0200
@@ -1,0 +2,14 @@
+Wed Sep 22 06:23:46 UTC 2021 - Alynx Zhou <[email protected]>
+
+- Add libsecret-handle-UnknownObject.patch: some Secret Service
+  API backend implementations (like keepassxc) throws
+  UnknownObject instead of UnknownMethod, this patch handles it.
+  (bsc#1190499, glgo#GNOME/libsecret!94)
+
+-------------------------------------------------------------------
+Thu Sep 16 02:01:38 UTC 2021 - Stanislav Brabec <[email protected]>
+
+- Remove obsolete translation-update-upstream support
+  (jsc#SLE-21105).
+
+-------------------------------------------------------------------

New:
----
  libsecret-handle-UnknownObject.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsecret.spec ++++++
--- /var/tmp/diff_new_pack.NuNATj/_old  2021-09-26 21:48:21.742756474 +0200
+++ /var/tmp/diff_new_pack.NuNATj/_new  2021-09-26 21:48:21.746756480 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsecret
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source0:        
https://download.gnome.org/sources/libsecret/0.20/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
 
+# PATCH-FIX-UPSTREAM libsecret-handle-UnknownObject.patch bsc#1190499, 
glgo#GNOME/libsecret!94 [email protected] -- handle UnknownObject which is 
thrown by some implementations
+Patch0:         libsecret-handle-UnknownObject.patch
 ## SLE-only patches start at 1000
 # PATCH-FIX-SLE libsecret-bsc932232-use-libgcrypt-allocators.patch bsc#932232 
[email protected] -- use libgcrypt allocators for FIPS mode
 Patch1000:      libsecret-bsc932232-use-libgcrypt-allocators.patch
@@ -37,7 +39,6 @@
 BuildRequires:  libgcrypt-devel >= 1.2.2
 BuildRequires:  meson >= 0.50
 BuildRequires:  pkgconfig
-BuildRequires:  translation-update-upstream
 BuildRequires:  vala >= 0.17.2.12
 BuildRequires:  xsltproc
 BuildRequires:  pkgconfig(gio-2.0)
@@ -92,10 +93,10 @@
 
 %prep
 %setup -q
+%patch0 -p1
 %if 0%{?sle_version}
 %patch1000 -p1
 %endif
-translation-update-upstream
 
 %build
 %meson \

++++++ libsecret-handle-UnknownObject.patch ++++++
>From d620c79d83acc1bae0bbd7153a691f952b74ca31 Mon Sep 17 00:00:00 2001
From: Slava Aseev <[email protected]>
Date: Mon, 16 Aug 2021 19:25:56 +0300
Subject: [PATCH] Create default collection after DBus.Error.UnknownObject

Some Secret Service API backend implementations (like keepassxc)
throws UnknownObject (instead of UnknownMethod as gnome-keyring do)
after creating an item in the non-existent
/org/freedesktop/secrets/aliases/default.
---
 libsecret/secret-methods.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libsecret/secret-methods.c b/libsecret/secret-methods.c
index c4decf8..b9b696e 100644
--- a/libsecret/secret-methods.c
+++ b/libsecret/secret-methods.c
@@ -1050,7 +1050,8 @@ on_store_create (GObject *source,
 
        if (!store->created_collection &&
            (g_error_matches (error, SECRET_ERROR, SECRET_ERROR_NO_SUCH_OBJECT) 
||
-            g_error_matches (error, G_DBUS_ERROR, 
G_DBUS_ERROR_UNKNOWN_METHOD)) &&
+            g_error_matches (error, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD) 
||
+            g_error_matches (error, G_DBUS_ERROR, 
G_DBUS_ERROR_UNKNOWN_OBJECT)) &&
            g_strcmp0 (store->collection_path, SECRET_ALIAS_PREFIX "default") 
== 0) {
                properties = _secret_collection_properties_new (_("Default 
keyring"));
                secret_service_create_collection_dbus_path (service, 
properties, "default",
-- 
GitLab

Reply via email to