From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKV1n-0008OS-QH for guix-patches@gnu.org; Sun, 20 May 2018 16:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKV1m-00059Z-NO for guix-patches@gnu.org; Sun, 20 May 2018 16:34:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKV1m-00059P-Jo for guix-patches@gnu.org; Sun, 20 May 2018 16:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKV1m-0006Uv-Db for guix-patches@gnu.org; Sun, 20 May 2018 16:34:02 -0400 Subject: [bug#31462] [PATCH] profiles: Add hook to generate "gschemas.compiled". Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180515124917.1751-1-dannym@scratchpost.org> <87bmde4q2m.fsf@gnu.org> <874lj6pkdf.fsf@member.fsf.org> <87k1s2xol9.fsf@gnu.org> <87o9hcxnzy.fsf@member.fsf.org> Date: Sun, 20 May 2018 22:32:56 +0200 In-Reply-To: <87o9hcxnzy.fsf@member.fsf.org> ("=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s message of "Sat, 19 May 2018 12:34:09 +0800") Message-ID: <874lj2nk3r.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 31462@debbugs.gnu.org iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hey, >> >> iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: >> >>> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >>> >>>> Hello! >>>> >>>> Danny Milosavljevic skribis: >>>> >>>>> * guix/profiles.scm (glib-schemas): New procedure. >>>>> (%default-profile-hooks): Add it. >>>> >>>> [...] >>>> >>>>> + (mlet %store-monad ((%glib (manifest-lookup-package manifest "glib= ")) >>>>> + ;; XXX: Can't use glib-compile-schemas corresp= onding >>>>> + ;; to the glib referenced by 'manifest'. Beca= use >>>>> + ;; '%glib' can be either a package or store pa= th, and >>>>> + ;; there's no way to get the "bin" output for = the later. >>>>> + (glib-compile-schemas >>>>> + -> #~(string-append #+glib:bin >>>>> + "/bin/glib-compile-schema= s"))) >>>> >>>> Oh right, too bad. >>>> >>>> =E5=AE=8B=E6=96=87=E6=AD=A6, any comments, since you wrote the existin= g hooks in that area? >>>> >>> >>> Well, I think this situation is not changed. Our profile hooks >>> currently use latest version of zlib, gzip, guile-gdbm-ffi, gtk+, ghc >>> and etc. We'd like to use packages from the manifest to avoid >>> additional downloads, but it's not awlays possible... >> >> Right, so that=E2=80=99s not new. >> >> You=E2=80=99re OK with the rest of the patch? >> > > Yes, it looks good to me, and it's useful for the 'dconf-editor' > package, which can edit the dconf database with the support from > available gsetting schemas. Alright, good to know. So Danny, go ahead! :-) Thanks, Ludo=E2=80=99.