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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Andrew Tropin <andrew@HIDDEN>; Keywords: patch; dated Wed, 30 Jun 2021 05:50:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 49284 <at> debbugs.gnu.org:


Received: (at 49284) by debbugs.gnu.org; 30 Jun 2021 11:22:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 07:22:47 2021
Received: from localhost ([127.0.0.1]:56566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyYIp-0002W8-1c
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 07:22:47 -0400
Received: from mail-lf1-f46.google.com ([209.85.167.46]:40502)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1lyYIm-0002Vv-8X
 for 49284 <at> debbugs.gnu.org; Wed, 30 Jun 2021 07:22:45 -0400
Received: by mail-lf1-f46.google.com with SMTP id q18so4419942lfc.7
 for <49284 <at> debbugs.gnu.org>; Wed, 30 Jun 2021 04:22:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=trop-in.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
 bh=WaQgycx75BGHIuZzT/UTzvmPwsYNpU29BGDTO/4OaQg=;
 b=PC/9Eh4TleQkooBBiWM+OV7Tzi6ZCNeX1dz3mc/H5OTbU1MAjH+bYCGiUT56TNF9zm
 JfIvf+u2bRFMD9fw/QhxyMjg0XFPTF3QYDYpUdZL7n+qw+RYcJm9MBmh78YWfH5PWVrc
 bBEzdRjKQFt6SvqLxwCgChpuRx6fIjQCyOuL5aoztqnSCZ6DdcWwRkNqSzJgmzHHvcJv
 MNRyS4frvhb9knYAE45QFx2ZeP5pdOo7FGFJS8igHE081ZZR1j69fTnEZlnu8HybrDCT
 gJNvKgX9XXlk5tr/nVltdFWjB/DJjwOjl/H7IUsUWv9/iqX5m0Mwwv2LxKspBlhXBgne
 TimA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=WaQgycx75BGHIuZzT/UTzvmPwsYNpU29BGDTO/4OaQg=;
 b=Lrvg6oAtKXVNie8XHoqKrFJsXAOLC2j0CmJbDfuXsV2/ctgTgtDKeEvRGaNPwEC7nZ
 cLx/jmeHBM/kWUrSF5YPCDGP6TaHiZc+hoecrBuNXmqcCKO+MGa6Uub8KLSz4FD4PDeu
 JnhHnKUjvBvKxL/3DcCm1BKuf6JK6Du6hPBa73vrQQfVf3xYRSgoX+kT9cDnTEEljQSE
 FykIR7l+073qMBRnNr6xJIzhhMHVvkgl6aVhB1F7qU3C51Jop1u5jqnzNFfri0nfbIcW
 r1hegXYCWICw5wGCgJClGv68rhMzncZm5FZURrP70Zce8olrI9EC6/Jv/wzpXDpIbBxu
 coGA==
X-Gm-Message-State: AOAM5332f8w3wGROaQWlwtybP6y6fBfsy3LAPqGX0qgqPxw2kDdndH2o
 1dWe6Q0+EYzQpxiZcAxueACcd5/z8qOudQ==
X-Google-Smtp-Source: ABdhPJzD4iEp5hyIxlq8IxWHclaYsVeB1/cBO7DEZwyh6z4Ubk0clKYgfg1Fnz8tdGBDaNAZfiB+8A==
X-Received: by 2002:ac2:4208:: with SMTP id y8mr24172087lfh.27.1625052157784; 
 Wed, 30 Jun 2021 04:22:37 -0700 (PDT)
Received: from ixy (109-252-117-164.nat.spd-mgts.ru. [109.252.117.164])
 by smtp.gmail.com with ESMTPSA id u19sm1415561ljg.29.2021.06.30.04.22.36
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 30 Jun 2021 04:22:37 -0700 (PDT)
From: Andrew Tropin <andrew@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>, 49284 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add fheroes2
In-Reply-To: <cbbb0df6c5d8b3a40c97c65347eab7c26d09a796.camel@HIDDEN>
References: <871r8jvekq.fsf@HIDDEN>
 <cbbb0df6c5d8b3a40c97c65347eab7c26d09a796.camel@HIDDEN>
Date: Wed, 30 Jun 2021 14:22:33 +0300
Message-ID: <87pmw31ts6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Leo Prikler <leo.prikler@HIDDEN> writes:

> Am Mittwoch, den 30.06.2021, 13:20 +0300 schrieb Andrew Tropin:
>> Leo Prikler <leo.prikler@HIDDEN> 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@HIDDEN:
bug#49284; Package guix-patches. Full text available.

Message received at 49284 <at> debbugs.gnu.org:


Received: (at 49284) by debbugs.gnu.org; 30 Jun 2021 10:48:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 06:48:20 2021
Received: from localhost ([127.0.0.1]:56546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyXlT-0001ge-So
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 06:48:20 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:1409)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1lyXlP-0001gR-AU
 for 49284 <at> debbugs.gnu.org; Wed, 30 Jun 2021 06:48:19 -0400
Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at
 [62.116.34.49])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GFJ3J0dhwz1LZVs;
 Wed, 30 Jun 2021 12:48:12 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4GFJ3J0dhwz1LZVs
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1625050092;
 bh=2gCnyccYxLTHg+nAUEd7VfAYJbbBug/oz26uHCPg86M=;
 h=Subject:From:To:Date:In-Reply-To:References:From;
 b=o14OxVZQ9U+C88ytzA5gC+cMzj/780MV6VwGM5dlU3rZmRJ4ukMX1qtZ6a8PpMAot
 HVzu5iE/bDaVGtYTwTRin0MJoYq2/J+xR5UV6SxfKVNwvV0EEHyFNBSAjo5d6Zn7fr
 20pceegYjXzJEEr/bNt5luJA/dEpi2KvMcWM0Z0I=
