gnu: xorg-server: Set default font path to empty.

Message ID 20160914140416.5944-1-iyzsong@gmail.com
State New
Headers

Commit Message

宋文武 Sept. 14, 2016, 2:04 p.m. UTC
  * gnu/packages/xorg.scm (xorg-server)[arguments]: Pass
"--with-default-font-path=" to #:configure-flags.
---
 gnu/packages/xorg.scm | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Ludovic Courtès Sept. 24, 2016, 1:47 a.m. UTC | #1
宋文武 <iyzsong@gmail.com> skribis:

> * gnu/packages/xorg.scm (xorg-server)[arguments]: Pass
> "--with-default-font-path=" to #:configure-flags.
> ---
>  gnu/packages/xorg.scm | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
> index 0d3cdce..fb80e85 100644
> --- a/gnu/packages/xorg.scm
> +++ b/gnu/packages/xorg.scm
> @@ -5128,6 +5128,10 @@ over Xlib, including:
>               (string-append "--with-xkb-bin-directory="
>                              (assoc-ref %build-inputs "xkbcomp")
>                              "/bin")
> +             ;; By default, it ends up with invalid '${prefix}/...', causes:
> +             ;;   _FontTransOpen: Unable to Parse address ${prefix}/share/...
> +             ;; It's not used anyway, so set it to empty.
> +             "--with-default-font-path="

I suppose this patch cannot hurt, please push!

Thanks, and sorry for the delay!

Ludo’.
  
=?utf-8?B?5a6L5paH5q2m?= Sept. 24, 2016, 6:30 a.m. UTC | #2
ludo@gnu.org (Ludovic Courtès) writes:

> [...]
>
> I suppose this patch cannot hurt, please push!
>

Ah, I forget it.  Pushed to core-updates, thanks!
  

Patch

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 0d3cdce..fb80e85 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5128,6 +5128,10 @@  over Xlib, including:
              (string-append "--with-xkb-bin-directory="
                             (assoc-ref %build-inputs "xkbcomp")
                             "/bin")
+             ;; By default, it ends up with invalid '${prefix}/...', causes:
+             ;;   _FontTransOpen: Unable to Parse address ${prefix}/share/...
+             ;; It's not used anyway, so set it to empty.
+             "--with-default-font-path="
 
              ;; For the log file, etc.
              "--localstatedir=/var")