|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 056e86ee7fdae86d358aa068303845dff2cbb598 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: David Herrmann <dh.herrmann@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Wed, 1 Oct 2014 11:25:27 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] terminal: move unifont-map to datadir
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Lets avoid putting stuff into /usr/shared/unifont/, but keep it in
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
/usr/share/systemd/. Upstream lacks interest in this, so don't bother for
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
now.
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Makefile.am | 4 +---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/libsystemd-terminal/unifont-def.h | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
2 files changed, 2 insertions(+), 4 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/Makefile.am b/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index da36a8c1c2..5fa4e4a5e8 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/Makefile.am
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -3025,9 +3025,7 @@ noinst_PROGRAMS += \
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
systemd-modeset \
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
systemd-subterm
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-unifontdatadir=$(datadir)/unifont
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-dist_unifontdata_DATA = \
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+dist_pkgdata_DATA += \
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/libsystemd-terminal/unifont-glyph-array.bin
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
tests += \
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/libsystemd-terminal/unifont-def.h b/src/libsystemd-terminal/unifont-def.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index 7a0d48505a..2b0b859eb0 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/libsystemd-terminal/unifont-def.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/libsystemd-terminal/unifont-def.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -115,7 +115,7 @@ typedef struct unifont_glyph_header unifont_glyph_header;
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
*/
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
/* path to binary file */
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-#define UNIFONT_PATH "/usr/share/unifont/unifont-glyph-array.bin"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+#define UNIFONT_PATH "/usr/share/systemd/unifont-glyph-array.bin"
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
/* header-size of version 1 */
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#define UNIFONT_HEADER_SIZE_MIN 32
|