From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24188: gnucash needs gtk+ in propagated-inputs Date: Fri, 09 Sep 2016 16:33:34 +0200 Message-ID: <87eg4t5eip.fsf__39179.6174030334$1473431661$gmane$org@gnu.org> References: <87oa53yx0x.fsf@systemreboot.net> <87y4465kjf.fsf@elephly.net> <87eg5xq9lo.fsf@systemreboot.net> <87inv7ignw.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biMsW-0002jo-1t for bug-guix@gnu.org; Fri, 09 Sep 2016 10:34:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biMsU-000586-1x for bug-guix@gnu.org; Fri, 09 Sep 2016 10:34:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biMsT-000582-V4 for bug-guix@gnu.org; Fri, 09 Sep 2016 10:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1biMsT-0003UJ-R4 for bug-guix@gnu.org; Fri, 09 Sep 2016 10:34:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87inv7ignw.fsf@member.fsf.org> ("=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s message of "Thu, 11 Aug 2016 21:22:43 +0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 24188@debbugs.gnu.org, guix-devel@gnu.org iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > Arun Isaac writes: > >>> The following environment variables are set which may make a difference >>> here: >>> >>> GUIX_GTK3_PATH=3D/run/current-system/profile/lib/gtk-3.0 >>> GUIX_GTK2_PATH=3D/run/current-system/profile/lib/gtk-2.0 >>> GTK_DATA_PREFIX=3D/run/current-system/profile >> >> After setting XDG_DATA_DIRS with >> >> export XDG_DATA_DIRS=3D"/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-prof= ile/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" >> >> gnucash runs successfully. I found out about this using `guix >> environment --search-paths gnucash`. >> >> How do I find out about these environment variables in general? >> Shouldn't they be set in the gnucash wrapper script so that the user >> does not have to set them manually? > > gnc.gui:ERROR:gnc-icons.c:96:gnc_add_stock_icon_pair: assertion failed: (= pixbuf1 && pixbuf2) > fish: 'gnucash' terminated by signal SIGABRT (Abort) > > I think this error is caused by gdk-pixbuf, which uses XDG mime-info > database to query file types. Install the 'shared-mime-info' package > to activate the 'xdg-mime-database' profile hook should make it works. > > > To actually fix this package (and some others) we can: > > - Wrap them with shared-mime-info in XDG_DATA_DIRS or propagated it. > > - Make sure 'xdg-mime-database' always run if glib applications are > there even without shared-mime-info referenced by profile.=20=20 > IIRC, this was suggested by ludo, but I ignored, now patch sent :-) Apparently the 2nd item is what commit 801d316b20b05a4d0687873ad8e438e6238e23ce does. Are we done, or do we need to do item #1 too? Ludo=E2=80=99.