[jhbuild] fontconfig: tweak font path



commit 524143543bb70727ec34bb05dd8d5578c027821d
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Mar 5 23:22:42 2014 -0500

    fontconfig: tweak font path
    
    Change the font path to include ${prefix}/share/fonts from jhbuild so
    that it will find fonts installed by jhbuild (such as Cantarell)
    
    We also look in /usr/local/share/fonts and /usr/share/fonts.
    
    Strictly speaking, we should check all of the XDG_DATA_DIRS, but this
    would be a much larger patch.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720129

 modulesets/gnome-suites-core-deps-3.12.modules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.12.modules b/modulesets/gnome-suites-core-deps-3.12.modules
index 2c7617c..6de1a81 100644
--- a/modulesets/gnome-suites-core-deps-3.12.modules
+++ b/modulesets/gnome-suites-core-deps-3.12.modules
@@ -418,7 +418,7 @@
   </autotools>
 
   <autotools id="fontconfig"
-             autogenargs="--disable-docs">
+    autogenargs="--disable-docs --with-default-fonts=${prefix}/share/fonts 
--with-add-fonts=/usr/local/share/fonts,/usr/share/fonts">
     <pkg-config>fontconfig.pc</pkg-config>
     <branch repo="freedesktop.org"
             module="fontconfig/release/fontconfig-${version}.tar.bz2"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]