summaryrefslogtreecommitdiff
path: root/gnu/packages/fontutils.scm
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-03-10 16:35:57 +0000
committerGabriel Wicki <gabriel@erlikon.ch>2026-07-20 11:14:21 +0200
commit1df0928e02e44ede617a1bc729325d2c8007a4ca (patch)
tree4e14a764986f74ff080605b129fb589ba586f487 /gnu/packages/fontutils.scm
parentdc0990acb382141a50a842bd876e39b23c747d47 (diff)
gnu: graphite2: Use same linker settings for the Hurd as on Linux.
* gnu/packages/patches/graphite2-non-linux.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/fontutils.scm (graphite2): [#:phases] Add phase to apply patch for Hurd targets. [#:test-exclude] Remove. Change-Id: I1146adc1daa1cc8400d00456ed2eb65a7ce95c6c Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r--gnu/packages/fontutils.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 6a32294c7f1..41be890bf06 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1690,9 +1690,18 @@ translated keywords and acts.")
1690 (inputs 1690 (inputs
1691 (list freetype)) 1691 (list freetype))
1692 (arguments 1692 (arguments
1693 (if (system-hurd?) 1693 (list
1694 (list #:test-exclude "awamicmp3") 1694 #:phases
1695 '())) 1695 (if (target-hurd?)
1696 #~(modify-phases %standard-phases
1697 (add-after 'unpack 'apply-patch
1698 (lambda _
1699 ;; use same linker settings as on linux
1700 ;; harfbuzz complains about being linked against libstdc++
1701 (let ((patch #$(local-file
1702 (search-patch "graphite2-non-linux.patch"))))
1703 (invoke "patch" "--force" "-p1" "-i" patch)))))
1704 #~%standard-phases)))
1696 (synopsis "Reimplementation of the SIL Graphite text processing engine") 1705 (synopsis "Reimplementation of the SIL Graphite text processing engine")
1697 (description 1706 (description
1698 "Graphite2 is a reimplementation of the SIL Graphite text processing 1707 "Graphite2 is a reimplementation of the SIL Graphite text processing