[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46378] [PATCH] gnu: Add instead.
From: |
Leo Prikler |
Subject: |
[bug#46378] [PATCH] gnu: Add instead. |
Date: |
Mon, 08 Feb 2021 13:46:53 +0100 |
User-agent: |
Evolution 3.34.2 |
Hello,
Am Montag, den 08.02.2021, 02:23 -0500 schrieb Dmitry Polyakov:
> hope this work
Sadly it doesn't seem so, I can't seem to get the patch to apply. If
you don't have git send-email set up, you might want to simply send the
patch as an attachment instead.
> From b0693f72129958c7d9e18cd5efb5d83902dee8f3 Mon Sep 17 00:00:00
> 2001
> From: Dmitry Polyakov <liltechdude@gmail.com>
> Subject: [PATCH] gnu: Add instead.
>
> * gnu/local.mk (instead): New variable.
That's not the list of changes that have been made.
> --- a/gnu/packages/game-development.scm
> +++ b/gnu/packages/game-development.scm
> @@ -20,6 +20,7 @@
> ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
> ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
> ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
> +;;; Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1961,6 +1962,50 @@ all modern computing platforms. Each library
> component is fairly independent
> of the others")
> (license license:lgpl2.0+)))
>
> +(define-public instead
> + (package
> + (name "instead")
> + (version "3.3.2")
> + (build-system cmake-build-system)
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/instead-hub/instead")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> "014wfz5z5x72rhnakczpgfyw8s6bq510bxfmn4gv66jahkh4b65f"))
> + (patches
> + (search-patches
> + "instead-use-games-path.patch"))))
> + (arguments
> + '(#:configure-flags
> + (list (string-append
> + "-DLUA_INCLUDE_DIR="
> + (assoc-ref %build-inputs "luajit")
> "/include/luajit-2.1/")
> + "-DWITH_LUAJIT=1"
> + "-DWITH_GTK3=1")
> + #:tests? #f))
> + (native-inputs
> + `(("pkg-config" ,pkg-config)))
> + (inputs
> + `(("sdl2-images" ,sdl2-image)
> + ("sdl2-ttf" ,sdl2-ttf)
> + ("lua" ,lua)
> + ("sdl2-mixer" ,sdl2-mixer)
> + ("luajit" ,luajit)
> + ("gtk+",gtk+)))
> + (home-page "https://instead3.syscall.ru/")
> + (synopsis "Simple text adventure interpreter for Unix and
> Windows")
Shorten to "Text adventure interpreter".
> + (description "Simple text adventure interpreter for Unix and
> Windows.")
The description should be at least one full sentence. Also try not to
mention proprietary software ;)
> +From eba79afc957b9dc89cfd5c21434bd8ad5e0363bb Mon Sep 17 00:00:00
> 2001
> +From: Dmitry Polyakov <liltechdude@gmail.com>
> +Date: Wed, 3 Feb 2021 14:33:37 -0500
> +Subject: [PATCH] add custom gamedir support
Try to use a more descriptive commit message in this patch as well.
Regards,
Leo