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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49284 in the body.
You can then email your comments to 49284 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 30 Jun 2021 05:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Tropin <andrew <at> trop.in>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 30 Jun 2021 05:50:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add fheroes2
Date: Wed, 30 Jun 2021 08:49:28 +0300
* gnu/packages/games.scm (fheroes2): New variable.
---
 There are no tests in the project, so they are disabled.

 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
+       #: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
+                "0a3xi3k7ngp0byhmg7wq22l1hix3jwr68prk2y6frqhzbfskrvyg"))))
+    (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)))
-- 
2.32.0






Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 30 Jun 2021 09:04:01 GMT) Full text and rfc822 format available.

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





Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 30 Jun 2021 10:18:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49284 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add fheroes2
Date: Wed, 30 Jun 2021 13:17:21 +0300
* gnu/packages/games.scm (fheroes2): New variable.
---
 gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 83cb738b9c..82595b64b9 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -12511,3 +12511,34 @@ 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                      ; no tests
+       #: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
+                "0a3xi3k7ngp0byhmg7wq22l1hix3jwr68prk2y6frqhzbfskrvyg"))))
+    (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.  Requires assets/game resources to play, @file{fheroes2}
+is looking for them at @file{~/.local/share/fheroes2} folder.")
+    (license license:gpl2)))
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 30 Jun 2021 10:21:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49284 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add fheroes2
Date: Wed, 30 Jun 2021 13:20:37 +0300
[Message part 1 (text/plain, inline)]
Leo Prikler <leo.prikler <at> student.tugraz.at> writes:

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

Yep, it's usable.  It requires game resources (assets like music, maps,
sprites), the assets from original game is not distributed with it
because of legal reasons I suppose, but AFAIK nothing stops people from
creating their own set of assets to use with this game engine.  Also,
taking only assets from original game and using them with this engine
will help people not to use unfree software.

Added comment, updated description.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 30 Jun 2021 10:49:01 GMT) Full text and rfc822 format available.

Message #17 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 12:48:11 +0200
Am Mittwoch, den 30.06.2021, 13:20 +0300 schrieb Andrew Tropin:
> Leo Prikler <leo.prikler <at> student.tugraz.at> writes:
> 
> > 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
> > > +                "0a3xi3k7ngp0byhmg7wq22l1hix3jwr68prk2y6frqhzbfs
> > > krvy
> > > 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.
> 
> Yep, it's usable.  It requires game resources (assets like music,
> maps,
> sprites), the assets from original game is not distributed with it
> because of legal reasons I suppose, but AFAIK nothing stops people
> from
> creating their own set of assets to use with this game engine.  Also,
> taking only assets from original game and using them with this engine
> will help people not to use unfree software.
> 
> Added comment, updated description.
Without a package providing those assets, this is still pretty much
"here, go seek out this nonfree software thingy for assets".  This is
not to say, that we can never ever ship fheroes2, but I'd personally
hold back on it until we can package some fheroes2-data to make it
useful without requiring people seek out these assets.

This is just my own opinion however, and it's certainly not reflected
all over guix source.  For instance, both oshu and stepmania require
beatmaps and stepfiles respectively to be useful and ship without them
while most of what you'll find online will be somewhat dubious in terms
of copyright.  However, both also offer the tools to create those using
your own (hopefully GPL-compatible) album collection, so it's not a big
problem.  I don't think fheroes2 has that low of an entry barrier to
full playability, does it?





Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 30 Jun 2021 11:23:01 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49284 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add fheroes2
Date: Wed, 30 Jun 2021 14:22:33 +0300
Leo Prikler <leo.prikler <at> student.tugraz.at> writes:

> Am Mittwoch, den 30.06.2021, 13:20 +0300 schrieb Andrew Tropin:
>> Leo Prikler <leo.prikler <at> student.tugraz.at> writes:
>> 
>> > 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
>> > > +                "0a3xi3k7ngp0byhmg7wq22l1hix3jwr68prk2y6frqhzbfs
>> > > krvy
>> > > 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.
>> 
>> Yep, it's usable.  It requires game resources (assets like music,
>> maps,
>> sprites), the assets from original game is not distributed with it
>> because of legal reasons I suppose, but AFAIK nothing stops people
>> from
>> creating their own set of assets to use with this game engine.  Also,
>> taking only assets from original game and using them with this engine
>> will help people not to use unfree software.
>> 
>> Added comment, updated description.
> Without a package providing those assets, this is still pretty much
> "here, go seek out this nonfree software thingy for assets".  This is
> not to say, that we can never ever ship fheroes2, but I'd personally
> hold back on it until we can package some fheroes2-data to make it
> useful without requiring people seek out these assets.
>
> This is just my own opinion however, and it's certainly not reflected
> all over guix source.  For instance, both oshu and stepmania require
> beatmaps and stepfiles respectively to be useful and ship without them
> while most of what you'll find online will be somewhat dubious in terms
> of copyright.  However, both also offer the tools to create those using
> your own (hopefully GPL-compatible) album collection, so it's not a big
> problem.  I don't think fheroes2 has that low of an entry barrier to
> full playability, does it?

Y, probably it's not easy to find free assets.  Still can be useful for
people, who already have a CD with the original game, but do not want to
use unfree software or even for people, who would buy it to get resource
from it.

Feels kinda on the edge:
On the one hand it can nudge someone to buy or obtain a bundle with
unfree software inside to extract resources from it.  On the other hand
it helps not to use unfree software.

