From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: bug#26215: gschemas.compiled should not be added to the profile by multiple packages Date: Thu, 23 Mar 2017 17:20:57 +0100 Message-ID: <8760j0nevq.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> References: 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]:59908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr5V0-0007st-F4 for bug-guix@gnu.org; Thu, 23 Mar 2017 12:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cr5Uw-0007P3-FM for bug-guix@gnu.org; Thu, 23 Mar 2017 12:22:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cr5Uw-0007Oq-9o for bug-guix@gnu.org; Thu, 23 Mar 2017 12:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cr5Uw-0001ch-2d for bug-guix@gnu.org; Thu, 23 Mar 2017 12:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (pelzflorian@pelzflorian.de's message of "Wed, 22 Mar 2017 09:30:37 +0100") 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: "pelzflorian (Florian Pelz)" Cc: 26215@debbugs.gnu.org "pelzflorian (Florian Pelz)" writes: > 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= =99s > 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? Note that if you mix GTK-2 and GTK-3 schemas many applications will crash. The glib-or-gtk-build-system tries to avoid mixing the two. Fede