From: ludo@gnu.org (Ludovic Courtès)
To: Roel Janssen <roel@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: graphviz: Enable Guile library.
Date: Tue, 17 May 2016 22:48:11 +0200 [thread overview]
Message-ID: <87poskwgvo.fsf@gnu.org> (raw)
In-Reply-To: <87k2j0s1ik.fsf@gnu.org> (Roel Janssen's message of "Wed, 11 May 2016 23:55:31 +0200")
Roel Janssen <roel@gnu.org> skribis:
> Ludovic Courtès writes:
>
>> Roel Janssen <roel@gnu.org> skribis:
>>
>>> Ludovic Courtès writes:
>>>
>>>> Roel Janssen <roel@gnu.org> skribis:
>>>>
>>>>> From 704d5eba566af8d90ec7f53e7fc11d989f85c5e6 Mon Sep 17 00:00:00 2001
>>>>> From: Roel Janssen <roel@gnu.org>
>>>>> Date: Tue, 10 May 2016 15:54:01 +0200
>>>>> Subject: [PATCH 1/2] gnu: graphviz: Enable Guile library.
>>>>>
>>>>> * gnu/packages/graphviz.scm (graphviz): Compile with Guile support.
>>>>
>>>> Cool, applied with minor changes.
>>>>
>>>>> From a73293cb66f3978e60e1244124cd28b623d6c30c Mon Sep 17 00:00:00 2001
>>>>> From: Roel Janssen <roel@gnu.org>
>>>>> Date: Tue, 10 May 2016 15:55:52 +0200
>>>>> Subject: [PATCH 2/2] gnu: graphviz: Add graphviz-guile.
>>>>>
>>>>> * gnu/packages/graphviz.scm (graphviz): New variable.
>>>>
>>>> [...]
>>>>
>>>>> + (name "graphviz-guile")
>>>>> + (version "1.0")
>>>>> + (source (origin
>>>>> + (method url-fetch)
>>>>> + (uri (string-append
>>>>> + "https://github.com/roelj/graphviz-guile/archive/v"
>>>>> + version ".tar.gz"))
>>>>> + (sha256
>>>>> + (base32 "1ccmr4isj85j7djg9m56n54rqq1z94bjmrrs6vv4qdcp6ihv3c3r"))
>>>>> + (file-name (string-append name "-" version ".tar.gz"))))
>>>>
>>>> I think this is cheating a bit. :-)
>>>
>>> Just a bit :-).
>>>
>>> Other than getting it upstream, I don't see how else I could've done this.
>>>
>>>>> Do you think they would be interested in this? I kind of get the
>>>>> feeling that the language bindings are something generated
>>>>> automatically, and manually adding things is not desired (for upstream).
>>>>
>>>> If it’s a single file, it’s worth trying IMO.
>>>
>>> Alright. At the moment, their website seems to be down (graphviz.org),
>>> and their IRC channel very quiet. Do you know the mailing list address
>>> for graphviz?
>>
>> I don’t! Hopefully the web site will come back soon.
>
> I found the mailing list address with a bit of Ducking around:
> https://duckduckgo.com/?q=graphviz-devel+mailing+list
>
> Unfortunately, this list doesn't seem to exist anymore, because my
> e-mail bounced.
>
> I cannot download the source code, because that is/was hosted on
> graphviz.org as well. The header files do not contain contact
> information of a developer, so I guess we have to wait until it comes
> back online.
Bah. :-/
> Or do you think we can move along now and update the graphviz-guile
> package whenever we get it in upstream?
The problem is relying on something which zero other distros, including
upstream’s source distro, provide. I’m uncomfortable with that.
> I am definitely interested in adding an option to directly output an
> SVG in the graph subcommand, for which graphviz-guile is a
> prerequisite.
It’s definitely tempting, but on the downside, note that we’d have to
support the case where the Graphviz Guile bindings are missing, provide
additional command-line options to tweak the output, etc. when in fact,
the only visible benefit would be that one can type:
guix graph --format=pdf foo > foo.pdf
instead of:
guix graph foo | dot -Tpdf > foo.pdf
(The latter is one character shorter, even! ;-))
So, thinking more about it, I think that in the case of ‘guix graph’,
it’s a bit of trouble for little in return.
WDYT? :-)
Ludo’.
next prev parent reply other threads:[~2016-05-18 1:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-09 10:17 [PATCH] gnu: graphviz: Enable Guile library Roel Janssen
2016-05-09 20:37 ` Ludovic Courtès
2016-05-09 20:54 ` Roel Janssen
2016-05-10 5:53 ` Danny Milosavljevic
2016-05-10 9:15 ` Roel Janssen
2016-05-10 13:08 ` Roel Janssen
2016-05-10 13:31 ` Ludovic Courtès
2016-05-10 14:07 ` Roel Janssen
2016-05-11 14:04 ` Ludovic Courtès
2016-05-11 14:48 ` Roel Janssen
2016-05-11 16:22 ` Ludovic Courtès
2016-05-11 21:55 ` Roel Janssen
2016-05-17 20:48 ` Ludovic Courtès [this message]
2016-05-17 21:31 ` Roel Janssen
2016-05-19 12:08 ` 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=87poskwgvo.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=roel@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.