From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SDHCGQWgYmG+YQEAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 10:10:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0GWcFAWgYmEYZgAAB5/wlQ (envelope-from ) for ; Sun, 10 Oct 2021 08:10:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CA41B17D6D for ; Sun, 10 Oct 2021 10:10:44 +0200 (CEST) Received: from localhost ([::1]:48578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZTus-0003G0-Sf for larch@yhetil.org; Sun, 10 Oct 2021 04:10:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZTtp-0003ES-TJ for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 04:09:37 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:35579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZTtn-0001QO-U0 for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 04:09:37 -0400 Received: by mail-pg1-x535.google.com with SMTP id e7so7807927pgk.2 for ; Sun, 10 Oct 2021 01:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=H+Z7TVVVDm4+eRlxSeDhNUnS4NneyfpbSApgguUE0S4=; b=aYCQKYpBvfIDI7L0YqfzZOjj0nHGGD4TvXxBvwTgtqrDp3rCPZYCFNb7MnWwBeOX3x 5YHUlGD5LmmXB+MSGfSeXhfI1jfEwA1VEFd7bGSmhRgz7lzbdu90Mz5wm+D3dwiFaDcy wFM4j14uxzGZbL0XMrjmpXhWwARxvlKiKFVhr0XHX7lPWuXDXFGtA72dYoFMZ3yTolWw bMr4lmgGTFANiBS4y8cLrcs43/AUXj91Ig8IeqeC2g8I3YeqA37PvkTAcDEkrys4rEFD kIcNJIiKt+o4eafAn3SxLVrdWUO1hpScXC4wUSAzOH/n4h0uReIoFxgAS00oZc65a5YR JYOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=H+Z7TVVVDm4+eRlxSeDhNUnS4NneyfpbSApgguUE0S4=; b=aSrmnv/nN3oyzpg9btssv552RL4Ns08zFiF9UUNwaI13/Bp3okn9VKpIik2+IXBT7h affpvIGQUr9A9CMy39fqr5+31afLg1Lf0Ov/itevWI7MBzCLyTDaQarMgpCubWbM0Tu0 4iE7N2iMpQX0/k259i2AGUBNTY1tceNI/TFfAQWLPIy4xLajthBC6uQ8eQc59EWxPUqX X8e2qR09roWdTMVCLHxeoSZIENNRaYNWmkcQ9NCPvOx3AW1eyI790wepW5iWuBlBv/qs uMHiDsFD6obkZ7zBKlO1Taa08UB5WXBDO6cXOXHMPAVkbfjJCmiBJW79kR8Bf8qF7Av1 x1LA== X-Gm-Message-State: AOAM532DYqmDk67Cf9OJX4YV+4YXYgIj8nglj4sZNaZE/jrqhhfnIYDO qg3gqsHGuksBJ36x4W2ysh4S+rqLJdA= X-Google-Smtp-Source: ABdhPJyRWh0WYz0dadhjBkHTvbka8Ml//neY85P17uYbzQAXQzUW3Vx+UL0W1hM3aGkVQYxzZrhIKQ== X-Received: by 2002:a63:cd4e:: with SMTP id a14mr13072653pgj.429.1633853373660; Sun, 10 Oct 2021 01:09:33 -0700 (PDT) Received: from tim-desktop ([124.171.59.101]) by smtp.gmail.com with ESMTPSA id b8sm4107599pfm.65.2021.10.10.01.09.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 01:09:33 -0700 (PDT) References: <87y27au43k.fsf@iki.fi> <87ily5wkfd.fsf@iki.fi> User-agent: mu4e 1.7.0; emacs 28.0.60 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: 9.5: coping with loss of ditaa.jar Date: Sun, 10 Oct 2021 18:58:20 +1100 In-reply-to: <87ily5wkfd.fsf@iki.fi> Message-ID: <875yu5xpvr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633853444; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H+Z7TVVVDm4+eRlxSeDhNUnS4NneyfpbSApgguUE0S4=; b=oxKw6pmPxvcRmtlP35cnZdN2LePVEPrTUXnDR8nzpRHpWZkkuoRhCy0WZPcTy8HT+ghOMH 31iJeELIN9sK6ymadYesu/Cyr2R01e3oUP6Fa4Rbl5yXJYO2VLNRZQ0dK6JNlwaYq7Cxd6 hOALEV7nHTm+eG8UgbdIBsTITyXm5tXLMUmCkTcekAha/QNOjy/8t8ZvFQbkyPKTm8w6SS VrQw0LRoQzvuYo/G1ra1L6QlDbdAoCbjgyoQd/ry6AOj3ogwUMxtlVQVKHvt4dEOeySs6p Ndz/RxzBMMU0AOVbhIS2vBp0z2uPxnTpOU060LOmO+Ypcg19Com13X3VanavTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633853444; a=rsa-sha256; cv=none; b=K+KCCXUQi3bJy2s1W2U2mz9UfYOEP4vfRtKGFeFpQ9z8DL9gyfdSpT6rXO6VcRtrbCO7uT S7OVKiJHhG35gkLb0Y4O+hYdze+KRS8dLdVZKI4iRuwgU2krjxGfxbgaMMsYvi9gFay9Be KrMS9dVeYrHfgXQXsN377CA0MxE+5Cdj5PNzC8y1P0QzNT90CJ5tYK2uYBV/4Q93lHMLbf +cPaSJwLDmxxxO95krxzOArqh1H+QfuAhaZ+BfcTrF/zyvdRh70fNLFgn96uV6hugcFuI4 +YQ/6Yu8w+ld+lqhY4dvEqc/fApoL9QDMpxr1GRXed7wUykaHj3otdvGnyM35w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aYCQKYpB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aYCQKYpB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CA41B17D6D X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: w2mHyhft/hiR Jarmo Hurri 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.