From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH] gnu: Add guile-gnome Date: Thu, 9 Jun 2016 09:37:53 +0300 Message-ID: <20160609063753.GA513@debian-netbook> References: <1464375363-31718-1-git-send-email-patrick.hetu@auf.org> <87y46ui2uk.fsf@gnu.org> <87ziqwkhkw.fsf@auf.org> <87vb1jhl7w.fsf@gnu.org> <87y46fk2k7.fsf@auf.org> <20160608173726.3f5597e4@capac> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAtbV-0003x3-4v for guix-devel@gnu.org; Thu, 09 Jun 2016 02:38:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAtbS-0006xa-0g for guix-devel@gnu.org; Thu, 09 Jun 2016 02:38:09 -0400 Received: from flashner.co.il ([178.62.234.194]:55376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAtbR-0006xB-PL for guix-devel@gnu.org; Thu, 09 Jun 2016 02:38:05 -0400 Content-Disposition: inline In-Reply-To: <20160608173726.3f5597e4@capac> 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" To: David Pirotte Cc: Patrick Hetu , guix-devel@gnu.org --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 08, 2016 at 05:37:26PM -0300, David Pirotte wrote: > Hello Patrick, >=20 > > ... > > + (modify-phases %standard-phases > > + (add-before 'configure 'pre-configure > > + (lambda* (#:key outputs #:allow-other-keys) > > + (let ((out (assoc-ref outputs "out"))) > > + (substitute* (find-files "." "^Makefile.in$") > > + (("guilemoduledir =3D.*guile/site" all) > > + (string-append all "/2.0"))) > > + #t)))))) > > ... >=20 > Just curious: why do you (string-append all "/2.0")? Is this a guix guide= line maybe? >=20 > IMO, G-wrap, Guile-Cairo and Guile-Gnome should all be installed in the > directory returned by (%global-site-dir) >=20 > Cheers, > David `guilemoduledir =3D.*guile/site' is saved in the variable `all' and then used in the second half of the substitute*. I have a similar one I wrote for aria2 in bittorrent.scm --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXWQ67AAoJEPTB05F+rO6TbgYP/2tpGj6pm3EJbO4pjziH7OXm St4bJJybJXZpPrqT9gMEzXV99PkN8+PpAp2H59VC2N0LGms8uNF8PxO5lxMAmKPA z9tFqQK5/PWZE/0SppR27LXqcVB6BpwnhGNvl1G/K7yyHVnjSz9lpvj1FDEPZ8+Q e7mxNUwRvkRVvWtCW08eCqZeBWraWuEYbiPebI9+gGck4UUd5t60wKKKC6Idklhu FLCLVDs4YA7Xq7qYwj3eQ4R2+AMXjut7OdeeIgU214OdlvTjma8jlXmRQxxxW28F JOY7lYkRPm6gjEaOKQcZ3pv5IRrVcjOfHx7YbPj2RZzvhQhLyZFuPWjPjEMKrBVq tdobfwB9VMHvZu9BP1MZMvymbCcaASXmFlgIkAs2OekIbDl5FIhs0/ZYDc7zJwpJ XLoOJlhnzON9JGIAOCOKLW4ySi35mrbc8v90y4lKiAah5fOM1VQFiJsx8Uct3zIu NPjVIuA63yuaMALspsWM33T6oUuPsQ0OM3OvWjOsIRxV/pT+lHeYPKxG9wKrvC3k zWlEl46N1Hb+IIArvf7dGtf84kxVGh9tFu/amjU76ao4d3o30iV0QKbQvxg9a0sr 1CT/b1JfiKzpuMfwIV50KsaR64L3dS1bjpkcFPxNcAfzz5lHR+x2C+tQwM8Q4hiX 2Jrb556xvB4lIuBt+t9g =g15V -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--