unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 24188@debbugs.gnu.org, guix-devel@gnu.org
Subject: bug#24188: gnucash needs gtk+ in propagated-inputs
Date: Thu, 11 Aug 2016 21:22:43 +0800	[thread overview]
Message-ID: <87inv7ignw.fsf__17661.7004479796$1470921866$gmane$org@member.fsf.org> (raw)
In-Reply-To: <87eg5xq9lo.fsf@systemreboot.net> (Arun Isaac's message of "Wed, 10 Aug 2016 14:33:31 +0530")

Arun Isaac <arunisaac@systemreboot.net> writes:

>> The following environment variables are set which may make a difference
>> here:
>>
>>   GUIX_GTK3_PATH=/run/current-system/profile/lib/gtk-3.0
>>   GUIX_GTK2_PATH=/run/current-system/profile/lib/gtk-2.0
>>   GTK_DATA_PREFIX=/run/current-system/profile
>
> After setting XDG_DATA_DIRS with
>
> export XDG_DATA_DIRS="/gnu/store/zlr5l39k9gw7ss26iq6vj3yk215xrzpl-profile/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?

--8<---------------cut here---------------start------------->8---
gnc.gui:ERROR:gnc-icons.c:96:gnc_add_stock_icon_pair: assertion failed: (pixbuf1 && pixbuf2)
fish: 'gnucash' terminated by signal SIGABRT (Abort)
--8<---------------cut here---------------end--------------->8---

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.  
  IIRC, this was suggested by ludo, but I ignored, now patch sent :-)
  

  reply	other threads:[~2016-08-11 13:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 17:45 bug#24188: gnucash needs gtk+ in propagated-inputs Arun Isaac
2016-08-09 10:00 ` Ricardo Wurmus
2016-08-10  9:03   ` Arun Isaac
2016-08-11 13:22     ` 宋文武 [this message]
     [not found]     ` <87inv7ignw.fsf@member.fsf.org>
2016-08-13  9:18       ` Arun Isaac
2016-09-09 14:33       ` Ludovic Courtès
     [not found]       ` <87eg4t5eip.fsf@gnu.org>
2016-09-09 15:40         ` Arun Isaac
     [not found]         ` <cu7lgz1xesb.fsf@systemreboot.net>
2016-09-09 22:38           ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='87inv7ignw.fsf__17661.7004479796$1470921866$gmane$org@member.fsf.org' \
    --to=iyzsong@member.fsf.org \
    --cc=24188@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).