all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: "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: Wed, 1 Jul 2015 20:11:17 +0200	[thread overview]
Message-ID: <CAKrPhPP-nc7a12OOTfKXppXQtdHbO6TVbN8W0f9zFN==sThOmA@mail.gmail.com> (raw)
In-Reply-To: <87r3ot0zdw.fsf@gnu.org>

On Tue, Jun 30, 2015 at 9:28 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Federico Beffa <beffa@ieee.org> skribis:
>
>> Adding 'dconf' and 'libcanberra' as default inputs to
>> 'glib-or-gtk-build-system' would make many of these problems go away,
>> with the only drawback of a possibly unused entry in an environment
>> variable.
>
> Another drawback is that it will increase the size of the closure of
> each package that is concerned (‘emacs’ is at 835 MiB without dconf nor
> libcanberra.)

That's a scary number, but, I guess, it does include libraries shared
with a large number of programs. So it doesn't represent (in the
typical case) what you need to download "just" to add emacs.

>
>> However, if you want to be super accurate then yes, this
>> will not do.
>
> I guess it’s a trade-off.
>
> How difficult would it be to identify applications that require the
> dconf GIO module (Totem, Evince) vs. those that can live without it
> (Emacs)?

I was just trying to provide some input (like having to set
GIO_EXTRA_MODULES up in this thread) from things that I did
investigate a while back... I'm not trying to disturb the piece of
mind of anybody. Right now I have no time to do this kind of
investigations.

The way I came across GIO_EXTRA_MODULES, was by looking at how I could
suppress the warnings we are talking about, in the emacs package. I've
found that, despite possibly not being needed, many people are annoyed
by such warnings and are interested in suppressing them (I was one of
those). In the end of the day, as an end user without knowledge of the
program internals, how can you know if it is harmless or a real
problem?

>
> Likewise, what fraction of the ‘glib-or-gtk-build-system’ packages
> require dconf?
>
> Based on that, we could choose to either make it opt-in (that is,
> explicitly add dconf as an input when needed), or opt-out (dconf is an
> implicit input of ‘glib-or-gtk-build-system’ that can be removed with
> #:dconf? #f).  Similarly with libcanberra.
>
> How does that sound?

I have a very small number of guix based graphical programs. So, my
case is not very relevant statistically. But, all of them either
complain about at least one of the two packages in question, or they
do have them as inputs.

0 means: it's not an input and I can't see complains.
1 means: it's either an input, or I get complains.

| package           | dconf | libcanberra |
|-------------------+-------+-------------|
| emacs             |     1 |           1 |
| evince            |     1 |           1 |
| python-matplotlib |     0 |           1 |
| inkscape          |     0 |           1 |
| gimp              |     0 |           1 |

Regards,
Fede

  reply	other threads:[~2015-07-01 18:11 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 [this message]
2015-07-23 18:16         ` Cook, Malcolm
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

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

  git send-email \
    --in-reply-to='CAKrPhPP-nc7a12OOTfKXppXQtdHbO6TVbN8W0f9zFN==sThOmA@mail.gmail.com' \
    --to=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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.