gnu: gnome-todo: Fix build.

* gnu/packages/patches/gnome-todo-delete-esource-duplicate.patch: New file.
* gnu/packages/gnome.scm (gnome-todo)[source]: Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
Danny Milosavljevic 2020-05-06 17:36:03 +02:00
parent 9b1f80a466
commit b17b29454d
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
3 changed files with 11 additions and 1 deletions

View file

@ -999,6 +999,7 @@ dist_patch_DATA = \
%D%/packages/patches/gmp-arm-asm-nothumb.patch \
%D%/packages/patches/gmp-faulty-test.patch \
%D%/packages/patches/gnome-shell-theme.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/gnutls-skip-trust-store-test.patch \

View file

@ -8121,7 +8121,9 @@ (define-public gnome-todo
name "-" version ".tar.xz"))
(sha256
(base32
"08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))))
"08ygqbib72jlf9y0a16k54zz51sncpq2wa18wp81v46q8301ymy7"))
(patches
(search-patches "gnome-todo-delete-esource-duplicate.patch"))))
(build-system meson-build-system)
(arguments
'(#:glib-or-gtk? #t

View file

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