[jhbuild/wip/conditions: 5/5] fontconfig: tweak font path



commit c2d4a3d590752f9339f939832e4858188140ee68
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 82bfa36..3705a69 100644
--- a/modulesets/gnome-suites-core-deps-3.12.modules
+++ b/modulesets/gnome-suites-core-deps-3.12.modules
@@ -440,7 +440,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]