[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65479] [PATCH core-updates v3 39/63] gnu: libxkbcommon: Faux propag
From: |
Bruno Victal |
Subject: |
[bug#65479] [PATCH core-updates v3 39/63] gnu: libxkbcommon: Faux propagate libxml2. |
Date: |
Mon, 9 Oct 2023 21:06:27 +0100 |
xkbregistry.pc lists libxml2 as a requirement.
Use a symlink for the libxml-2.0.pc to avoid setting libxml2 as a
propagated-input.
* gnu/packages/xdisorg.scm (libxkbcommon)[arguments]<#:phases>: Add
symlink-pc.
---
gnu/packages/xdisorg.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 50190863dc..5582bc8d7f 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -547,7 +547,15 @@ (define-public libxkbcommon
(let ((old (string-append #$output "/share/doc"))
(new (string-append #$output:doc "/share/doc")))
(mkdir-p (dirname new))
- (rename-file old new)))))))
+ (rename-file old new))))
+ (add-after 'install 'symlink-pc
+ ;; in Requires.private of xkbregistry.pc
+ ;; XXX: Symlink libxml-2.0.pc in order to avoid putting
+ ;; libxml2 as a propagated input.
+ (lambda _
+ (let ((stem "/lib/pkgconfig/libxml-2.0.pc"))
+ (symlink (string-append #$(this-package-input "libxml2") stem)
+ (string-append #$output stem))))))))
(home-page "https://xkbcommon.org/")
(synopsis "Library to handle keyboard descriptions")
(description "Xkbcommon is a library to handle keyboard descriptions,
--
2.41.0
- [bug#65479] [PATCH core-updates v3 06/63] gnu: Add docbook-xml-5.0.1., (continued)
[bug#65479] [PATCH core-updates v3 36/63] gnu: metapixel: Drop docbook workaround., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 12/63] gnu: docbook2x: Import patches from debian., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 30/63] gnu: udisks: Drop docbook workaround., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 39/63] gnu: libxkbcommon: Faux propagate libxml2.,
Bruno Victal <=
[bug#65479] [PATCH core-updates v3 19/63] gnu: dblatex: Split documentation., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 22/63] gnu: lilypond: Use dblatex/stable., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 10/63] gnu: docbook: Remove leftovers., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 13/63] gnu: docbook2x: Fix sgml2xml-isoent and add test dependencies., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 11/63] gnu: docbook-utils: Import patches from debian., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 04/63] gnu: libxslt: Set search-paths for XML and SGML catalogs., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 34/63] gnu: git-crypt: Remove docbook workarounds., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 32/63] gnu: criu: Drop xmlto workaround., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 42/63] gnu: tdb: Build manpages., Bruno Victal, 2023/10/09
[bug#65479] [PATCH core-updates v3 45/63] gnu: iputils: Use docbook-xml-5.0.1., Bruno Victal, 2023/10/09