View Single Post
Old 08-26-2018, 04:46 AM   #49
JIPG-reader
Zealot
JIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beauty
 
JIPG-reader's Avatar
 
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
Quote:
Originally Posted by jackie_w View Post
If you prefer, you can exclude the files which are not needed by commenting them out (or deleting the whole line) in the patches section, e.g.
Code:
## 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/librmsdk.so.1.0.0.yaml: usr/local/Kobo/librmsdk.so.1.0.0
  src/nickel.yaml: usr/local/Kobo/nickel
  #src/libadobe.so.yaml: usr/local/Kobo/libadobe.so
Short answer: Don't worry about it
Long answer: I remember going through this as well. There is some discussion about it a couple of weeks (months???) ago, but I can't find it right now. ETA: It was 4 months ago! Post #40 onwards in this old thread
You are the best!

What you mentioned in post #40 of that thread is exactly what was getting me crazy!.

I use winrar and the result of kobopatch program was always a couple of files (nickel, librmsdk.so.1.0.0) inside the koboRoot.tgz, regardless the files I patched. But now, using 7-zip, everything is OK.

Thank you again. Your help is invaluable!.

OK. Now, after some fights with the number of blank spaces in the kobopatch.yaml file (to be honest, it is complicated to remember the number of them needed in each line and very easy to erase or to introduce one by mistake) and with the path to lrelease program in windows (in this specific case, it has to be written in "windows way" (C:\etc ...) not linux way (src/etc...) as in "additional files" section), I think I am ready to use kobopatch .

I am still confused with the "additional" overrides in kobopatch.yaml (up to now I have used the original yes-no toggle in the other .yaml files for my trials), but well, it is only a matter of "taste". I have changed the patches I needed in .yaml files with care, following some examples in the threads and it works! (how a long time lost with the winrar matter )

Last edited by JIPG-reader; 08-26-2018 at 05:20 AM.
JIPG-reader is offline   Reply With Quote