Message-ID: <cbbb0df6c5d8b3a40c97c65347eab7c26d09a796.camel@HIDDEN>
Subject: Re: [PATCH] gnu: Add fheroes2
From: Leo Prikler <leo.prikler@HIDDEN>
To: Andrew Tropin <andrew@HIDDEN>, 49284 <at> debbugs.gnu.org
Date: Wed, 30 Jun 2021 12:48:11 +0200
In-Reply-To: <871r8jvekq.fsf@HIDDEN>
References: <871r8jvekq.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Am Mittwoch, den 30.06.2021, 13:20 +0300 schrieb Andrew Tropin:
> Leo Prikler <leo.prikler@HIDDEN> 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@HIDDEN:
bug#49284; Package guix-patches. Full text available.

Message received at 49284 <at> debbugs.gnu.org:


Received: (at 49284) by debbugs.gnu.org; 30 Jun 2021 10:20:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 06:20:48 2021
Received: from localhost ([127.0.0.1]:56519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyXKp-0000pZ-UY
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 06:20:48 -0400
Received: from mail-lf1-f44.google.com ([209.85.167.44]:35412)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1lyXKn-0000pK-OC
 for 49284 <at> debbugs.gnu.org; Wed, 30 Jun 2021 06:20:46 -0400
Received: by mail-lf1-f44.google.com with SMTP id u13so4177209lfk.2
 for <49284 <at> debbugs.gnu.org>; Wed, 30 Jun 2021 03:20:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=trop-in.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:in-reply-to:date:message-id:mime-version;
 bh=nkpAxNHgPdln6GTGyXTlzxO4DdmcI8rYkPpHVsjSRdM=;
 b=1vy3Uruh81+iOuuGbM2OpcLcSdD6Q3rCLlxAguMOeofarS7jBd7oPKUnKyMWxJMjX0
 8E9nlash0hgiXm1HvYSog/V1+UjQXcV+x4aIAUjRgy5U84/2u2AriCPWq6NH5cQq/Y5c
 PcyXQij93/pSg5WS0rdbjUQRhZOE+cJSmpac7NZ+1FvQ/0zov/lRF9ztlutd98AUnG/R
 7ctyNIJy/mPeORw/DB8xRcwqrXZd7+/T6U8zlpE2v5Rq1kHG+ueeg38ONEgvxvrXALs/
 coP6MBLgdnrSX6opjfcQU3GZeNwOc2PSTXTSmZbM/ZoTgSmKZCQdIaofkI+4nOrWyWM0
 X0SA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:date:message-id
 :mime-version;
 bh=nkpAxNHgPdln6GTGyXTlzxO4DdmcI8rYkPpHVsjSRdM=;
 b=DQqyOr8h/EAgTWq0sQTKwuZPKcsQ8PE9Gk+CI0IjJMUgrYSDbjNuxQb7/8zZJTnCvD
 qahYsVMwh2wHSwyCWoVcn7m+MtOUxNGgD7zJjrutjjo92QFIuikK1db7UWbEhju/v+wi
 59PBJfP2UFRSGY/BzJIo9SZEq0uxA0c5qcnPqEA/i5/rG2DGPkcvwXe9ifbxKuyxuTOb
 Lr0D2SRIDxT69Dz03zmgj6RC/iXGp+W3/4PyFUNWsh+t9vz0CVBSlfWIBIVXQ8WXBHdF
 E43D2SBx2GocTq6T9/1vIdckqlVY7EM1YsSxBR80Y5uO3SCUKmQRdmNdRzt0CnCekS7I
 SuvQ==
X-Gm-Message-State: AOAM5329/NDjysVJhzaieIbxMaO2IdBsrp6WjCWEuXAparL7Ohn/WlB4
 98Vy5fyaNgzcLE1Xp3Ii8TTJP2xu/Pv5fw==
X-Google-Smtp-Source: ABdhPJwgnrQwB0JNOemqWD6Hsvb095gOn/N17UBdNM6I7tVp1F5p0dAmL9xzVgtbWZcg7Q0otgmE0g==
X-Received: by 2002:ac2:420e:: with SMTP id y14mr26856854lfh.542.1625048439777; 
 Wed, 30 Jun 2021 03:20:39 -0700 (PDT)
Received: from ixy (109-252-117-164.nat.spd-mgts.ru. [109.252.117.164])
 by smtp.gmail.com with ESMTPSA id w3sm478289ljo.36.2021.06.30.03.20.38
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 30 Jun 2021 03:20:39 -0700 (PDT)
From: Andrew Tropin <andrew@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>, 49284 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add fheroes2
In-Reply-To: <215bf43c7f10fbca3dfe08f5b10c176662cd4798.camel@HIDDEN>
Date: Wed, 30 Jun 2021 13:20:37 +0300
Message-ID: <871r8jvekq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Leo Prikler <leo.prikler@HIDDEN> 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(+)
>>=20
>> 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=3D1"
>> +                      "RELEASE=3D1")))
>> +    (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.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmDcRXUPHGFuZHJld0B0
cm9wLmluAAoJECII0glYwd6wfKUP/AxWoHVDDmWcLA+5NUqKbNvmFuUQ8GAtrK0a
hMHgih+6kQCPtyc4b5h6xcS7YbvfiCXEMbGes9RIHwVwmmB/SbAdDUvrtSMy9T1I
9+ckareSWVMMY+3NnDrg71YNj8VLa/rAVBPIPpsGi7y/mob9f9OF0O6nJMh3AaPk
3+7Ei6aSo3D+HCBn9p9PCFJMT/WoD6Qz3TfbXSyOaI5nNEJTdSgPs715PzHVwLdo
bg3XhMPO6vryp9ZBJLcfK9Hg40hdx74+WLgy84vi2Oufid5euFQvj0r04nTslEA2
TIB5BI8ZOm4YVNjIIMZi3TGWalfiRfEvdum9a9viRMjOnLECl9GxyQy5OKe1wepr
K/xAQV2MmNTlEdCSfMj7mNwKX4nKqwgN/L+DrPeey2QU1l6CwmBs9QPe8318myHg
WVs6t/sZdwUft9UDaCVkE0k+bhjv8kaQcjjPSmsoPPj2ktfdHPS/w5JYgYytGwBa
AdJnMWhzSUSpPAOGAgB7uR6RORXkeaquB92TYRxNlKdBx6SrXmPg/0ChTNX1bFrV
oNa8BRZiIqlNenj1/d+mKiDJ3N0HwB8mmYF+E+JdI9rsxLA2WhdgOAT+WTBY91+r
3jBTEWlubPTVy/N7NKocDHF41hZO4W/CUqMPaLFEXs5gIlrltH44THg2koOm5cwU
Qh2hG57T
=k0tx
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#49284; Package guix-patches. Full text available.

Message received at 49284 <at> debbugs.gnu.org:


Received: (at 49284) by debbugs.gnu.org; 30 Jun 2021 10:17:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 06:17:33 2021
Received: from localhost ([127.0.0.1]:56510 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyXHh-0000jz-6X
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 06:17:33 -0400
Received: from mail-lf1-f54.google.com ([209.85.167.54]:37577)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1lyXHf-0000jm-06
 for 49284 <at> debbugs.gnu.org; Wed, 30 Jun 2021 06:17:31 -0400
Received: by mail-lf1-f54.google.com with SMTP id q16so4138895lfr.4
 for <49284 <at> debbugs.gnu.org>; Wed, 30 Jun 2021 03:17:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=trop-in.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
 bh=ioxaD7Sgj4wcsJfCVBPqFRrKQIlHdFLFXztYkK+7dVE=;
 b=UnDPOw/ue0YrqtkIAgkeShknvG4vXJgZQrWVRV720l/Oo8IJFGVxD7l2X3ueIjYsSu
 zm0Dj/0jnNrSzbaZb5G4fbMUHsLiD2dewYSwDyK7bkOJ718zewwc8qrey5LVQrfPOjbu
 ADSd8LD+OgDsmaIw+SJREFdl4T+cYq7LNUp35FU1sPYZ24yGxZrp7q9xLc4GCoSmEIod
 pYJDlN1yrRSxyJJ7ECmBkFTYI3Gmzcz58AzfP4FYTiNuKK/znI+hJpGOXonBQHCgWyFO
 z19jxlXTsXt5S0wUp4D5uQhkq4oXwtYReqIdeA3k2kn9L/i2KttOgbz1kowc+kVi1f6M
 Mnow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=ioxaD7Sgj4wcsJfCVBPqFRrKQIlHdFLFXztYkK+7dVE=;
 b=q6dA+69q15mEtqRPD23XfMMO8/z5+NnZGLeBu5mLDa6AYxcwiU81P+3QNmZu9DsGSc
 xEyqPiKCRSOhQpGK+j+dzY2uEB6sspQgPOivzD9FSSVmQF5QEMHGpXVKgQNH687GtnqO
 g9heIJPwKjIuDvPcb5p9dxHJ+0BGlALRIYn58zWR8b+7FD4hlgHqnMjE/x+UvGsjl0tL
 Y0QX+8FZ1pcxmLAaQk3FEumbEiLii+z3+tMcKHhJxsA7JH+61elifIki8jfX0Gx+FHkB
 +LiUmaqeUK6Jp2JtWfT1m7o9k3etoMluUFpNcek/AwHwwdGjUgZLzRiJK0cqAenZGYeH
 cgRA==
X-Gm-Message-State: AOAM532nHFrHHsOnNLfGuMxMeoWouCOw/RbRmkhtVbJEfNVc39h/s5rx
 ZoNwa7jFpGjXIMIoOeYhYwTlJt/gV3DDOA==
X-Google-Smtp-Source: ABdhPJzOnQylkXdY+YTbM4cOF+2ffld+VRPVwoFSG8ZNsQoYR/DArZudaHECgIh8nlNQ6vDpdzeLEA==
X-Received: by 2002:ac2:5de2:: with SMTP id z2mr26256064lfq.383.1625048244480; 
 Wed, 30 Jun 2021 03:17:24 -0700 (PDT)
Received: from ixy (109-252-117-164.nat.spd-mgts.ru. [109.252.117.164])
 by smtp.gmail.com with ESMTPSA id r18sm2149490ljp.76.2021.06.30.03.17.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 30 Jun 2021 03:17:23 -0700 (PDT)
From: Andrew Tropin <andrew@HIDDEN>
To: Leo Prikler <leo.prikler@HIDDEN>, 49284 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add fheroes2
In-Reply-To: <215bf43c7f10fbca3dfe08f5b10c176662cd4798.camel@HIDDEN>
References: <87h7hf52c7.fsf@HIDDEN>
 <215bf43c7f10fbca3dfe08f5b10c176662cd4798.camel@HIDDEN>
Date: Wed, 30 Jun 2021 13:17:21 +0300
Message-ID: <8735szveq6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 49284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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@HIDDEN:
bug#49284; Package guix-patches. Full text available.

Message received at 49284 <at> debbugs.gnu.org:


Received: (at 49284) by debbugs.gnu.org; 30 Jun 2021 09:03:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 05:03:51 2021
Received: from localhost ([127.0.0.1]:56422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyW8N-0007G5-6e
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 05:03:51 -0400
Received: from mailrelay.tugraz.at ([129.27.2.202]:59823)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo.prikler@HIDDEN>) id 1lyW8K-0007Fw-Tx
 for 49284 <at> debbugs.gnu.org; Wed, 30 Jun 2021 05:03:50 -0400
Received: from nijino.local (62-116-34-49.adsl.highway.telekom.at
 [62.116.34.49])
 by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GFFkp1RmYz3wGM;
 Wed, 30 Jun 2021 11:03:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at;
 s=mailrelay; t=1625043826;
 bh=0+CXO7n4wcyJyelFucOYUBF+m8gMronEXhX94rPpWFY=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=DKnIrBOaQUWDEO7Agg68oNYmYYtgOTUMDYurdCMYOCfUGBWzF7W9eGXH+bXaZIBdU
 wXkX2MKS59oe6DerPrkDu5i/+Ssai911VtqQI0Vgd2sBo4AjUqcEshjFoWLuWrSSEV
 zUz3vXwbNMG632iiQ5UfCbAK86RFxf5jL41bPmUk=
Message-ID: <215bf43c7f10fbca3dfe08f5b10c176662cd4798.camel@HIDDEN>
Subject: Re: [PATCH] gnu: Add fheroes2
From: Leo Prikler <leo.prikler@HIDDEN>
To: Andrew Tropin <andrew@HIDDEN>, 49284 <at> debbugs.gnu.org
Date: Wed, 30 Jun 2021 11:03:45 +0200
In-Reply-To: <87h7hf52c7.fsf@HIDDEN>
References: <87h7hf52c7.fsf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw
X-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 49284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

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@HIDDEN:
bug#49284; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Jun 2021 05:49:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 30 01:49:35 2021
Received: from localhost ([127.0.0.1]:56279 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lyT6N-0002WJ-BS
	for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 01:49:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:59476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1lyT6M-0002WC-Jy
 for submit <at> debbugs.gnu.org; Wed, 30 Jun 2021 01:49:35 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53624)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andrew@HIDDEN>) id 1lyT6M-0007mv-Ba
 for guix-patches@HIDDEN; Wed, 30 Jun 2021 01:49:34 -0400
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:37780)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <andrew@HIDDEN>) id 1lyT6K-0005Fz-ID
 for guix-patches@HIDDEN; Wed, 30 Jun 2021 01:49:34 -0400
