unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54269] [PATCH]: gnu: Add web-pixbuf-loader.
@ 2022-03-06  5:33 Zhu Zihao
  2022-03-11 22:14 ` bug#54269: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Zhu Zihao @ 2022-03-06  5:33 UTC (permalink / raw)
  To: 54269


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



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-webp-pixbuf-loader.patch --]
[-- Type: text/x-patch, Size: 1680 bytes --]

From 5cd861b0cdfc0527f8b2676b46be7d5007fbf9af Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Sun, 6 Mar 2022 13:32:30 +0800
Subject: [PATCH] gnu: Add webp-pixbuf-loader.

* gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.
---
 gnu/packages/gtk.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 29302051c1..0abe22d637 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2893,3 +2893,29 @@ (define-public gromit-mpx
      "Gromit-MPX is an on-screen annotation tool that works with any
 Unix desktop environment under X11 as well as Wayland.")
     (license license:gpl2+)))
+
+(define-public webp-pixbuf-loader
+  (package
+    (name "webp-pixbuf-loader")
+    (version "0.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/aruiz/webp-pixbuf-loader")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1kshsz91mirjmnmv796nba1r8jg8a613anhgd38dhh2zmnladcwn"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list (string-append "-Dgdk_pixbuf_moduledir="
+                             #$output "/lib/gdk-pixbuf-2.0/2.10.0/loaders"))))
+    (inputs (list gdk-pixbuf glib gtk+ libwebp))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/aruiz/webp-pixbuf-loader")
+    (synopsis "WebP GdkPixbuf loader library")
+    (description "Webp-pixbuf-loader is a WebP format loader of GdkPixbuf.")
+    (license license:lgpl2.0+)))
-- 
2.34.0


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


-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

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

* bug#54269: [PATCH]: gnu: Add web-pixbuf-loader.
  2022-03-06  5:33 [bug#54269] [PATCH]: gnu: Add web-pixbuf-loader Zhu Zihao
@ 2022-03-11 22:14 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-03-11 22:14 UTC (permalink / raw)
  To: Zhu Zihao; +Cc: 54269-done

Hi,

Zhu Zihao <all_but_last@163.com> skribis:

>>From 5cd861b0cdfc0527f8b2676b46be7d5007fbf9af Mon Sep 17 00:00:00 2001
> From: Zhu Zihao <all_but_last@163.com>
> Date: Sun, 6 Mar 2022 13:32:30 +0800
> Subject: [PATCH] gnu: Add webp-pixbuf-loader.
>
> * gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.

Applied, thanks!

Ludo’.




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

end of thread, other threads:[~2022-03-11 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-06  5:33 [bug#54269] [PATCH]: gnu: Add web-pixbuf-loader Zhu Zihao
2022-03-11 22:14 ` bug#54269: " Ludovic Courtès

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).