diff options
author | Eric Sandall | 2010-09-02 11:20:06 -0700 |
---|---|---|
committer | George Sherwood | 2010-09-10 14:43:08 -0500 |
commit | feb5ab1dcae7623763a126d5f211fad02c12264e (patch) | |
tree | d19b45cd378f8b02def07a090bb99a873870333a | |
parent | e50fa7d1af0a3d195fc4c7d0ce82bd327e9fb3a9 (diff) |
ncurses: Allow forcing UTF8 fonts (Bug #15760)
(cherry picked from commit 706f24f397eea4071760d9a63168c4dd4fab42f3)
-rw-r--r-- | libs/ncurses/HISTORY | 3 | ||||
-rwxr-xr-x | libs/ncurses/PRE_SUB_DEPENDS | 4 | ||||
-rwxr-xr-x | libs/ncurses/REPAIR^none^PRE_SUB_DEPENDS | 4 | ||||
-rwxr-xr-x | libs/ncurses/SUB_DEPENDS | 7 |
4 files changed, 18 insertions, 0 deletions
diff --git a/libs/ncurses/HISTORY b/libs/ncurses/HISTORY index 1d5ccf4398..cdbe2cc075 100644 --- a/libs/ncurses/HISTORY +++ b/libs/ncurses/HISTORY @@ -1,3 +1,6 @@ +2010-09-08 Eric Sandall <sandalle@sourcemage.org> + * *SUB_DEPENDS: Allow forcing UTF8 fonts (Bug #15760) + 2009-01-14 George Sherwood <gsherwood@sourcemage.org> * CONFIGURE: Change default for UTF-8 to yes diff --git a/libs/ncurses/PRE_SUB_DEPENDS b/libs/ncurses/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..382d57f29a --- /dev/null +++ b/libs/ncurses/PRE_SUB_DEPENDS @@ -0,0 +1,4 @@ +case $THIS_SUB_DEPENDS in + UTF8) [[ $UTF8 == y ]] ;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"; return 1;; +esac diff --git a/libs/ncurses/REPAIR^none^PRE_SUB_DEPENDS b/libs/ncurses/REPAIR^none^PRE_SUB_DEPENDS new file mode 100755 index 0000000000..382d57f29a --- /dev/null +++ b/libs/ncurses/REPAIR^none^PRE_SUB_DEPENDS @@ -0,0 +1,4 @@ +case $THIS_SUB_DEPENDS in + UTF8) [[ $UTF8 == y ]] ;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"; return 1;; +esac diff --git a/libs/ncurses/SUB_DEPENDS b/libs/ncurses/SUB_DEPENDS new file mode 100755 index 0000000000..57b993f7ad --- /dev/null +++ b/libs/ncurses/SUB_DEPENDS @@ -0,0 +1,7 @@ +case $THIS_SUB_DEPENDS in + UTF8) if [[ $UL_VERSION != aes ]]; then + message "Requested UTF8 fonts of $SPELL, forcing option UTF8=y" && + UTF8=y + fi ;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"; return 1;; +esac |