gnu: fcft: Enable shaping support.

While utf8proc is an optional dependency, it is required for shaping
support. Without utf8proc, fcft_rasterize_text_run_utf32() is a no-op.
This is a popular function used—among other things—by yambar, foot,
fuzzel and fnott. Therefore, many other Linux distributions (Arch,
Debian, Fedora, …) enable this feature and I think it would be nice
to have in Guix as well.

* gnu/packages/fontutils.scm (fcft): Depend on utf8proc.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I7489dbc7a42ffcca509d090df7d2a6250bf996ff
This commit is contained in:
Sören Tempel 2024-01-17 20:50:58 +01:00 committed by Sharlatan Hellseher
parent 354de73fa4
commit 121bf9b296
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -19,6 +19,7 @@
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
;;; Copyright © 2024 Sören Tempel <soeren@soeren-tempel.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -73,6 +74,7 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages tex)
#:use-module (gnu packages textutils)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix gexp)
#:use-module (guix packages)
@ -1911,6 +1913,7 @@ maintain the Noto Fonts project.")
(list check pkg-config scdoc))
(propagated-inputs
(list ;; Required by fcft.pc.
utf8proc
fontconfig
freetype
harfbuzz