diff --git a/0001-google-Remove-Photos-support.patch b/0001-google-Remove-Photos-support.patch new file mode 100644 index 0000000..7db4152 --- /dev/null +++ b/0001-google-Remove-Photos-support.patch @@ -0,0 +1,86 @@ +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(-) + +diff --git a/src/goabackend/goagoogleprovider.c b/src/goabackend/goagoogleprovider.c +index 9332c0fdca0b..b3c0f8fdcc66 100644 +--- a/src/goabackend/goagoogleprovider.c ++++ b/src/goabackend/goagoogleprovider.c +@@ -69,7 +69,6 @@ get_provider_features (GoaProvider *provider) + GOA_PROVIDER_FEATURE_MAIL | + GOA_PROVIDER_FEATURE_CALENDAR | + GOA_PROVIDER_FEATURE_CONTACTS | +- GOA_PROVIDER_FEATURE_PHOTOS | + GOA_PROVIDER_FEATURE_FILES | + GOA_PROVIDER_FEATURE_PRINTERS; + } +@@ -117,9 +116,6 @@ get_scope (GoaOAuth2Provider *oauth2_provider) + "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/ " + +@@ -281,7 +277,6 @@ build_object (GoaProvider *provider, + gboolean calendar_enabled; + gboolean contacts_enabled; + gboolean files_enabled; +- gboolean photos_enabled; + gboolean printers_enabled; + const gchar *email_address; + +@@ -342,10 +337,6 @@ build_object (GoaProvider *provider, + 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); +@@ -361,7 +352,6 @@ build_object (GoaProvider *provider, + 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); + +@@ -377,10 +367,6 @@ build_object (GoaProvider *provider, + "notify::contacts-disabled", + 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), +@@ -408,7 +394,6 @@ add_account_key_values (GoaOAuth2Provider *oauth2_provider, + 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"); + } +-- +2.30.2 + diff --git a/gnome-online-accounts-3.44.0.tar.xz b/gnome-online-accounts-3.44.0.tar.xz deleted file mode 100644 index 0a8f458..0000000 --- a/gnome-online-accounts-3.44.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:381d5d4106f435b6f87786aa049be784774e15996adcc02789807afc87ea7342 -size 859564 diff --git a/gnome-online-accounts-3.45.2.tar.xz b/gnome-online-accounts-3.45.2.tar.xz new file mode 100644 index 0000000..dec9199 --- /dev/null +++ b/gnome-online-accounts-3.45.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b63b13076a9fcf5472d2a96b621d1d54081f7c6566f57d1251482db79afdff97 +size 379612 diff --git a/gnome-online-accounts.changes b/gnome-online-accounts.changes index a700799..bf77326 100644 --- a/gnome-online-accounts.changes +++ b/gnome-online-accounts.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Sun Sep 11 12:32:36 UTC 2022 - Bjørn Lie + +- Add 0001-google-Remove-Photos-support.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. See + https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/63 + +------------------------------------------------------------------- +Tue Aug 9 15:36:05 UTC 2022 - Bjørn Lie + +- Update to version 3.45.2: + + Use debugging messages instead of warnings. + + Fix documentation build. + + Updated translations. +- Enable build of documentation again. + +------------------------------------------------------------------- +Sun Aug 7 11:30:54 UTC 2022 - Bjørn Lie + +- Update to version 3.45.1: + + Removed providers: + - Foursquare + - Facebook + - Flickr + + Port to libsoup3 + + Port to librest-1.0 + + Drop the Autotools build + + Update the Google OAuth2 provider +- Add meson BuildRequires and macros, switch to meson buildsystem. +- Use ldconfig_scriptlets macro for post(un) handling. +- Replace BuildRequires following upstream changes: + + Drop pkgconfig(libsoup-2.4), pkgconfig(rest-0.7) and + pkgconfig(webkit2gtk-4.0). + + Add pkgconfig(javascriptcoregtk-4.1), pkgconfig(libsoup-3.0), + pkgconfig(rest-1.0) and pkgconfig(webkit2gtk-4.1). +- Do not build gtk-docs as it is currently broken. + ------------------------------------------------------------------- Thu Mar 31 11:53:44 UTC 2022 - Dominique Leuenberger diff --git a/gnome-online-accounts.spec b/gnome-online-accounts.spec index 2a6456c..5d08f8b 100644 --- a/gnome-online-accounts.spec +++ b/gnome-online-accounts.spec @@ -17,16 +17,19 @@ Name: gnome-online-accounts -Version: 3.44.0 +Version: 3.45.2 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.44/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gnome-online-accounts/3.45/%{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 BuildRequires: docbook-xsl-stylesheets +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(gcr-3) BuildRequires: pkgconfig(gio-2.0) >= 2.52 @@ -35,14 +38,15 @@ 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(javascriptcoregtk-4.1) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(krb5) BuildRequires: pkgconfig(libsecret-1) -BuildRequires: pkgconfig(libsoup-2.4) >= 2.42 +BuildRequires: pkgconfig(libsoup-3.0) BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(rest-0.7) +BuildRequires: pkgconfig(rest-1.0) BuildRequires: pkgconfig(vapigen) -BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.26.0 +BuildRequires: pkgconfig(webkit2gtk-4.1) # p11-kit is not 'strictly' seen a requirement, but without it none of the SSL/TLS # Certificates are considered valid, which results in a really bad experience. Requires: p11-kit >= 0.16 @@ -97,32 +101,26 @@ libraries in GNOME can access the user's online accounts. %autosetup -p1 %build -%configure \ - --disable-static \ - --enable-documentation \ - --enable-gtk-doc \ - --enable-exchange \ - --enable-facebook \ - --enable-flickr \ - --enable-foursquare \ - --enable-google \ - --enable-imap-smtp \ - --enable-kerberos \ - --disable-media-server \ - --enable-owncloud \ - --enable-windows-live \ - %{nil} -%make_build +%meson \ + -D gtk_doc=true \ + -D exchange=true \ + -D google=true \ + -D imap_smtp=true \ + -D kerberos=true \ + -D media_server=false \ + -D owncloud=true \ + -D windows_live=true \ + -D fedora=false \ + -D man=true \ + %{nil} +%meson_build %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%meson_install %find_lang %{name} %{?no_lang_C} -%post -n libgoa-1_0-0 -p /sbin/ldconfig -%postun -n libgoa-1_0-0 -p /sbin/ldconfig -%post -n libgoa-backend-1_0-1 -p /sbin/ldconfig -%postun -n libgoa-backend-1_0-1 -p /sbin/ldconfig +%ldconfig_scriptlets -n libgoa-1_0-0 +%ldconfig_scriptlets -n libgoa-backend-1_0-1 %files %license COPYING