Subject: Re: [bug#31429] [PATCH] gnu: Add vigra-c.

From: [email-masked] (Ludovic Courtès)
Date: Sun, 20 May 2018 23:34:14 +0200

Hello,

Fis Trivial <[email-masked]> skribis:

> * gnu/packages/image.scm (vigra-c): New variable.

Applied with the changes below.  Thanks!

Ludo’.

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 4d85808db..b88f6cf9d 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2017 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2017 Julien Lepiller <[email-masked]>
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <[email-masked]>
+;;; Copyright © 2018 Fis Trivial <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -846,7 +847,7 @@ multi-dimensional image processing.")
 (define-public vigra-c
   (let* ((commit "a2ff675f42079e2623318d8ff8b4288dbe7a7f06")
          (revision "0")
-         (version (string-append "0.0.0" revision commit)))
+         (version (git-version "0.0.0" revision commit)))
     (package
       (name "vigra-c")
       (version version)
@@ -869,10 +870,11 @@ multi-dimensional image processing.")
        `(("fftw" ,fftw)
          ("fftwf" ,fftwf)
          ("vigra" ,vigra)))
-      (synopsis "Wrapping (parts of) VIGRA's functionality into a C shared
-library")
-      (description "An easy understandable C-Wrapper to re-use functionality of
-the VIGRA computer vision library in other programming environments.")
+      (synopsis "C interface to the VIGRA computer vision library")
+      (description
+       "This package provides a C interface to the VIGRA C++ computer vision
+library.  It is designed primarily to ease the implementation of higher-level
+language bindings to VIGRA.")
       (license license:expat))))
 
 (define-public libwebp