GNU bug report logs - #26113
[PATCH 4/7] gnu: Add maxflow.

Previous Next

Package: guix-patches;

Reported by: John Darrington <jmd <at> gnu.org>

Date: Wed, 15 Mar 2017 20:07:04 UTC

Severity: normal

Tags: patch

Done: John Darrington <john <at> darrington.wattle.id.au>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kei Kebreau <kei <at> openmailbox.org>
To: John Darrington <jmd <at> gnu.org>
Cc: 26113 <at> debbugs.gnu.org
Subject: bug#26113: [PATCH 4/7] gnu: Add maxflow.
Date: Fri, 17 Mar 2017 17:38:53 -0400
[Message part 1 (text/plain, inline)]
John Darrington <jmd <at> gnu.org> writes:

> * gnu/packages/maths.scm (maxflow): New variable.
> ---
>  gnu/packages/maths.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index 8e7580c..12a3207 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -1111,6 +1111,30 @@ modules is done either interactively using the graphical user interface or in
>  ASCII text files using Gmsh's own scripting language.")
>      (license license:gpl2+)))
>  
> +(define-public maxflow
> +  (package
> +    (name "maxflow")
> +    (version "3.04")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/gerddie/maxflow.git")
> +                    (commit "42401fa54823d16b9da47716f04e5d9ef1605875")))
> +              (file-name (string-append name "-" version "-checkout"))
> +              (sha256
> +               (base32
> +                "0rll38whw55h0vcjrrwdnh9ascvxby0ph7n1l0d12z17cg215kkb"))))
> +    (build-system cmake-build-system)
> +    (home-page "http://pub.ist.ac.at/~vnk/software.html")
> +    (synopsis "Library implementing Maxflow algorithm")
> +    (description "An implementation of the maxflow algorithm described in
> +@cite{An Experimental Comparison of Min-Cut/Max-Flow Algorithms for
> +Energy Minimization in Computer Vision.\n
> +Yuri Boykov and Vladimir Kolmogorov.\n
> +In IEEE Transactions on Pattern Analysis and Machine Intelligence,\n
> +September 2004}")

These aren't showing up as new lines. I tried replacing the newline
characters with the appropriate Texinfo substitute, @*, but that gave me
a parsing error. We might have to dive into some source code to fix this
(but hopefully not).

> +    (license license:gpl3+)))
> +
>  (define-public petsc
>    (package
>      (name "petsc")

Otherwise LGTM.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.