Quote:
Originally Posted by mobilemoxie
Thank you for answering my questions
Two more:
For this instruction, "Enable patches in the files in the src folder"
How do I enable patches?
And "You *enable* them one by one by tweaking the config, though."
How do I tweak the config to turn 'on' whatever new features I want to get patched?
|
In the downloaded patch pack you'll find a file called kobopatch.yaml. This is the main configuration file for kobopatch. Here's a small example for firmware 4.12.12111 which enables 5 different patches:
- 3 patching firmware file
libnickel.so.1.0.0
- 2 patching firmware file
nickel
Code:
version: 4.12.12111
in: src/kobo-update-4.12.12111.zip
out: out/KoboRoot.tgz
log: out/log.txt
## The patch format to use: kobopatch (.yaml) or patch32lsb(.patch)
patchFormat: kobopatch
## This section lists the patch files and the corresponding binary in the tgz.
patches:
src/libnickel.so.1.0.0.yaml: usr/local/Kobo/libnickel.so.1.0.0
src/nickel.yaml: usr/local/Kobo/nickel
## You can put lines in the following section to override the enabled state of patches.
overrides:
src/libnickel.so.1.0.0.yaml:
Freedom to advanced fonts control: yes
My 24 line spacing values: yes
Custom left & right margins: yes
src/nickel.yaml:
Increase the cover size in library: yes
Increase size of kepub chapter progress chart: yes
So, decide which patches you want to enable, note which of the src/*.yaml files contains this patch, then add a line for it to the
overrides section of kobopatch.yaml.
If you're still baffled, post a list of all the patches you want to enable and one of us can help you create your personalised kobopatch.yaml file