From patchwork Mon Jul 4 08:04:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Janssen X-Patchwork-Id: 13608 Received: (qmail 114506 invoked by uid 89); 4 Jul 2016 08:05:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=browsers, Framework, Net, dtd X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 04 Jul 2016 08:05:02 +0000 Received: from localhost ([::1]:45782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJysF-00023Y-WB for patchwork@sourceware.org; Mon, 04 Jul 2016 04:05:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJys7-00021u-Sd for guix-devel@gnu.org; Mon, 04 Jul 2016 04:04:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJys1-00024M-NV for guix-devel@gnu.org; Mon, 04 Jul 2016 04:04:50 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJys1-00024H-KU for guix-devel@gnu.org; Mon, 04 Jul 2016 04:04:45 -0400 Received: from [143.121.198.69] (port=35534 helo=roel-tp) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bJys0-0002o5-4J for guix-devel@gnu.org; Mon, 04 Jul 2016 04:04:44 -0400 User-agent: mu4e 0.9.17; emacs 24.5.1 From: Roel Janssen To: guix-devel Subject: [PATCH] gnu: Add scrollkeeper. Date: Mon, 04 Jul 2016 10:04:58 +0200 Message-ID: <87eg796d79.fsf@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" 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 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(+) 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+)))