Received: by mail-lf1-x130.google.com with SMTP id q16so2876395lfr.4
 for <guix-patches@HIDDEN>; Tue, 29 Jun 2021 22:49:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=trop-in.20150623.gappssmtp.com; s=20150623;
 h=from:to:subject:date:message-id:mime-version;
 bh=p+xjTm6XJJYikucCBvImuSiESKKrP/gtumYn375+xYE=;
 b=rWEUL4c6jFyznKhUWNlExNKaTliqfP3F4DKiYiWUqEmp0h+25o1B29fs+LEpw+Cvq4
 KAr8Sz3Pa533MSh9tffdrjnd5wVigV82CpaJAxhUl+06T0TNp+zOd76BIcsreZDCp9v7
 lqXJQkcHOxp32blnLTMEh9mneOMvcR9o2Q54rtiuVTnxxnHWCNX4YkDL1YluXG1jbqHm
 1E4/JSQ30Pp4eb8SLJylmNilbc8UFjaIoex/utE8yLsFxG+RKQAOcJ4RcWGgK2M4Oaqp
 epz0+BMAe7BDt6WudCaGn5N3YjgPce5NyCXo9w8Gqdzz9TlHH1CPHqH+9JnM4knfd7DB
 kuxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=p+xjTm6XJJYikucCBvImuSiESKKrP/gtumYn375+xYE=;
 b=KjpO2gkpJXhkABfF94O5cRbDsAn+e+5aWCaLgGcmvcO5TX1f1Af70FnHpbRDHTGJpj
 gVXkRtwMcDUHwg+qHzwVXCejTBY1YypNHsZaKWHjdpjUQVRcZxpQBs7kd7U0T63AO2zL
 EWbGc5KPpAXffiMFQNtYi3cuHyaOUyNWyJJVx3ldCvdEW95khHu0IE4/AFoVSlzFbZYR
 bHur4BRjIMW9TAwSl1QhUZpq36I/JrrnSwvm7ksSTKFpuoo+0tYI0pFJWCGFl8FXM4IT
 mdTd8qaLcHRfNOUBbtFVxBcmGD+bQtb+yib5jkaB2m8dh8tWCOFavlGDxejzvlmJF/VJ
 bjLA==
