guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packaging Grisbi


From: Tanguy Le Carrour
Subject: Re: Packaging Grisbi
Date: Wed, 29 May 2019 17:38:00 +0200
User-agent: NeoMutt/20180716

Dear Timothy, dear Guix

Sorry it took me soooooo long to answer!


Le 05/13, Tanguy Le Carrour a écrit :
> Le 05/12, Timothy Sample a écrit :
> > Tanguy Le Carrour <address@hidden> writes:
> > > I get the following error message:
> > >
> > > ```
> > > failed to commit changes to dconf:
> > > GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown:
> > > The name ca.desrt.dconf was not provided by any .service files
> > > ```
> > 
> > Drat!
> > 
> > > Installing dconf does not solve the problem, though.
> > 
> > If you are using GDM, this might be due to the way it (used to) start
> > D-Bus.  See commit dcb3a0fe0a086b4762a721e9b1da64826d5160d0.  If you
> > have not ran “guix pull” in the last four days, doing so might make this
> > problem disappear.
> 
> My bad! I'll update my system and try again!

I've updated my system (a couple of times) since then and I still have the
same problem! Any dconf specialist around?!

Here is my "final" patch…

---
 gnu/packages/finance.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index e1a1e8ab6f..ae2ebea46e 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -35,6 +35,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
@@ -45,9 +46,12 @@
   #:use-module (gnu packages dns)
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages groff)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages libedit)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libunwind)
@@ -1028,3 +1032,37 @@ Its features are:
 @item get account amount.
 @end itemize")
     (license license:agpl3+)))
+
+(define-public grisbi
+  (package
+    (name "grisbi")
+    (version "1.2.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "mirror://sourceforge/grisbi/grisbi%20stable/1.2.x"
+               "/" version "/grisbi-" version ".tar.bz2"))
+        (sha256
+          (base32
+            "1piiyyxjsjbw9gcqydvknzxmmfgh8kdqal12ywrxyxih2afwnvbw"))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     `(#:configure-flags (list "--without-ofx")))
+    (inputs
+      `(("gtk+" ,gtk+)
+        ("libgsf" ,libgsf)))
+    (native-inputs
+      `(("glib" ,glib "bin")             ; glib-compile-schemas
+        ("pkg-config" ,pkg-config)
+        ("intltool" ,intltool)))
+    (synopsis "Personnal accounting application")
+    (description "Grisbi is an application written by French developers,
+so it perfectly respects French accounting rules.  Grisbi can manage
+multiple accounts, currencies and users.  It manages third party,
+expenditure and receipt categories, budgetary lines, financial years,
+budget estimates, bankcard management and other information that make Grisbi
+adapted for associations.")
+    (home-page "http://grisbi.org";)
+    (license license:gpl2+)))
-- 
2.21.0


-- 
Tanguy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]