Commit 6e337a9a authored by Jérome Perrin's avatar Jérome Perrin

component/fontconfig: don't add default system fonts

By default, /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11 are added
if they exist at compile time
https://cgit.freedesktop.org/fontconfig/tree/configure.ac?id=b546940435ebfb0df575bc7a2350d1e913919c34#n502
We prefer isolation from base system

Remove the comment questioning about --add-default-font because we don't
add fonts for this reason and also because users can use a $FONTCONFIG
file.
parent 82bb66a4
...@@ -18,12 +18,12 @@ shared = true ...@@ -18,12 +18,12 @@ shared = true
url = http://fontconfig.org/release/fontconfig-2.12.6.tar.bz2 url = http://fontconfig.org/release/fontconfig-2.12.6.tar.bz2
md5sum = 733f5e2371ca77b69707bd7b30cc2163 md5sum = 733f5e2371ca77b69707bd7b30cc2163
pkg_config_depends = ${freetype:pkg_config_depends}:${freetype:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig pkg_config_depends = ${freetype:pkg_config_depends}:${freetype:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig
# XXX-Cedric : should we use --with-add-fonts={somefont:location}/share,{someotherfont:location}/share?
configure-options = configure-options =
--disable-static --disable-static
--disable-docs --disable-docs
--enable-libxml2 --enable-libxml2
--with-default-fonts=${fonts:location} --with-default-fonts=${fonts:location}
--with-add-fonts=no
environment = environment =
PATH=${pkgconfig:location}/bin:${gperf:location}/bin:%(PATH)s PATH=${pkgconfig:location}/bin:${gperf:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends} PKG_CONFIG_PATH=${:pkg_config_depends}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment