From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mAe4AlMsO2IfNgAAgWs5BA (envelope-from ) for ; Wed, 23 Mar 2022 15:18:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OFs/N1IsO2ILzwAAG6o9tA (envelope-from ) for ; Wed, 23 Mar 2022 15:18:58 +0100 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 E1895381ED for ; Wed, 23 Mar 2022 15:15:18 +0100 (CET) Received: from localhost ([::1]:57528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nX1ld-00020U-Pd for larch@yhetil.org; Wed, 23 Mar 2022 10:15:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nX1lQ-0001xF-PJ for guix-patches@gnu.org; Wed, 23 Mar 2022 10:15:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nX1lO-0005mg-AJ for guix-patches@gnu.org; Wed, 23 Mar 2022 10:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nX1lO-0007vY-5b for guix-patches@gnu.org; Wed, 23 Mar 2022 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#32947] Add java-xalan. References: <20181005151859.9616-1-dannym@scratchpost.org> In-Reply-To: <20181005151859.9616-1-dannym@scratchpost.org> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Mar 2022 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32947 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 32947@debbugs.gnu.org, maximedevos@telenet.be Received: via spool by 32947-submit@debbugs.gnu.org id=B32947.164804489830448 (code B ref 32947); Wed, 23 Mar 2022 14:15:02 +0000 Received: (at 32947) by debbugs.gnu.org; 23 Mar 2022 14:14:58 +0000 Received: from localhost ([127.0.0.1]:45410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX1lG-0007uz-Dg for submit@debbugs.gnu.org; Wed, 23 Mar 2022 10:14:58 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:40684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX1lF-0007ul-5g for 32947@debbugs.gnu.org; Wed, 23 Mar 2022 10:14:53 -0400 Received: by mail-pf1-f176.google.com with SMTP id d19so1597860pfv.7 for <32947@debbugs.gnu.org>; Wed, 23 Mar 2022 07:14:53 -0700 (PDT) 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=0zJAuIf7aeZWoM1Ngxr5DiHvzgIc2E0D6tUegL5hC4I=; b=fGmk9sjWW3f40HMqwlVW2peY+U/lBrn5aXGx38hfccYd70cCyeJHhE9MXJzDEBtAox lfHBxrZ9NsmfsAkyxgLLgtFc1L07TFV8GzUFB8ObRceOmi/kMA2iUtiSvHf5lTCBxTPa tTJYqQn1fvKNlPy0UEUPpX4Con9rJHKuOGj7CMcw0WFft9ALUUSk8q8LeqKSjiVqHmlZ oeRMX0mA2KqlOq8LUa16Yz1FErIoxllZKbbvPKGIrEM5f4tCM0Wz4AU5aR8lO72dzcid bszpsY4Ap541+j5A+VtI1QpHVqF8HFYs9Egn6zpTxjPAMQpIfNpfyOkawQJjyCMfsRU2 XzGw== 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=0zJAuIf7aeZWoM1Ngxr5DiHvzgIc2E0D6tUegL5hC4I=; b=rEjyu67ZcpFxDdtklnjJkWq0mumOA98P8TTPyweUx2E2CZwk+fDVr3ruo4Fxsj66hF T1Pzm8SCpCYpkgL5Xot9Dg2gqIE7wWvRHZThBNGL5FZH56x+t8BZ8UVbj1LEIFk2uDgI SSjh0g9x+ITNVERdG4TD/w5rcTryZDRRmDTHw8J2BbNmlhcw4JUSiTbrRmpZH5/VebHZ w7lLLapLLP6s6tHZeZRzLUXEue9JV4M3qmwmWahuvitKQJclZLc51DdfBfyUDZPIstkj YtVngU60KT/9H0Vb3h0sHhwL+vWuWEPLaE7c1ZVZFAiV8MKQrxEZWrMlVyx/u/y0V+RH jimA== X-Gm-Message-State: AOAM533yBXbumkOAEIIl7a/u6bfwUcL2djKpjjKssjLjuQsr+2qUETM+ znT+i4u9AXvKKytohgScOpU= X-Google-Smtp-Source: ABdhPJzWVFqg/165KfWs+VvmfBOqLVa1CkngdrR6v9ARfDrxqcaSYW5y6sRww5AcM0brNew9CNsCyg== X-Received: by 2002:a63:1a5f:0:b0:381:f043:320d with SMTP id a31-20020a631a5f000000b00381f043320dmr95378pgm.63.1648044887068; Wed, 23 Mar 2022 07:14:47 -0700 (PDT) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id j14-20020a056a00174e00b004f776098715sm120261pfc.68.2022.03.23.07.14.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 07:14:46 -0700 (PDT) From: Frank Pursel X-Google-Original-From: Frank Pursel Date: Wed, 23 Mar 2022 07:14:44 -0700 Message-ID: <87wngkdacr.fsf@Ginko.local.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648044919; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0zJAuIf7aeZWoM1Ngxr5DiHvzgIc2E0D6tUegL5hC4I=; b=r5yHx581B6UvxU53iLdhI4AXuYd7G2fKa0p1CMAosJJR/hUHqUVKRzGyhv9QNtKqgAW+5B MqYE78FX24IW3M/uGnUq4h+plwkLAyUgZIzw+6ulwJI9zPytDimXJKtTqP0dH3IiLfIx8A mVqUs9gM9RCVwdAoG09oFc/hy3o1bNDv0400NxWeLlk3kCQyCTZen0yuZRpIfReGDa2x3Y X8Cl2EtlxYGnWuSdM6VONQCgi8xi4ADFfNeVCUvmEmoZEeRmkCmt/hZJZDFkO8IBiiqtNg E1HuqwVwcOPRb5lr/ilnt1bQRmSxu3DwXRMt8pwaKd23ud+a5qjYLG5tvwzlOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648044919; a=rsa-sha256; cv=none; b=MnIeFncFldl1S839qQ9aUnAyC/zoWoPiwKHwqmeALhJYx2JC1hGVobg7QHF/RkLuYN5/ze g4phFuDtSW6KvJ793JIBcMux5GgUSKywKa+LquVek0V9emCvAWYMvGpt551A9iyXldzmgj LeyAmvuhmoFjHAPRkqQusd1uSPg8trHN+csTpcQ6NAT16Iq/Mf//C2RkgRUi+LHjXDypxo uS7r9fJPG/cuBJr/MApUC/N9uj/Yk6zmqt4qFD2zTUPMGtwh8Wf0opeqsCDFTYDcV7pIar awFy73V3+znx/Uvw8BngCwEZnJ5pV9unr+eU1otflL0/Svz39V93gcUJqZZyuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fGmk9sjW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fGmk9sjW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E1895381ED X-Spam-Score: 5.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: qWeL0NPZdo80 Oops, I, somehow, dropped some prior work. I think it's now all here. >From f9c96acbf38ecbe3dc0e73077f92c6a8be1eb93d Mon Sep 17 00:00:00 2001 Message-Id: From: Frank Pursel Date: Wed, 23 Feb 2022 13:59:26 -0800 Subject: [PATCH] gnu: Add java-xalan-interp * gnu/packages/xml.scm (java-xalan-interp): New variable --- gnu/packages/xml.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 3ce5e771c7..a4d77b51d7 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -33,6 +33,8 @@ ;;; Copyright =C2=A9 2021 Guillaume Le Vaillant ;;; Copyright =C2=A9 2021 David Larsson ;;; Copyright =C2=A9 2021 Matthew James Kraai +;;; Copyright =C2=A9 2022 Frank Pursel +;;; Copyright =C2=A9 2022 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; @@ -2592,3 +2594,67 @@ (define-public python-xmltodict (description "This package provides a Python library to convert XML to @code{OrderedDict}.") (license license:expat))) + +(define-public java-xalan-interp + (package + (name "java-xalan-interp") + (version "2.7.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://apache/xalan/xalan-j/source/xalan-j_" + (string-replace-substring + version "." "_") + "-src.tar.gz")) + (sha256 + (base32 "166vg9i11qzi0vbv09abfb50q8caq8wr6zrwg0cwqws9k394l62w")) + (modules '((guix build utils))) + (snippet '(begin + (for-each + delete-file + (cons*=20 + ;; jflex and cup generated files + ;; for removal + "src/org/apache/xalan/xsltc/compiler/XPathLexer.java" + "src/org/apache/xalan/xsltc/compiler/XPathParser.java" + ;; Removing bundled jars + (find-files "." "\\.(jar|tar\\.gz)$"))))))) + (build-system ant-build-system) + (arguments + `(#:phases (modify-phases + %standard-phases + (add-after 'unpack 'prepare-for-build + (lambda* (#:key inputs outputs #:allow-other-keys) + (setenv "ANT_OPTS" "-Dxsltc.java_cup.not_needed=3Dtrue= ") + (substitute* "build.xml" + ;; Only the interpretive compiler. xsltc contains a + ;; circular reference java_cup. + (("( + license:public-domain)))) --=20 2.34.0