-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use deb file instead of local copy of xkb-data
- Loading branch information
1 parent
542642e
commit 3665406
Showing
295 changed files
with
14 additions
and
83,069 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/*.deb | ||
/usr/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.