-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated patches for 4.23.15548 (#72)
- Loading branch information
Showing
14 changed files
with
2,252 additions
and
0 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
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,8 @@ | ||
# The following patch(es) were fixed and are updated by pgaskin (geek1011) | ||
|
||
Remove PDF map widget shown during panning: | ||
- Enabled: no | ||
- Description: Removes the PDF map widget shown during panning and zooming. | ||
- BaseAddress: {Sym: "N3AdobeReader::showMapWidget()"} | ||
- ReplaceBytes: {Offset: 80, FindInstBW: {SymPLTTail: "N3AdobeReader::updatePanningMap()"}, ReplaceInstBW: {SymPLTTail: "N3AdobeReader::hideMapWidget()"}} | ||
- ReplaceBytes: {Offset: 190, FindInstBW: {SymPLTTail: "N3AdobeReader::updatePanningMap()"}, ReplaceInstBW: {SymPLTTail: "N3AdobeReader::hideMapWidget()"}} |
538 changes: 538 additions & 0 deletions
538
src/versions/4.23.15548/libnickel.so.1.0.0.yaml/geoffr.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
src/versions/4.23.15548/libnickel.so.1.0.0.yaml/jackie_w.yaml
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,76 @@ | ||
# The following patch(es) were made by jackie_w | ||
|
||
Dictionary text font-family/font-size/line-height: | ||
- Enabled: no | ||
- Description: | | ||
This patch allows you to to customise the appearance of the text | ||
in the pop-up and full-screen dictionary widgets. | ||
4.17.13651: improved to also reduce the blank lines displayed in many | ||
sideloaded custom dictionaries which contain <blockquote>. | ||
. | ||
See https://www.mobileread.com/forums/showpost.php?p=3521137&postcount=48 | ||
for screenshots | ||
. | ||
You can change one or more of the following properties: | ||
- font-family | ||
- font-size | ||
- line-height | ||
. | ||
These are the Kobo defaults | ||
Glo - Georgia 23px 1.4em | ||
H2O - Georgia 29px 1.4em | ||
GloHD - Georgia 32px 1.4em | ||
AuraONE - Georgia 42px 1.4em | ||
# | ||
# Stage 1: Change DictionaryView to remove %variables | ||
# from: | ||
# * { font: %1px %2; line-height: 1.4em; } | ||
# div.descriptionFont { font-family: %3; } | ||
# ol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; } | ||
# ol p { font-size: %1px; font-weight:normal; } | ||
# to: | ||
# * { font-size: %1px; line-height: 1.40em;font-family: Georgia ;} | ||
# ol {margin-left:1em; margin-top:0} | ||
# blockquote {margin:0.3em 0 0.3em 1em} blockquote>blockquote {margin:-0.3em 0 0 2em} | ||
# | ||
# ##### N.B. Do not change the next 4 lines ##### | ||
- FindReplaceString: | ||
Find: "* { font: %1px %2; line-height: 1.4em; }\ndiv.descriptionFont { font-family: %3; }\nol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }\nol p { font-size: %1px; font-weight:normal; }\n" | ||
Replace: "* { font-size: %1px; line-height: 1.40em;font-family: Georgia ;}\n\nol {margin-left:1em; margin-top:0}\nblockquote {margin:0.3em 0 0.3em 1em} blockquote>blockquote {margin:-0.3em 0 0 2em}\n" | ||
MustMatchLength: yes | ||
# ##### N.B. Do not change anything above this line ##### | ||
# | ||
# Stage 2: N.B. You MUST keep old and new strings EXACTLY the same length | ||
# | ||
# Notes for changing font-family: | ||
# 1. Pad the shorter of the old/new strings with spaces to | ||
# keep same length for both strings (see examples below) | ||
# | ||
# 2. If the new font-family name (max. 29 chars) contains any spaces it | ||
# should be wrapped in 'single quotes' (see examples 2, 3) | ||
# | ||
# 3. To change from Georgia to the Kobo default sans-serif font, Avenir, | ||
# use either one of the following to achieve the same result: | ||
# - sans-serif | ||
# - 'Avenir Next Medium' | ||
# | ||
# Un-comment ONE ONLY of the following ReplaceString examples | ||
# to change dictionary font-family from default Georgia: | ||
# - to a different built-in font | ||
# - to one of your sideloaded custom fonts | ||
# | ||
#- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "sans-serif", MustMatchLength: yes} | ||
#- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "'Gill Sans'", MustMatchLength: yes} | ||
#- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "'Kobo Nickel'", MustMatchLength: yes} | ||
#- ReplaceString: {Offset: 54, Find: "Georgia ", Replace: "Bookerly", MustMatchLength: yes} | ||
# | ||
# Un-comment and edit next line to change font-size | ||
#- ReplaceString: {Offset: 15, Find: "%1px", Replace: "32px", MustMatchLength: yes} | ||
# | ||
# Un-comment and edit next line to change line spacing | ||
#- ReplaceString: {Offset: 34, Find: "1.40em", Replace: "1.30em", MustMatchLength: yes} | ||
|
||
Custom navigation menu page number text: | ||
- Enabled: no | ||
- Description: Changes the page number text format in the reading navigation menu | ||
- FindReplaceString: {Find: "Page %1 of %2", Replace: "%1 / %2"} |
23 changes: 23 additions & 0 deletions
23
src/versions/4.23.15548/libnickel.so.1.0.0.yaml/jcn363.yaml
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,23 @@ | ||
# The following patch(es) are ported from jcn363's patches | ||
|
||
Shorten dictionary entry not found message: | ||
- Enabled: no | ||
- Description: | | ||
Idea by pakoe | ||
cf. https://www.mobileread.com/forums/showpost.php?p=3043631&postcount=111 | ||
- FindReplaceString: | ||
Find: "Your search for “%1” did not match any words in the dictionary. The closest match was “%2”." | ||
Replace: "No match for “%1”, closest match was “%2”." | ||
|
||
Change Wikipedia search language: | ||
- Enabled: no | ||
- Description: | | ||
The patch set the search language in Wikipedia. | ||
Replace the "en" (in both the replace_string lines) to language code you want. | ||
For example English is "en" (set as default), for German is "de", for Russian is "ru". | ||
- FindReplaceString: | ||
Find: "\0https://%1.m.wikipedia.org/wiki/Special:Search\0" | ||
Replace: "\0https://es.m.wikipedia.org/wiki/Special:Search\0" | ||
- FindReplaceString: | ||
Find: "\0https://%1.wikipedia.org/wiki/Special:Search\0" | ||
Replace: "\0https://es.wikipedia.org/wiki/Special:Search\0" |
177 changes: 177 additions & 0 deletions
177
src/versions/4.23.15548/libnickel.so.1.0.0.yaml/keyboard.yaml
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,177 @@ | ||
# The following keyboard patches were originally by GeoffR and updated by various users. | ||
|
||
Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2): | ||
# Updated by Bald Eagle for 4.18.13737 (https://www.mobileread.com/forums/showpost.php?p=3894655&postcount=84) | ||
- Enabled: no | ||
- PatchGroup: Keyboard alternatives | ||
- Description: | | ||
Replaces keys on the Extended Latin keypad with Cyrillic alternatives. | ||
Note that after the device boots, the keypad might just show blank squares | ||
until after the first book has been opened. | ||
Also note that long-pressing keys on the base keypad will no longer show | ||
the appropriate list of Extended Latin keys. | ||
# Replace layout sign | ||
- FindBaseAddressString: "ÉÀÇ" | ||
- ReplaceString: {Offset: 0, Find: "ÉÀÇ", Replace: "АБВ"} | ||
# Change keyboard layout | ||
- FindBaseAddressString: "ý\0\0ÿ\0\0š\0\0ž\0\0" | ||
# Top row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x00, Find: "ý\0", Replace: "ё"} | ||
- ReplaceString: {Offset: 0x04, Find: "ÿ\0", Replace: "э"} | ||
- ReplaceString: {Offset: 0x08, Find: "š\0", Replace: "ä"} | ||
- ReplaceString: {Offset: 0x0C, Find: "ž\0", Replace: "ö"} | ||
- ReplaceString: {Offset: 0x10, Find: "æ\0", Replace: "ü"} | ||
- ReplaceString: {Offset: 0x14, Find: "œ\0", Replace: "µ"} | ||
- ReplaceString: {Offset: 0x18, Find: "þ\0", Replace: "ю"} | ||
#- ReplaceString: {Offset: -56, Find: "ß\0", Replace: ","} | ||
- ReplaceString: {Offset: 0x1C, Find: "ij\0", Replace: "х"} | ||
- ReplaceString: {Offset: 0x20, Find: "ŀ\0", Replace: "ъ"} | ||
# Second row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x28, Find: "à\0", Replace: "й"} | ||
- ReplaceString: {Offset: 0x2C, Find: "á\0", Replace: "ц"} | ||
- ReplaceString: {Offset: 0x30, Find: "â\0", Replace: "у"} | ||
- ReplaceString: {Offset: 0x34, Find: "ä\0", Replace: "к"} | ||
- ReplaceString: {Offset: 0x38, Find: "ã\0", Replace: "е"} | ||
- ReplaceString: {Offset: 0x3C, Find: "å\0", Replace: "н"} | ||
- ReplaceString: {Offset: 0x40, Find: "è\0", Replace: "г"} | ||
- ReplaceString: {Offset: 0x44, Find: "é\0", Replace: "ш"} | ||
- ReplaceString: {Offset: 0x48, Find: "ê\0", Replace: "щ"} | ||
- ReplaceString: {Offset: 0x4C, Find: "ë\0", Replace: "з"} | ||
# Third row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x50, Find: "ò\0", Replace: "ф"} | ||
- ReplaceString: {Offset: 0x54, Find: "ó\0", Replace: "ы"} | ||
- ReplaceString: {Offset: 0x58, Find: "ô\0", Replace: "в"} | ||
- ReplaceString: {Offset: 0x5C, Find: "ö\0", Replace: "а"} | ||
- ReplaceString: {Offset: 0x60, Find: "õ\0", Replace: "п"} | ||
- ReplaceString: {Offset: 0x64, Find: "ø\0", Replace: "р"} | ||
- ReplaceString: {Offset: 0x68, Find: "ì\0", Replace: "о"} | ||
- ReplaceString: {Offset: 0x6C, Find: "í\0", Replace: "л"} | ||
- ReplaceString: {Offset: 0x70, Find: "î\0", Replace: "д"} | ||
- ReplaceString: {Offset: 0x74, Find: "ï\0", Replace: "ж"} | ||
# Fourth row, left to right (8 keys): | ||
- ReplaceString: {Offset: 0x78, Find: "ù\0", Replace: "я"} | ||
- ReplaceString: {Offset: 0x7C, Find: "ú\0", Replace: "ч"} | ||
- ReplaceString: {Offset: 0x80, Find: "û\0", Replace: "с"} | ||
- ReplaceString: {Offset: 0x84, Find: "ü\0", Replace: "м"} | ||
- ReplaceString: {Offset: 0x88, Find: "ñ\0", Replace: "и"} | ||
- ReplaceString: {Offset: 0x8C, Find: "ç\0", Replace: "т"} | ||
- ReplaceString: {Offset: 0x90, Find: "đ\0", Replace: "ь"} | ||
- ReplaceString: {Offset: 0x94, Find: "ł\0", Replace: "б"} | ||
|
||
Greek Keyboard (GloHD/ClaraHD/AuraOne/H2O2): | ||
# Updated by Bald Eagle for 4.18.13737 (https://www.mobileread.com/forums/showpost.php?p=3895481&postcount=125) | ||
- Enabled: no | ||
- PatchGroup: Keyboard alternatives | ||
- Description: | | ||
Replaces keys on the Extended Latin keypad with Cyrillic alternatives. | ||
Note that after the device boots, the keypad might just show blank squares | ||
until after the first book has been opened. | ||
Also note that long-pressing keys on the base keypad will no longer show | ||
the appropriate list of Extended Latin keys. | ||
# Replace layout sign Greek | ||
- FindBaseAddressString: "ÉÀÇ" | ||
- ReplaceString: {Offset: 0, Find: "ÉÀÇ", Replace: "ελ"} | ||
# Change keyboard layout | ||
- FindBaseAddressString: "ý\0\0ÿ\0\0š\0\0ž\0\0" | ||
# Top row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x00, Find: "ý\0", Replace: "ό"} | ||
- ReplaceString: {Offset: 0x04, Find: "ÿ\0", Replace: "ύ"} | ||
- ReplaceString: {Offset: 0x08, Find: "š\0", Replace: "ϋ"} | ||
- ReplaceString: {Offset: 0x0C, Find: "ž\0", Replace: ":"} | ||
- ReplaceString: {Offset: 0x10, Find: "æ\0", Replace: "ά"} | ||
- ReplaceString: {Offset: 0x14, Find: "œ\0", Replace: "έ"} | ||
- ReplaceString: {Offset: 0x18, Find: "þ\0", Replace: "ί"} | ||
- ReplaceString: {Offset: 0x1C, Find: "ij\0", Replace: "-"} | ||
- ReplaceString: {Offset: 0x20, Find: "ŀ\0", Replace: "_"} | ||
# Second row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x28, Find: "à\0", Replace: ";"} | ||
- ReplaceString: {Offset: 0x2C, Find: "á\0", Replace: "ς"} | ||
- ReplaceString: {Offset: 0x30, Find: "â\0", Replace: "ε"} | ||
- ReplaceString: {Offset: 0x34, Find: "ä\0", Replace: "ρ"} | ||
- ReplaceString: {Offset: 0x38, Find: "ã\0", Replace: "τ"} | ||
- ReplaceString: {Offset: 0x3C, Find: "å\0", Replace: "υ"} | ||
- ReplaceString: {Offset: 0x40, Find: "è\0", Replace: "θ"} | ||
- ReplaceString: {Offset: 0x44, Find: "é\0", Replace: "ι"} | ||
- ReplaceString: {Offset: 0x48, Find: "ê\0", Replace: "ο"} | ||
- ReplaceString: {Offset: 0x4C, Find: "ë\0", Replace: "π"} | ||
# Third row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x50, Find: "ò\0", Replace: "α"} | ||
- ReplaceString: {Offset: 0x54, Find: "ó\0", Replace: "σ"} | ||
- ReplaceString: {Offset: 0x58, Find: "ô\0", Replace: "δ"} | ||
- ReplaceString: {Offset: 0x5C, Find: "ö\0", Replace: "φ"} | ||
- ReplaceString: {Offset: 0x60, Find: "õ\0", Replace: "γ"} | ||
- ReplaceString: {Offset: 0x64, Find: "ø\0", Replace: "η"} | ||
- ReplaceString: {Offset: 0x68, Find: "ì\0", Replace: "ξ"} | ||
- ReplaceString: {Offset: 0x6C, Find: "í\0", Replace: "κ"} | ||
- ReplaceString: {Offset: 0x70, Find: "î\0", Replace: "λ"} | ||
- ReplaceString: {Offset: 0x74, Find: "ï\0", Replace: ","} | ||
# Fourth row, left to right (8 keys): | ||
- ReplaceString: {Offset: 0x78, Find: "ù\0", Replace: "ζ"} | ||
- ReplaceString: {Offset: 0x7C, Find: "ú\0", Replace: "χ"} | ||
- ReplaceString: {Offset: 0x80, Find: "û\0", Replace: "ψ"} | ||
- ReplaceString: {Offset: 0x84, Find: "ü\0", Replace: "ω"} | ||
- ReplaceString: {Offset: 0x88, Find: "ñ\0", Replace: "β"} | ||
- ReplaceString: {Offset: 0x8C, Find: "ç\0", Replace: "ν"} | ||
- ReplaceString: {Offset: 0x90, Find: "đ\0", Replace: "μ"} | ||
- ReplaceString: {Offset: 0x94, Find: "ł\0", Replace: "."} | ||
|
||
Bulgarian Phonetic Keyboard (GloHD/ClaraHD/AuraOne/H2O2/Forma/Libra): | ||
# Created by Svens (https://www.mobileread.com/forums/showpost.php?p=3977092&postcount=51) | ||
- Enabled: no | ||
- PatchGroup: Keyboard alternatives | ||
- Description: | | ||
Replaces keys on the Extended Latin keypad with Bulgarian alternatives. | ||
Note that after the device boots, the keypad might just show blank squares | ||
until after the first book has been opened. | ||
Also note that long-pressing keys on the base keypad will no longer show | ||
the appropriate list of Extended Latin keys. | ||
# Replace layout sign | ||
- FindBaseAddressString: "ÉÀÇ" | ||
- ReplaceString: {Offset: 0, Find: "ÉÀÇ", Replace: "АБВ"} | ||
# Change keyboard layout | ||
- FindBaseAddressString: "ý\0\0ÿ\0\0š\0\0ž\0\0" | ||
# Top row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x00, Find: "ý\0", Replace: "ч"} | ||
- ReplaceString: {Offset: 0x04, Find: "ÿ\0", Replace: "э"} | ||
- ReplaceString: {Offset: 0x08, Find: "š\0", Replace: "ё"} | ||
- ReplaceString: {Offset: 0x0C, Find: "ž\0", Replace: "ы"} | ||
- ReplaceString: {Offset: 0x10, Find: "æ\0", Replace: ","} | ||
- ReplaceString: {Offset: 0x14, Find: "œ\0", Replace: ";"} | ||
- ReplaceString: {Offset: 0x18, Find: "þ\0", Replace: "!"} | ||
- ReplaceString: {Offset: -56, Find: "ß\0", Replace: "?"} | ||
- ReplaceString: {Offset: 0x1C, Find: "ij\0", Replace: "ш"} | ||
- ReplaceString: {Offset: 0x20, Find: "ŀ\0", Replace: "щ"} | ||
# Second row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x28, Find: "à\0", Replace: "я"} | ||
- ReplaceString: {Offset: 0x2C, Find: "á\0", Replace: "в"} | ||
- ReplaceString: {Offset: 0x30, Find: "â\0", Replace: "е"} | ||
- ReplaceString: {Offset: 0x34, Find: "ä\0", Replace: "р"} | ||
- ReplaceString: {Offset: 0x38, Find: "ã\0", Replace: "т"} | ||
- ReplaceString: {Offset: 0x3C, Find: "å\0", Replace: "ъ"} | ||
- ReplaceString: {Offset: 0x40, Find: "è\0", Replace: "у"} | ||
- ReplaceString: {Offset: 0x44, Find: "é\0", Replace: "и"} | ||
- ReplaceString: {Offset: 0x48, Find: "ê\0", Replace: "о"} | ||
- ReplaceString: {Offset: 0x4C, Find: "ë\0", Replace: "п"} | ||
# Third row, left to right (10 keys): | ||
- ReplaceString: {Offset: 0x50, Find: "ò\0", Replace: "а"} | ||
- ReplaceString: {Offset: 0x54, Find: "ó\0", Replace: "с"} | ||
- ReplaceString: {Offset: 0x58, Find: "ô\0", Replace: "д"} | ||
- ReplaceString: {Offset: 0x5C, Find: "ö\0", Replace: "ф"} | ||
- ReplaceString: {Offset: 0x60, Find: "õ\0", Replace: "г"} | ||
- ReplaceString: {Offset: 0x64, Find: "ø\0", Replace: "х"} | ||
- ReplaceString: {Offset: 0x68, Find: "ì\0", Replace: "й"} | ||
- ReplaceString: {Offset: 0x6C, Find: "í\0", Replace: "к"} | ||
- ReplaceString: {Offset: 0x70, Find: "î\0", Replace: "л"} | ||
- ReplaceString: {Offset: 0x74, Find: "ï\0", Replace: "ю"} | ||
# Fourth row, left to right (8 keys): | ||
- ReplaceString: {Offset: 0x78, Find: "ù\0", Replace: "з"} | ||
- ReplaceString: {Offset: 0x7C, Find: "ú\0", Replace: "ь"} | ||
- ReplaceString: {Offset: 0x80, Find: "û\0", Replace: "ц"} | ||
- ReplaceString: {Offset: 0x84, Find: "ü\0", Replace: "ж"} | ||
- ReplaceString: {Offset: 0x88, Find: "ñ\0", Replace: "б"} | ||
- ReplaceString: {Offset: 0x8C, Find: "ç\0", Replace: "н"} | ||
- ReplaceString: {Offset: 0x90, Find: "đ\0", Replace: "м"} | ||
- ReplaceString: {Offset: 0x94, Find: "ł\0", Replace: "."} |
10 changes: 10 additions & 0 deletions
10
src/versions/4.23.15548/libnickel.so.1.0.0.yaml/niluje.yaml
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,10 @@ | ||
# The following patch(es) are maintained by NiLuJe | ||
|
||
# This is a simple conversion of @frostschutz MiniClock patch | ||
# c.f., https://github.com/frostschutz/Kobo/blob/13a274f582e1e70cc8f865347f1bf113209f8320/MiniClock/usr/local/MiniClock/miniclock.sh#L179-L197 | ||
# It simply prevents Nickel from grabbing exclusive access to the synthetic NTX input device, | ||
# which MiniClock may want to have acccess to in order to catch page turn buttons on devices who happen to feature such buttons ;). | ||
Don't grab exclusive access to event0: | ||
- Enabled: no | ||
- Description: Allows third-party tools to read the event0 input device | ||
- FindReplaceString: {Find: "%0::keymap=keys/device.qmap::grab=1", Replace: "%0::keymap=keys/device.qmap::grab=0"} |
Oops, something went wrong.