[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/142: gnu: gdk-pixbuf: Add a search path for the loaders cache file.
From: |
guix-commits |
Subject: |
139/142: gnu: gdk-pixbuf: Add a search path for the loaders cache file. |
Date: |
Wed, 20 Oct 2021 14:57:04 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit eb6cc4fa2705044e3d6f01e8d6072d9bdd05f548
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Oct 2 22:35:05 2021 -0400
gnu: gdk-pixbuf: Add a search path for the loaders cache file.
Fixes <https://issues.guix.gnu.org/50957>.
The previous commit added a profile hook to compute a gdk-pixbuf loaders
cache
file. This change enables gdk-pixbuf to make use of it.
* gnu/packages/gtk.scm (gdk-pixbuf)[native-search-paths]: Add a search path
specification to set the GDK_PIXBUF_MODULE_FILE environment variable.
---
gnu/packages/gtk.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 529e301..dc960a4 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -52,6 +52,8 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix build utils) #:select (alist-replace))
+ #:use-module ((guix build glib-or-gtk-build-system)
+ #:select (%gdk-pixbuf-loaders-cache-file))
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
@@ -697,6 +699,14 @@ highlighting and other features typical of a source code
editor.")
("perl" ,perl)
("pkg-config" ,pkg-config)
("xsltproc" ,libxslt)))
+ (native-search-paths
+ ;; This file is produced by the gdk-pixbuf-loaders-cache-file
+ ;; profile hook.
+ (list (search-path-specification
+ (variable "GDK_PIXBUF_MODULE_FILE")
+ (files (list %gdk-pixbuf-loaders-cache-file))
+ (separator #f) ;single valued
+ (file-type 'regular))))
(synopsis "Image loading library")
(description "GdkPixbuf is a library that loads image data in various
formats and stores it as linear buffers in memory. The buffers can then be
- 89/142: aux-files: sitecustomize: Cleanup and add explanatory comments., (continued)
- 89/142: aux-files: sitecustomize: Cleanup and add explanatory comments., guix-commits, 2021/10/20
- 94/142: gnu: fontconfig: Add a search path for XDG_DATA_DIRS., guix-commits, 2021/10/20
- 91/142: gnu: rust: Bootstrap rust from 1.39.0 and optimize build time., guix-commits, 2021/10/20
- 116/142: gnu: mesa: Update to 21.2.4., guix-commits, 2021/10/20
- 109/142: gnu: json-glib-minimal: Introduce minimal variant., guix-commits, 2021/10/20
- 119/142: gnu: openssl: Absorb 1.1.1l graft., guix-commits, 2021/10/20
- 132/142: gnu: webkitgtk: Add a debug output., guix-commits, 2021/10/20
- 21/142: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/10/20
- 53/142: gnu: googletest: Update to 1.11.0., guix-commits, 2021/10/20
- 114/142: gnu: rest: Use libsoup-minimal., guix-commits, 2021/10/20
- 139/142: gnu: gdk-pixbuf: Add a search path for the loaders cache file.,
guix-commits <=
- 130/142: gnu: webkitgtk: Update to 2.34.0., guix-commits, 2021/10/20
- 129/142: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/10/20
- 135/142: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/10/20
- 43/142: gnu: zxing-cpp: Update to 1.2.0., guix-commits, 2021/10/20
- 62/142: gnu: gst-plugins-good: Update to 1.18.5., guix-commits, 2021/10/20
- 137/142: build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase., guix-commits, 2021/10/20
- 98/142: gnu: Add python-tomli., guix-commits, 2021/10/20
- 86/142: gnu: gdb: Patch references to /bin/sh and add debug output., guix-commits, 2021/10/20
- 93/142: gnu: Build all Rust packages using the latest rustc., guix-commits, 2021/10/20
- 133/142: gnu: python-flit: Update to 3.3.0., guix-commits, 2021/10/20