gnu: xorg: Install fonts into package output instead of into font-util.

* gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi, font-misc-misc,
    font-schumacher-misc): Add configure flag to modify FONTROOTDIR.
This commit is contained in:
Andreas Enge 2013-08-06 20:53:12 +02:00
parent 9c2ecede41
commit 755693a42d

View file

@ -384,6 +384,11 @@ (define-public font-adobe100dpi
("font-util", font-util)
("mkfontdir" ,mkfontdir)
("pkg-config" ,pkg-config)))
(arguments
`(#:configure-flags (list
;; install fonts into subdirectory of package output instead of
;; font-util-?.?.?/share/fonts/X11
(string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
(home-page "http://www.x.org/wiki/")
(synopsis "xorg implementation of the X Window System")
(description "X.org provides an implementation of the X Window System")
@ -410,6 +415,9 @@ (define-public font-adobe75dpi
("font-util", font-util)
("mkfontdir" ,mkfontdir)
("pkg-config" ,pkg-config)))
(arguments
`(#:configure-flags (list
(string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
(home-page "http://www.x.org/wiki/")
(synopsis "xorg implementation of the X Window System")
(description "X.org provides an implementation of the X Window System")
@ -1004,6 +1012,9 @@ (define-public font-misc-misc
("font-util" ,font-util)
("bdftopcf" ,bdftopcf)
("pkg-config" ,pkg-config)))
(arguments
`(#:configure-flags (list
(string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
(home-page "http://www.x.org/wiki/")
(synopsis "xorg implementation of the X Window System")
(description "X.org provides an implementation of the X Window System")
@ -1055,6 +1066,9 @@ (define-public font-schumacher-misc
("font-util" ,font-util)
("bdftopcf" ,bdftopcf)
("pkg-config" ,pkg-config)))
(arguments
`(#:configure-flags (list
(string-append "--with-fontrootdir=" %output "/share/fonts/X11"))))
(home-page "http://www.x.org/wiki/")
(synopsis "xorg implementation of the X Window System")
(description "X.org provides an implementation of the X Window System")