]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
web-user-interface: Use the fonts from the separate package
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Aug 2025 14:47:12 +0000 (14:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Sep 2025 17:50:26 +0000 (17:50 +0000)
We should not ship anything binary in the sources anyways.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/html/themes/ipfire/include/fonts/Prompt-Bold.ttf [deleted file]
html/html/themes/ipfire/include/fonts/Prompt-Medium.ttf [deleted file]
html/html/themes/ipfire/include/fonts/Prompt-Regular.ttf [deleted file]
lfs/web-user-interface

diff --git a/html/html/themes/ipfire/include/fonts/Prompt-Bold.ttf b/html/html/themes/ipfire/include/fonts/Prompt-Bold.ttf
deleted file mode 100644 (file)
index 6cdd89b..0000000
Binary files a/html/html/themes/ipfire/include/fonts/Prompt-Bold.ttf and /dev/null differ
diff --git a/html/html/themes/ipfire/include/fonts/Prompt-Medium.ttf b/html/html/themes/ipfire/include/fonts/Prompt-Medium.ttf
deleted file mode 100644 (file)
index adf72c9..0000000
Binary files a/html/html/themes/ipfire/include/fonts/Prompt-Medium.ttf and /dev/null differ
diff --git a/html/html/themes/ipfire/include/fonts/Prompt-Regular.ttf b/html/html/themes/ipfire/include/fonts/Prompt-Regular.ttf
deleted file mode 100644 (file)
index 2a736db..0000000
Binary files a/html/html/themes/ipfire/include/fonts/Prompt-Regular.ttf and /dev/null differ
index da76a7d10efd31eb4e01a5973474f4aaf457d778..7c1b807527a30a82d00b1d8a03ee336abdcd7981 100644 (file)
@@ -74,6 +74,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # Reset permissions of redirect templates and theme directories
        find /srv/web/ipfire/html/{captive,redirect-templates,themes} -type d | xargs chmod -v 755
 
+       # Web UI Font
+       ln -svf --relative /usr/share/fonts/Prompt-Bold.ttf \
+               /srv/web/ipfire/html/themes/ipfire/include/fonts/Prompt-Bold.ttf
+       ln -svf --relative /usr/share/fonts/Prompt-Medium.ttf \
+               /srv/web/ipfire/html/themes/ipfire/include/fonts/Prompt-Medium.ttf
+       ln -svf --relative /usr/share/fonts/Prompt-Regular.ttf \
+               /srv/web/ipfire/html/themes/ipfire/include/fonts/Prompt-Regular.ttf
+
        # Captive Portal CSS
        ln -svf --relative /usr/share/bootstrap/css/bootstrap-grid.min.css \
                /srv/web/ipfire/html/captive/assets/bootstrap-grid.min.css