Add Latvian keyboard definitions

The Latvian keyboard corresponding to code 0x426 is totally different
from the keyboard for 0x10426 (Latvian(QWERTY)) and 0x20426
(Latvian(Standard)). We set up new definitions for 0x426 and 0x10426 and
symlink 0x20426 to 0x10426.
This commit is contained in:
matt335672
2025-05-05 11:08:28 +01:00
parent c62167ecd5
commit 1177ff1240
5 changed files with 2044 additions and 6 deletions
+1
View File
@@ -9,6 +9,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LN_S
LT_INIT
PKG_PROG_PKG_CONFIG
+3
View File
@@ -86,6 +86,9 @@ kbgen 0415 "pl-PL" "$os" -model pc104 -layout pl
kbgen 0416 "pt-BR" "$os" -model pc105 -layout br
kbgen 0419 "ru-RU" "$os" -model pc104 -layout ru
kbgen 041d "sv-SE" "$os" -model pc104 -layout se
kbgen 0426 "lv-LV" "$os" -model pc104 -layout lv -variant ergonomic
kbgen 10426 "lv-LV" "$os" -model pc104 -layout lv
# 20426 Latvian(Standard) is symlinked to 10426 Latvian(QWERTY) elsewhere
kbgen 0807 "de-CH" "$os" -model pc105 -layout ch
kbgen 0809 "en-GB" "$os" -model pc105 -layout gb
kbgen 080a "es-MX" "$os" -model pc105 -layout latam
+8 -6
View File
@@ -46,6 +46,8 @@ dist_startscript_DATA = \
km-00000416.toml \
km-00000419.toml \
km-0000041d.toml \
km-00000426.toml \
km-00010426.toml \
km-00000807.toml \
km-00000809.toml \
km-0000080a.toml \
@@ -88,23 +90,23 @@ SUBDIRS += pam.d
endif
#
# install-data-hook for each platform
# install-data-hook
# TODO: subst these directories as well as service files
#
if LINUX
# must be tab below
# must be tabs below
# Note the section to soft-link keyboard files which share a definition
install-data-hook:
if LINUX
if [ -f $(DESTDIR)$(sysconfdir)/init.d/xrdp ]; then \
sed -i 's|__BASE__|$(prefix)|' $(DESTDIR)$(sysconfdir)/init.d/xrdp; \
fi
endif
if FREEBSD
# must be tab below
install-data-hook:
sed -e 's|%%PREFIX%%|$(prefix)|g' \
-e 's|%%LOCALSTATEDIR%%|$(localstatedir)|g' \
-i '' \
$(DESTDIR)$(sysconfdir)/rc.d/xrdp \
$(DESTDIR)$(sysconfdir)/rc.d/xrdp-sesman
endif
(cd $(DESTDIR)${startscriptdir} && \
$(LN_S) km-00010426.toml km-00020426.toml)
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff