emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38947: closed ([PATCH 1/3] gnu: Add opensp.)


From: GNU bug Tracking System
Subject: bug#38947: closed ([PATCH 1/3] gnu: Add opensp.)
Date: Fri, 17 Jan 2020 20:22:02 +0000

Your message dated Fri, 17 Jan 2020 15:21:08 -0500
with message-id <address@hidden>
and subject line Re: [bug#38947] [PATCH 1/3] gnu: Add opensp.
has caused the debbugs.gnu.org bug report #38947,
regarding [PATCH 1/3] gnu: Add opensp.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
38947: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38947
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 1/3] gnu: Add opensp. Date: Sun, 5 Jan 2020 11:13:29 -0500
* gnu/packages/finance.scm (opensp): New variable.
---
 gnu/packages/finance.scm | 52 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index ce3033c054..b66d8b89a1 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -51,10 +51,12 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages dns)
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnupg)
@@ -1218,3 +1220,53 @@ offers confimations after less than 5 seconds and have 
significantly lower
 fees that BTC.  Bitcoin ABC is the reference implementation of the Bitcoin
 Cash protocol.  This package provides the Bitcoin Cash command line client and
 a client based on Qt.  This is a fork of Bitcoin Core.")))
+
+(define-public opensp
+  (package
+    (name "opensp")
+    (version "1.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/openjade/opensp/"
+                                  version "/OpenSP-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("gettext" ,gettext-minimal)))
+    (inputs
+     `(("docbook-xml" ,docbook-xml-4.1.2)
+       ("docbook-xsl" ,docbook-xsl)
+       ("xmlto" ,xmlto)))
+    (arguments
+     `(;; TODO: Fix and enable tests.
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-docbook-paths
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
+                                          "/xml/dtd/docbook"))
+                   (xsldoc (string-append (assoc-ref inputs "docbook-xsl")
+                                          "/xml/xsl/docbook-xsl-"
+                                          ,(package-version docbook-xsl))))
+               (substitute* (find-files "docsrc" "\\.xml$")
+                 (("/usr/share/sgml/docbook/xml-dtd-4.1.2") xmldoc)
+                 (("http://.*/docbookx\\.dtd";)
+                  (string-append xmldoc "/docbookx.dtd")))
+               ;; Directly pass the path to the stylesheet to xmlto.
+               (substitute* "docsrc/Makefile.in"
+                 (("\\$\\(XMLTO\\)")
+                  (string-append "$(XMLTO) -x " xsldoc
+                                 "/manpages/docbook.xsl")))
+               #t))))))
+    (home-page "http://openjade.sourceforge.net/";)
+    (synopsis "Suite of SGML/XML processing tools")
+    (description "OpenSP is an object-oriented toolkit for SGML parsing and
+entity management.")
+    (license
+     ;; expat license with added clause regarding advertising
+     (license:non-copyleft
+      "file://COPYING"
+      "See COPYING in the distribution."))))
-- 
2.24.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#38947] [PATCH 1/3] gnu: Add opensp. Date: Fri, 17 Jan 2020 15:21:08 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Ludovic Court├Ęs <address@hidden> writes:

> Kei Kebreau <address@hidden> skribis:
>
>> * gnu/packages/finance.scm (opensp): New variable.
>
> LGTM!

Pushed to master as 63ca1a89086574c52eeab8f223687e8614e33ffe.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]