From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH] Add djvulibre. Date: Wed, 04 Mar 2015 20:01:17 +0100 Message-ID: <87egp4h9j6.fsf@denknerd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEXs-0006zT-UT for guix-devel@gnu.org; Wed, 04 Mar 2015 14:01:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTEXp-0005Qi-Nz for guix-devel@gnu.org; Wed, 04 Mar 2015 14:01:24 -0500 Received: from mx02.posteo.de ([89.146.194.165]:38552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEXp-0005QN-Hg for guix-devel@gnu.org; Wed, 04 Mar 2015 14:01:21 -0500 Received: from dovecot03.posteo.de (unknown [185.67.36.28]) by mx02.posteo.de (Postfix) with ESMTPS id F23E525C009D for ; Wed, 4 Mar 2015 20:01:18 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3ky4LQ22W1z5vN2 for ; Wed, 4 Mar 2015 20:01:18 +0100 (CET) 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel --=-=-= Content-Type: text/plain Hello Guix, I propose putting djvulibre into a separate file, djvulibre.scm, as shown in the patch. If everyone thinks this is okay, i'll push it, along with the other (zathura*) patches posted earlier -- after double reviews i believe they are now acceptable. Thank you for your patience with me! Bye, p. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-djvulibre.patch Content-Transfer-Encoding: quoted-printable >From 55686b1dac01c74f09092f835387063024adae84 Mon Sep 17 00:00:00 2001 From: Paul van der Walt Date: Mon, 2 Mar 2015 00:27:40 +0100 Subject: [PATCH 1/6] gnu: Add djvulibre. * gnu/packages/djvulibre.scm (djvulibre): New file. * gnu-system.am: Add the file. --- gnu-system.am | 1 + gnu/packages/djvulibre.scm | 42 ++++++++++++++++++++++++++++++++++++++++= ++ 2 files changed, 43 insertions(+) create mode 100644 gnu/packages/djvulibre.scm diff --git a/gnu-system.am b/gnu-system.am index ec3feb0..2ab572e 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -81,6 +81,7 @@ GNU_SYSTEM_MODULES =3D \ gnu/packages/dejagnu.scm \ gnu/packages/dictionaries.scm \ gnu/packages/disk.scm \ + gnu/packages/djvulibre.scm \ gnu/packages/dnsmasq.scm \ gnu/packages/docbook.scm \ gnu/packages/doxygen.scm \ diff --git a/gnu/packages/djvulibre.scm b/gnu/packages/djvulibre.scm new file mode 100644 index 0000000..b4e954a --- /dev/null +++ b/gnu/packages/djvulibre.scm @@ -0,0 +1,42 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2015 Paul van der Walt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (a= t +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages djvulibre) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu)) + +(define-public djvulibre + (package + (name "djvulibre") + (version "3.5.27") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/djvu/djvulibre-" + version ".tar.gz")) + (sha256 + (base32 + "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6"))= )) + (build-system gnu-build-system) + (home-page "http://djvu.sourceforge.net/") + (synopsis "Implementation of DjVu, the document format") + (description "DjVuLibre is an implementation of DjVu, +including viewers, browser plugins, decoders, simple encoders, and +utilities.") + (license license:gpl2+))) --=20 2.3.1 --=-=-=--