From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: 9.5: coping with loss of ditaa.jar
Date: Sun, 10 Oct 2021 18:58:20 +1100 [thread overview]
Message-ID: <875yu5xpvr.fsf@gmail.com> (raw)
In-Reply-To: <87ily5wkfd.fsf@iki.fi>
Jarmo Hurri <jarmo.hurri@iki.fi> writes:
> Greetings.
>
> Let me collect the suggested responses with their merits and potential
> issues.
>
> 1. Use ditaa.jar that comes with your operating system. Perfect if this
> works. Seems to work e.g. in Debian, does not seem to work with
> Fedora. Perhaps because one is a standalone library and the other one
> is not. Could also be a version number issue.
>
> 2. Use the program "ditaa" (not ditaa.jar) that comes with your
> operating system. This _may_ work, but I have not been able to misuse
> the settings in ob-ditaa widely enough yet to create a working
> solution.
>
> 3. Copy ditaa.jar from previous version of org. Works in the short run,
> but I do not think we want to advocate this: "We took ditaa.jar out
> of org, so you will want to download an earlier version of org to
> make ditaa work."
>
> 4. Use precompiled binary ditaa.jar from some site. Will probably work,
> but me and some other paranoids try to avoid using binaries from
> sources which we do not consider reliable.
>
> 5. Compile ditaa.jar yourself. At least for me, does not work at the
> moment.
>
I think you missed one obvious solution - donwload the jar file from the
ditaa project homepage on sourceforge. This is what I did some years ago
(there has not been an update to ditaa since 2013) and I placed the jar
file in a lib folder on my system (completely separate from org, emacs
etc) and then just set the path in my init file. This has been in place
for me for at least 5 years (since I setup this computer) and has not
needed to be changed through many updates/upgrades of both org and
emacs.
I don't think you need to be paranoid about downloading the jar file
from the project homepage - either you trust the code or you don't. If
you don't trust the code, then even compiling it yourself adds no
additonal protection.
next prev parent reply other threads:[~2021-10-10 8:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 4:25 9.5: coping with loss of ditaa.jar Jarmo Hurri
2021-10-03 11:39 ` Max Nikulin
2021-10-03 16:32 ` Dr. Arne Babenhauserheide
2021-10-03 16:50 ` Colin Baxter
2021-10-04 11:43 ` Eric S Fraga
2021-10-04 13:28 ` Tim Cross
2021-10-04 14:02 ` Eric S Fraga
2021-10-04 11:59 ` Eric S Fraga
2021-10-10 4:52 ` Jarmo Hurri
2021-10-10 5:52 ` Colin Baxter 😺
2021-10-11 9:53 ` Jarmo Hurri
2021-10-10 7:58 ` Tim Cross [this message]
2021-10-11 10:20 ` Jarmo Hurri
2021-10-10 9:01 ` Tim Cross
2021-10-11 22:09 ` Nick Dokos
2021-10-10 16:32 ` Thomas S. Dye
2021-10-11 9:58 ` Jarmo Hurri
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yu5xpvr.fsf@gmail.com \
--to=theophilusx@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).