From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Brasero, or gnome without gnome Date: Wed, 02 Oct 2013 21:32:23 +0200 Message-ID: <874n8zsc3c.fsf@gnu.org> References: <20131002124146.GA15506@debian> <20131002180223.GA873@debian> 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]:57286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRSEl-0007Bq-Rk for guix-devel@gnu.org; Wed, 02 Oct 2013 15:37:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRSEf-000792-M9 for guix-devel@gnu.org; Wed, 02 Oct 2013 15:37:31 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:51432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRSEf-00078q-Gf for guix-devel@gnu.org; Wed, 02 Oct 2013 15:37:25 -0400 In-Reply-To: <20131002180223.GA873@debian> (Andreas Enge's message of "Wed, 2 Oct 2013 20:02:23 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Wed, Oct 02, 2013 at 02:41:46PM +0200, Andreas Enge wrote: >> How can we get around running commands such as >> /usr/bin/glib-compile-schemas --allow-any-name /usr/share/glib-2.0/sc= hemas/ ? > > It appears that glib-compile-schemas is called during the build or instal= lation > process of brasero. > > Inside /nix/store/...brasero/share/glib-2.0/schemas, > there is a file org.gnome.brasero.gschema.xml, which has been compiled in= to > gschemas.compiled. So this gschemas.compiled is installed into the user > profile, and with the following line added to .bashrc: > export XDG_DATA_DIRS=3D$HOME/.guix-profile/share > it is found and brasero starts up. Oh, good that you found it. Is there a more specific environment variable that could be put in =E2=80=98native-search-paths=E2=80=99 (so that =E2=80=98guix package --sear= ch-paths=E2=80=99 gives the right hint)? > Of course, this works only as long as only one gnome program is installed, > since all the different gschemas.compiled step on each other's toe. They=E2=80=99re all called =E2=80=98gschemas.compiled=E2=80=99? If yes, then that=E2=80=99s another case for =E2=80=9Cprofile hooks=E2=80= =9D=E2=80=93i.e., snippets to run in the build process that produces the profile. Thanks, Ludo=E2=80=99.