all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: Guix <guix-devel@gnu.org>
Subject: Packaging Grisbi
Date: Sun, 12 May 2019 14:11:01 +0200	[thread overview]
Message-ID: <20190512121101.qabhj5jdcnwgs6jp@melmoth> (raw)

Hello Guix!

This is my first packaging attempt, please be indulgent…

I decided to start small and be a little chauvinistic by packaging
Grisbi "an application written by French developers"! :-)

```
(define-module (gnu packages grisbi)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system glib-or-gtk)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages pkg-config)
  #:use-module (guix licenses))

(define-public grisbi
  (package
    (name "grisbi")
    (version "1.2.1")
    (source (origin
              (method url-fetch)
              (uri (string-append
                     "mirror://sourceforge/projects/grisbi/files/"
                     "grisbi stable/1.2.x/" version "/grisbi-" version
                     ".tar.bz2/download"))
              (sha256
               (base32
                "0j6jq0h4kkhyqhdprhaw4zk6sn89s4a9h0m8i8hh5sc7fbi88nyq"))))
    (build-system glib-or-gtk-build-system)
    (arguments
     `(#:configure-flags (list "--without-ofx" "--without-goffice")))
    (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 gpl2+)))
```

So far, it builds, it lints, it's installable… and it works!
It still has a small amnesia problem: each time I start it, it's acting like
it's the first time. It seems to be a dconf issue, for 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
```

Installing dconf does not solve the problem, though.

I also don't know where to put it! In its own `grisbi.scm` file? Or
alongside gnucash in a new `finance.scm` file?

Any comment and piece of advice is welcome!

-- 
Tanguy

             reply	other threads:[~2019-05-12 12:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-12 12:11 Tanguy Le Carrour [this message]
2019-05-12 20:09 ` Packaging Grisbi Timothy Sample
2019-05-13  6:51   ` Tanguy Le Carrour
2019-05-29 15:38     ` Tanguy Le Carrour
2019-05-31  1:55       ` Timothy Sample
2019-06-02 17:06         ` Tanguy Le Carrour
2019-06-02 19:04           ` Timothy Sample
2019-06-08 13:23             ` Tanguy Le Carrour
2019-06-13  0:02               ` Timothy Sample
2019-06-30 12:01                 ` Tanguy Le Carrour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190512121101.qabhj5jdcnwgs6jp@melmoth \
    --to=tanguy@bioneland.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.