Quote:
Originally Posted by GeoffR
The basic procedure is to extract each file that needs to be patched, apply the patch to each file, and then create a new KoboRoot.tgz containing just the patched files with their original pathnames.
So instead of step 4 in the instructions of post #1: if you can somehow extract libnickel.so.1.0.0 and libadobe.so into the patch_kobo_35 directory, then from that directory run:
Code:
mkdir -p ./usr/local/Kobo
./tools/patch32lsb-Darwin -p 3.5.0_source/libadobe.so.patch -i libadobe.so -o ./usr/local/Kobo/libadobe.so
./tools/patch32lsb-Darwin -p 3.5.0_source/libnickel.so.1.0.0.patch -i libnickel.so.1.0.0 -o ./usr/local/Kobo/libnickel.so.1.0.0
tar cvzf KoboRoot.tgz ./usr/local/Kobo/libadobe.so ./usr/local/Kobo/libnickel.so.1.0.0
|
Great!! Thanks GeoffR! it did worked for me now
Code:
Alinkas-MacBook:~ Alinka$ cd /Volumes/HOME\ /Alinka/Documents/Bubenchik/KoboHack/patch_kobo_35
Alinkas-MacBook:patch_kobo_35 Alinka$ mkdir -p ./usr/local/Kobo
Alinkas-MacBook:patch_kobo_35 Alinka$ ./tools/patch32lsb-Darwin -p 3.5.0_source/libadobe.so.patch -i libadobe.so -o ./usr/local/Kobo/libadobe.so
Read 245796 bytes from input file 'libadobe.so'
Applied patch `Remove PDF map widget shown during panning`
Ignoring disabled patch `Preserve PDF pan position across page turns`
Ignoring disabled patch `Remove PDF page turn arrows at left and right edges of page`
Wrote 245796 bytes to output file './usr/local/Kobo/libadobe.so'
Alinkas-MacBook:patch_kobo_35 Alinka$ ./tools/patch32lsb-Darwin -p 3.5.0_source/libnickel.so.1.0.0.patch -i libnickel.so.1.0.0 -o ./usr/local/Kobo/libnickel.so.1.0.0
Read 16913252 bytes from input file 'libnickel.so.1.0.0'
Applied patch `Custom reading footer style`
Ignoring disabled patch `Custom header style`
Ignoring disabled patch `My 10 line spacing values`
Applied patch `My 15 line spacing values`
Applied patch `Custom fonts sizes`
Applied patch `Custom left & right margins`
Ignoring disabled patch `Custom kepub default margins`
Applied patch `Freedom to advanced fonts control`
Applied patch `Brightness fine control`
Applied patch `Unitless ePub line height`
Applied patch `Synopsis font size fix`
Ignoring disabled patch `Allow download all in Browser`
Ignoring disabled patch `ePub adjustable top/bottom margin`
Ignoring disabled patch `Custom page refresh options`
Ignoring disabled patch `Remove system fonts in Reader list`
Ignoring disabled patch `Remove non-system fonts in Reader list`
Ignoring disabled patch `Cyrillic keyboard`
Ignoring disabled patch `Wi-Fi insomnia`
Ignoring disabled patch `Disable pinch-to-zoom font resizing`
Ignoring disabled patch `Margins fine tuning`
Ignoring disabled patch `Block WiFi firmware upgrade`
Wrote 16913252 bytes to output file './usr/local/Kobo/libnickel.so.1.0.0'
Alinkas-MacBook:patch_kobo_35 Alinka$ tar cvzf KoboRoot.tgz ./usr/local/Kobo/libadobe.so ./usr/local/Kobo/libnickel.so.1.0.0
a ./usr/local/Kobo/libadobe.so
a ./usr/local/Kobo/libnickel.so.1.0.0
Alinkas-MacBook:patch_kobo_35 Alinka$
Can I just drug it back into ./usr/local/Kobo folder and compress KoboRoot folder into zip archive and change .zip to .tgz? Will this work?