[libreoffice] 01/01: follow fontconfigs recommendation to install into /usr/share/fontconfig/conf.avail/ and only symlinking in /etc/fonts.d

Rene Engelhard rene at moszumanska.debian.org
Sat Dec 2 13:43:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch debian-experimental-5.4
in repository libreoffice.

commit 1fe51464c5952761a859c04f84c38400f52b1612
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Sat Dec 2 14:43:13 2017 +0100

    follow fontconfigs recommendation to install into /usr/share/fontconfig/conf.avail/ and only symlinking in /etc/fonts.d
---
 rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rules b/rules
index 9877b24..d46bc01 100755
--- a/rules
+++ b/rules
@@ -3237,6 +3237,7 @@ ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
 	# generate fontconfig file. Upstream creates a fc_local.conf in
 	# postprocess but it might also contain other font stuff, so do it
 	# manually
+	mkdir -p debian/fonts-opensymbol//usr/share/fontconfig/conf.avail
 	mkdir -p debian/fonts-opensymbol/etc/fonts.d/
         ( \
           echo "<?xml version="1.0"?>"; \
@@ -3244,7 +3245,9 @@ ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
           echo "<fontconfig>"; \
         ) > debian/fonts-opensymbol/etc/fonts.d/40_opensymbol.conf
 	cat $(SOURCE_TREE)/extras/source/truetype/symbol/fc_local.snippet >> debian/fonts-opensymbol/etc/fonts.d/40_opensymbol.conf
-	echo "</fontconfig>" >> debian/fonts-opensymbol/etc/fonts.d/30_opensymbol.conf
+	echo "</fontconfig>" >> debian/fonts-opensymbol/usr/share/fontconfig/conf.avail/30_opensymbol.conf
+	cd debian/fonts-opensymbol/etc/fonts.d/ && \
+		ln -s /usr/share/fontconfig/conf.avail/30_opensymbol.conf
 endif
 
 	# register technical.dic

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git



More information about the Pkg-openoffice-commits mailing list