gnu: gnome-online-accounts: Update to 3.45.2, remove "lib" output.

* gnu/packages/gnome.scm (gnome-online-accounts): Update to 3.45.2.
[build-system]: Use meson-build-system.
[glib-or-gtk?]: New argument.
[phases]{patch-libgoa-output}: Delete phase.
{disable-gtk-update-icon-cache}: New phase.
[native-inputs]: Add gettext-minimal.
[inputs]: Replace rest with rest-next; replace webkitgtk-with-libsoup2 with
webkitgtk.  Add gcr and mit-krb5.
(gnome-recipes): Adjust for the removed gnome-online-accounts output.
(gnome-music, gnome-online-miners, gnome-initial-setup): Likewise.
(libgdata, gnome-contacts, grilo-plugins, evolution-data-server)
(gnome-shell, gnome-todo, gnome-calendar, gnome-shell-extensions)
(gnome-calculator, gnome-latex): Likewise.
(gnome-online-accounts-3.44): New variable.
* gnu/packages/geo.scm (gnome-maps): Likewise.
* gnu/packages/webkit.scm: Update comment.
This commit is contained in:
Maxim Cournoyer 2022-09-04 23:02:11 -04:00
parent 7a03ab6ef7
commit 69df14a026
No known key found for this signature in database
GPG key ID: 1260E46482E63562
3 changed files with 76 additions and 67 deletions

View file

