unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: "'Federico Beffa'" <beffa@ieee.org>, "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: RE: How to handle required plugins and dbus services for GNOME Programs?
Date: Thu, 23 Jul 2015 18:16:40 +0000	[thread overview]
Message-ID: <4ef7fa4f02304706a2444a63a8a957b8@exchsrv2.sgc.loc> (raw)
In-Reply-To: <CAKrPhPMLzeyVoTdBk-Fnixm5m41qCApyEEjBEQe0zceGkfnFww@mail.gmail.com>

Hi, 

What fortune...

> IMO, given that every GLib based program needs it, the right thing to do is to
> make it an implicit input of 'glib-or-gtk-build-system'.
> 
> In a similar way, every GLib based program/library makes use of sound
> themes. For this to work it needs access to 'libcanberra'. Thus, for sound
> themes to work, 'libcanberra' should also be an implicit input of the build
> system.
> 
> You may be using a desktop where no sound theme is used/configured and
> therefore not be seeing any message about this. But, if you use a desktop
> with a sound theme, e.g. GNOME, you will see the following
> messages:
> Gtk-Message: Failed to load module "canberra-gtk-module"
> This is taken care by setting
> 
> GTK_PATH=/gnu/store/...-libcanberra-0.30/lib/gtk-3.0/modules
> 

... I was at this very moment poised to ask about this very issue here, for, in the case of a fresh guix 0.8.3 I was witnessing:

After `guix package --install emacs`, I find:

	$ emacs
	(process:3941): Gtk-WARNING **: Locale not supported by C library.
		Using the fallback 'C' locale.
	Gtk-Message: Failed to load module "canberra-gtk-module"
	Gtk-Message: Failed to load module "pk-gtk-module"

The installed emacs v 24.5 does still start, and looks pretty snappy (despite, alas, being build without svg support).

But, let me try and take your advice:

	$ guix package -i libcanberra
	$ export GTK_PATH=/gnu/store/*-libcanberra*/lib/gtk-3.0/modules
	$ echo $GTK_PATH
	/gnu/store/x06vfgf5fn09yr9crqlg22rwc301jnhp-libcanberra-0.30/lib/gtk-3.0/modules
	$ ls $GTK_PATH
	libcanberra-gtk3-module.la  libcanberra-gtk3-module.so  libcanberra-gtk-module.so

But, upon starting emacs again, alas, I still get the same Gtk warnings and messages.

Am I not following your advice, or otherwise mis-understanding it?

Thanks,

Malcolm

  parent reply	other threads:[~2015-07-23 18:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25  7:28 How to handle required plugins and dbus services for GNOME Programs? Federico Beffa
2015-06-25 11:49 ` Ludovic Courtès
2015-06-25 12:16   ` Federico Beffa
2015-06-29 11:35     ` Ludovic Courtès
2015-06-30  6:52       ` Federico Beffa
2015-06-30 16:01         ` Mark H Weaver
2015-06-30 18:05           ` Federico Beffa
2015-06-30 19:28             ` Ludovic Courtès
2015-07-01 18:11               ` Federico Beffa
2015-07-23 18:16         ` Cook, Malcolm [this message]
2015-07-23 19:33           ` Federico Beffa
2015-07-24 18:41             ` Cook, Malcolm
2015-07-27 20:13               ` Federico Beffa
2015-06-25 14:34   ` Mark H Weaver
  -- strict thread matches above, loose matches on Subject: below --
2015-06-21  4:21 [PATCHES] Add totem Mark H Weaver
2015-06-22 19:24 ` Ludovic Courtès
2015-06-24  5:58   ` How to handle required plugins and dbus services for GNOME Programs? Mark H Weaver
2015-06-24 15:45     ` 宋文武
2015-06-25  4:07       ` Mark H Weaver
2015-06-25  7:42         ` 宋文武
2015-06-24 20:47     ` Ludovic Courtès
2015-06-25  5:00     ` David Hashe
2015-07-09  6:30     ` Mark H Weaver
2015-07-09 13:00       ` 宋文武
2015-07-10 21:24       ` 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=4ef7fa4f02304706a2444a63a8a957b8@exchsrv2.sgc.loc \
    --to=mec@stowers.org \
    --cc=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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).