From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6O8UBOZ4OmKf2AAAgWs5BA (envelope-from ) for ; Wed, 23 Mar 2022 02:33:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KLTNAOZ4OmJGJgEAauVa8A (envelope-from ) for ; Wed, 23 Mar 2022 02:33:26 +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 7A2B43E11 for ; Wed, 23 Mar 2022 02:33:25 +0100 (CET) Received: from localhost ([::1]:58272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWpsJ-00064b-RI for larch@yhetil.org; Tue, 22 Mar 2022 21:33:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWps1-000648-48 for guix-patches@gnu.org; Tue, 22 Mar 2022 21:33:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWpry-0004Xc-IX for guix-patches@gnu.org; Tue, 22 Mar 2022 21:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWpry-0005Nj-Fi for guix-patches@gnu.org; Tue, 22 Mar 2022 21:33: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 01:33: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 Received: via spool by 32947-submit@debbugs.gnu.org id=B32947.164799915920646 (code B ref 32947); Wed, 23 Mar 2022 01:33:02 +0000 Received: (at 32947) by debbugs.gnu.org; 23 Mar 2022 01:32:39 +0000 Received: from localhost ([127.0.0.1]:42194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWpra-0005Mu-SB for submit@debbugs.gnu.org; Tue, 22 Mar 2022 21:32:39 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:44867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWprW-0005FF-5a for 32947@debbugs.gnu.org; Tue, 22 Mar 2022 21:32:37 -0400 Received: by mail-pf1-f179.google.com with SMTP id u17so269468pfk.11 for <32947@debbugs.gnu.org>; Tue, 22 Mar 2022 18:32:34 -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=ttI8jnNtLjJ2pSwsIOLKN8eT0tCl/6DifqWFXQL58d8=; b=pKKheWe8jWgPYT8tIJZ/hcBGPo2qx/xy6I0mQU21w7a/yzzMi13Fi3kJ7p/3c/qwrl /rZTHqplapoyuoXsc/r4fXZZ4P8xL96BK7T75FoPaFv56gQeGj0BmRUVeoGyAVpVKX6R nxsrfLW902EpO7O4c8w/y84CH6C9Jd8W7KoNRk48mioqNZo9+5Xtfg5AHTBsDkZv5IA1 bMz/9BqdxqiEukrf9Nov/wvZlYxvfZItGkIPuTZqz06leZ5YcF8AxWCmzcr1OGgDQfek HTTHZNRiMsaYk/1Ti6r2XB2Ip5PTT5V0+LZmz1bbQc0SwMhpjFhSlWrRfD5szebJEpwx 441w== 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=ttI8jnNtLjJ2pSwsIOLKN8eT0tCl/6DifqWFXQL58d8=; b=bYkI4LL1PY0VSxDBK1iS/1yB4MZbsv8FzZ/bBBghlor1jHIaSz60ZutHX2nBhFDtN7 8yPDFOcAu6OtRUb5F88zVHOEVKDb+WJkiVLnogsJl/zWmSAqpNCvR8xPkSOUDhaLaRaH CH5zfvzIpI9LmrW7zwZgF0S1YeW4sPqbcFpjl1qIldKWcg5YzE4CxPzQkrZS1DLabLg3 rD6ttmxIGbmW81qpp5znHh1xTnloQDEdXhxZBfJ2A5+FlDderd8x76k9mNvSkUMAAWAt O1zn5Xz7uwGv1TjG6cZ3zNlW2zZVDWDImfQfNEC6kM3gWt8LNSy77BwcwSFFCctkuF/a i3Ng== X-Gm-Message-State: AOAM530TE0VYkzzVJO7Vr0XyW42mwL1GUPRbomc1xRsBXDBPDrkQAEAK fZ50nSnD/+kmh0Q7NOi+RR4= X-Google-Smtp-Source: ABdhPJw3eO2E1NjZhOEW72wia6h4mxJCJYcApaICY9AUFyRWnldZ0AAnBvNlqSsEpGoZhcvrWaDWHA== X-Received: by 2002:a05:6a00:438b:b0:4fa:a67c:7ca0 with SMTP id bt11-20020a056a00438b00b004faa67c7ca0mr11591148pfb.5.1647999147916; Tue, 22 Mar 2022 18:32:27 -0700 (PDT) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id t26-20020a056a00139a00b004faa13ba384sm9447153pfg.162.2022.03.22.18.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Mar 2022 18:32:26 -0700 (PDT) From: Frank Pursel X-Google-Original-From: Frank Pursel Date: Tue, 22 Mar 2022 18:32:24 -0700 Message-ID: <87zglhcv2v.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=1647999205; 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=ttI8jnNtLjJ2pSwsIOLKN8eT0tCl/6DifqWFXQL58d8=; b=EW9yGCW9r0c0SeE+Xh2zWZDihufbJMjQsxPqh608fyEpjmVoCJVbCA0V/jkOkLIaJuuLpP WYWyVg3syyj6KyZQ2lR/PICQ4QXfAThlvzS3B+Gyn00T7NZ18Y1cJbO3JAkUx4QhQXQB+C 29FI1v216533jrm07ttfOt3Fnukfa2FkSz6nM7rTugi43WjdAYAGZoMnaJ7NqNArHP9/sE e8XIlF3CBCwuVtSlT/z2nINAU6a8Q3D/M7JqbboIIl1UotiwCy2FsgIHatYn4fBXKblZ6v VUVkiGNJxUM87EXkpCtrD+ZCydMu7jQhDAexMR9CLl8qhBTF74gIZ0ZYgyf1vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647999205; a=rsa-sha256; cv=none; b=BCxYTY4DLHa+4GD5/6cHSTTC+s+qRySLC2hVO3fv4S/Jd3412sMrAlt3m55xIRi9mgChMr JdwahZvuRGq0rEFQuTVod3o+T7lQwmDl64okTGXionqqVu63AO9uOzD12j1vxGSdildjxh UAX0O0fNvLNJ7qfhutPdaln1+7CiGk2UoBMn+jIND4915h3Db1aAvcgYLZ0fvoX0PoYaPq HteOEmlsJMB7Mtx81SzRzuyfF6ZNnV1Yy1H8Ornoxp3udAwC9XXy252bGFcN+3QjtjOzDT lRFaNOA2dh72SyOHRFiLSyJ6wIEKz/5yopzfycCutBvb9mW90m2kFMvp6et6vA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pKKheWe8; 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.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pKKheWe8; 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: 7A2B43E11 X-Spam-Score: 5.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: iUAG1dJP8Uyj >From 4c867018a167053018a67fce43eb91a01a4112da Mon Sep 17 00:00:00 2001 Message-Id: <4c867018a167053018a67fce43eb91a01a4112da.1647998883.git.frank.= pursel@gmail.com> 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 | 61 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 3ce5e771c7..197165e9bb 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,62 @@ (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. + (("(