Sync from SUSE:SLFO:Main gnome-online-accounts revision ed92918ed6f7c0c32bf018f5076a66a2

This commit is contained in:
Adrian Schröter 2024-10-01 08:38:26 +02:00
parent c6efa27416
commit a498f6adff
8 changed files with 146 additions and 104 deletions

View File

@ -1,83 +0,0 @@
From f17c21fc97e465b86ed27acceeea331624e66cd6 Mon Sep 17 00:00:00 2001
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 22 Apr 2021 01:51:52 +0200
Subject: [PATCH] google: Remove Photos support
In theory, support for photos is still desired. However, right now the
implementation of the Google PicasaWeb API in libgdata no longer works.
Until that's fixed, there's no point in advertising support for photos.
https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/63
https://bugzilla.redhat.com/show_bug.cgi?id=1913641
---
src/goabackend/goagoogleprovider.c | 15 ---------------
1 file changed, 15 deletions(-)
Index: gnome-online-accounts-3.48.0/src/goabackend/goagoogleprovider.c
===================================================================
--- gnome-online-accounts-3.48.0.orig/src/goabackend/goagoogleprovider.c
+++ gnome-online-accounts-3.48.0/src/goabackend/goagoogleprovider.c
@@ -70,7 +70,6 @@ get_provider_features (GoaProvider *prov
GOA_PROVIDER_FEATURE_MAIL |
GOA_PROVIDER_FEATURE_CALENDAR |
GOA_PROVIDER_FEATURE_CONTACTS |
- GOA_PROVIDER_FEATURE_PHOTOS |
GOA_PROVIDER_FEATURE_FILES |
GOA_PROVIDER_FEATURE_PRINTERS;
}
@@ -149,9 +148,6 @@ get_scope (GoaOAuth2Provider *oauth2_pro
"https://docs.googleusercontent.com/ "
"https://spreadsheets.google.com/feeds/ "
- /* Google PicasaWeb API (GData) */
- "https://picasaweb.google.com/data/ "
-
/* GMail IMAP and SMTP access */
"https://mail.google.com/ "
@@ -313,7 +309,6 @@ build_object (GoaProvider *provi
gboolean calendar_enabled;
gboolean contacts_enabled;
gboolean files_enabled;
- gboolean photos_enabled;
gboolean printers_enabled;
const gchar *email_address;
@@ -374,10 +369,6 @@ build_object (GoaProvider *provi
contacts_enabled,
FALSE);
- /* Photos */
- photos_enabled = g_key_file_get_boolean (key_file, group, "PhotosEnabled", NULL);
- goa_object_skeleton_attach_photos (object, photos_enabled);
-
/* Files */
files_enabled = g_key_file_get_boolean (key_file, group, "FilesEnabled", NULL);
uri_drive = g_strconcat ("google-drive://", email_address, "/", NULL);
@@ -393,7 +384,6 @@ build_object (GoaProvider *provi
goa_account_set_mail_disabled (account, !mail_enabled);
goa_account_set_calendar_disabled (account, !calendar_enabled);
goa_account_set_contacts_disabled (account, !contacts_enabled);
- goa_account_set_photos_disabled (account, !photos_enabled);
goa_account_set_files_disabled (account, !files_enabled);
goa_account_set_printers_disabled (account, !printers_enabled);
@@ -410,10 +400,6 @@ build_object (GoaProvider *provi
G_CALLBACK (goa_util_account_notify_property_cb),
(gpointer) "ContactsEnabled");
g_signal_connect (account,
- "notify::photos-disabled",
- G_CALLBACK (goa_util_account_notify_property_cb),
- (gpointer) "PhotosEnabled");
- g_signal_connect (account,
"notify::files-disabled",
G_CALLBACK (goa_util_account_notify_property_cb),
(gpointer) "FilesEnabled");
@@ -440,7 +426,6 @@ add_account_key_values (GoaOAuth2Provide
g_variant_builder_add (builder, "{ss}", "MailEnabled", "true");
g_variant_builder_add (builder, "{ss}", "CalendarEnabled", "true");
g_variant_builder_add (builder, "{ss}", "ContactsEnabled", "true");
- g_variant_builder_add (builder, "{ss}", "PhotosEnabled", "true");
g_variant_builder_add (builder, "{ss}", "FilesEnabled", "true");
g_variant_builder_add (builder, "{ss}", "PrintersEnabled", "true");
}

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-online-accounts.git</param>
<param name="revision">3.50.4</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@ -1,2 +0,0 @@
libgoa-1_0-0
libgoa-backend-1_0-1

BIN
gnome-online-accounts-3.48.0.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
gnome-online-accounts-3.50.4.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,110 @@
-------------------------------------------------------------------
Mon Aug 5 07:00:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.50.4:
+ Allow editing the details for Exchange accounts when
re-authenticating.
+ Correctly save and reset settings for TLS certificate errors.
-------------------------------------------------------------------
Sun Jun 30 12:05:27 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.50.3:
+ WebDAV: minor fixes for accounts with app passwords
+ Fix libsoup error handling
+ Updated translations.
-------------------------------------------------------------------
Mon May 27 06:57:17 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.50.2:
+ Setup Dialog:
- fix provider icon style.
- fix dialog not closing when cancelled.
+ Exchange: fix account setup field verification.
+ Microsoft 365:
- fix account storage.
- fix identity retrieval.
- fix email retrieval.
+ WebDAV:
- fix Fastmail and mailbox.org endpoints.
- fix for content-restricted app passwords.
+ Updated translations.
-------------------------------------------------------------------
Fri Apr 12 07:41:55 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.50.1:
+ Fix translation domain in account dialogs.
+ Fix OAuth 2.0 URI handler for some users.
+ Fix crash in Kerberos/Fedora provider.
+ Improved WebDAV support for Fastmail and mailbox.org.
+ Fixes for WebDAV discovery.
+ OAuth 2.0 PKCE support.
+ Fix issues caught by static analysis.
+ Update Microsoft Client ID.
+ Updated translations.
-------------------------------------------------------------------
Sun Mar 17 09:34:56 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.50.0:
+ Updated translations.
-------------------------------------------------------------------
Tue Mar 5 13:58:35 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop baselibs.conf: the -32bit packages are no longer needed and
have not been part of Tumbleweed for a while already (build for
i586 only enabled in LegacyX86).
-------------------------------------------------------------------
Mon Mar 4 08:01:42 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.49.4:
+ Update dependencies in the GoaBackend pkgconfig.
- Changes from version 3.94.3:
+ Bump GoaBacked soname to 2.0.0.
+ Fix nested modal windows.
+ Simplified account setup UX.
+ Updates to user visible labels and descriptions.
+ Updated translations.
-------------------------------------------------------------------
Tue Feb 13 10:02:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.49.2:
+ Fix a use-after-free error.
+ Set a minimum height for dialogs.
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 12 17:06:26 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.49.1:
+ Add Microsoft 365 provider.
+ Port to GTK4/Adwaita and an async API.
+ Remove nautilus-floating-bar.
+ Derive the Fedora provider from Kerberos.
+ Migrate existing WebDAV accounts.
+ Update provider icons.
+ Updated translations.
- Replace pkgconfig(gtk+-3.0) BuildRequires with pkgconfig(gtk4)
and pkgconfig(libadwaita-1): follow upstreams port to GTK 4.
-------------------------------------------------------------------
Tue Jan 16 10:29:00 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.49.0:
+ Depend on GCR4.
+ Remove the media server provider.
+ Remove the Last.fm provider.
+ Add WebDAV base provider.
+ Remove the webview and WebKit dependency.
+ Updated translations.
- Convert to source service for easier updating.
- Drop 0001-google-Remove-Photos-support.patch: fixed upstream.
-------------------------------------------------------------------
Fri Mar 17 22:31:28 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -0,0 +1,4 @@
name: gnome-online-accounts
version: 3.50.4
mtime: 1722728636
commit: 37ab64f43648722d6dcad6dff477368b4741d03e

View File

@ -1,7 +1,7 @@
#
# spec file for package gnome-online-accounts
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,30 +17,28 @@
Name: gnome-online-accounts
Version: 3.48.0
Version: 3.50.4
Release: 0
Summary: GNOME service to access online accounts
License: LGPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://wiki.gnome.org/Projects/GnomeOnlineAccounts
Source0: https://download.gnome.org/sources/gnome-online-accounts/3.48/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FEATURE-OPENSUSE 0001-google-Remove-Photos-support.patch -- google: Remove Photos support
Patch0: 0001-google-Remove-Photos-support.patch
Source0: %{name}-%{version}.tar.zst
BuildRequires: docbook-xsl-stylesheets
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gcr-3)
BuildRequires: pkgconfig(gcr-4)
BuildRequires: pkgconfig(gio-2.0) >= 2.52
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.52
BuildRequires: pkgconfig(glib-2.0) >= 2.52
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.2
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.12
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(gtk4) >= 4.10
BuildRequires: pkgconfig(javascriptcoregtk-4.1)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(krb5)
BuildRequires: pkgconfig(libadwaita-1) >= 1.4
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libxml-2.0)
@ -75,12 +73,12 @@ libraries in GNOME can access the user's online accounts.
This package provides the GObject Introspection bindings for the libgoa
client library.
%package -n libgoa-backend-1_0-1
%package -n libgoa-backend-1_0-2
Summary: GNOME service to access online accounts -- Backend Library
Group: System/Libraries
Recommends: %{name}
%description -n libgoa-backend-1_0-1
%description -n libgoa-backend-1_0-2
gnome-online-accounts provides interfaces so applications and
libraries in GNOME can access the user's online accounts.
@ -88,7 +86,7 @@ libraries in GNOME can access the user's online accounts.
Summary: GNOME service to access online accounts -- Development Files
Group: Development/Libraries/GNOME
Requires: libgoa-1_0-0 = %{version}
Requires: libgoa-backend-1_0-1 = %{version}
Requires: libgoa-backend-1_0-2 = %{version}
Requires: typelib-1_0-Goa-1_0 = %{version}
%description devel
@ -107,7 +105,6 @@ libraries in GNOME can access the user's online accounts.
-D google=true \
-D imap_smtp=true \
-D kerberos=true \
-D media_server=false \
-D owncloud=true \
-D windows_live=true \
-D fedora=false \
@ -120,7 +117,7 @@ libraries in GNOME can access the user's online accounts.
%find_lang %{name} %{?no_lang_C}
%ldconfig_scriptlets -n libgoa-1_0-0
%ldconfig_scriptlets -n libgoa-backend-1_0-1
%ldconfig_scriptlets -n libgoa-backend-1_0-2
%files
%license COPYING
@ -131,10 +128,10 @@ libraries in GNOME can access the user's online accounts.
%{_datadir}/icons/hicolor/*/apps/goa-account*.svg
%{_mandir}/man8/goa-daemon.8%{?ext_man}
%dir %{_libdir}/goa-1.0
%dir %{_libdir}/goa-1.0/web-extensions
%{_libdir}/goa-1.0/web-extensions/libgoawebextension.so
%{_libexecdir}/goa-identity-service
%{_datadir}/dbus-1/services/org.gnome.Identity.service
%{_libexecdir}/goa-oauth2-handler
%{_datadir}/applications/org.gnome.OnlineAccounts.OAuth2.desktop
%files -n libgoa-1_0-0
%{_libdir}/libgoa-1.0.so.*
@ -142,7 +139,7 @@ libraries in GNOME can access the user's online accounts.
%files -n typelib-1_0-Goa-1_0
%{_libdir}/girepository-1.0/Goa-1.0.typelib
%files -n libgoa-backend-1_0-1
%files -n libgoa-backend-1_0-2
%{_libdir}/libgoa-backend-1.0.so.*
%files devel