From patchwork Fri Mar 18 19:16:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Frank Pursel X-Patchwork-Id: 991 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4FAC727BBEA; Fri, 18 Mar 2022 19:18:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A37FE27BBE9 for ; Fri, 18 Mar 2022 19:18:20 +0000 (GMT) Received: from localhost ([::1]:42232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVI79-0005Ys-ON for patchwork@mira.cbaines.net; Fri, 18 Mar 2022 15:18:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVI6s-0005YB-S9 for guix-patches@gnu.org; Fri, 18 Mar 2022 15:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVI6s-0001dz-Jf for guix-patches@gnu.org; Fri, 18 Mar 2022 15:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVI6s-0000FN-D7 for guix-patches@gnu.org; Fri, 18 Mar 2022 15:18: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: Fri, 18 Mar 2022 19:18: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.1647631028858 (code B ref 32947); Fri, 18 Mar 2022 19:18:02 +0000 Received: (at 32947) by debbugs.gnu.org; 18 Mar 2022 19:17:08 +0000 Received: from localhost ([127.0.0.1]:58409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVI60-0000Dm-9c for submit@debbugs.gnu.org; Fri, 18 Mar 2022 15:17:08 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:39739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVI5x-0000DE-ND for 32947@debbugs.gnu.org; Fri, 18 Mar 2022 15:17:06 -0400 Received: by mail-pf1-f169.google.com with SMTP id h2so10283735pfh.6 for <32947@debbugs.gnu.org>; Fri, 18 Mar 2022 12:17:05 -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=fmDGEel4VM9NHGArnS2+9twqTarmuNLojue1dwpUePY=; b=KfGCQHGBbkwEHdxFOdas7vYvtJZA1ZwlKqJTeDQ5tLIwThw+gRU+95LNikc0muYdgw hJmvFMFu1MMT/gYt6OmqlmhtjF6WXHURuaUNWg1PPvHpnpZnziEOEJHv9bcYRXlGrJ01 LH2AZ53bFG5t5CesJKm+4ZgIcEvYEc0F56xYisOzSmDzUQafjSXWnpU+dqGtTrWlGQkN HHCoHz22wuWZt5BP3MvhqperpJXMM28u/c8Se+LAJjR5nbCFOZtBMTokDwzlGVW9IJF8 ZQWYPG1p6USGoKhUMUtQfd9uZ/TGxOybbKYRLaBYgpNK8jbliUTyOopl8urP/xUvg+6f +iig== 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=fmDGEel4VM9NHGArnS2+9twqTarmuNLojue1dwpUePY=; b=fY3fy1TLj04isX41hH0hq/l9qUjhKZbLuazAiaN+76cIh6jWDX5poUQ0w2RS9PTcUE aJNC67HnmnJuJHuI7+41Qxp/QG1nUQ7t/MBFXB/0vVSuAaP0oGFx5NdwkmrDIwR+RotU vrCfbSk4/bqa1fcHQo1yWs62byKL4T7hez696amaZOm2S2nT5LJPm0pQHVyLAlNkvy1L TWRgDTx8NYElN7QxvaayfLi6Vl1lXi6t/a/brt9TDW+LFPH2jh/zyBUR6ifB8iAWfOlj QlHdBryMsi/SAPX4COfOdjhWYljVTl+s7hvqsj9RpJ75HCp9PUbTiREqIoAdk6hagkIg rWMQ== X-Gm-Message-State: AOAM532DqsRlyUI7hj4juoPP/DaR3Cj/vQza7y2xSG/bHUlPryeIC0xP JDqLjk8RCHfIhlJCm74vbdLSjTfTzDc= X-Google-Smtp-Source: ABdhPJynNkdlgBtk0SGKIdqsSIhd6w/GAUbYri3oG8UoPhG4ya1zrQOSZoPDCh9g9rKhb/sFJhesxw== X-Received: by 2002:aa7:81ca:0:b0:4f6:d297:4213 with SMTP id c10-20020aa781ca000000b004f6d2974213mr11247786pfn.59.1647631019665; Fri, 18 Mar 2022 12:16:59 -0700 (PDT) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id g6-20020a056a001a0600b004f7bd56cc08sm9349659pfv.123.2022.03.18.12.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Mar 2022 12:16:58 -0700 (PDT) From: Frank Pursel X-Google-Original-From: Frank Pursel Date: Fri, 18 Mar 2022 19:16:57 +0000 Message-ID: <87y217gjfa.fsf@Ginko.local.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Guix!, Maxime, Thank you for the feedback. The result is a better package! These changes have built successfully and incorporate the identified changes. Regards, Frank Pursel acrow#guix From 4018f56893077df82c67c06e341339fd3c00e14a Mon Sep 17 00:00:00 2001 Message-Id: <4018f56893077df82c67c06e341339fd3c00e14a.1647630491.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 | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 3ce5e771c7..2a0a8e2949 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 David Larsson ;;; Copyright © 2021 Matthew James Kraai +;;; Copyright © 2022 Frank Pursel ;;; ;;; This file is part of GNU Guix. ;;; @@ -2592,3 +2593,58 @@ (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 + ;; Removing bundled jars + (for-each + (lambda (f) + (delete-file f)) + (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=true") + (substitute* "build.xml" + ;; Only the interpretive compiler. xsltc contains a + ;; circular reference java_cup. + (("(