X-Gm-Message-State: AOAM5331Xu/0sBLAaiKUX8v2WOEReJmBR7Qg9gqkC/3Jy2bjKYt65n+W
 /FY/UEzVG2ZDjS6pDTXPe28pHu7mcDoVtw==
X-Google-Smtp-Source: ABdhPJxDhI74MI0FJ0J71WylNNuXQwT0iOKSPl1n9RXBZ/zGUPFg0LdaXFL5iBOC3bn9BaKIyhNUrQ==
X-Received: by 2002:ac2:4107:: with SMTP id b7mr2390357lfi.609.1625032170492; 
 Tue, 29 Jun 2021 22:49:30 -0700 (PDT)
Received: from ixy (109-252-117-164.nat.spd-mgts.ru. [109.252.117.164])
 by smtp.gmail.com with ESMTPSA id i130sm1815396lfd.304.2021.06.29.22.49.29
 for <guix-patches@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 29 Jun 2021 22:49:29 -0700 (PDT)
From: Andrew Tropin <andrew@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add fheroes2
Date: Wed, 30 Jun 2021 08:49:28 +0300
Message-ID: <87h7hf52c7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: none client-ip=2a00:1450:4864:20::130;
 envelope-from=andrew@HIDDEN; helo=mail-lf1-x130.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

* 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






Acknowledgement sent to Andrew Tropin <andrew@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#49284; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 30 Jun 2021 11:30:02 UTC

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