unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 61249@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#61249] [PATCH] gnu: Add gpaint
Date: Thu,  2 Feb 2023 23:18:49 -0800	[thread overview]
Message-ID: <20230203071849.26228-1-atai@atai.org> (raw)

* gnu/packages/graphics.scm (gpaint): New variable
---
 gnu/packages/graphics.scm | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index ebf571d93e..67a530fb9a 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2458,3 +2458,44 @@ (define-public f3d
 glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and texturing
 options.")
     (license license:bsd-3)))
+
+
+(define-public gpaint
+  (package
+    (name "gpaint")
+    (version "0.3.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://alpha.gnu.org/gnu/"
+                                  name
+                                  "/"
+                                  name
+                                  "-2-"
+                                  version
+                                  ".tar.gz"))
+              (sha256
+               (base32
+                "1syh5l5fnzk7cw77iykafn73fvmnc83kg815fa8vvj0h0r30c5sl"))))
+    (build-system gnu-build-system)
+    (inputs (list gtk+-2 libglade))
+    (native-inputs (list gettext-minimal
+                         `(,glib "bin") pkg-config))
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'remove-undefined-references
+                          (lambda _
+                            (substitute* "src/drawing.c"
+                              (("GTK_STOCK_DISCARD,GTK_RESPONSE_DISCARD")
+                               "GTK_STOCK_DISCARD,GTK_RESPONSE_NO"))
+                            (substitute* "src/menu.c"
+                              (("\\#include \"menu.h\"")
+                               "")))))))
+
+    (synopsis "imple paint program for GNOME")
+    (description
+     "GNU Paint is a simple, easy-to-use paint program for the GNOME
+environment.  It supports drawing freehand as well as basic shapes and text.
+It features cut-and-paste for irregular regions or polygons.")
+    (home-page "https://www.gnu.org/software/gpaint/")
+    (license license:gpl3+)))
+

base-commit: 92755c6352fd967bc74d8e5354aad057d779b717
prerequisite-patch-id: bb8c7a47211c532ef9531688f76236d9b99bb025
prerequisite-patch-id: 15c6ecae300ec3f57c971a9bec35ed8ff2a0a263
-- 
2.39.1





             reply	other threads:[~2023-02-03  7:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03  7:18 Andy Tai [this message]
2023-02-03 22:56 ` bug#61249: [PATCH] gnu: Add gpaint Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230203071849.26228-1-atai@atai.org \
    --to=atai@atai.org \
    --cc=61249@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).