GNU bug report logs - #49284
[PATCH] gnu: Add fheroes2

Previous Next

Package: guix-patches;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Wed, 30 Jun 2021 05:50:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 49284 <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: Andrew Tropin <andrew <at> trop.in>, 49284 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add fheroes2
Date: Wed, 30 Jun 2021 11:03:45 +0200
Am Mittwoch, den 30.06.2021, 08:49 +0300 schrieb Andrew Tropin:
> * gnu/packages/games.scm (fheroes2): New variable.
> ---
>  There are no tests in the project, so they are disabled.
#:tests? #f should always be documented inside the code
>  gnu/packages/games.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 83cb738b9c..7a87123df3 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -12511,3 +12511,33 @@ wreckage.  You're stranded on a desert
> island and have to survive.  In order to
>  do so you need to explore the island, find food, build a shelter and
> try to
>  get attention, so you get found.")
>        (license license:cc-by4.0))))
> +
> +(define-public fheroes2
> +  (package
> +    (name "fheroes2")
> +    (version "0.9.4")
> +    (build-system cmake-build-system)
> +    (arguments
> +     `(#:tests? #f
Add a comment here along the lines of "no tests" or "no check target".
> +       #:make-flags '("FHEROES2_STRICT_COMPILATION=1"
> +                      "RELEASE=1")))
> +    (native-inputs
> +     `(("gettext" ,gettext-minimal)))
> +    (inputs
> +     `(("zlib" ,zlib)
> +       ("libpng" ,libpng)
> +       ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-
> ttf)))))
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/ihhub/fheroes2")
> +                    (commit version)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "0a3xi3k7ngp0byhmg7wq22l1hix3jwr68prk2y6frqhzbfskrvy
> g"))))
> +    (home-page "https://ihhub.github.io/fheroes2/")
> +    (synopsis "Turn-based strategy game engine")
> +    (description "Free implementation of Heroes of Might and Magic
> II (aka
> +HOMM2) game engine.")
> +    (license license:gpl2)))
The description is a bit lacking in information.  Is this engine
usable?  If so, how?  We ought not to steer users towards non-free
software.

Regards,
Leo





This bug report was last modified 3 years and 254 days ago.

Previous Next


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