From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QCL7H6PbeGH/bAAAgWs5BA (envelope-from ) for ; Wed, 27 Oct 2021 06:54:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2PGSG6PbeGEcdQAAbx9fmQ (envelope-from ) for ; Wed, 27 Oct 2021 04:54:59 +0000 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 3A74D2BBCF for ; Wed, 27 Oct 2021 06:54:59 +0200 (CEST) Received: from localhost ([::1]:38878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfaxm-00037o-Av for larch@yhetil.org; Wed, 27 Oct 2021 00:54:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfawv-0001uj-Ij for guix-patches@gnu.org; Wed, 27 Oct 2021 00:54:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfawv-0003oS-AR for guix-patches@gnu.org; Wed, 27 Oct 2021 00:54:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfawv-00059B-8v for guix-patches@gnu.org; Wed, 27 Oct 2021 00:54:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51428] [PATCH core-update-frozen 08/13] gnu: Add docbook-xsl-ns. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Oct 2021 04:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51428 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51428@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 51428-submit@debbugs.gnu.org id=B51428.163531039619543 (code B ref 51428); Wed, 27 Oct 2021 04:54:05 +0000 Received: (at 51428) by debbugs.gnu.org; 27 Oct 2021 04:53:16 +0000 Received: from localhost ([127.0.0.1]:48124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfaw7-000553-Qd for submit@debbugs.gnu.org; Wed, 27 Oct 2021 00:53:16 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:41809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfaw4-00053E-79 for 51428@debbugs.gnu.org; Wed, 27 Oct 2021 00:53:12 -0400 Received: by mail-qk1-f180.google.com with SMTP id r15so1328160qkp.8 for <51428@debbugs.gnu.org>; Tue, 26 Oct 2021 21:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QvdsjXCb4TjZDSeSgrUMOH+pLZe0d5AfLZyvNS/E2NQ=; b=MVhQXnT7PtoUaG3Xq62+10imQD6cBY4fw4qQfg4/8uWYBFCjYo8Ssbty8ZfMze7+5S QC4GuTjbdmZ/o9JkyokizBQqtBRKwDzZWpYdB7lBnunCmgUsbk7KOb5Qtb43CRFdhIBo d9AKRhT3Ipgb9jxWJBJkAPui79H4O38X+kIQsLHcu/KLjg56pvyjWEWB4hQqQ0wWYAHD OvjVhLZXkne5zaHA785cVpgagO4F8aiTNwse529SP7lG+prz00lPntWtKCsxDq/HDLzN GxIVVNFAExaoS4sK3lBIJ3xyxGIh0LIXR911iEBSSVtxtK0qWW5YYKBj9xf46w2cFqdG eYGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QvdsjXCb4TjZDSeSgrUMOH+pLZe0d5AfLZyvNS/E2NQ=; b=LcML4kaoz4O/gfVA0L5TtSPne2L1MeKayxJV2B68EfeLPAM/pzp1IXoUK14XJNlw5k /cEB2ZecR1ccfTDdES9Y5InV9oEnNkhDhwrFLtq0t8nNN3USBju4KKFZhh46W12ebM1k o2u0LQaFyS/0GLwZxWM4oYBnaKx2ROfl2LjHcumEoyezsNEX6pP+ns5rkAIzJ2NVMSFW 7sAej43xqM/INuqLIIRYQ8aqpbIbn4p4saf3/FCmTN79kqA21CLnqCxnfjRdfl7V52/G GSBp+4n9GkutAVl5lQF4oN5RqzuEKg9Jk+tn6ywBiDCcGFdKFEGohLwqZV82j+jcyiU+ H+9A== X-Gm-Message-State: AOAM533mve+TSKYFbVUlBZlqiQ4pibsGOjy5vvTrXmB/keW3fqFz6XO4 FmlWnHduf1LAvxme9iLsfn5s61+4s9g= X-Google-Smtp-Source: ABdhPJxIWThHeaMHSQNsm8BSbOqqP28ppYcx8clQf7WCU95EkJrDkrDa4FDL2ElQ+ISNCEVCCuM4cw== X-Received: by 2002:a37:484:: with SMTP id 126mr1487204qke.197.1635310386530; Tue, 26 Oct 2021 21:53:06 -0700 (PDT) Received: from localhost.localdomain (dsl-10-133-98.b2b2c.ca. [72.10.133.98]) by smtp.gmail.com with ESMTPSA id bk13sm11868197qkb.58.2021.10.26.21.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 21:53:06 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 27 Oct 2021 00:51:39 -0400 Message-Id: <20211027045151.9889-8-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211027045151.9889-1-maxim.cournoyer@gmail.com> References: <20211027045151.9889-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635310499; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=QvdsjXCb4TjZDSeSgrUMOH+pLZe0d5AfLZyvNS/E2NQ=; b=sHowhDIwEZNUoh02ZnO42SWCDf5vDgUgtfGnmBvHSA+5GisThXgGI/EEh60hJBHF6Pl1uw HGzCoBmwhO0w1TM/HfeTO+qKnvmdJ7J/K/NvJFJytYYr8yDFOOi4z5GQj6+7b3DKtUE+F8 unN/izCWtfwhBOcarR1GqpM9VSbmlbQlzdUCipREUQdpFDLTT3mDBXO6QpPpvpdAGHwjyX ndQ1uW5iUvt+J78LGbiHMIBtTs6GEI315yriE2hTFiOtiRpa2sGcyWQNHIKzZIrjq9XRbL J1o6/LzfEd+/Q+r1lfSHx+7PL39wtQ3bEe4PoI4sGNgF0nOvN2bvGTG6FHTV/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635310499; a=rsa-sha256; cv=none; b=p1JAzVA2CUuR4tPlL8/8lSD6xSGcTaYY+4yfz5rfW1obpoau6tKv8liEB3qQWUaUYz7sX0 bLJdxuw1CLQYqS95l7dJAjfsvvKYkLFZIkEJfK6ev16XgHWuildZizDlolt+tGOE9KG6An EcUDo/cvuRWqq+RWeiyRq8gITtbViQBborD0TDpngFs6JOFGDT9oubsv4+DEC5bQ8JA4l7 bId4+JN9t9ddUW3gmV9rTvAZu3+CEIczDx8WVKpEOmSXxHiwV3EyJdkafLlMcHPw5Vfsni MKiBN9l8JB7eqq3jRKDTwohom2IoDiNa4+QGIG8QLE303IFBjCbDrvRxqyzgFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MVhQXnT7; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MVhQXnT7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3A74D2BBCF X-Spam-Score: 4.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: EyowDynxRuWv * gnu/packages/docbook.scm (docbook-xsl-ns): New variable. --- gnu/packages/docbook.scm | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index ee12f7edeb..92ca706c56 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -41,6 +41,7 @@ (define-module (gnu packages docbook) #:use-module (guix packages) #:use-module (guix download) #:use-module ((guix build utils) #:select (alist-replace)) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (guix build-system python)) @@ -229,6 +230,61 @@ (define name-version "This package provides XSL style sheets for DocBook.") (license (license:x11-style "" "See 'COPYING' file.")))) +(define-public docbook-xsl-ns + (package + (name "docbook-xsl-ns") + (version "1.79.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/docbook/" + name "/" version "/" + name "-" version ".tar.bz2")) + (sha256 + (base32 + "170ggf5dgjar65kkn5n33kvjr3pdinpj66nnxfx8b2avw0k91jin")))) + (build-system copy-build-system) + (outputs '("out" "doc")) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; XXX: The copy-build-system doesn't seem to allow installing to a + ;; different output. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (xml (string-append out "/xml/xsl/" ,name "-" ,version)) + (doc (string-append (assoc-ref %outputs "doc") + "/share/doc/" ,name "-" ,version)) + (select-rx (make-regexp + "(\\.xml$|\\.xsl$|\\.dtd$|\\.ent$)"))) + ;; Install catalog. + (install-file "catalog.xml" xml) + (install-file "VERSION.xsl" xml) + (substitute* (string-append xml "/catalog.xml") + (("rewritePrefix=\"./") + (string-append "rewritePrefix=\"file://" xml "/"))) + ;; Install style sheets. + (for-each (lambda (dir) + (for-each (lambda (f) + (install-file + f (string-append xml "/" (dirname f)))) + (find-files dir select-rx))) + '("assembly" "common" "eclipse" "epub" "epub3" "fo" + "highlighting" "html" "htmlhelp" "javahelp" "lib" + "manpages" "params" "profiling" "roundtrip" + "template" "website" + "xhtml" "xhtml-1_1" "xhtml5")) + ;; Install documentation. + (install-file "NEWS" doc) + (install-file "RELEASE-NOTES.html" doc) + (copy-recursively "slides" doc) + (copy-recursively "webhelp" doc))))))) + (home-page "https://docbook.org") + (synopsis "DocBook XSL namespaced style sheets for document authoring") + (description "This package provides the @emph{namespaced} XSL style sheets +for DocBook.") + (license (license:x11-style "" "See 'COPYING' file.")))) + (define-public docbook-dsssl (package (name "docbook-dsssl") -- 2.33.1