[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale'.
From: |
Alex Kost |
Subject: |
[PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale'. |
Date: |
Fri, 1 Jul 2016 12:27:28 +0300 |
* gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move
'mkfontscale' to ...
[inputs]: ... here.
[arguments]: Add 'wrap-mkfontdir' phase.
---
gnu/packages/xorg.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 431c591..090f661 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -4631,7 +4631,17 @@ protocol and arbitrary X extension protocol.")
(base32
"0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
(build-system gnu-build-system)
- (propagated-inputs
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-mkfontdir
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (string-append (assoc-ref outputs "out")
+ "/bin/mkfontdir")
+ `("PATH" ":" prefix
+ (,(string-append (assoc-ref inputs "mkfontscale")
+ "/bin")))))))))
+ (inputs
`(("mkfontscale" ,mkfontscale)))
(native-inputs
`(("pkg-config" ,pkg-config)))
--
2.8.3
- [PATCH 0/3] Generate "<profile>/share/fonts/truetype/fonts.dir" file, Alex Kost, 2016/07/01
- [PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale'.,
Alex Kost <=
- [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/01
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/02
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/02
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/05
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/06
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/22
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/24
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/25
[PATCH 3/3] doc: Describe how to make X server find TrueType fonts., Alex Kost, 2016/07/01