Accepting request 1002643 from GNOME:Next

GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already)

OBS-URL: https://build.opensuse.org/request/show/1002643
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-online-accounts?expand=0&rev=187
This commit is contained in:
Dominique Leuenberger 2022-09-13 07:34:11 +00:00 committed by Git OBS Bridge
parent 53eafdf051
commit 9968808470
5 changed files with 154 additions and 30 deletions

View File

@ -0,0 +1,86 @@
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(-)
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:381d5d4106f435b6f87786aa049be784774e15996adcc02789807afc87ea7342
size 859564

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b63b13076a9fcf5472d2a96b621d1d54081f7c6566f57d1251482db79afdff97
size 379612

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Sun Sep 11 12:32:36 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <dimstar@opensuse.org>

View File

@ -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