From: David Pirotte <david@altosw.be>
To: Alex Kost <alezost@gmail.com>
Cc: Patrick Hetu <patrick.hetu@auf.org>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add guile-gnome
Date: Sat, 11 Jun 2016 18:54:13 -0300 [thread overview]
Message-ID: <20160611185413.6ddfb50e@capac> (raw)
In-Reply-To: <871t458mca.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]
Hi Alex,
> >> > > ...
> >> > > + (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 =.*guile/site" all)
> >> > > + (string-append all "/2.0")))
> >> > > + #t))))))
> >> > > ...
> >> > Just curious: why do you (string-append all "/2.0")? Is this a guix guideline
> >> > maybe?
> >> > IMO, G-wrap, Guile-Cairo and Guile-Gnome should all be installed in
> >> > the directory returned by (%global-site-dir)
> >> `guilemoduledir =.*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
> > ok, but why "/2.0" is appended to it?
> I think the version is not needed, but Ludovic had another opinion. I
> don't remember details but there was some discussion about it:
> <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00408.html>
Thanks for the pointer. FWIW, I agree with Mark
(a) (%global-site-dir) as always been part of gule's search paths for
modules, and that should not be 'altered' for guix, imo;
(b) it seems to me there has been a confuson, in this thread, in between
those of you talking about packages that also need to install things in
$prefix/bin and 'natively' do not distingish themselve from other version(s)
[1] and those of you talking packages that are compatible with several
version of guile [the one listed in their configure.ac file] and these
should be installed in (%global-site-dir), imo.
But then maybe I'm missing something.
Cheers,
David
[1] the thread sites qt 4 and 5, but guile does that too by the way, even if
you specify --program-suffix, it installs itself and its scripts, in
$prefix/bin, without the suffix
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-06-11 21:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 18:56 [PATCH] gnu: Add guile-gnome Patrick Hetu
2016-05-28 16:06 ` Ludovic Courtès
2016-06-07 17:57 ` Patrick Hetu
2016-06-07 21:47 ` David Pirotte
2016-06-08 13:19 ` Ludovic Courtès
2016-06-08 17:34 ` Patrick Hetu
2016-06-08 20:37 ` David Pirotte
2016-06-09 6:37 ` Efraim Flashner
2016-06-09 19:45 ` David Pirotte
2016-06-10 8:44 ` Alex Kost
2016-06-11 21:54 ` David Pirotte [this message]
2016-06-10 12:52 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160611185413.6ddfb50e@capac \
--to=david@altosw.be \
--cc=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=patrick.hetu@auf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.