From 21aedfaf13d8fcfec33a28e4cf724b3862a7caa6a671b0e295c165dae5f67319 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 19 Mar 2024 13:31:11 +0000 Subject: [PATCH] Accepting request 1158698 from GNOME:Next GNOME 46 OBS-URL: https://build.opensuse.org/request/show/1158698 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-online-accounts?expand=0&rev=192 --- 0001-google-Remove-Photos-support.patch | 83 ------------------------- _service | 19 ++++++ baselibs.conf | 2 - gnome-online-accounts-3.48.0.tar.xz | 3 - gnome-online-accounts-3.50.0.obscpio | 3 + gnome-online-accounts.changes | 60 ++++++++++++++++++ gnome-online-accounts.obsinfo | 4 ++ gnome-online-accounts.spec | 29 ++++----- 8 files changed, 99 insertions(+), 104 deletions(-) delete mode 100644 0001-google-Remove-Photos-support.patch create mode 100644 _service delete mode 100644 baselibs.conf delete mode 100644 gnome-online-accounts-3.48.0.tar.xz create mode 100644 gnome-online-accounts-3.50.0.obscpio create mode 100644 gnome-online-accounts.obsinfo diff --git a/0001-google-Remove-Photos-support.patch b/0001-google-Remove-Photos-support.patch deleted file mode 100644 index 0a3d019..0000000 --- a/0001-google-Remove-Photos-support.patch +++ /dev/null @@ -1,83 +0,0 @@ -From f17c21fc97e465b86ed27acceeea331624e66cd6 Mon Sep 17 00:00:00 2001 -From: Debarshi Ray -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"); - } diff --git a/_service b/_service new file mode 100644 index 0000000..384d852 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/GNOME/gnome-online-accounts.git + 3.50.0 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + disable + + + + *.tar + zst + + + + diff --git a/baselibs.conf b/baselibs.conf deleted file mode 100644 index 6441786..0000000 --- a/baselibs.conf +++ /dev/null @@ -1,2 +0,0 @@ -libgoa-1_0-0 -libgoa-backend-1_0-1 diff --git a/gnome-online-accounts-3.48.0.tar.xz b/gnome-online-accounts-3.48.0.tar.xz deleted file mode 100644 index 52663b8..0000000 --- a/gnome-online-accounts-3.48.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:418bb9fcffdbd72a98205ad365137617fc1e3551a54de74f6a98d45d266175bf -size 382964 diff --git a/gnome-online-accounts-3.50.0.obscpio b/gnome-online-accounts-3.50.0.obscpio new file mode 100644 index 0000000..99a430c --- /dev/null +++ b/gnome-online-accounts-3.50.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e67346a1cdf67a35a5b0bf02daf5e7134cd5209768e3aedfdff8d96b6d4d5ed +size 3807756 diff --git a/gnome-online-accounts.changes b/gnome-online-accounts.changes index 3b533e4..f994d1b 100644 --- a/gnome-online-accounts.changes +++ b/gnome-online-accounts.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +Sun Mar 17 09:34:56 UTC 2024 - Dominique Leuenberger + +- Update to version 3.50.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 5 13:58:35 UTC 2024 - Dominique Leuenberger + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 diff --git a/gnome-online-accounts.obsinfo b/gnome-online-accounts.obsinfo new file mode 100644 index 0000000..3a85ac0 --- /dev/null +++ b/gnome-online-accounts.obsinfo @@ -0,0 +1,4 @@ +name: gnome-online-accounts +version: 3.50.0 +mtime: 1710633113 +commit: 05a2dc771e6645cb60ff3a9352af91e9572ce976 diff --git a/gnome-online-accounts.spec b/gnome-online-accounts.spec index 9df25a9..0022e33 100644 --- a/gnome-online-accounts.spec +++ b/gnome-online-accounts.spec @@ -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.0 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