From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gFSPLXWjM2IVlgAAgWs5BA (envelope-from ) for ; Thu, 17 Mar 2022 22:09:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CFj3KnWjM2L4WgAA9RJhRA (envelope-from ) for ; Thu, 17 Mar 2022 22:09:09 +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 4F6DD28F50 for ; Thu, 17 Mar 2022 22:09:09 +0100 (CET) Received: from localhost ([::1]:52870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUxMq-0008D1-6R for larch@yhetil.org; Thu, 17 Mar 2022 17:09:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUxMk-0008Ch-IX for guix-patches@gnu.org; Thu, 17 Mar 2022 17:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUxMk-0005zF-AM for guix-patches@gnu.org; Thu, 17 Mar 2022 17:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUxMk-0005m6-5G for guix-patches@gnu.org; Thu, 17 Mar 2022 17:09: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: Thu, 17 Mar 2022 21:09: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.164755129822138 (code B ref 32947); Thu, 17 Mar 2022 21:09:02 +0000 Received: (at 32947) by debbugs.gnu.org; 17 Mar 2022 21:08:18 +0000 Received: from localhost ([127.0.0.1]:55349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUxM2-0005l0-Fg for submit@debbugs.gnu.org; Thu, 17 Mar 2022 17:08:18 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:40611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUxM0-0005kZ-Dw for 32947@debbugs.gnu.org; Thu, 17 Mar 2022 17:08:17 -0400 Received: by mail-pf1-f172.google.com with SMTP id d19so7818073pfv.7 for <32947@debbugs.gnu.org>; Thu, 17 Mar 2022 14:08:16 -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=a1VTNg3wqjwafNl9lWUH6UdAGxR++s+NvXu0rO+iq34=; b=iaehxn2zFt14gPuG5KDFgxRRrIzmD43EPWRNbjr2ronj8BwMoWLg3EwGoLRiQoJ5ix r/rtP2E4xbztkm5tuCwCXgjg8RzL/Ic46NmGTwaKuTsLhpzoSyz4YFY6Ng76KHKmTBs3 pgpA8UfxntveYjTlwlw4iFJGJTA2dS9ZhFOJmWpV4QwXt6ciWK7xP2N3wX9D7DqQSbGq kAY1hz2mSWDTfcr22KzFwgykzszROAdofkQfhJGQJnDmXhaZTgSWFfzYgYTcoNdkMu+R xxd23DLf9xbczBo+J1uhoOnZSbBVC4wp+MotWkUgEzhNg5t+LXMOYks78j8VxlcGN/wL Uu6A== 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=a1VTNg3wqjwafNl9lWUH6UdAGxR++s+NvXu0rO+iq34=; b=wh79Vcj0gFSIDetQpcjSTZAmifLzbWed+CcbWeQJLvA7oNZEPc+qRvkot+NFDYtuVA 2zaURYLIpCfSI32d8+ZOo74PEQev/Krv9f8Let5V3rH0mfaLZXvEwDI+3/UljtrKeSqv s39i6XHz6pp6q+ogwmc2ONJ3xMGlMiGWYDSA913IlOAnsTveNDAij/d4YNnNBhESgvRq QXHjhs3dNkrgjmV3xL2mJMLl0kaZlYD7hoRZgNGV5ESVcs7P5GLCrv2gy+Kf2m+yNolM Bix6b6473hENNbx+UzvxCJsJZ/FzQyr7VthBwb3TJozkmQmdxtaKB3GKfdXBspckmJQS hJYw== X-Gm-Message-State: AOAM532BqCfEsDcYhUAkuif0XL1BaTtf3YZLz5k73T7FYYga3RoJxjsS kTadb5cCl9d5o3hRijqLYEI= X-Google-Smtp-Source: ABdhPJxyHUFub9SGIs2Yfx9ZGF7qdx0hNnAsC89ubE4m164vYogNUhlCf2Z/rAeUPz3foXAdPhuLBg== X-Received: by 2002:a65:46c6:0:b0:380:c6ce:9f76 with SMTP id n6-20020a6546c6000000b00380c6ce9f76mr5340730pgr.334.1647551290268; Thu, 17 Mar 2022 14:08:10 -0700 (PDT) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id h6-20020a056a00218600b004f65315bb37sm8076553pfi.13.2022.03.17.14.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 14:08:09 -0700 (PDT) From: Frank Pursel X-Google-Original-From: Frank Pursel Date: Thu, 17 Mar 2022 14:08:07 -0700 Message-ID: <871qz0nv7s.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=1647551349; 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=a1VTNg3wqjwafNl9lWUH6UdAGxR++s+NvXu0rO+iq34=; b=Oni7Rn/w1E666J2a1tvk0eWyJGHA47aSAC/1PORZjIxgd1Cxz8onhgzse8qsJTAL6PrRju 05B8CWiqywyESewo6Hlnf5Y03Ijfp/jYKpQ90BwG9aK2FRnODnSW0/RDl+bIxlfDTZcb8z eCmh8B79UiV4QuWfU/pVUdaCFQNWGSEsm6NM2mU0VPvw9XsQCPP+y72ol1Ur0Gskk5s5Zf dgN6vzZZ3Mi0In0MuAQnsHx86lGInp1rm7PiZLFjpbMi48nnHhOdFuof9egHqcmHnLR3k7 KMLiD0djgV3hfejzKpTevGRFe08NXCfTsSOno1w/nsTf9VzK6Y/0wPQsvLuwSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647551349; a=rsa-sha256; cv=none; b=j1rFv+blExuxO4dA37lWfdufQPMBtk6PbAmlSiCyb1yn3p/5CWULT1cY39lsRmwh7/O3L9 Yak+UZycXm65VWmoCNr4MHh/WL4X2GtyxFrBEQsZ30biaWRd5QX0xoMI67CDOwDOkfB241 hbCrdIzm/2zOxGkLZZTlV18WBZjlgpOOVRNXi7sbIVzjwB8VXp9D5eN6YEMb9idDAJZMHW i4zTHzrF0kQ0xQ4EReh3URNt5tKUhdmlkhNI8nLM4HxFiRLMaOW7IqPMvR5tykLMPsJ7oS uXWXNzzwNwZHMavxCbPPgdZnR5ih5IqvV+mbruN5uN7hC/WtRSCh+MEGF85Mcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iaehxn2z; 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.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iaehxn2z; 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: 4F6DD28F50 X-Spam-Score: 5.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: saqWTDeBUCtc Hi Guix! I want to help get a version of xalan into guix. I independently posted issue#54145 to this end but errors were made. I've since learned of and from this prior work and want to offer an updated/improved patch to provide= a java-xalan-interp package to fill this gap. This package is less ambitious than the original because it makes no attempt to build the xsltc base of xalan and instead settles for the likely slower, xslt base. The xslt base of xalan is likely slower than the xsltc base but, as far as I can tell, it provides the same functionality while not depending on the bundled cups and jflex jars. If it meets your scrutiny we may also be able to close two issues (this, 32947 and 54145) for the price of one!=20=20 Regards, Frank Pursel acrow#guix >From 6d711a86959049596e6c6110a830ba1c6c7cea50 Mon Sep 17 00:00:00 2001 Message-Id: <6d711a86959049596e6c6110a830ba1c6c7cea50.1647548555.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 | 62 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 3ce5e771c7..94bcdff903 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -33,6 +33,7 @@ ;;; 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 ;;; ;;; This file is part of GNU Guix. ;;; @@ -2592,3 +2593,64 @@ (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 "j_2_7_2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://apache/xalan/xalan-j/source/xalan-" + version "-src.tar.gz")) + (sha256 + (base32 "166vg9i11qzi0vbv09abfb50q8caq8wr6zrwg0cwqws9k394l62w")) + (modules '((guix build utils))) + (snippet '(begin + ;; Removing bundled jars + (format #t "~%~a~%" "Removing Bundled Jars") + (for-each + (lambda (f) + (format #t "~/Deleting: ~a~%" f) + (delete-file f)) + (find-files "." "\\.jar$")))))) + (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. + (("(