unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: imagemagick: Hard-code delegate paths.
@ 2015-10-06  3:22 ericbavier
  2015-10-06  9:50 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: ericbavier @ 2015-10-06  3:22 UTC (permalink / raw)
  To: guix-devel; +Cc: Eric Bavier

From: Eric Bavier <bavier@member.fsf.org>

If --with-frozenpaths is given, then configure will retain absolute paths
discovered for delegate programs, otherwise they are discarded.

* gnu/packages/imagemagick.scm (imagemagick)[arguments]: Add
  '--with-frozenpaths' to #:configure-flags.
---
 gnu/packages/imagemagick.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index 8e17684..f154e19 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -49,7 +49,8 @@
              (patches (list (search-patch "imagemagick-test-segv.patch")))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
+     `(#:configure-flags '("--with-frozenpaths")
+       #:phases (modify-phases %standard-phases
                   (add-before
                    'build 'pre-build
                    (lambda* (#:key outputs #:allow-other-keys)
-- 
2.4.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: imagemagick: Hard-code delegate paths.
  2015-10-06  9:50 ` Ludovic Courtès
@ 2015-10-06  8:36   ` Eric Bavier
  2015-10-07 13:28     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bavier @ 2015-10-06  8:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Tue, 06 Oct 2015 11:50:36 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> ericbavier@openmailbox.org skribis:
> 
> > From: Eric Bavier <bavier@member.fsf.org>
> >
> > If --with-frozenpaths is given, then configure will retain absolute paths
> > discovered for delegate programs, otherwise they are discarded.
> 
> Sounds good.  Any idea what programs this includes?

'dot' from graphviz. 'gsx' from ghostscript. 'echo' from coreutils.
'convert' and 'display' from imagemagick itself.

> How is the output
> of ‘guix size imagemagick’ affected?

No difference.  I thought ghostscript might be new, but references were
already be kept to ghostscript's fonts directories.

`~Eric

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: imagemagick: Hard-code delegate paths.
  2015-10-06  3:22 [PATCH] gnu: imagemagick: Hard-code delegate paths ericbavier
@ 2015-10-06  9:50 ` Ludovic Courtès
  2015-10-06  8:36   ` Eric Bavier
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-10-06  9:50 UTC (permalink / raw)
  To: ericbavier; +Cc: guix-devel, Eric Bavier

ericbavier@openmailbox.org skribis:

> From: Eric Bavier <bavier@member.fsf.org>
>
> If --with-frozenpaths is given, then configure will retain absolute paths
> discovered for delegate programs, otherwise they are discarded.

Sounds good.  Any idea what programs this includes?  How is the output
of ‘guix size imagemagick’ affected?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: imagemagick: Hard-code delegate paths.
  2015-10-06  8:36   ` Eric Bavier
@ 2015-10-07 13:28     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-10-07 13:28 UTC (permalink / raw)
  To: Eric Bavier; +Cc: guix-devel

Eric Bavier <ericbavier@openmailbox.org> skribis:

> On Tue, 06 Oct 2015 11:50:36 +0200
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> ericbavier@openmailbox.org skribis:
>> 
>> > From: Eric Bavier <bavier@member.fsf.org>
>> >
>> > If --with-frozenpaths is given, then configure will retain absolute paths
>> > discovered for delegate programs, otherwise they are discarded.
>> 
>> Sounds good.  Any idea what programs this includes?
>
> 'dot' from graphviz. 'gsx' from ghostscript. 'echo' from coreutils.
> 'convert' and 'display' from imagemagick itself.
>
>> How is the output
>> of ‘guix size imagemagick’ affected?
>
> No difference.  I thought ghostscript might be new, but references were
> already be kept to ghostscript's fonts directories.

Perfect, thanks for checking.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-07 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06  3:22 [PATCH] gnu: imagemagick: Hard-code delegate paths ericbavier
2015-10-06  9:50 ` Ludovic Courtès
2015-10-06  8:36   ` Eric Bavier
2015-10-07 13:28     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).