all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26269: [PATCH] gnu: Add grafx2.
@ 2017-03-27  0:34 Thompson, David
  2017-03-27  9:00 ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Thompson, David @ 2017-03-27  0:34 UTC (permalink / raw)
  To: 26269

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

Haven't contributed in awhile.  Here's a package recipe for a cool
little pixel art editor.

- Dave

[-- Attachment #2: 0001-gnu-Add-grafx2.patch --]
[-- Type: text/x-patch, Size: 2986 bytes --]

From 1a3c396908e2010938501a707badd5c098a0c41c Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Sun, 26 Mar 2017 20:00:42 -0400
Subject: [PATCH] gnu: Add grafx2.

* gnu/packages/game-development.scm (grafx2): New variable.
---
 gnu/packages/game-development.scm | 45 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 6525f94..482389f 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
-;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org>
+;;; Copyright © 2015, 2016, 2017 David Thompson <davet@gnu.org>
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017 Kei Kebreau <kei@openmailbox.org>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
@@ -676,3 +676,46 @@ to create fully featured games and multimedia programs in the python language.")
 
 (define-public python2-pygame
   (package-with-python2 python-pygame))
+
+(define-public grafx2
+  (package
+    (name "grafx2")
+    (version "2.4")
+    (source (origin
+              (method url-fetch)
+              ;; XXX: There is no URL that contains the version. :(
+              (uri "http://pulkomandy.tk/projects/GrafX2/downloads/21")
+              (sha256
+               (base32
+                "0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure) ; no configure script
+         (add-before 'build 'change-to-src-directory
+           (lambda _
+             (chdir "src")
+             #t)))
+       #:make-flags
+       ;; SDL header files are referenced without the preceeding "SDL/".
+       (list (string-append "CFLAGS=-I"
+                            (assoc-ref %build-inputs "sdl-union")
+                            "/include/SDL")
+             (string-append "prefix="
+                            (assoc-ref %outputs "out")))
+       #:tests? #f)) ; no check target
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libpng" ,libpng)
+       ("lua" ,lua-5.1)
+       ("sdl-union" ,(sdl-union (list sdl sdl-image sdl-ttf)))))
+    (synopsis "Bitmap paint program")
+    (description "GrafX2 is a bitmap paint program inspired by the Amiga
+programs ​Deluxe Paint and Brilliance.  Specializing in 256-color drawing, it
+includes a very large number of tools and effects that make it particularly
+suitable for pixel art, game graphics, and generally any detailed graphics
+painted with a mouse. ")
+    (home-page "http://pulkomandy.tk/projects/GrafX2")
+    (license license:gpl2))) ; GPLv2 only
-- 
2.10.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26269: [PATCH] gnu: Add grafx2.
  2017-03-27  0:34 bug#26269: [PATCH] gnu: Add grafx2 Thompson, David
@ 2017-03-27  9:00 ` Alex Kost
  2017-03-27 23:32   ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2017-03-27  9:00 UTC (permalink / raw)
  To: Thompson, David; +Cc: 26269

Thompson, David (2017-03-26 20:34 -0400) wrote:

[...]
> +    (synopsis "Bitmap paint program")
> +    (description "GrafX2 is a bitmap paint program inspired by the Amiga
> +programs ​Deluxe Paint and Brilliance.  Specializing in 256-color drawing, it
> +includes a very large number of tools and effects that make it particularly
> +suitable for pixel art, game graphics, and generally any detailed graphics
> +painted with a mouse. ")
                        ^
Trailing space ;-)

> +    (home-page "http://pulkomandy.tk/projects/GrafX2")
> +    (license license:gpl2))) ; GPLv2 only

-- 
Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26269: [PATCH] gnu: Add grafx2.
  2017-03-27  9:00 ` Alex Kost
@ 2017-03-27 23:32   ` Tobias Geerinckx-Rice
  2017-03-27 23:38     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-03-27 23:32 UTC (permalink / raw)
  To: dthompson2; +Cc: 26269-done


[-- Attachment #1.1: Type: text/plain, Size: 844 bytes --]

David,

Thanks!

On 27/03/17 11:00, Alex Kost wrote:
> Thompson, David (2017-03-26 20:34 -0400) wrote:
> 
> [...]
>> +    (synopsis "Bitmap paint program")
>> +    (description "GrafX2 is a bitmap paint program inspired by the Amiga
>> +programs ​Deluxe Paint and Brilliance.  Specializing in 256-color drawing, it
>> +includes a very large number of tools and effects that make it particularly
>> +suitable for pixel art, game graphics, and generally any detailed graphics
>> +painted with a mouse. ")
>                         ^
> Trailing space ;-)

There was also an invisible ‘zero-width space’ before ‘Deluxe’. Exotic.

In case you, like me, are pretty new to this whole debbugs thing: you
can close bugs after pushing by e-mailing <###>-done@debbugs.gnu.org.
I'll do that now.

Kind regards,

T G-R


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26269: [PATCH] gnu: Add grafx2.
  2017-03-27 23:32   ` Tobias Geerinckx-Rice
@ 2017-03-27 23:38     ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-03-27 23:38 UTC (permalink / raw)
  To: dthompson2; +Cc: 26269-done


[-- Attachment #1.1: Type: text/plain, Size: 208 bytes --]

/That/ David,

On 28/03/17 01:32, Tobias Geerinckx-Rice wrote:
> In case you, like me, are pretty new to this whole debbugs thing:

Ahem. You're probably not. Never mind :-)

Kind regards,

T G-R


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-27 23:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-27  0:34 bug#26269: [PATCH] gnu: Add grafx2 Thompson, David
2017-03-27  9:00 ` Alex Kost
2017-03-27 23:32   ` Tobias Geerinckx-Rice
2017-03-27 23:38     ` Tobias Geerinckx-Rice

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.