diff mbox

gnu: Add scrollkeeper.

Message ID 87eg796d79.fsf@gnu.org
State New
Headers show

Commit Message

Roel Janssen July 4, 2016, 8:04 a.m. UTC
Dear Guix,

As you may know, I am trying to package GParted.  It uses Scrollkeeper
for its help function, so I'd like to add it to the distribution
already.

If it's fine with you, I will continue to push this to the repository.
As always, thank you for your time.

Kind regards,
Roel Janssen

>From 622f37d118541fd5c0d1659b020391eda4f71057 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Mon, 4 Jul 2016 10:01:24 +0200
Subject: [PATCH] gnu: Add scrollkeeper.

* gnu/packages/documentation.scm (scrollkeeper): New variable.
---
 gnu/packages/documentation.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Comments

Leo Famulari July 4, 2016, 7:25 p.m. UTC | #1
On Mon, Jul 04, 2016 at 10:04:58AM +0200, Roel Janssen wrote:
> Dear Guix,
> 
> As you may know, I am trying to package GParted.  It uses Scrollkeeper
> for its help function, so I'd like to add it to the distribution
> already.

Thank you for continuing with this!!

> If it's fine with you, I will continue to push this to the repository.
> As always, thank you for your time.

> * gnu/packages/documentation.scm (scrollkeeper): New variable.

You forgot to add yourself to the list of authors of documentation.scm.
Otherwise, it looks good to me.
Roel Janssen July 4, 2016, 7:37 p.m. UTC | #2
Leo Famulari writes:

> On Mon, Jul 04, 2016 at 10:04:58AM +0200, Roel Janssen wrote:
>> Dear Guix,
>> 
>> As you may know, I am trying to package GParted.  It uses Scrollkeeper
>> for its help function, so I'd like to add it to the distribution
>> already.
>
> Thank you for continuing with this!!
>
>> If it's fine with you, I will continue to push this to the repository.
>> As always, thank you for your time.
>
>> * gnu/packages/documentation.scm (scrollkeeper): New variable.
>
> You forgot to add yourself to the list of authors of documentation.scm.
> Otherwise, it looks good to me.

Thank you for your quick reply, and for noticing this. :)
I applied it with my copyright line added to it.

Thanks!

Kind regards,
Roel Janssen
diff mbox

Patch

diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 17a69e2..204ba2b 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -27,9 +27,11 @@ 
   #:use-module (gnu packages)
   #:use-module (gnu packages python)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages docbook)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages xml)
   #:autoload   (gnu packages zip) (unzip))
@@ -115,3 +117,38 @@  generate both TeX output for high-quality hardcopies or HTML output for online
 brwosing.  The documentation is extracted directly from the C/C++/IDL source
 or Java class files.")
     (license gpl2+)))
+
+(define-public scrollkeeper
+  (package
+    (name "scrollkeeper")
+    (version "0.3.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/scrollkeeper/scrollkeeper-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1bfxwxc1ngh11v36z899sz9qam366r050fhkyb5adv65lb1x62sa"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-xml-catalog="
+                            (assoc-ref %build-inputs "docbook-xml")
+                            "/xml/dtd/docbook/catalog.xml"))))
+    (inputs
+     `(("perl" ,perl)
+       ("libxml2" ,libxml2)
+       ("libxslt" ,libxslt)
+       ;; The configure script checks for either version 4.2 or 4.1.2.
+       ("docbook-xml" ,docbook-xml-4.2)))
+    (native-inputs
+     `(("intltool" ,intltool)))
+    (home-page "http://scrollkeeper.sourceforge.net/")
+    (synopsis "Open Documentation Cataloging Project")
+    (description "ScrollKeeper is a cataloging system for documentation on open
+systems.  It manages documentation metadata as specified by the Open Source
+Metadata Framework and provides a simple API to allow help browsers to find,
+sort, and search the document catalog.  It will also be able to communicate
+with catalog servers on the Net to search for documents which are not on the
+local system.")
+    (license lgpl2.1+)))