View Single Post
Old 07-08-2018, 01:15 PM   #71
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,255
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by npr View Post
I think with the soft fail for "no" patches, all that's needed is to publish a standard kobopatch.yaml file listing all the patches flagged as "no". It's then a simple editing job for the user to change the "no" to "yes" for the patches he wants.

Can I also suggest adding a option to reduce the detail in the log file. Most of what's there means nothing to me, all I need is a list of patches successful processed.

For info: my kobopatch.yaml file

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

## The patch format to use: kobopatch (.yaml) or patch32lsb(.patch)
patchFormat: patch32lsb

## This section lists the patch files and the corresponding binary in the tgz.
patches:
  src/nickel.patch: usr/local/Kobo/nickel
  src/nickel.custom.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/librmsdk.so.1.0.0.patch: usr/local/Kobo/librmsdk.so.1.0.0

## You can put lines in the following section to override the enabled state of patches.
## The indentation matters! Each override should be indented by 4 spaces. Add to the 
## section below. This section can be copy and pasted into newer patch versions to
## keep your selections.
##
## Example of how it should look:
## overrides:
##   src/nickel.patch:
##     Custom synopsis/details line spacing: yes
##     Whatever the patch is called: no
##   src/libadobe.so.patch:
##     You get the idea: yes
overrides:
  src/nickel.patch:
     Disable reading footer: no
     Custom reading footer style: yes
     Custom synopsis/details line spacing: no
     Custom synopsis/font size: no
     Custom Header menubar - reduce height by 33%: yes
     Custom Header menubar - reduce height by 50%: no
     Dictionary pop-up frame size increase: no
     New home screen increasing cover size: no
     Reading stats/Author name cut when the series is showing bug fix: no
##     Increase size of Kepub chapter progress chart: no
##     New home screen removing the footer (row3) and increasing cover size: yes
##     show games on Beta Features: yes
  src/nickel.custom.patch:
     show games on Beta Features: yes 
  src/libadobe.so.patch:
     Remove PDF map widget shown during panning: no
  src/libnickel.so.1.0.0.patch:
     My 10 line spacing values: yes
     My 24 line spacing values: no
     Custom left & right margins: yes
     Custom font sizes: yes
     Freedom to advanced fonts control: yes
     ePub fixed/adjustable top/bottom margins: no
     ePub fixed top/bottom margins: no
     ePub disable built-in body padding-bottom: no
     Custom kepub default margins: yes
     Block WiFi firmware upgrade: no
     Custom footer (page number text): no
     Custom Sleep/Power-off timeouts: no
     Set KePub hyphenation: yes
     Fix three KePub fullScreenReading bugs: yes
     Force user line spacing in KePubs: yes
     Force user line spacing in ePubs (part 1 of 2): no
     Un-force font-family override p tags (std epubs): no
     Force user font-family in ePubs (Part 1 of 2): no
     ePub constant font sharpness: no
     KePub constant font sharpness: no
     Un-Force user text-align in div,p tags in KePubs: no
     Always display chapter name on navigation menu: no
     Un-Force user font-family in KePubs: no
     Un-force link decoration in KePubs: no
     KePub stylesheet additions: yes
     Change dicthtml strings to micthtml: no
     Allow searches on Extra dictionaries: no
     Ignore .otf fonts: no
     Brightness fine control: no
     Dictionary text font-family/font-size/line-height - beta: no
     Clock display duration: no
##     Keyboard template (Mini/Touch/Glo/Aura): no
##     Keyboard template (AuraHD/H2O): no
##     Keyboard template (GloHD/AuraOne/H2O2): no
##     Cyrillic keyboard (Mini/Touch/Glo/Aura/AuraHD/H2O): no
##     Cyrillic Keyboard (GloHD/AuraOne/H2O2): no
##     Arabic keyboard (Mini/Touch/Glo/Aura/AuraHD/H2O): no
##     Hebrew keyboard (Mini/Touch/Glo/Aura): no
##     Hebrew keyboard (AuraHD/H2O): no
##     Hebrew keyboard (GloHD/AuraOne/H2O2): no
##     Greek Keyboard (GloHD/AuraOne/H2O2): no
  src/librmsdk.so.1.0.0.patch:
     Disable orphans/widows avoidance: yes
     Default ePub monospace font (Courier): no
     Default ePub serif font (Amasis): no
     Default ePub sans-serif font (Gill Sans): no
     Default ePub symbol font (Symbol): no
     Force user line spacing in ePubs (Part 2 of 2): no
     Force user font-family in ePubs (Part 2 of 2): no
     Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt): no
     Ignore ePub book CSS and Adobe XPGT stylesheets: no
     Ignore ePub TOC navpoints: no


Sorry, lost the indentation on pasting to the forum.
## The indentation matters! Each override should be indented by 4 spaces.
Just add [code] .... [/code] to preserve indentation
PeterT is offline   Reply With Quote