From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#26215: gschemas.compiled should not be added to the profile by multiple packages Date: Wed, 22 Mar 2017 09:30:37 +0100 Message-ID: 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]:41899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqbfg-00066f-FT for bug-guix@gnu.org; Wed, 22 Mar 2017 04:31:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqbfa-0002hw-Le for bug-guix@gnu.org; Wed, 22 Mar 2017 04:31:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40407) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cqbfa-0002hs-Hl for bug-guix@gnu.org; Wed, 22 Mar 2017 04:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cqbfa-0006kz-Cj for bug-guix@gnu.org; Wed, 22 Mar 2017 04:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqbfI-0005rI-0N for bug-guix@gnu.org; Wed, 22 Mar 2017 04:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqbfE-0002bg-TM for bug-guix@gnu.org; Wed, 22 Mar 2017 04:30:44 -0400 Received: from pelzflorian.de ([5.45.111.108]:52264 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqbfE-0002bF-K0 for bug-guix@gnu.org; Wed, 22 Mar 2017 04:30:40 -0400 Received: from [192.168.178.30] (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id CDBEC360012 for ; Wed, 22 Mar 2017 09:30:38 +0100 (CET) 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: 26215@debbugs.gnu.org Currently multiple packages contain the file share/glib-2.0/schemas/gschemas.compiled (which is built by glib-or-gtk-build-system). Doing so *works* (because each package=E2=80=99= s share directory in the Store is part of the XDG_DATA_DIRS environment variable, GSettings looks for settings in each of the gschemas.compiled files in the Store) but leads to *warnings* because only one package=E2=80= =99s gschemas.compiled can be added to the profile at the same time. To avoid these misleading warnings, either =C2=B7 no package=E2=80=99s gschemas.compiled should go to the profile on install *or* =C2=B7 gschemas.compiled should not be created for each package by glib-or-gtk-build-system, instead it should be created only once in each profile by a profile hook from the GSettings data of all packages in the manifest, =C2=B7 or something else? This bug report follows a discussion here: https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00552.html Is it easily possible to prevent a file from going from the Store to a profile? As for the other possible solution using a profile hook, John Darrington asked: > But what would happen if one had for example gnome-calculator in the > system profile, > and gnome-maps in the user profile? Would it work under those > circumstances? A profile hook for gschemas.compiled would eliminate half the purpose of glib-or-gtk-build-system I believe=E2=80=A6 It would still be used for se= tting GTK_PATH GTK+ modules.