Subject: Add lifeograph

From: Pradana Adrinusa AUMARS <[email-masked]>
Date: Sat, 11 Dec 2021 19:02:03 +0100

>From 324b8cd3c801ad7c106725aff59fa65d00b50341 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <[email-masked]>
Date: Sat, 11 Dec 2021 18:58:51 +0100
Subject: [PATCH] gnu: Add lifeograph.

* gnu/packages/lifeograph.scm (lifeograph): New file.
---
 gnu/packages/lifeograph.scm | 56 +++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
 create mode 100644 gnu/packages/lifeograph.scm

diff --git a/gnu/packages/lifeograph.scm b/gnu/packages/lifeograph.scm
new file mode 100644
index 0000000000..48d419e3b3
--- /dev/null
+++ b/gnu/packages/lifeograph.scm
@@ -0,0 +1,56 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021 Pradana Aumars <[email-masked]>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>;.
+
+(define-module (gnu packages lifeograph)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system meson)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages enchant)
+  #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages pkg-config))
+
+(define-public rednotebook
+  (package
+   (name "lifeograph")
+   (version "2.0.2")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "https://launchpad.net/" name "/trunk/" version
+                                "/+download/" name "-" version ".tar.xz"))
+            (sha256
+             (base32
+              "1sfr3fd07x995makdp5wx3lxf7kl156hilliw77d0vnjp8ri49xl"))))
+   (build-system meson-build-system)
+   (arguments `(#:build-type "release"))
+   (inputs
+    `(("gtkmm" ,gtkmm)
+      ("gtk+", gtk+ "bin")
+      ("enchant" ,enchant)
+      ("libgcrypt" ,libgcrypt)
+      ("libchamplain" ,libchamplain)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (synopsis "Off-line and private journal and note taking application")
+   (description "Lifeograph is a diary program to take personal notes on life.
+It has all the essential functionality expected in a diary program and strives
+to have a clean and streamlined user interface.")
+   (home-page "http://lifeograph.sourceforge.net/")
+   (license license:gpl3+)))
-- 
2.34.0