View Single Post
Old 07-08-2018, 07:42 AM   #66
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by geek1011 View Post
Tips and Tricks

Separating custom patches from the included ones
To make upgrading easier, as well as using the overrides section of kobopatch.yaml, you can also put custom patches which are not included into their own file. To do this, make a new file in the src folder, for example nickel.custom.patch (for patch32lsb format), or nickel.custom.yaml (for the new format). Afterwards, add a line in the patches section of kobopatch.yaml corresponding to your new file. Here is an example of mine:
Spoiler:
Code:
## Works with kobopatch v0.6 or higher.
## You can update kobopatch by downloading the latest release from https://github.com/geek1011/kobopatch/releases. 
version: 4.9.11311
in: src/kobo-update-4.9.11311.zip
out: KoboRoot.tgz
log: log.txt

patchFormat: patch32lsb

# Note the custom nickel.oren64.patch and libnickel.so.1.0.0.geek1011.patch files which patch the same binary.
patches:
  src/nickel.patch: usr/local/Kobo/nickel
  src/nickel.oren64.patch: usr/local/Kobo/nickel
  src/libadobe.so.patch: usr/local/Kobo/libadobe.so
  src/libnickel.so.1.0.0.patch: usr/local/Kobo/libnickel.so.1.0.0
  src/libnickel.so.1.0.0.geek1011.patch: usr/local/Kobo/libnickel.so.1.0.0
  src/librmsdk.so.1.0.0.patch: usr/local/Kobo/librmsdk.so.1.0.0

overrides:
  src/nickel.patch:
    Custom synopsis/details line spacing: yes
    Custom Header menubar - reduce height by 33%: yes
  src/nickel.oren64.patch:
    Increase The Cover Size In Library: yes
    Increasing The View Details Container: yes
    Reading stats/Author name cut when the series is showing bug fix: yes
    Increase size of Kepub chapter progress chart: yes
  src/libadobe.so.patch:
    Remove PDF map widget shown during panning: yes
  src/libnickel.so.1.0.0.patch:
    Custom font sizes: yes
    Freedom to advanced fonts control: yes
    Custom Sleep/Power-off timeouts: yes
    Fix three KePub fullScreenReading bugs: yes
    Always display chapter name on navigation menu: yes
    Clock display duration: yes
  src/libnickel.so.1.0.0.geek1011.patch:
    New home screen footer rename: yes
  src/librmsdk.so.1.0.0.patch:
It's better than what I ask for, thanks I will test it today.
oren64 is offline   Reply With Quote