all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#36446] [PATCH] Add grisbi
@ 2019-06-30 11:54 Tanguy Le Carrour
  2019-07-02  9:33 ` Efraim Flashner
  0 siblings, 1 reply; 6+ messages in thread
From: Tanguy Le Carrour @ 2019-06-30 11:54 UTC (permalink / raw)
  To: 36446

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

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index e1a1e8ab6f..d3e12c2618 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2018 Adriano Peluso <catonano@gmail.com>
 ;;; Copyright © 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -35,6 +36,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 +47,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 +1033,38 @@ 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")))
+    (propagated-inputs
+     `(("dconf" ,dconf)))
+    (native-inputs
+      `(("glib" ,glib "bin")             ; glib-compile-schemas
+        ("pkg-config" ,pkg-config)
+        ("intltool" ,intltool)))
+    (inputs
+      `(("gtk+" ,gtk+)
+        ("libgsf" ,libgsf)))
+    (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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#36446] [PATCH] Add grisbi
  2019-06-30 11:54 [bug#36446] [PATCH] Add grisbi Tanguy Le Carrour
@ 2019-07-02  9:33 ` Efraim Flashner
  2019-07-03  7:00   ` Tanguy Le Carrour
  2019-07-07 15:40   ` Tanguy Le Carrour
  0 siblings, 2 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-07-02  9:33 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 36446

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

I haven't checked the package, but one thing stood out to me:

On Sun, Jun 30, 2019 at 01:54:45PM +0200, Tanguy Le Carrour wrote:
> ---
> +    (version "1.2.2")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (string-append
> +               "mirror://sourceforge/grisbi/grisbi%20stable/1.2.x"

1.2.x could instead be:
(verion-major+minor version) ".x"

> +               "/" version "/grisbi-" version ".tar.bz2"))
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#36446] [PATCH] Add grisbi
  2019-07-02  9:33 ` Efraim Flashner
@ 2019-07-03  7:00   ` Tanguy Le Carrour
  2019-07-07 15:40   ` Tanguy Le Carrour
  1 sibling, 0 replies; 6+ messages in thread
From: Tanguy Le Carrour @ 2019-07-03  7:00 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 36446

Le 07/02, Efraim Flashner a écrit :
> I haven't checked the package, but one thing stood out to me:
> 
> On Sun, Jun 30, 2019 at 01:54:45PM +0200, Tanguy Le Carrour wrote:
> > ---
> > +    (version "1.2.2")
> > +    (source
> > +      (origin
> > +        (method url-fetch)
> > +        (uri (string-append
> > +               "mirror://sourceforge/grisbi/grisbi%20stable/1.2.x"
> 
> 1.2.x could instead be:
> (verion-major+minor version) ".x"

Thanks for the tip! I didn't know about this one, but it makes perfect
sense!
Am I supposed to update my patch and re-submit it? (sorry, newbie! ^_^')

-- 
Tanguy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#36446] [PATCH] Add grisbi
  2019-07-02  9:33 ` Efraim Flashner
  2019-07-03  7:00   ` Tanguy Le Carrour
@ 2019-07-07 15:40   ` Tanguy Le Carrour
  2019-07-12 16:26     ` bug#36446: " Timothy Sample
  1 sibling, 1 reply; 6+ messages in thread
From: Tanguy Le Carrour @ 2019-07-07 15:40 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 36446

Thanks again for reading it. Here is the updated (and rebased) version.

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

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 550354b650..c0a56f5180 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,6 +37,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 (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
@@ -47,9 +49,12 @@
   #:use-module (gnu packages dns)
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages glib)
   #: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)
@@ -1050,3 +1055,39 @@ 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"
+             "/" (version-major+minor version) ".x"
+             "/" version "/grisbi-" version ".tar.bz2"))
+       (sha256
+        (base32
+         "1piiyyxjsjbw9gcqydvknzxmmfgh8kdqal12ywrxyxih2afwnvbw"))))
+    (build-system glib-or-gtk-build-system)
+    (arguments
+     `(#:configure-flags (list "--without-ofx")))
+    (propagated-inputs
+     `(("dconf" ,dconf)))
+    (native-inputs
+     `(("glib" ,glib "bin")             ; glib-compile-schemas
+       ("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libgsf" ,libgsf)))
+    (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.22.0


-- 
Tanguy

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#36446: [PATCH] Add grisbi
  2019-07-07 15:40   ` Tanguy Le Carrour
@ 2019-07-12 16:26     ` Timothy Sample
  2019-07-15  6:55       ` [bug#36446] " Tanguy Le Carrour
  0 siblings, 1 reply; 6+ messages in thread
From: Timothy Sample @ 2019-07-12 16:26 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 36446-done

Hi Tanguy,

Tanguy Le Carrour <tanguy@bioneland.org> writes:

> Thanks again for reading it. Here is the updated (and rebased) version.

With the minor changes to the synopsis and description that I mentioned
before, I pushed this as 90bb244f29cacba8a098c07cd7c19a77d16f6cfb.

Thanks!

(As a note for the future, please be sure your patches apply.  I had to
fix the boundaries on one of the hunks.)


-- Tim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#36446] [PATCH] Add grisbi
  2019-07-12 16:26     ` bug#36446: " Timothy Sample
@ 2019-07-15  6:55       ` Tanguy Le Carrour
  0 siblings, 0 replies; 6+ messages in thread
From: Tanguy Le Carrour @ 2019-07-15  6:55 UTC (permalink / raw)
  To: Timothy Sample; +Cc: 36446-done

Hi Timothy,

Le 07/12, Timothy Sample a écrit :
> Tanguy Le Carrour <tanguy@bioneland.org> writes:
> With the minor changes to the synopsis and description that I mentioned
> before, I pushed this as 90bb244f29cacba8a098c07cd7c19a77d16f6cfb.

Thank you so much for that!

> (As a note for the future, please be sure your patches apply.  I had to
> fix the boundaries on one of the hunks.)

I'm really sorry to hear that! I'll do my best next time not to give you
extra work!

Best regards!

-- 
Tanguy

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-15  6:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-30 11:54 [bug#36446] [PATCH] Add grisbi Tanguy Le Carrour
2019-07-02  9:33 ` Efraim Flashner
2019-07-03  7:00   ` Tanguy Le Carrour
2019-07-07 15:40   ` Tanguy Le Carrour
2019-07-12 16:26     ` bug#36446: " Timothy Sample
2019-07-15  6:55       ` [bug#36446] " Tanguy Le Carrour

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.