Page MenuHomeDevCentral

D4024.id10502.diff
No OneTemporary

D4024.id10502.diff

diff --git a/roles/devserver/userland-software/files/tex/fonts.conf b/roles/devserver/userland-software/files/tex/fonts.conf
new file mode 100644
--- /dev/null
+++ b/roles/devserver/userland-software/files/tex/fonts.conf
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Fonts configuration :: TeX Live
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Project: Nasqueron
+ License: Trivial work, not eligible to copyright
+ Source file: roles/devserver/userland-software/files/tex/fonts.conf
+ _____________________________________________________________
+
+ <auto-generated>
+ This file is managed by our rOPS SaltStack repository.
+
+ Changes to this file may cause incorrect behavior
+ and will be lost if the state is redeployed.
+ </auto-generated>
+-->
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <dir>{{ dir }}/opentype</dir>
+ <dir>{{ dir }}/truetype</dir>
+ <dir>{{ dir }}/type1</dir>
+</fontconfig>
diff --git a/roles/devserver/userland-software/misc.sls b/roles/devserver/userland-software/misc.sls
--- a/roles/devserver/userland-software/misc.sls
+++ b/roles/devserver/userland-software/misc.sls
@@ -148,6 +148,30 @@
- sockstat
{% endif %}
+# -------------------------------------------------------------
+# TeX Live - Fonts
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{{ dirs.etc }}/fonts/conf.avail/09-texlive.conf:
+ file.managed:
+ - source: salt://roles/devserver/userland-software/files/tex/fonts.conf
+ - template: jinja
+ - context:
+ dir: {{ dirs.share }}/texmf-dist/fonts
+ - watch_in:
+ cmd: devserver_software_misc_tex_fonts
+
+{{ dirs.etc }}/fonts/conf.d/09-texlive.conf:
+ file.symlink:
+ - source: ../conf.avail/09-texlive.conf
+
+devserver_software_misc_tex_fonts:
+ cmd.run:
+ - name: |
+ fc-cache -fs
+ touch {{ dirs.share }}/texmf-dist/fonts/.deployed
+ - creates: {{ dirs.share }}/texmf-dist/fonts/.deployed
+
# -------------------------------------------------------------
# Custom simple binaries
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 24, 05:30 (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3557656
Default Alt Text
D4024.id10502.diff (2 KB)

Event Timeline