From: John Darrington <jmd@gnu.org>
To: guix-devel@gnu.org
Cc: John Darrington <jmd@gnu.org>
Subject: [PATCH] gnu: Add gegl and gimp
Date: Thu, 3 Jul 2014 11:38:49 +0200 [thread overview]
Message-ID: <1404380329-3120-1-git-send-email-jmd@gnu.org> (raw)
* gnu/packages/gimp.scm (gegl, gimp): New variables.
---
gnu/packages/gimp.scm | 82 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index 33c3887..0fd54ba 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -60,3 +60,85 @@ representations, color models and component permutations.
A vocabulary to formulate new pixel formats from existing primitives is
provided as well as the framework to add new color models and data types.")
(license license:lgpl3+)))
+
+(define-public gegl
+ (package
+ (name "gegl")
+ (version "0.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (list (string-append "http://download.gimp.org/pub/gegl/"
+ (string-take version 3)
+ "/" name "-" version ".tar.bz2")))
+ (sha256
+ (base32
+ "09nlv06li9nrn74ifpm7223mxpg0s7cii702z72cpbwrjh6nlbnz"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (alist-cons-before
+ 'build 'pre-build
+ (lambda _
+ ;; This test program seems to crash on exit. Specifically, whilst
+ ;; g_object_unreffing bufferA and bufferB - This seems to be a bug in
+ ;; the destructor. This is just a test program so will not have any
+ ;; wider effect, although might be hiding another problem. The
+ ;; developers view is: "No released version is expected to be
+ ;; stable. Use the version from git" Go figure!!
+ (substitute* "tools/img_cmp.c"
+ (("g_object_unref \\(buffer.\\);") ""))
+
+ (substitute* "tests/compositions/Makefile"
+ (("/bin/sh") (which "bash"))))
+ %standard-phases)))
+ (inputs
+ `(("babl" ,babl)
+ ("glib" ,glib)
+ ("cairo" ,cairo)
+ ("pango" ,pango)
+ ("libpng" ,libpng)
+ ("libjpeg" ,libjpeg-8)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("intltool" ,intltool)))
+ (home-page "http://gegl.org")
+ (synopsis "Graph based image processing framework")
+ (description "GEGL (Generic Graphics Library) provides infrastructure to
+do demand based cached non destructive image editing on larger than RAM
+buffers.")
+ ;; The library itself is licensed under LGPL while the sample commandline
+ ;; application and GUI binary gegl is licensed under GPL.
+ (license (list license:lgpl3+ license:gpl3+))))
+
+(define-public gimp
+ (package
+ (name "gimp")
+ (version "2.8.10")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://download.gimp.org/pub/gimp/v2.8/gimp-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "1rha8yx0pplfjziqczjrxxp16vsvpmb5ziq3c218s4w9z4cqpzg7"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ `("--disable-python" ))) ; We don't have pygtk which seems to be needed for this feature
+ (inputs
+ `(("babl" ,babl)
+ ("glib" ,glib)
+ ("libtiff" ,libtiff)
+ ("libjpeg" ,libjpeg-8)
+ ("atk" ,atk)
+ ("gtk+" ,gtk+-2)
+ ("gegl" ,gegl)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("intltool" ,intltool)))
+ (home-page "http://gimp.org")
+ (synopsis "Image manipulation program.")
+ (description "GIMP is the GNU Image Manipulation Program. It is a freely
+distributed piece of software for such tasks as photo retouching, image
+composition and image authoring.")
+ (license license:gpl3+))) ; Some files are LGPLv3+
--
1.7.10.4
next reply other threads:[~2014-07-03 9:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 9:38 John Darrington [this message]
2014-07-03 17:18 ` [PATCH] gnu: Add gegl and gimp Ludovic Courtès
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=1404380329-3120-1-git-send-email-jmd@gnu.org \
--to=jmd@gnu.org \
--cc=guix-devel@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).