all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#31429] [PATCH] gnu: Add vigra-c.
@ 2018-05-12 10:11 Fis Trivial
  2018-05-20 21:34 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Fis Trivial @ 2018-05-12 10:11 UTC (permalink / raw)
  To: 31429


* gnu/packages/image.scm (vigra-c): New variable.
---
 gnu/packages/image.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index bbfd621a9..4d85808db 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -843,6 +843,38 @@ multi-dimensional image processing.")
    (license license:expat)
    (home-page "https://ukoethe.github.io/vigra/")))
 
+(define-public vigra-c
+  (let* ((commit "a2ff675f42079e2623318d8ff8b4288dbe7a7f06")
+         (revision "0")
+         (version (string-append "0.0.0" revision commit)))
+    (package
+      (name "vigra-c")
+      (version version)
+      (home-page "https://github.com/BSeppke/vigra_c")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1f1phmfbbz3dsq9330rd6bjmdg29hxskxi9l17cyx1f4mdqpgdgl"))
+                (file-name (git-file-name name version))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f))                  ; No test target.
+      (native-inputs
+       `(("doxygen" ,doxygen)))
+      (inputs
+       `(("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.")
+      (license license:expat))))
+
 (define-public libwebp
   (package
     (name "libwebp")
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#31429] [PATCH] gnu: Add vigra-c.
  2018-05-12 10:11 [bug#31429] [PATCH] gnu: Add vigra-c Fis Trivial
@ 2018-05-20 21:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-05-20 21:34 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31429

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

Hello,

Fis Trivial <ybbs.daans@hotmail.com> skribis:

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

Applied with the changes below.  Thanks!

Ludo’.


[-- Attachment #2: Type: text/x-patch, Size: 1589 bytes --]

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 <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
 ;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
+;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-20 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-12 10:11 [bug#31429] [PATCH] gnu: Add vigra-c Fis Trivial
2018-05-20 21:34 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.