Sync from SUSE:SLFO:Main gnome-online-accounts revision d56354c52b2caf5220b2f01357aaa3a7
This commit is contained in:
commit
c6efa27416
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
83
0001-google-Remove-Photos-support.patch
Normal file
83
0001-google-Remove-Photos-support.patch
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
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");
|
||||||
|
}
|
2
baselibs.conf
Normal file
2
baselibs.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libgoa-1_0-0
|
||||||
|
libgoa-backend-1_0-1
|
BIN
gnome-online-accounts-3.48.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
gnome-online-accounts-3.48.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
1549
gnome-online-accounts.changes
Normal file
1549
gnome-online-accounts.changes
Normal file
File diff suppressed because it is too large
Load Diff
163
gnome-online-accounts.spec
Normal file
163
gnome-online-accounts.spec
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
#
|
||||||
|
# spec file for package gnome-online-accounts
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: gnome-online-accounts
|
||||||
|
Version: 3.48.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
|
||||||
|
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(gcr-3)
|
||||||
|
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(javascriptcoregtk-4.1)
|
||||||
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
|
BuildRequires: pkgconfig(krb5)
|
||||||
|
BuildRequires: pkgconfig(libsecret-1)
|
||||||
|
BuildRequires: pkgconfig(libsoup-3.0)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(rest-1.0)
|
||||||
|
BuildRequires: pkgconfig(vapigen)
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
gnome-online-accounts provides interfaces so applications and
|
||||||
|
libraries in GNOME can access the user's online accounts.
|
||||||
|
|
||||||
|
%package -n libgoa-1_0-0
|
||||||
|
Summary: GNOME service to access online accounts -- Client Library
|
||||||
|
Group: System/Libraries
|
||||||
|
Recommends: %{name}
|
||||||
|
|
||||||
|
%description -n libgoa-1_0-0
|
||||||
|
gnome-online-accounts provides interfaces so applications and
|
||||||
|
libraries in GNOME can access the user's online accounts.
|
||||||
|
|
||||||
|
%package -n typelib-1_0-Goa-1_0
|
||||||
|
Summary: GNOME service to access online accounts -- Introspection bindings
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n typelib-1_0-Goa-1_0
|
||||||
|
gnome-online-accounts provides interfaces so applications and
|
||||||
|
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
|
||||||
|
Summary: GNOME service to access online accounts -- Backend Library
|
||||||
|
Group: System/Libraries
|
||||||
|
Recommends: %{name}
|
||||||
|
|
||||||
|
%description -n libgoa-backend-1_0-1
|
||||||
|
gnome-online-accounts provides interfaces so applications and
|
||||||
|
libraries in GNOME can access the user's online accounts.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
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: typelib-1_0-Goa-1_0 = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
gnome-online-accounts provides interfaces so applications and
|
||||||
|
libraries in GNOME can access the user's online accounts.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%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
|
||||||
|
%meson_install
|
||||||
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n libgoa-1_0-0
|
||||||
|
%ldconfig_scriptlets -n libgoa-backend-1_0-1
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS
|
||||||
|
%{_libexecdir}/goa-daemon
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.online-accounts.gschema.xml
|
||||||
|
%{_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
|
||||||
|
|
||||||
|
%files -n libgoa-1_0-0
|
||||||
|
%{_libdir}/libgoa-1.0.so.*
|
||||||
|
|
||||||
|
%files -n typelib-1_0-Goa-1_0
|
||||||
|
%{_libdir}/girepository-1.0/Goa-1.0.typelib
|
||||||
|
|
||||||
|
%files -n libgoa-backend-1_0-1
|
||||||
|
%{_libdir}/libgoa-backend-1.0.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc %{_datadir}/gtk-doc/html/goa/
|
||||||
|
%{_includedir}/goa-1.0/
|
||||||
|
%dir %{_libdir}/goa-1.0
|
||||||
|
%{_libdir}/goa-1.0/include/
|
||||||
|
%{_libdir}/libgoa-1.0.so
|
||||||
|
%{_libdir}/libgoa-backend-1.0.so
|
||||||
|
%{_libdir}/pkgconfig/goa-1.0.pc
|
||||||
|
%{_libdir}/pkgconfig/goa-backend-1.0.pc
|
||||||
|
%{_datadir}/gir-1.0/*.gir
|
||||||
|
%{_datadir}/vala/vapi/goa-1.0.deps
|
||||||
|
%{_datadir}/vala/vapi/goa-1.0.vapi
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user