[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/7] gnu: Add djvulibre.
From: |
宋文武 |
Subject: |
Re: [PATCH 2/7] gnu: Add djvulibre. |
Date: |
Mon, 2 Mar 2015 13:27:34 +0800 |
2015-03-02 7:47 GMT+08:00 Paul van der Walt <address@hidden>:
> * gnu/packages/pdf.scm (djvulibre): New variable.
> ---
> gnu/packages/pdf.scm | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
> index 7b4f2ab..76c77d9 100644
> --- a/gnu/packages/pdf.scm
> +++ b/gnu/packages/pdf.scm
> @@ -2,6 +2,7 @@
> ;;; Copyright © 2013, 2015 Andreas Enge <address@hidden>
> ;;; Copyright © 2014 Mark H Weaver <address@hidden>
> ;;; Copyright © 2014, 2015 Ricardo Wurmus <address@hidden>
> +;;; Copyright © 2015 Paul van der Walt <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -143,6 +144,27 @@
> (license license:gpl3) ; or gpl2, but not gpl2+
> (home-page "http://www.foolabs.com/xpdf/")))
>
> +
> +
> +(define-public djvulibre
> + (package
> + (name "djvulibre")
> + (version "3.5.27")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "mirror://sourceforge/djvulibre/djvulibre-"
> + version ".tar.gz"))
> + (sha256
> + (base32
> + "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6"))))
> + (build-system gnu-build-system)
> + (home-page "http://djvu.sourceforge.net/")
> + (synopsis "DjVuLibre is a GPL implementation of DjVu, a document
> format.")
Synposis is too long, and shouldn't contain package name, end with peroid, etc.
Perhaps just "Implementation of DjVu"?
> + (description "DjVuLibre is an open source (GPL'ed) implementation of
> DjVu,
> +including viewers, browser plugins, decoders, simple encoders, and
> +utilities.")
We don't use words like "open source", and no need to mention GPL here.
> + (license license:gpl2)))
Should be 'license:gpl2'+.
> +
> (define-public podofo
> (package
> (name "podofo")
> --
> 2.3.1
>
>
Otherwise, look good to me.
- [PATCH 1/7] gnu: Add girara., Paul van der Walt, 2015/03/01
- [PATCH 4/7] gnu: Add zathura PDF plugin., Paul van der Walt, 2015/03/01
- [PATCH 6/7] gnu: Add zathura postscript plugin., Paul van der Walt, 2015/03/01
- [PATCH 7/7] gnu: Add zathura comicbook plugin., Paul van der Walt, 2015/03/01
- [PATCH 2/7] gnu: Add djvulibre., Paul van der Walt, 2015/03/01
- Re: [PATCH 2/7] gnu: Add djvulibre.,
宋文武 <=
- [PATCH 3/7] gnu: Add zathura., Paul van der Walt, 2015/03/01
- [PATCH 5/7] gnu: Add zathura DjVu plugin., Paul van der Walt, 2015/03/01
- Re: [PATCH 1/7] gnu: Add girara., 宋文武, 2015/03/02