guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

163/331: gnu: babl: Update package definition.


From: guix-commits
Subject: 163/331: gnu: babl: Update package definition.
Date: Fri, 14 Aug 2020 11:13:28 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 9eaedd99120603c211d39ecc038d36fc37f0d91c
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sat Jul 18 16:46:19 2020 -0400

    gnu: babl: Update package definition.
    
    * gnu/packages/gimp.scm (babl): Update package definition.
    [arguments]<#:glib-or-gtk?>: New argument.
    [native-inputs]: Add gobject-introspection, python-wrapper, ruby
    and vala.
    [inputs]: Add librsvg and w3m.
    [synopsis]: Modify.
    [description]: Modify.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/gimp.scm | 58 +++++++++++++++++++++++++++------------------------
 1 file changed, 31 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm
index c2fca07..f72cd27 100644
--- a/gnu/packages/gimp.scm
+++ b/gnu/packages/gimp.scm
@@ -45,6 +45,8 @@
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages w3m)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xorg))
 
@@ -52,39 +54,41 @@
   (package
     (name "babl")
     (version "0.1.78")
-    (source (origin
-              (method url-fetch)
-              (uri (list (string-append "https://download.gimp.org/pub/babl/";
-                                        (version-major+minor version)
-                                        "/babl-" version ".tar.xz")
-                         (string-append "https://ftp.gtk.org/pub/babl/";
-                                        (version-major+minor version)
-                                        "/babl-" version ".tar.xz")
-                         (string-append "ftp://ftp.gtk.org/pub/babl/";
-                                        (version-major+minor version)
-                                        "/babl-" version ".tar.xz")))
-              (sha256
-               (base32
-                "0fjjfb0pbgimlqi7rk8cqz8pq595b7gw8nrpkxfmixdz6cv4km8p"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (list
+         (string-append "https://download.gimp.org/pub/babl/";
+                        (version-major+minor version)
+                        "/babl-" version ".tar.xz")
+         (string-append "https://ftp.gtk.org/pub/babl/";
+                        (version-major+minor version)
+                        "/babl-" version ".tar.xz")
+         (string-append "ftp://ftp.gtk.org/pub/babl/";
+                        (version-major+minor version)
+                        "/babl-" version ".tar.xz")))
+       (sha256
+        (base32 "0fjjfb0pbgimlqi7rk8cqz8pq595b7gw8nrpkxfmixdz6cv4km8p"))))
     (build-system meson-build-system)
     (arguments
-     `(#:configure-flags
-       (list "-Denable-gir=false")))
+     `(#:glib-or-gtk? #t))   ; To wrap binaires and/or compile schemas
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("gobject-introspection" ,gobject-introspection)
+       ("pkg-config" ,pkg-config)
+       ("python" ,python-wrapper)
+       ("ruby" ,ruby)
+       ("vala" ,vala)))
+    (inputs
+     `(("rsvg-convert" ,librsvg)
+       ("w3m" ,w3m)))
     (propagated-inputs
-     ;; Propagated to satisfy ‘babl.pc’.
      `(("lcms" ,lcms)))
+    (synopsis "Pixel encoding and color space conversion engine in C")
+    (description "Babl is a pixel encoding and color space conversion engine,
+with format introspection, cached runtime self-benchmarking alternate and cpu
+specific code paths.")
     (home-page "http://gegl.org/babl/";)
-    (synopsis "Image pixel format conversion library")
-    (description
-     "Babl is a dynamic, any-to-any pixel format translation library.
-It allows converting between different methods of storing pixels, known as
-@dfn{pixel formats}, that have different bit depths and other data
-representations, color models, and component permutations.
-
-A vocabulary to formulate new pixel formats from existing primitives is
-provided, as well as a framework to add new color models and data types.")
     (license license:lgpl3+)))
 
 (define-public gegl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]