Skip to content

Commit

Permalink
use deb file instead of local copy of xkb-data
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed Nov 10, 2021
1 parent 542642e commit 3665406
Show file tree
Hide file tree
Showing 295 changed files with 14 additions and 83,069 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/*.deb
/usr/
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
all:
XKB_VSN=2.29-2
XKB_DATA_DEB=xkb-data_${XKB_VSN}_all.deb
XKB_DATA_URL=http://ports.ubuntu.com/pool/main/x/xkeyboard-config/${XKB_DATA_DEB}

all: ${XKB_DATA_DEB}
ar -x ${XKB_DATA_DEB} ./data.tar.xz
tar xvf data.tar.xz
rm data.tar.xz
rm -f Makefile.log
for f in xkb-ubuntu-20.04/symbols/??; do \
for f in usr/share/X11/xkb/symbols/??; do \
./klfc $$f --from-xkb --keylayout ./ 2>>Makefile.log; \
f_basename=$$(basename $$f); \
sed -i "s/name=\"[^\"]\+\"/name=\"ysoftwareab xkb $${f_basename}\"/" $${f_basename}.keylayout; \
mv $${f_basename}.keylayout y-xkb-$${f_basename}.keylayout; \
done
rm install-{user,system}.sh

${XKB_DATA_DEB}:
curl -O ${XKB_DATA_URL}
33 changes: 0 additions & 33 deletions xkb-ubuntu-20.04/compat/README

This file was deleted.

52 changes: 0 additions & 52 deletions xkb-ubuntu-20.04/compat/accessx

This file was deleted.

49 changes: 0 additions & 49 deletions xkb-ubuntu-20.04/compat/basic

This file was deleted.

11 changes: 0 additions & 11 deletions xkb-ubuntu-20.04/compat/caps

This file was deleted.

10 changes: 0 additions & 10 deletions xkb-ubuntu-20.04/compat/complete

This file was deleted.

77 changes: 0 additions & 77 deletions xkb-ubuntu-20.04/compat/iso9995

This file was deleted.

45 changes: 0 additions & 45 deletions xkb-ubuntu-20.04/compat/japan

This file was deleted.

24 changes: 0 additions & 24 deletions xkb-ubuntu-20.04/compat/ledcaps

This file was deleted.

16 changes: 0 additions & 16 deletions xkb-ubuntu-20.04/compat/ledcompose

This file was deleted.

24 changes: 0 additions & 24 deletions xkb-ubuntu-20.04/compat/lednum

This file was deleted.

Loading

0 comments on commit 3665406

Please sign in to comment.