[libreoffice] 01/01: actually install the OpenSymbol fontconfig snippet into a /etc/fonts.d/30_opensymbol.conf

Rene Engelhard rene at moszumanska.debian.org
Sat Dec 2 13:30:33 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 821759a39b65a3efaacb14a97b480798619382cc
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Sat Dec 2 14:30:26 2017 +0100

    actually install the OpenSymbol fontconfig snippet into a /etc/fonts.d/30_opensymbol.conf
---
 changelog |  2 ++
 rules     | 13 +++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/changelog b/changelog
index 17ab4a4..7c756e3 100644
--- a/changelog
+++ b/changelog
@@ -15,6 +15,8 @@ libreoffice (1:5.4.4~rc1-1) UNRELEASED; urgency=medium
 
   * debian/rules:
     - stop installing disabled symlinks for apparmor
+    - actually install the OpenSymbol fontconfig snippet into a 
+      /etc/fonts.d/30_opensymbol.conf
   * debian/libreoffice-common.bug-script.in: run aa-status
 
  -- Rene Engelhard <rene at debian.org>  Sat, 02 Dec 2017 12:05:38 +0100
diff --git a/rules b/rules
index 865ace8..9877b24 100755
--- a/rules
+++ b/rules
@@ -3233,6 +3233,19 @@ endif
 	# FIXME: Shouldn't this be in /etc/fonts/conf.d with a symlink here?
 	install -m644 -D workdir/CustomTarget/postprocess/fontconfig/fc_local.conf \
 		$(PKGDIR)-common/$(OODIR)/share/fonts/truetype/fc_local.conf
+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/etc/fonts.d/
+        ( \
+          echo "<?xml version="1.0"?>"; \
+          echo "<!DOCTYPE fontconfig SYSTEM "fonts.dtd">"; \
+          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
+endif
 
 	# register technical.dic
 	perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd

-- 
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