[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 1/1] gnu: Add plantuml.
From: |
Roel Janssen |
Subject: |
Re: [PATCH v4 1/1] gnu: Add plantuml. |
Date: |
Fri, 04 Nov 2016 15:46:57 +0100 |
User-agent: |
mu4e 0.9.17; emacs 25.1.1 |
Theodoros Foradis writes:
> Roel Janssen writes:
>
>> I tried running plantuml with the following snippet:
>> @startuml
>> A <..> B
>> @enduml
>>
>> And it crashes because it attempts to run "/usr/bin/dot".
>>
>> With the following snippet, we replace this "/usr/bin/dot" dependency
>> with the proper one from the graphviz input:
>>
>> (add-before 'build 'patch-usr-bin-dot
>> (lambda* (#:key inputs #:allow-other-keys)
>> (let ((dot (string-append (assoc-ref inputs "graphviz")
>> "/bin/dot")))
>> (substitute*
>> "src/net/sourceforge/plantuml/cucadiagram/dot/GraphvizLinux.java"
>> (("/usr/bin/dot") dot)))))
>>
>
> Nice catch! Thanks for testing that.
>
>> Could you add this snippet?
>>
>> Other than this, it works fine for me.
>>
>> Kind regards,
>> Roel Janssen
>
> Let me know if I need to post an updated patch.
Please do. Have all comments been incorporated into this version of the
patch? If so, I guess we can push the version that includes my snippet,
unless anyone still has any comments.
Thanks!
Kind regards,
Roel Janssen