View Single Post
Old 12-26-2018, 06:10 PM   #141
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by mobilemoxie View Post
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

Last edited by jackie_w; 12-26-2018 at 06:16 PM.
jackie_w is offline   Reply With Quote