@ -287,7 +287,7 @@ topology functions.")
(assoc-ref inputs "geocode-glib") (assoc-ref inputs "geocode-glib")
"/lib")) "/lib"))
(goa-path (string-append (goa-path (string-append
(assoc-ref inputs "gnome-online-accounts:lib") (assoc-ref inputs "gnome-online-accounts")
"/lib")) "/lib"))
(gdk-pixbuf-path (string-append (gdk-pixbuf-path (string-append
(assoc-ref inputs "gdk-pixbuf") (assoc-ref inputs "gdk-pixbuf")
@ -328,7 +328,7 @@ topology functions.")
("gfbgraph" ,gfbgraph) ("gfbgraph" ,gfbgraph)
("gjs" ,gjs) ("gjs" ,gjs)
("glib" ,glib) ("glib" ,glib)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib") ("gnome-online-accounts" ,gnome-online-accounts)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
("rest" ,rest) ("rest" ,rest)

View file

@ -851,7 +851,7 @@ patterns.")
"subprojects/libgd")))))) "subprojects/libgd"))))))
(inputs (list glib (inputs (list glib
gnome-autoar gnome-autoar
`(,gnome-online-accounts "lib") gnome-online-accounts
gspell gspell
gtk+ gtk+
json-glib json-glib
@ -988,7 +988,7 @@ cloud integration is offered through GNOME Online Accounts.")
itstool itstool
pkg-config)) pkg-config))
(inputs (inputs
(list `(,gnome-online-accounts "lib") (list gnome-online-accounts
grilo grilo
grilo-plugins grilo-plugins
gst-plugins-base gst-plugins-base
@ -1307,7 +1307,6 @@ in the GNOME desktop.")
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
`(("gnome-online-accounts" ,gnome-online-accounts) `(("gnome-online-accounts" ,gnome-online-accounts)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
("grilo" ,grilo) ("grilo" ,grilo)
("libgdata" ,libgdata) ("libgdata" ,libgdata)
("libgfbgraph" ,gfbgraph) ("libgfbgraph" ,gfbgraph)
@ -1521,7 +1520,6 @@ extraction, and lookup for applications on the desktop.")
("geoclue" ,geoclue) ("geoclue" ,geoclue)
("gnome-desktop" ,gnome-desktop) ("gnome-desktop" ,gnome-desktop)
("gnome-online-accounts" ,gnome-online-accounts) ("gnome-online-accounts" ,gnome-online-accounts)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
("gstreamer" ,gstreamer) ("gstreamer" ,gstreamer)
("ibus" ,ibus) ("ibus" ,ibus)
("json-glib" ,json-glib) ("json-glib" ,json-glib)
@ -1982,7 +1980,7 @@ formats like PNG, SVG, PDF and EPS.")
(propagated-inputs (propagated-inputs
`(("gcr" ,gcr) `(("gcr" ,gcr)
("glib" ,glib) ("glib" ,glib)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib") ("gnome-online-accounts" ,gnome-online-accounts)
("json-glib" ,json-glib) ("json-glib" ,json-glib)
("liboauth" ,liboauth) ("liboauth" ,liboauth)
("libsoup" ,libsoup-minimal-2) ("libsoup" ,libsoup-minimal-2)
@ -2107,7 +2105,7 @@ commonly used macros.")
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; To generate goa's missing .vapi file ;; To generate goa's missing .vapi file
(define goa (define goa
(assoc-ref inputs "gnome-online-accounts:lib")) (assoc-ref inputs "gnome-online-accounts"))
(invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0" (invoke "vapigen" "--directory=vapi" "--pkg=gio-2.0"
"--library=goa-1.0" "--library=goa-1.0"
@ -2128,7 +2126,7 @@ commonly used macros.")
("evolution-data-server" ,evolution-data-server) ("evolution-data-server" ,evolution-data-server)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("gnome-desktop" ,gnome-desktop) ("gnome-desktop" ,gnome-desktop)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib") ("gnome-online-accounts" ,gnome-online-accounts)
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)
("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-base" ,gst-plugins-base)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
@ -6352,7 +6350,7 @@ for application developers.")
(inputs (inputs
`(("grilo" ,grilo) `(("grilo" ,grilo)
;("gmime" ,gmime) ; unused ;("gmime" ,gmime) ; unused
("gnome-online-accounts:lib" ,gnome-online-accounts "lib") ("gnome-online-accounts" ,gnome-online-accounts)
("gom" ,gom) ("gom" ,gom)
;("gssdp" ,gssdp) ; unused ;("gssdp" ,gssdp) ; unused
;("gupnp" ,gupnp) ; unused ;("gupnp" ,gupnp) ; unused
@ -7788,6 +7786,55 @@ window manager.")
(define-public gnome-online-accounts (define-public gnome-online-accounts
(package (package
(name "gnome-online-accounts")
(version "3.45.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"15zzzndbfba8a497vxb6cmy1y22l3lfn4sx9s9r59kwzd83i6fxn"))))
(build-system meson-build-system)
(arguments
(list
#:glib-or-gtk? #t
#:phases
#~(modify-phases %standard-phases
(add-before 'install 'disable-gtk-update-icon-cache
(lambda _
(setenv "DESTDIR" "/"))))))
(native-inputs
(list gettext-minimal
`(,glib "bin") ; for glib-compile-schemas, etc.
gobject-introspection
libxslt
pkg-config
vala))
(propagated-inputs
(list glib ; required by goa-1.0.pc
gtk+)) ; required by goa-backend-1.0.pc
(inputs
(list docbook-xsl
gcr
json-glib
libsecret
mit-krb5
rest-next
webkitgtk))
(synopsis "Single sign-on framework for GNOME")
(home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
(description
"GNOME Online Accounts provides interfaces so that applications and
libraries in GNOME can access the user's online accounts. It has providers
for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
(license license:lgpl2.0+)))
(define-public gnome-online-accounts-3.44
(package
(inherit gnome-online-accounts)
(name "gnome-online-accounts") (name "gnome-online-accounts")
(version "3.44.0") (version "3.44.0")
(source (origin (source (origin
@ -7798,52 +7845,17 @@ window manager.")
(sha256 (sha256
(base32 (base32
"0hkkxa3zqyl0i4kw1p3ak4alwxw4wydh9al6fzwbcdgl0r0ms79q")))) "0hkkxa3zqyl0i4kw1p3ak4alwxw4wydh9al6fzwbcdgl0r0ms79q"))))
(outputs '("out" "lib"))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments (substitute-keyword-arguments
(list (strip-keyword-arguments
#:configure-flags '(#:glib-or-gtk?)
#~(list (string-append "--libdir=" #$output "/lib")) (package-arguments gnome-online-accounts))
#:phases ((#:phases phases)
#~(modify-phases %standard-phases #~(modify-phases #$phases
(add-before 'configure 'patch-libgoa-output (delete 'disable-gtk-update-icon-cache)))))
(lambda _ (inputs (modify-inputs (package-inputs gnome-online-accounts)
(let ((lib #$output:lib)) (replace "rest" rest)
(substitute* '("src/goa/Makefile.in" "src/goa/goa-1.0.pc.in") (replace "webkitgtk" webkitgtk-with-libsoup2)))))
(("@prefix@") lib)
(("@exec_prefix@") lib)
(("@libdir@") (string-append lib "/lib"))
(("@includedir@") (string-append lib "/include"))
(("@datadir@") (string-append lib "/share")))
;; Make sure gobject-introspection knows about the output
;; too (see <https://bugs.gnu.org/36535>).
(setenv "outputs" "out lib")))))))
(native-inputs
(list `(,glib "bin") ; for glib-compile-schemas, etc.
gobject-introspection
gettext-minimal
pkg-config
vala
libxslt))
(propagated-inputs
(list glib ; required by goa-1.0.pc
gtk+)) ; required by goa-backend-1.0.pc
(inputs
(list docbook-xsl
json-glib
libsecret
rest
;; WebKitGtk propagates libsoup 3, which causes the build to fail; so
;; use a special variant.
webkitgtk-with-libsoup2))
(synopsis "Single sign-on framework for GNOME")
(home-page "https://wiki.gnome.org/Projects/GnomeOnlineAccounts")
(description
"GNOME Online Accounts provides interfaces so that applications and
libraries in GNOME can access the user's online accounts. It has providers
for Google, ownCloud, Facebook, Flickr, Windows Live, Pocket, Foursquare,
Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
(license license:lgpl2.0+)))
(define-public evolution-data-server (define-public evolution-data-server
(package (package
@ -7918,7 +7930,7 @@ Microsoft Exchange, Last.fm, IMAP/SMTP, Jabber, SIP and Kerberos.")
(list bdb (list bdb
boost boost
gcr gcr
`(,gnome-online-accounts "lib") gnome-online-accounts
json-glib json-glib
libcanberra libcanberra
libgweather libgweather
@ -8803,7 +8815,6 @@ devices using the GNOME desktop.")
gnome-bluetooth gnome-bluetooth
gnome-desktop gnome-desktop
gnome-online-accounts gnome-online-accounts
`(,gnome-online-accounts "lib")
gnome-session gnome-session
gnome-settings-daemon gnome-settings-daemon
grilo grilo
@ -9912,7 +9923,7 @@ library.")
(native-inputs (native-inputs
(list gobject-introspection intltool pkg-config)) (list gobject-introspection intltool pkg-config))
(inputs (inputs
(list `(,gnome-online-accounts "lib") json-glib rest)) (list gnome-online-accounts json-glib rest))
(home-page "https://wiki.gnome.org/Projects/Zapojit") (home-page "https://wiki.gnome.org/Projects/Zapojit")
(synopsis "Library for accessing SkyDrive and Hotmail") (synopsis "Library for accessing SkyDrive and Hotmail")
(description (description
@ -9997,7 +10008,7 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.")
("glib-bin" ,glib "bin") ; For glib-compile-schemas ("glib-bin" ,glib "bin") ; For glib-compile-schemas
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
`(("gnome-online-accounts:lib" ,gnome-online-accounts "lib") `(("gnome-online-accounts" ,gnome-online-accounts)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("libdazzle" ,libdazzle) ("libdazzle" ,libdazzle)
("libedataserverui" ,evolution-data-server) ("libedataserverui" ,evolution-data-server)
@ -10062,7 +10073,7 @@ desktop. It supports multiple calendars, month, week and year view.")
libportal libportal
python-pygobject python-pygobject
evolution-data-server evolution-data-server
`(,gnome-online-accounts "lib") gnome-online-accounts
gsettings-desktop-schemas)) gsettings-desktop-schemas))
(home-page "https://wiki.gnome.org/Apps/Todo") (home-page "https://wiki.gnome.org/Apps/Todo")
(synopsis "GNOME's ToDo Application") (synopsis "GNOME's ToDo Application")
@ -10280,7 +10291,7 @@ compiled.")
which)) which))
(inputs (inputs
`(("json-glib" ,json-glib) `(("json-glib" ,json-glib)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib") ("gnome-online-accounts" ,gnome-online-accounts)
("rest" ,rest))) ("rest" ,rest)))
(synopsis "GLib/GObject wrapper for the Facebook API") (synopsis "GLib/GObject wrapper for the Facebook API")
(description "This library allows you to use the Facebook API from (description "This library allows you to use the Facebook API from
@ -11974,7 +11985,7 @@ these services on the Guix System.")
gcr gcr
glib glib
gmime gmime
`(,gnome-online-accounts "lib") gnome-online-accounts
gsettings-desktop-schemas gsettings-desktop-schemas
gspell gspell
gsound gsound

View file

@ -277,11 +277,9 @@ propagated by default) such as @code{gst-plugins-good} and
license:bsd-2 license:bsd-2
license:bsd-3)))) license:bsd-3))))
;;; Required by gnome-online-accounts as webkitgtk propagates libsoup 3, which ;;; Required by e.g. emacs-next-pgtk, emacs-xwidgets, and some other GNOME
;;; causes the build to fail. Also required by e.g. emacs-next-pgtk, ;;; packages for webkit2gtk-4.0. See also the upstream tracker for libsoup 3:
;;; emacs-xwidgets, and some other GNOME packages for webkit2gtk-4.0. See ;;; https://gitlab.gnome.org/GNOME/libsoup/-/issues/218.
;;; also the upstream tracker for libsoup 3:
;;; https://gitlab.gnome.org/GNOME/libsoup/-/issues/218
(define-public webkitgtk-with-libsoup2 (define-public webkitgtk-with-libsoup2
(package/inherit webkitgtk (package/inherit webkitgtk
(name "webkitgtk-with-libsoup2") (name "webkitgtk-with-libsoup2")