guix-devel
[Top][All Lists]
Advanced

[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.



reply via email to

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