From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: Re: Packaging Grisbi Date: Thu, 30 May 2019 21:55:54 -0400 Message-ID: <87o93j5qvp.fsf@ngyro.com> References: <20190512121101.qabhj5jdcnwgs6jp@melmoth> <87pnon4eqf.fsf@ngyro.com> <20190513065136.neexsffqgvwgyhev@rafflesia.localdomain> <20190529153800.6uhdsarrtt3dgzyt@melmoth> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWWm1-0002DO-T8 for guix-devel@gnu.org; Thu, 30 May 2019 21:56:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWWm0-0005we-39 for guix-devel@gnu.org; Thu, 30 May 2019 21:56:01 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:57787) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWWlz-0005iV-48 for guix-devel@gnu.org; Thu, 30 May 2019 21:55:59 -0400 In-Reply-To: <20190529153800.6uhdsarrtt3dgzyt@melmoth> (Tanguy Le Carrour's message of "Wed, 29 May 2019 17:38:00 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tanguy Le Carrour Cc: Guix Hi Tanguy, Tanguy Le Carrour 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 =C3=A9crit : >> Le 05/12, Timothy Sample a =C3=A9crit : >> > Tanguy Le Carrour 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 >> > > ``` >> >=20 >> > Drat! >> >=20 >> > > Installing dconf does not solve the problem, though. >> >=20 >> > 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 =E2=80=9Cguix pull=E2=80=9D in the last four days, doing = so might make this >> > problem disappear. >>=20 >> 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=E2=80=A6 > > --- > 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 =E2=80=98n=E2=80=99. > + (description "Grisbi is an application written by French developers, Maybe say =E2=80=9CGrisbi is a personal accounting application written by F= rench developers that is designed to follow French accounting rules.=E2=80=9D > +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 Gr= isbi > +adapted for associations.") You could drop the last part after =E2=80=9Cother information=E2=80=9D, or = change it to something like =E2=80=9Cwhich makes Grisbi appropriate for associations.=E2= =80=9D > + (home-page "http://grisbi.org") > + (license license:gpl2+))) > --=20 > 2.21.0 If you don=E2=80=99t mind, please send an updated patch generated using =E2= =80=9Cgit format-patch=E2=80=9D as an attachment (this makes it easier to apply the p= atch while preserving you as the author). When you do so, don=E2=80=99t 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=E2=80=99s some problem with = the package, we can always fix it! -- Tim