all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Eric Bavier <ericbavier@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 4/4] gnu: Add transfig.
Date: Sun, 12 Oct 2014 00:03:06 +0200	[thread overview]
Message-ID: <87iojq5ko5.fsf@gnu.org> (raw)
In-Reply-To: <87mw93vlbt.fsf@member.fsf.org> (Eric Bavier's message of "Fri, 10 Oct 2014 13:19:50 -0500")

Eric Bavier <ericbavier@gmail.com> skribis:

> From ece0a8dec5d95ccf84156e9e6c0c582639163b1e Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> Date: Fri, 10 Oct 2014 13:11:22 -0500
> Subject: [PATCH 4/4] gnu: Add transfig.
>
> * gnu/packages/xfig.scm (transfig): New variable.

OK!

> +        (lambda* (#:key inputs outputs #:allow-other-keys)
> +          (let ((imake (assoc-ref inputs "imake"))
> +                (out   (assoc-ref outputs "out")))
> +            (substitute* '("fig2dev/Imakefile"
> +                           "transfig/Imakefile")
> +              (("XCOMM (BINDIR = )[[:graph:]]*" _ front)
> +               (string-append front out "/bin"))
> +              (("XCOMM USEINLINE") "USEINLINE")
> +              ;; The variable name is deceptive.  The directory is used as an
> +              ;; installation path for bitmaps.
> +              (("(XFIGLIBDIR =[[:blank:]]*)[[:graph:]]*" _ front)
> +               (string-append front out "/lib"))
> +              (("(XPMLIBDIR = )[[:graph:]]*" _ front)
> +               (string-append front (assoc-ref inputs "libxpm") "/lib"))
> +              (("(XPMINC = -I)[[:graph:]]*" _ front)
> +               (string-append front (assoc-ref inputs "libxpm") "/include/X11"))
> +              (("/usr/local/lib/fig2dev") (string-append out "/lib")))

I feel you’ll end up writing an ‘imake-build-system’.  :-)

Thanks,
Ludo’.

      reply	other threads:[~2014-10-11 22:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-10 18:19 [PATCH 4/4] gnu: Add transfig Eric Bavier
2014-10-11 22:03 ` Ludovic Courtès [this message]

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=87iojq5ko5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=ericbavier@gmail.com \
    --cc=guix-devel@gnu.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.