From patchwork Sun Jul 7 15:40:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 14494 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 79D8D1716C; Sun, 7 Jul 2019 16:41:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2BE941715A for ; Sun, 7 Jul 2019 16:41:21 +0100 (BST) Received: from localhost ([::1]:35962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hk9I0-0004jV-I2 for patchwork@mira.cbaines.net; Sun, 07 Jul 2019 11:41:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33274) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hk9Hk-0004i5-Dm for guix-patches@gnu.org; Sun, 07 Jul 2019 11:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hk9Hi-0003C9-HC for guix-patches@gnu.org; Sun, 07 Jul 2019 11:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hk9Hh-0003Bs-Tq for guix-patches@gnu.org; Sun, 07 Jul 2019 11:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hk9Hh-0003v4-Qq for guix-patches@gnu.org; Sun, 07 Jul 2019 11:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36446] [PATCH] Add grisbi Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Jul 2019 15:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36446 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Received: via spool by 36446-submit@debbugs.gnu.org id=B36446.156251405815050 (code B ref 36446); Sun, 07 Jul 2019 15:41:01 +0000 Received: (at 36446) by debbugs.gnu.org; 7 Jul 2019 15:40:58 +0000 Received: from localhost ([127.0.0.1]:57333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk9Ha-0003uc-PH for submit@debbugs.gnu.org; Sun, 07 Jul 2019 11:40:58 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:43317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk9HY-0003uQ-UA for 36446@debbugs.gnu.org; Sun, 07 Jul 2019 11:40:53 -0400 X-Originating-IP: 89.92.229.106 Received: from localhost (89-92-229-106.hfc.dyn.abo.bbox.fr [89.92.229.106]) (Authenticated sender: tanguy@bioneland.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 9D83120004; Sun, 7 Jul 2019 15:40:45 +0000 (UTC) Date: Sun, 7 Jul 2019 17:40:44 +0200 From: Tanguy Le Carrour Message-ID: <20190707154044.bstjb7fwu4nez2hu@melmoth> References: <20190630115445.e4td6p7upcsrk6hg@melmoth> <20190702093317.GD22794@macbook41> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190702093317.GD22794@macbook41> User-Agent: NeoMutt/20180716 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36446@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2019 Guillaume Le Vaillant +;;; Copyright © 2019 Tanguy Le Carrour ;;; ;;; 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+)))