From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 16:48:55 2022 Received: (at submit) by debbugs.gnu.org; 9 Feb 2022 21:48:55 +0000 Received: from localhost ([127.0.0.1]:52998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHupW-0005rm-0Y for submit@debbugs.gnu.org; Wed, 09 Feb 2022 16:48:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:39552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHupT-0005rd-ER for submit@debbugs.gnu.org; Wed, 09 Feb 2022 16:48:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHupT-0001AH-73 for guix-patches@gnu.org; Wed, 09 Feb 2022 16:48:47 -0500 Received: from [2607:f8b0:4864:20::1030] (port=46022 helo=mail-pj1-x1030.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHupQ-0006tL-6t for guix-patches@gnu.org; Wed, 09 Feb 2022 16:48:46 -0500 Received: by mail-pj1-x1030.google.com with SMTP id d15-20020a17090a564f00b001b937f4ae2fso1247899pji.4 for ; Wed, 09 Feb 2022 13:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Efd8V0FzHt2974h9eBBPRqkubLyFIoKhPlLoVhAxngM=; b=LMqGtQZyP1aV7PwN08m6BbDI7r4izM5j4bnodRek3SuojTD6LqAtk/7Jzi00Id8czV Ix0CFCNh1PhWtO46MVGzxZavHvTrBsyO5jMgymK5QNrVNghrWS0wZ8z6r36oCil6ZAdb cB8CycXUFKgAwUoFvb5Z+5Z+qpA1Bx+G8XkP1Q93q8WaavpNk16v9wuyyAtnG/EO0u3g UK0rgo4cuV7iMUxAq3Zc/72PYxaB/Weai5ATE5nAcnedFD0JKKmTYKDhDfi+e3ul3Dq+ Qa3/eDDCeu8t105LcskRux8E7B3FTG1rCG66GyaWu6FaTSiI2Cy/J80pm0J4XAbqJ5vy GPVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Efd8V0FzHt2974h9eBBPRqkubLyFIoKhPlLoVhAxngM=; b=J1FaikzoddLQZmfa8U1oRKVyoyVHSxBxfNESnLN1fPo4KgG5lVfDmvguOWPkF7WmMV k9d8Kn4KrhaUuVZfH97UFa2CXklvOigPB3+ZDsPf/dvmoRLpaQF1FioyzAGKPjffMex9 FRPcAO31V9y1po89QbzLjMKGZVzNJHA5CnhfW6vYytjf5DjgvAIZMCfgXYIHQzJjsEte 79hkWmE2aO84lapgvLQSnbwtXGAc1mBqbLlMSCFTpmL5mjfA0m4+YHvDuD04Ey86laxw hxg82dd1/38G1onj8ebGDa7DfdMb8deauK4ktKh2OyhSPxLHyid+ij0KZ9owPRs/Rh6V ofWw== X-Gm-Message-State: AOAM531fmLYDCKMnX45Oy4iq1YOUWrlfO7OqWfbMAY8BwmJm0VoVrBOX jP4IHYhtopLkUkobi6jqM0s= X-Google-Smtp-Source: ABdhPJzi+ahFSeqMA0EtHQUipB0fVwbuz+9OQlWkK8Kef35dbydMackwL8qSHN0mk2MzKIXsvNsmww== X-Received: by 2002:a17:902:c40b:: with SMTP id k11mr4368127plk.50.1644443321843; Wed, 09 Feb 2022 13:48:41 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id u18sm20886453pfk.14.2022.02.09.13.48.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 13:48:41 -0800 (PST) From: Frank Pursel To: guix-patches@gnu.org Subject: [PATCH] Adding a package for ditaa Date: Wed, 09 Feb 2022 13:48:36 -0800 Message-ID: <87r18bk8y3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1030 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=frank.pursel@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) >From 0d0df722f31d306c1c95229408fc2bcc43c4a59e Mon Sep 17 00:00:00 2001 Message-Id: <0d0df722f31d306c1c95229408fc2bcc43c4a59e.1644442953.git.frank.= pursel@gmail.com> From: Frank Pursel Date: Wed, 9 Feb 2022 09:07:50 -0800 Subject: [PATCH] Adding ditaa executable * gnu/packages/batik.scm (java-batik-all-jar): Providing dependent class fi= les for the ditaa package. * gnu/packages/graph.scm (ditaa): Adding the ditaa package. --- gnu/packages/batik.scm | 60 ++++++++++++++++++++ gnu/packages/graph.scm | 121 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+) diff --git a/gnu/packages/batik.scm b/gnu/packages/batik.scm index 2072dd467c..74f2d5b82a 100644 --- a/gnu/packages/batik.scm +++ b/gnu/packages/batik.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2018 Danny Milosavljevic ;;; Copyright =C2=A9 2020 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -254,3 +255,62 @@ (define-public java-xmlgraphics-commons (description "This package provides XMLGraphics constants (originally from @code{batik}).") (license license:asl2.0))) + +(define-public java-batik-all-jar + (let ((short-pkg-name "batik") (ver "1.14") + (hash "1g1vqg2gqw31bk2655vszxqrs8whj3sd5rbk649a9qqvqgqfdv13")) + (package + (name "java-batik-all-jar") + (version ver) + (source (origin + (method url-fetch) + (uri (string-append + "https://archive.apache.org/dist/xmlgraphics/batik/s= ource/" + short-pkg-name "-src-" + version ".tar.gz")) + (sha256 + (base32 + hash)))) + (build-system ant-build-system) + (arguments + `(#:build-target "jars" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build.xml + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "build.xml" + (("batik-all/target/batik-all-.*jar") (string-append "bat= ik-" + ,version + "/lib/batik-all-" + ,version ".jar")) + (("") + "")) #t)) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((name+ver (string-append ,short-pkg-name "-" + ,version))) + (copy-recursively (string-append "./" name+ver) + (assoc-ref outputs "out")) + (copy-file (string-append "./" + name+ver + "/lib/" + ,short-pkg-name + "-all-" + ,version + ".jar") + (string-append (assoc-ref outputs "out") + "/lib/batik.jar"))) #t)) + (delete 'generate-jar-indices) + (delete 'check)))) + (inputs (list java-junit java-hamcrest-core)) + (home-page "https://xmlgraphics.apache.org/batik/") + (synopsis + "Jar of the complete set of batik classes for dependency fulfullmen= t") + (description + "Batik is a Java-based toolkit for applications or applets that wan= t to +use images in the Scalable Vector Graphics (SVG) format for various purpos= es, +such as display, generation or manipulation. This package provides the +batik-all.jar upon whch other packages may depend but no executable or oth= er +content.") + (license license:asl2.0)))) + diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 4b46904318..45dd83edb8 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2021 Alexandre Hannud Abdo ;;; Copyright =C2=A9 2021, 2022 Maxim Cournoyer ;;; Copyright =C2=A9 2022 Marius Bakke +;;; Copyright =C2=A9 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,6 +33,7 @@ (define-module (gnu packages graph) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (guix build-system ant) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) @@ -39,6 +41,7 @@ (define-module (gnu packages graph) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages batik) #:use-module (gnu packages bioconductor) #:use-module (gnu packages bioinformatics) #:use-module (gnu packages boost) @@ -50,6 +53,7 @@ (define-module (gnu packages graph) #:use-module (gnu packages graphics) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) + #:use-module (gnu packages java) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) @@ -652,3 +656,120 @@ (define-public python-graph-tool time) to that of a pure C/C++ library.") (home-page "https://graph-tool.skewed.de/") (license license:lgpl3+))) + +(define-public ditaa + (let* ((ver "0.11.0") (hash + "1y3g17wp1wvb05m56pp25avww2njpgh0gk0jsbsf25scj7hy= yj26")) + (package + (name "ditaa") + (version ver) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stathissideris/ditaa") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + hash)))) + (build-system ant-build-system) + (inputs (list java-batik-all-jar java-commons-cli + `(,icedtea "jdk") java-junit)) + (arguments + `(#:build-target "release-all" + #:phases + (modify-phases %standard-phases + ;; Ant's buildfile and build tree need to be modified to provide + ;; access to the guix builds of the batik and the java-commons-= cli + ;; jar files. Also some of the source requires java7. + (add-before 'build 'build-prep + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((batik-jar + (search-input-file inputs "lib/batik.jar")) + (commons-cli-jar + (search-input-file + inputs + "lib/m2/commons-cli/commons-cli/1.4/commons-cli-1.= 4.jar"))) + (mkdir-p "lib") + (copy-file batik-jar "./lib/batik.jar") + (copy-file commons-cli-jar "./lib/commons-cli.jar")) + (copy-recursively "service/web/lib" "lib" + #:log + (current-output-port)) + (with-directory-excursion "build" + (substitute* "release.xml" + (("source=3D\"1.6\"") "source= =3D\"7\"") + (("") + (string-append + "" + " +" ""))) + ;; (invoke "ant" "clean") + ) #t)) + (replace 'build + (lambda* _ + ;; (invoke "ant" "-f" "release.xml" "release-jar") + (setenv "ANT_OPTS" + (string-append "-Dversion.string=3D" + ,version)) + (with-directory-excursion "build" + ;; (invoke "ant" "compile") + (invoke "ant" "-f" "release.xml" + "release-jar")) #t)) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (if tests? + (begin + (setenv "ANT_OPTS" + (string-append "-Dversion.string=3D" + ,version)) + (mkdir-p "tests/testlib") + (with-directory-excursion "build" + (invoke "ant" "-f" "release.xml" + "generate-test-images") + (invoke "ant" "test")))) + #t)) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) (lib (string-append = out + "/lib")) + (bin (string-append out "/bin")) + (bash (search-input-file inputs "bin/bash")) + (java (search-input-file inputs "bin/java")) + (jre (search-input-directory inputs "jre")) + (ditaa (string-append out "/bin/ditaa")) + (jar-name (string-append ,name + ,version ".jar"))) + (with-directory-excursion "releases" + (install-file jar-name lib)) + (mkdir-p bin) + (with-output-to-file ditaa + (lambda () + (display (string-append "#!" + bash + " +" + "JAVA_HOME=3D" + jre + " " + java + " -jar " + out + "/lib/" + jar-name + " $@")))) + (chmod ditaa 493)) #t)) + (add-after 'install 'install-docs + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc (string-append (assoc-ref outputs "out") + "/share/doc/"))) + (for-each (lambda (filen) + (install-file filen doc)) + (find-files "." ".*README\\.md"))) #t))))) + (home-page "https://github.com/stathissideris/ditaa") + (synopsis "Create graphics from ascii art") + (description + "@code{ditaa} is a small command-line utility that can convert diag= rams +drawn using ascii art ('drawings' that contain characters that resemble li= nes +like | / - ), into proper bitmap or svg graphics.") + (license license:lgpl3)))) --=20 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 10 11:02:48 2022 Received: (at 53908) by debbugs.gnu.org; 10 Feb 2022 16:02:48 +0000 Received: from localhost ([127.0.0.1]:56863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIBuC-0000vX-8v for submit@debbugs.gnu.org; Thu, 10 Feb 2022 11:02:48 -0500 Received: from mail-pj1-f44.google.com ([209.85.216.44]:55890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIBuB-0000vG-7p for 53908@debbugs.gnu.org; Thu, 10 Feb 2022 11:02:47 -0500 Received: by mail-pj1-f44.google.com with SMTP id om7so5581024pjb.5 for <53908@debbugs.gnu.org>; Thu, 10 Feb 2022 08:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=uTZWXQYjPvMV3t2taBJUfuwdSHP5Jb+fGS7/IZBOhkg=; b=OCx1osV4HfbEBnwgzoV1e1vcVWMWYoZXlTQJsWsxA14YK8ySdtn4At2S+hiCmtEh/s l82uPz3uCFVEFHKxK4RWb1R34XW0qIN7K98rIi4XGCDgFLPHx2J+Ugx33iGrRUKlD4wM Z5t/kUPFOSS9ColZt7iURwUjGzYSEzJVcR59wqI7G4vlgZqtnLl3CS787zrLzuRRkvCu SwBn2ntSPX/eYOmM/3nLpA5/oudgi9aZh6EDvFobvg02RYFnUSlRPWHouY2Y+KqXSfON IBaiNJH4zaosakNY0KzCg9B0eACr1yO70Y2xRfK+CKXcX/oGHlPs2AmQVG2AN/6J7I3A 8I2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=uTZWXQYjPvMV3t2taBJUfuwdSHP5Jb+fGS7/IZBOhkg=; b=UEIYEkQmTaJhQwh1mjmfEt1gwkAolYLkIn/IzwTHC8MlTunoB/uBAXv6InsrL/jdQ8 zW4jhHu+4/nuliL/FzZ7mpN4FNKrF037uXHfAk8qwTwYt2/1BJquJevKd7tT4bsHGggY YhhThtPo1R0WpHUDf6G7EouSCCRiqdh3mNqE+ZILuZiNEHaub9G0fUGkpLJLfpOj5tBg z4bgfthBABxzpmvNp1jJpdypwe//lN6cs2BPhAB7yS78mv3QJ4FM5lOML5PATRImx7oR r/Vm9O2B78Zd9Ug181WH9P9fKDKMQ12cyipUs/bzo8ucJTJ1IRdPkiqHrbOreVDYDvir 1u/A== X-Gm-Message-State: AOAM530XHl7Bo3pCH0PAtDkxuxxOKR9SafkPOD15SB7+M6auqF2HYo1N hM5nURm9Ps521Uon2x1TBKRcj3QyFSk= X-Google-Smtp-Source: ABdhPJyFd0a+F6+Y/BvDzl/LZB6o2ObMlOtkHu2hncxvm+H1/072oufBVrbTUjov2WqtZJuF+oO/KA== X-Received: by 2002:a17:903:2348:: with SMTP id c8mr8285220plh.174.1644508961043; Thu, 10 Feb 2022 08:02:41 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id om1sm3075882pjb.55.2022.02.10.08.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 08:02:40 -0800 (PST) From: Frank Pursel To: 53908@debbugs.gnu.org Subject: [PATCH] Cleanups for the ditaa pkg Date: Thu, 10 Feb 2022 08:02:39 -0800 Message-ID: <87o83ek8v4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53908 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, After sleeping on my earlier submission I see things that I should've seen before. I love what guix style does, but not always: converting #o755 to decimal in a chmod seems counterproductive. I also removed some unhelpful comments and a pointless recursive copy that can only create needless questions. No practical change but it's a bit cleaner. Regards, Frank Please, too. Let me know if this is formatted optimally. This is an emacs production of "C-u, Esc ! cd ~/src/guix; git format-patch " appended to my waiting emacs message buffer. In this case I think it suffices but if a git merge were to be needed it might not be so. Hey! -- guix is genius. Thank you for making it so. >From 9e1050ef106e004c71d7b3c69e661e64ab0eaf03 Mon Sep 17 00:00:00 2001 Message-Id: <9e1050ef106e004c71d7b3c69e661e64ab0eaf03.1644508366.git.frank.pursel@gmail.com> From: Frank Pursel Date: Thu, 10 Feb 2022 07:28:20 -0800 Subject: [PATCH] Removed some unneeded comments and commands. Tweaked formatting. --- gnu/packages/graph.scm | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 45dd83edb8..a763f02da8 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -658,8 +658,8 @@ (define-public python-graph-tool (license license:lgpl3+))) (define-public ditaa - (let* ((ver "0.11.0") (hash - "1y3g17wp1wvb05m56pp25avww2njpgh0gk0jsbsf25scj7hyyj26")) + (let* ((ver "0.11.0") + (hash "1y3g17wp1wvb05m56pp25avww2njpgh0gk0jsbsf25scj7hyyj26")) (package (name "ditaa") (version ver) @@ -693,9 +693,6 @@ (define-public ditaa (mkdir-p "lib") (copy-file batik-jar "./lib/batik.jar") (copy-file commons-cli-jar "./lib/commons-cli.jar")) - (copy-recursively "service/web/lib" "lib" - #:log - (current-output-port)) (with-directory-excursion "build" (substitute* "release.xml" (("source=\"1.6\"") "source=\"7\"") @@ -704,16 +701,13 @@ (define-public ditaa "" " " ""))) - ;; (invoke "ant" "clean") ) #t)) (replace 'build (lambda* _ - ;; (invoke "ant" "-f" "release.xml" "release-jar") (setenv "ANT_OPTS" (string-append "-Dversion.string=" ,version)) (with-directory-excursion "build" - ;; (invoke "ant" "compile") (invoke "ant" "-f" "release.xml" "release-jar")) #t)) (replace 'check @@ -758,7 +752,8 @@ (define-public ditaa "/lib/" jar-name " $@")))) - (chmod ditaa 493)) #t)) + (chmod ditaa #o755)) + #t)) (add-after 'install 'install-docs (lambda* (#:key outputs #:allow-other-keys) (let ((doc (string-append (assoc-ref outputs "out") -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 11 16:04:25 2022 Received: (at 53908) by debbugs.gnu.org; 11 Feb 2022 21:04:25 +0000 Received: from localhost ([127.0.0.1]:32855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nId5c-0000fY-Sc for submit@debbugs.gnu.org; Fri, 11 Feb 2022 16:04:25 -0500 Received: from mail-pf1-f182.google.com ([209.85.210.182]:42567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nId5b-0000fK-QO for 53908@debbugs.gnu.org; Fri, 11 Feb 2022 16:04:24 -0500 Received: by mail-pf1-f182.google.com with SMTP id i6so16452982pfc.9 for <53908@debbugs.gnu.org>; Fri, 11 Feb 2022 13:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=ka7pZxvZ/u0PMXCFylshi2v/fIkBa9Vx+tX4BZNTek8=; b=T6/c6fd3JMCQYUTGvYBGUGIonJ+WCqFHcF22bBRQpOvD8ZrAJO0dQ72FrpbezBQrDM 2zs0AnqaR3BzNg9OiHh92J48qVO/1/cxRYfP3TY0JXc0O1g58WUX1yc+gGrGecGR/ZD7 1k6nAJfGqLCDjUJIiLlWBjPe4e1loqh5NEgnBgwsoASNtQoUPRktxYtD1P73u7V4/ko5 b6Iw4DU0fSQ4on1IJM4rJNoyRUk5gBfFMcBEWA4GYzbmx+2Hwa60j8nUYysPw2Ygmpl9 VVNUQ3FdorTJVI0Wx+28Gsa5OMTqswpSwh56esXDbCxG4deHR5REXvTQVphEBp6Fyn3L iL/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ka7pZxvZ/u0PMXCFylshi2v/fIkBa9Vx+tX4BZNTek8=; b=RJp3gE6Fupr3U/gHZNAP33Y8gsBc6eTlk5w26gbNSU0pk8+Iu/USeWlbF7h/YYLCL8 iz3fPUoWd3yyOfa+metRGT/7YARUYfGA/NDGMetE3VC/l0XNHYQ005ToWut+USFUGWKU /yrDB3Dy24I0rDGYn6tslURfQEb0M2fo86qRm0izz3f1bKmWnKICx6FzJ4KXIQO1Tbw3 9KOwEVg9BiVrFwd2SbIuyVH2N6ABlQo2blAEj5PvqYlkBnXt2Ii6aYxb556WaVhAZ08e eRANYqN/6KfxqnXiBNmIahdu/lUEa2pBnT1/QhOPytrmTkJuJ3hUS6zKk4JaQpTWjzql eeew== X-Gm-Message-State: AOAM533tmQn1JuhUJsxv93db/QeafxdAPdfEYWxiNw+k1SCiiIJQbBVD NFj/gIPj75oJ1fnjfOTcuGs= X-Google-Smtp-Source: ABdhPJyN5ovvNH75sGb5Le4KH6LdGmIY1Q6IOaeDDb2necvmstoib0DbN0+DsCd2M1wDqVLf8OgcXg== X-Received: by 2002:aa7:9486:: with SMTP id z6mr3500442pfk.76.1644613457620; Fri, 11 Feb 2022 13:04:17 -0800 (PST) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id f5sm27576605pfc.0.2022.02.11.13.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 13:04:16 -0800 (PST) From: Frank Pursel To: 53908@debbugs.gnu.org Subject: [PATCH] Opportunities Date: Fri, 11 Feb 2022 13:04:15 -0800 Message-ID: <87leyhjesw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53908 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, My intentions were good but this isn't good. I now see that though this ditaa package will build and work this package isn't yet ready for guix. If you want to help advance this, read on! I'll point out what I perceive I missed on the first go around. I still eventually hope to get ditaa officially packaged for guix. I belatedly see that I've stumbled into some less than desirable practices here. So, to be quick, ditaa in guix needs to wait until the underlying dependencies in java-batik-all-jar are under approriate build control. I now see that the current java-batik-all-jar build depends on the use of several jars embedded in the apache source package. It isn't guixy to use these. We need to provide guix built packages to replace those jars (some of which already exists). If we keep ditaa as the end goal replication of all these jars is likely not necessary (though it would be nice); it should be possible to significantly narrow the scope of these packages to only those required to build ditaa. I also see that there are guix conventions that help the java/ant-build system ecosystem better integrate. Specifically I now see that java libraries go into the share/java directory as a single jar file. I still hope to get ditaa packaged for guix. I do not think it is important for guix but ditaa is a good example of the use of free software to scratch an itch nobody else was going to get to (I think it used to be packaged with emacs org mode). I naively thought this was clean on the first go but now I see that good guix standard requires a little more digging into the sources. Working on it, Frank From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 22:01:04 2022 Received: (at 53908) by debbugs.gnu.org; 5 Aug 2022 02:01:04 +0000 Received: from localhost ([127.0.0.1]:55495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJme7-0005s7-PW for submit@debbugs.gnu.org; Thu, 04 Aug 2022 22:01:04 -0400 Received: from envs.net ([89.163.145.170]:33262 helo=mail.envs.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJme3-0005rY-Qe for 53908@debbugs.gnu.org; Thu, 04 Aug 2022 22:01:01 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id A756538A0DEA; Fri, 5 Aug 2022 02:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1659664854; bh=9qLl8a4W53jSN/ZhGqNZ0aCcTY2jVFIr7TrkCMNyr7M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BmvwTKr/ty5auw/OYQ7nnCpt8XOtTpgMQ7m3GYdbbXLGMqJp+qKTdjG3AVkLWoZbD 5IZXOZFMR/srZXy+ycNFzVGDb6NmWwRsQJ4kQzkCu6WU0Vj5jUzhDz6CMCDF+g/QUk ah1zMeWHZnWWuPgicX8GjfIAQrjrrkl125/UvrnjRcI4uvNguI0uaCHeAtMGFnkSEB LH6manX6KRW7EyFYCJJvKlny3sFhBpIgFEyZly6J4017YQAssSg3lMRd5bvesdTtv4 DzeFsEyFHva3vAlVReL3f4IbbXa4qjdJ1dzVuHbcm+HGYbqpFrgYbhuyK+lIenzsyB Gl7eteWpLJgfSaynm8w8am4nVuf6qhU2XbRoRNdy5ieqMeVObYI0+UJ+uKlV+ifK4r r+ofwVvmVgcJP/2v0p3Az/mrNGiTXCtzC50aoV26k5WINbCZ+ncUOnwkr6XZghrwVf Cj4fMhP/gHsSM3m15jzC4h9mcM6S+HH9Z43YoV6m8CNQFfLJ//9G1SpxXPCKJKE2iE MU377pzt8RE+ONtebgreTLDmmvBaAQZZ7ohwFVhthA1xn10goVAOtXeML2IIS+w/7d g+T1BfgnlMN6WDi5Ye/3XyZjGyS1gHj8IMUr+wdp0hooapXoQYQJnSSqgmYIPloKOL ZiBFwqIDSjVtFP2SIC36lF3c= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tr_SFJDKsZIY; Fri, 5 Aug 2022 02:00:52 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: iyzsong@envs.net) by mail.envs.net (Postfix) with ESMTPSA; Fri, 5 Aug 2022 02:00:52 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 3eb17952; Fri, 5 Aug 2022 02:00:49 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Frank Pursel Subject: Re: bug#53908: [PATCH] Adding a package for ditaa References: <87r18bk8y3.fsf@gmail.com> <87leyhjesw.fsf@gmail.com> Date: Fri, 05 Aug 2022 10:00:49 +0800 In-Reply-To: <87leyhjesw.fsf@gmail.com> (Frank Pursel's message of "Fri, 11 Feb 2022 13:04:15 -0800") Message-ID: <8735eb78ku.fsf_-_@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53908 Cc: 53908@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, a friendly ping here. Frank Pursel writes: > Hi, > > My intentions were good but this isn't good. I now see that though this > ditaa package will build and work this package isn't yet ready for guix. > If you want to help advance this, read on! I'll point out what I > perceive I missed on the first go around. I still eventually hope to > get ditaa officially packaged for guix. > > I belatedly see that I've stumbled into some less than desirable > practices here. So, to be quick, ditaa in guix needs to wait until the > underlying dependencies in java-batik-all-jar are under approriate build > control. > > I now see that the current java-batik-all-jar build depends on the use > of several jars embedded in the apache source package. It isn't guixy > to use these. We need to provide guix built packages to replace those > jars (some of which already exists). I find that the batik source package of debian didn't have jars: http://deb.debian.org/debian/pool/main/b/batik/batik_1.14-2.debian.tar.xz So maybe it's actually not needed, and we can safely remove them in a source snippet? From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 18:37:15 2023 Received: (at 53908-done) by debbugs.gnu.org; 20 Jan 2023 23:37:15 +0000 Received: from localhost ([127.0.0.1]:47494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ0wd-0005K1-0B for submit@debbugs.gnu.org; Fri, 20 Jan 2023 18:37:15 -0500 Received: from mail-pl1-f170.google.com ([209.85.214.170]:39847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJ0wb-0005Jm-K9 for 53908-done@debbugs.gnu.org; Fri, 20 Jan 2023 18:37:14 -0500 Received: by mail-pl1-f170.google.com with SMTP id z13so6645631plg.6 for <53908-done@debbugs.gnu.org>; Fri, 20 Jan 2023 15:37:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=r2lSy7nH0aW9bH4wsHAWamdVdIGrovYLL4RDBb4n91c=; b=j5DVCBPFfH400JgC/zuHFZhvS1FBA/YpalLYZJtJLuzLqIR9LteCd6FGnBy5UPG0nv xbvEfeD7B6cwwNcqYVLTmDtL2LpPbvh2TMPShCmThvegSgp/OnjQKk5xM+ODdi8MlOYo fgvAolvDIUuAGwp02MMVBXEmhbYYUHGjdaJDvGEWzOGN17cCwo7KZT9BsMK2JZv/0FKZ 9/dt83rMwYKIzsy1U1AfP7vZVWm88u2BGp/TBtugXv5bW2BkPue8lf4+XxqQ98UPKUY5 QqilNhGI4Fw93ImrhrBJX/1oxV/i+MSy8JQ0lW6Hx2ZPUIyuqBRAnTXAFo+U7eFNE9qa zTOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=r2lSy7nH0aW9bH4wsHAWamdVdIGrovYLL4RDBb4n91c=; b=7i5m23Q1yErSpOMC9VK4MFinPOz5WYEtZ7K8h9WIa69S6g5Ov+E0leCrEckEKBeP/n MYCZ4R+yVhk5pSLgHlXt41nXtEcV0TMZAD8amlwp5mMU3v/Oh1tXOPLO0tIcPv+4n+S9 mtwEZj8zE0Fb4UPu4S/2p1wubzBVHpn2HQcWgkrKU4VU483gR0SYKJqXL3P6UsBA6m0Z WCQzRRLoWLGXPiwZEbaGQ/9hlfzjpUjbPT8xpl05sg9HkefHCekowIOIvI1u1lX1VHDT VsDrBD/LTOEeRgEw+yOnWuwDVj8gvWIZpfjShpZqTpjrIoCz+G8XCEUHpq6SZpUdQEwL e6AA== X-Gm-Message-State: AFqh2kquY7dsDI2Itb8gzpNue2yB290Cphy0Gqi79Y+Hx29fWJ8Sb776 YJDcV2TjmpPTfQgw3VLO/l85GlNuEok= X-Google-Smtp-Source: AMrXdXvreNGNUvs9mD5Yq69xo6kTKDp8ElVba1xaJ9akPk+bsw8wh23xyvGclD/p/d8YQIbnOIYT4A== X-Received: by 2002:a17:902:d647:b0:194:d28b:a498 with SMTP id y7-20020a170902d64700b00194d28ba498mr6830502plh.47.1674257827304; Fri, 20 Jan 2023 15:37:07 -0800 (PST) Received: from Ginko ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id k10-20020a170902c40a00b00194d2f14ef0sm3493181plk.23.2023.01.20.15.37.06 for <53908-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 15:37:06 -0800 (PST) From: Frank Pursel X-Google-Original-From: Frank Pursel To: 53908-done@debbugs.gnu.org Subject: [PATCH] Adding a package for ditaa Date: Fri, 20 Jan 2023 15:37:05 -0800 Message-ID: <873584rd5q.fsf@Ginko.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53908-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I have not given up. See the improved 60976. Regards, Frank Pursel aka #irc:acrow From unknown Sun Aug 17 22:12:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Feb 2023 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator