[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/72: gnu: gnome-todo: Update to 40.1.
From: |
guix-commits |
Subject: |
15/72: gnu: gnome-todo: Update to 40.1. |
Date: |
Sun, 26 Sep 2021 16:31:26 -0400 (EDT) |
mothacehe pushed a commit to branch wip-gnome40
in repository guix.
commit c0096d55d7c8252d7a01f01823464e7cfa193873
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Sep 24 15:25:52 2021 +0000
gnu: gnome-todo: Update to 40.1.
* gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch: Remove it.
* gnu/local.mk (DIST_PATCH_DATA): Update it.
* gnu/packages/gnome.scm (gnome-todo): Update to 40.1.
[source]: Fix the URL.
[arguments]: Remove the 'wrap-gnome-todo phase and add a
'skip-gtk-update-icon-cache phase. Disable the tests.
[native-inputs]: Switch from gtk+ to gtk.
[inputs]: Add gtk, libadwaita and libportal.
---
gnu/local.mk | 1 -
gnu/packages/gnome.scm | 39 ++++++++++------------
.../gnome-todo-delete-esource-duplicate.patch | 10 ------
3 files changed, 18 insertions(+), 32 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index ccdc2ca..0e1e2be 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1160,7 +1160,6 @@ dist_patch_DATA =
\
%D%/packages/patches/gnome-shell-disable-test.patch \
%D%/packages/patches/gnome-shell-CVE-2020-17489.patch \
%D%/packages/patches/gnome-settings-daemon-gc.patch \
- %D%/packages/patches/gnome-todo-delete-esource-duplicate.patch \
%D%/packages/patches/gnome-tweaks-search-paths.patch \
%D%/packages/patches/gnupg-default-pinentry.patch \
%D%/packages/patches/gnupg-1-build-with-gcc10.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 44e6695..6fba648 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9640,46 +9640,43 @@ desktop. It supports multiple calendars, month, week
and year view.")
(define-public gnome-todo
(package
(name "gnome-todo")
- (version "3.28.1")
+ (version "40.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
+ (version-major version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
- "08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
- (patches
- (search-patches "gnome-todo-delete-esource-duplicate.patch"))))
+ "1r1fb3zgjvkhx93by24j8cg1w1g3zvwr49vqkscjn261vqs44jq3"))))
(build-system meson-build-system)
(arguments
- '(#:glib-or-gtk? #t
- #:phases (modify-phases %standard-phases
- (add-after
- 'install 'wrap-gnome-todo
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out"))
- (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
- (python-path (getenv "GUIX_PYTHONPATH")))
- (wrap-program (string-append out "/bin/gnome-todo")
- ;; XXX: gi plugins are broken.
- ;; See
https://bugzilla.gnome.org/show_bug.cgi?id=787212
- ;; For plugins.
- `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
- `("GUIX_PYTHONPATH" ":" prefix (,python-path))))
- #t)))))
+ `(#:glib-or-gtk? #t
+ ;; XXX: Some tests fail with the following error:
+ ;; Settings schema 'org.gnome.todo' is not installed.
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ ;; Don't create 'icon-theme.cache'.
+ (lambda _
+ (substitute* "build-aux/meson/meson_post_install.py"
+ (("gtk-update-icon-cache") "true")))))))
(native-inputs
`(("gettext" ,gettext-minimal)
("gobject-introspection" ,gobject-introspection)
("glib:bin" ,glib "bin") ; For glib-compile-resources
- ("gtk+-bin" ,gtk+ "bin") ; For gtk-update-icon-cache
+ ("gtk-bin" ,gtk "bin") ; For gtk-update-icon-cache
("pkg-config" ,pkg-config)))
(inputs
`(("rest" ,rest) ; For Todoist plugin
+ ("gtk" ,gtk)
("json-glib" ,json-glib) ; For Todoist plugin
+ ("libadwaita" ,libadwaita)
("libedataserverui" ,evolution-data-server)
("libical" ,libical)
("libpeas" ,libpeas)
+ ("libportal" ,libportal)
("python-pygobject" ,python-pygobject)
("evolution-data-server" ,evolution-data-server)
("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
diff --git a/gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch
b/gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch
deleted file mode 100644
index c680e86..0000000
--- a/gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-From: Emmanuele Bassi <ebassi@gnome.org>
-
-See also:
https://gitlab.gnome.org/GNOME/gnome-todo/commit/6cdabc4dd0c6c804a093b94c269461ce376fed4f
---- gnome-todo-3.28.1/plugins/eds/gtd-eds-autoptr.h.orig 2020-05-06
14:20:49.589902539 +0200
-+++ gnome-todo-3.28.1/plugins/eds/gtd-eds-autoptr.h 2020-05-06
14:20:54.593919721 +0200
-@@ -25,4 +25,3 @@
- G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalComponent, g_object_unref);
- G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalComponentId, e_cal_component_free_id);
- G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalClient, g_object_unref);
--G_DEFINE_AUTOPTR_CLEANUP_FUNC (ESource, g_object_unref);
- 04/72: gnu: gnome-backgrounds: Update to 40.1., (continued)
- 04/72: gnu: gnome-backgrounds: Update to 40.1., guix-commits, 2021/09/26
- 13/72: gnu: libportal: Update to 0.4., guix-commits, 2021/09/26
- 12/72: gnu: gnome-font-viewer: Update to 40.0., guix-commits, 2021/09/26
- 11/72: gnu: gnome-disk-utility: Update to 40.2., guix-commits, 2021/09/26
- 16/72: build: glib-or-gtk-build-system: Add gtk 4.0 support., guix-commits, 2021/09/26
- 20/72: gnu: gnome-calendar: Update to 40.2., guix-commits, 2021/09/26
- 21/72: gnu: tepl: Update to 6.00.0., guix-commits, 2021/09/26
- 10/72: gnu: gnome-desktop: Update to 40.4., guix-commits, 2021/09/26
- 14/72: gnu: Add libadwaita., guix-commits, 2021/09/26
- 18/72: gnu: gnome-calculator: Update to 40.1., guix-commits, 2021/09/26
- 15/72: gnu: gnome-todo: Update to 40.1.,
guix-commits <=
- 22/72: gnu: gedit: Update to 40.1., guix-commits, 2021/09/26
- 29/72: gnu: gnome-session: Update to 40.1., guix-commits, 2021/09/26
- 31/72: gnu: orca: Update to 40.0., guix-commits, 2021/09/26
- 40/72: gnu: simple-scan: Update to 40.5., guix-commits, 2021/09/26
- 43/72: gnu: gnome-online-accounts: Update to 3.40.0., guix-commits, 2021/09/26
- 53/72: gnu: gnome-user-share: Update to 3.34.0., guix-commits, 2021/09/26
- 63/72: gnu: gnome-online-miners: Fix build., guix-commits, 2021/09/26
- 24/72: gnu: amtk: Update to 5.3.1., guix-commits, 2021/09/26
- 26/72: gnu: gnome-boxes: Update to 40.3., guix-commits, 2021/09/26
- 32/72: gnu: sushi: Update to 3.38.1., guix-commits, 2021/09/26