guix-devel
[Top][All Lists]
Advanced

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

Re: Packaging Grisbi


From: Timothy Sample
Subject: Re: Packaging Grisbi
Date: Thu, 30 May 2019 21:55:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Tanguy,

Tanguy Le Carrour <address@hidden> writes:

> Dear Timothy, dear Guix
>
> Sorry it took me soooooo long to answer!

No problem!  Thanks for following up.

> 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?!

I applied your patch below, and everything works great for me.  It seems
this is because I am running GNOME, and GNOME puts the dconf service
file in the system profile.

What desktop are you running?  How is D-Bus started?

A handy tool to peek at D-Bus is D-Feet.

> 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")

                        ^ Extra ‘n’.

> +    (description "Grisbi is an application written by French developers,

Maybe say “Grisbi is a personal accounting application written by French
developers that is designed to follow French accounting rules.”

> +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.")

You could drop the last part after “other information”, or change it to
something like “which makes Grisbi appropriate for associations.”

> +    (home-page "http://grisbi.org";)
> +    (license license:gpl2+)))
> -- 
> 2.21.0

If you don’t mind, please send an updated patch generated using “git
format-patch” as an attachment (this makes it easier to apply the patch
while preserving you as the author).  When you do so, don’t forget to
add your name to the top of the file with the other copyright notices.

Since the package works for me, I think we can include it now regardless
of your D-Bus problems.  If it turns out there’s some problem with the
package, we can always fix it!


-- Tim



reply via email to

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