I think it's more towards steering people from unfree to free software,
but I can be wrong.

Anyway, I trust your expertise on this topic and will accept your
descision to hold it back if you think it's necessary to have
fheroes2-data created/packaged first.




Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Fri, 02 Jul 2021 09:12:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Andrew Tropin <andrew <at> trop.in>
Cc: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49284 <at> debbugs.gnu.org
Subject: Re: [bug#49284] [PATCH] gnu: Add fheroes2
Date: Fri, 02 Jul 2021 11:11:07 +0200
Hello,

Andrew Tropin <andrew <at> trop.in> writes:

> Leo Prikler <leo.prikler <at> student.tugraz.at> writes:

>> Without a package providing those assets, this is still pretty much
>> "here, go seek out this nonfree software thingy for assets".  This is
>> not to say, that we can never ever ship fheroes2, but I'd personally
>> hold back on it until we can package some fheroes2-data to make it
>> useful without requiring people seek out these assets.
>>
>> This is just my own opinion however, and it's certainly not reflected
>> all over guix source.  For instance, both oshu and stepmania require
>> beatmaps and stepfiles respectively to be useful and ship without them
>> while most of what you'll find online will be somewhat dubious in terms
>> of copyright.  However, both also offer the tools to create those using
>> your own (hopefully GPL-compatible) album collection, so it's not a big
>> problem.  I don't think fheroes2 has that low of an entry barrier to
>> full playability, does it?
>
> Y, probably it's not easy to find free assets.  Still can be useful for
> people, who already have a CD with the original game, but do not want to
> use unfree software or even for people, who would buy it to get resource
> from it.
>
> Feels kinda on the edge:
> On the one hand it can nudge someone to buy or obtain a bundle with
> unfree software inside to extract resources from it.  On the other hand
> it helps not to use unfree software.
>
> I think it's more towards steering people from unfree to free software,
> but I can be wrong.
>
> Anyway, I trust your expertise on this topic and will accept your
> descision to hold it back if you think it's necessary to have
> fheroes2-data created/packaged first.

I agree that's it is already very easy to play this game without the
package: it has platinum support on Wine. Therefore, I don't think
adding it to Guix would force people to use non-free software.

I don't think developers of this engine created it just to play this
game, either. It is first and foremost an opportunity to learn, and to
share knowledge. As such, it belongs to Guix, IMO.

More pragmatically, it is free, and it requires little maintenance. I'm
in favor of including it.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Wed, 08 Sep 2021 09:35:02 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: 49284 <at> debbugs.gnu.org
Cc: Leo Prikler <leo.prikler <at> student.tugraz.at>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: [PATCH v3] gnu: Add fheroes2
Date: Wed, 08 Sep 2021 12:34:21 +0300
[Message part 1 (text/plain, inline)]
Updated to 0.9.7.

[v3-0001-gnu-Add-fheroes2.patch (text/x-patch, inline)]
From eca57a5dfb8327df9cc6dacee5db5d2693b43fa2 Mon Sep 17 00:00:00 2001
From: Andrew Tropin <andrew <at> trop.in>
Date: Wed, 30 Jun 2021 13:17:21 +0300
Subject: [PATCH v3] gnu: Add fheroes2

* gnu/packages/games.scm (fheroes2): New variable.
---
 gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 79754d3185..8ad02be794 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -12470,3 +12470,34 @@ 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.7")
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #: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
+                "0v3zh8a8yxfikcr5vkmy36c57l4nmwisz13mjavn5f7yrirf86fn"))))
+    (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.  Requires assets/game resources to play, @file{fheroes2}
+is looking for them at @file{~/.local/share/fheroes2} folder.")
+    (license license:gpl2)))
-- 
2.33.0

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

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Mon, 13 Sep 2021 20:26:01 GMT) Full text and rfc822 format available.

Notification sent to Andrew Tropin <andrew <at> trop.in>:
bug acknowledged by developer. (Mon, 13 Sep 2021 20:26:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Andrew Tropin <andrew <at> trop.in>
Cc: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49284-done <at> debbugs.gnu.org
Subject: Re: [bug#49284] [PATCH v3] gnu: Add fheroes2
Date: Mon, 13 Sep 2021 22:25:41 +0200
Hello,

Andrew Tropin <andrew <at> trop.in> writes:

> * gnu/packages/games.scm (fheroes2): New variable.

Applied. Thank you.

I slightly reworded description field so it would contain full
sentences.

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#49284; Package guix-patches. (Tue, 14 Sep 2021 06:28:01 GMT) Full text and rfc822 format available.

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

From: Andrew Tropin <andrew <at> trop.in>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: Leo Prikler <leo.prikler <at> student.tugraz.at>, 49284-done <at> debbugs.gnu.org
Subject: Re: [bug#49284] [PATCH v3] gnu: Add fheroes2
Date: Tue, 14 Sep 2021 09:27:41 +0300
[Message part 1 (text/plain, inline)]
On 2021-09-13 22:25, Nicolas Goaziou wrote:

> Hello,
>
> Andrew Tropin <andrew <at> trop.in> writes:
>
>> * gnu/packages/games.scm (fheroes2): New variable.
>
> Applied. Thank you.
>
> I slightly reworded description field so it would contain full
> sentences.
>

Thank you!)

> 
> Regards,
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 Oct 2021 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 189 days ago.

Previous Next


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