* [bug#28612] [PATCH] gnu: Add gnome-todo.
@ 2017-09-27 1:52 Mohammed Sadiq
2017-09-27 22:05 ` bug#28612: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Sadiq @ 2017-09-27 1:52 UTC (permalink / raw)
To: 28612
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0001-gnu-Add-gnome-todo.patch --]
[-- Type: text/x-patch, Size: 3256 bytes --]
From 5fcbe576bfcb3e5cafea3ad1de7d67aaa6871ae6 Mon Sep 17 00:00:00 2001
From: Mohammed Sadiq <sadiq@sadiqpk.org>
Date: Wed, 27 Sep 2017 07:19:10 +0530
Subject: [PATCH] gnu: Add gnome-todo.
* gnu/packages/gnome.scm (gnome-todo): New public variable.
---
gnu/packages/gnome.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4e17c983b..47396230a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6091,6 +6091,59 @@ desktop. It supports world clock, stop watch, alarms, and count down timer.")
desktop. It supports multiple calendars, monthly view and yearly view.")
(license license:gpl3+)))
+(define-public gnome-todo
+ (package
+ (name "gnome-todo")
+ (version "3.26.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "13if2lg4r65v3z7h5y57qv4iqz9ihjaml8bzvvihha7dffyr1lz4"))))
+ (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 "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))
+ `("PYTHONPATH" ":" prefix (,python-path))
+ ))
+ #t)))))
+ (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
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("rest" ,rest) ; For Todoist plugin
+ ("json-glib" ,json-glib) ; For Todoist plugin
+ ("libical" ,libical)
+ ("libpeas" ,libpeas)
+ ("python-pygobject" ,python-pygobject)
+ ("evolution-data-server" ,evolution-data-server)
+ ("gnome-online-accounts" ,gnome-online-accounts)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
+ (home-page "https://wiki.gnome.org/Apps/Todo")
+ (synopsis "GNOME's ToDo Application")
+ (description
+ "GNOME To Do is a simplistic personal task manager designed to perfectly
+fit the GNOME desktop.")
+ (license license:gpl3+)))
+
(define-public gnome-dictionary
(package
(name "gnome-dictionary")
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#28612: [PATCH] gnu: Add gnome-todo.
2017-09-27 1:52 [bug#28612] [PATCH] gnu: Add gnome-todo Mohammed Sadiq
@ 2017-09-27 22:05 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-09-27 22:05 UTC (permalink / raw)
To: Mohammed Sadiq; +Cc: 28612-done
Mohammed Sadiq <sadiq@sadiqpk.org> skribis:
> From 5fcbe576bfcb3e5cafea3ad1de7d67aaa6871ae6 Mon Sep 17 00:00:00 2001
> From: Mohammed Sadiq <sadiq@sadiqpk.org>
> Date: Wed, 27 Sep 2017 07:19:10 +0530
> Subject: [PATCH] gnu: Add gnome-todo.
>
> * gnu/packages/gnome.scm (gnome-todo): New public variable.
Fixed the hanging parentheses reported by ‘guix lint’ and committed.
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-27 22:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-27 1:52 [bug#28612] [PATCH] gnu: Add gnome-todo Mohammed Sadiq
2017-09-27 22:05 ` bug#28612: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).