2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
NiLuJe
d6ab3b5224 Fix previous commit
So it actually works as intended ;p.
2015-09-06 17:00:31 +02:00
NiLuJe
2058209aa8 More Kindle startup tweaks on legacy devices
Don't try to setup iptables if it's not there (K2/DX/DXG).
Note that we'll do it on the K3, but it'll be useless there (no wifi).
2015-09-06 16:53:24 +02:00
NiLuJe
f85c10e3b9 Minor tweak to exit behavior on legacy devices.
Properly refresh the screen when exiting with the framework running.
The lua code to handle that is called while cvm is SIGSTOPP'ed, so it
doesn't help.
2015-09-06 16:23:46 +02:00
NiLuJe
a19954a201 Restart Kindle framework from an unpolluted env 2015-09-06 16:11:24 +02:00
NiLuJe
a4ebfee83b Handle the PW3
(Dry-coded, assume it's basically a PW2 w/ the KV screen ;p)
2015-09-05 03:33:11 +02:00
NiLuJe
02fcb9037b Fix startup scripts.
Thanks to @Markismus's questions, I realized that some of what i thought
was true, wasn't.

First, pkill is a terrible idea to check for interpreted scripts.
Second, pidof is also potentially not that great for interpreted
scripts, because it'll only work with a shebang, and one that is
following the Linux syntax.
We don't have the full version with the -x to paper over that,
so use pgrep -f instead.

cf.
a736a571d2 (commitcomment-10948910)
for the gory details.
2015-04-28 21:07:25 +02:00
NiLuJe
8703a043c7 Fix the eips prints on a KT2 2015-04-28 18:26:10 +02:00
NiLuJe
8661194b79 Nice typo bro! 2015-04-27 02:21:28 +02:00
NiLuJe
2d07ec8a9d Handle snapshot tarballs w/ KUAL manual update
It only handled release zips so far.
2015-04-27 02:19:04 +02:00
NiLuJe
a736a571d2 Same pkill trick as the Kobo scripts
Only here to satisfy my OCD ;p
2015-04-26 20:48:40 +02:00
NiLuJe
2fe8dc40d7 Fix eips centering on the KV
For some strange reason, eips relies on the virtual xres on FW 5.x
2015-04-26 19:14:14 +02:00
chrox
68623854fe Add Kindle Voyage support on libkohelper 2015-04-15 13:41:00 +08:00
chrox
bb164c1deb Load our own shared libraries if possible
This should fix #1482.
2015-04-13 10:54:32 +08:00
chrox
a40c172c47 fix mupdf rendering caused by FONTDIR env var
It turns out that one of our mupdf patch reads the FONTDIR env var
and uses it in a totally different way so we will use another env var
EXT_FONT_DIR to define external font directory for different platforms.
2015-01-28 02:20:45 +08:00
chrox
077517be0b add FONTDIR env variable
to support custom font directory for EPUB documents

Now Koreader could find fonts in the "fonts" directory in the USB root
directory of kindle, Kobo and PocketBook devices, thus no need to copy
fonts to "koreader/fonts" directory.
2015-01-25 16:52:04 +08:00
chrox
46963df0bb don't need to rebuild ota installed package if it's detected 2014-10-14 21:34:56 +08:00
chrox
3554bdd2c4 fix firewall block of calibre companion on Kindle 2014-10-14 21:34:56 +08:00
chrox
2d3c502948 move platform dependent files into 'platform' directory 2014-10-03 18:02:50 +08:00