2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

302 Commits

Author SHA1 Message Date
Qingping Hou
1f9efe0d9c Merge branch 'master' into epub
Conflicts:
	Makefile
	unireader.lua
2012-04-07 23:09:57 +08:00
Dobrica Pavlinusic
f1ba76bfdc create fonts symlink to TTF_FONTS_DIR #77
It took me few tries to figure out that fonts should point to directory
with *.ttf files as opposed to directory with subdirectories so I
decided to add comment about it
2012-04-07 13:48:33 +02:00
Dobrica Pavlinusic
3160ae15f4 make fetchthirdparty fails on existing data dir #77 2012-04-07 13:37:37 +02:00
Qingping Hou
99f3d405b0 add: slider_watcher to customupdate target 2012-04-06 21:21:21 +08:00
Qingping Hou
c41e3e75a3 add: demo for fixing #85, #86 2012-04-06 13:51:37 +08:00
Qingping Hou
17823a0b58 mod: add cflags in crereader compiling 2012-04-04 20:24:17 +08:00
Qingping Hou
8b6398b58e mod: small changes for kindle build 2012-04-04 15:27:01 +08:00
Qingping Hou
74ffdf019e add: dirty hack for libjpeg as workaround
no segfault now, but no images displayed.
2012-04-04 02:57:02 +08:00
Qingping Hou
2814102d28 mod: use customed cmake rules to build CREngine libraries 2012-04-02 11:52:34 +08:00
Dobrica Pavlinusic
989318661d disable djvu tools when cross-compiling 2012-03-31 19:47:39 +02:00
Qingping Hou
9b500189f2 Merge branch 'master' into epub 2012-03-29 19:36:32 +08:00
Dobrica Pavlinusic
e97cfb91e7 hack crsetup.h using grep #77 2012-03-29 00:59:15 +02:00
Dobrica Pavlinusic
ee5b32aced build crengine after depenencies #77 2012-03-28 20:02:41 +02:00
Dobrica Pavlinusic
8bd1cb09ea lua.h dependecy #77 2012-03-28 19:47:39 +02:00
Qingping Hou
c56516d5d1 add: data from crengine 2012-03-29 00:16:00 +08:00
Qingping Hou
4821f10dda half done demo for crengine 2012-03-29 00:09:26 +08:00
traycold
96894ec1a5 update mupdf submodule to commit bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 and small modification to source code to adapt to mupdf modifications 2012-03-24 17:47:52 +01:00
traycold
e2e5af1c61 added some debug code to better understand memory usage by muPdf 2012-03-22 02:08:31 +01:00
HW
a49c8fa2e5 forgot Makefile change when factoring out drawcontext 2012-03-19 22:04:49 +01:00
HW
7b120b0ee0 allow easier customization of toolchain for libdjvu 2012-03-18 11:48:26 +01:00
Dobrica Pavlinusic
65f95ca204 fix fetchthirdparty, closes #43
- added forgot git submodule init to make empty repository checkout work
- fetchthirdparty won't re-download exiting archives on disk
- moved mupdf-thirdparty.zip to root of repostory, since mupdf already
  has .gitignore and we shouldn't modify upstream submodule
2012-03-08 14:06:16 +01:00
Dobrica Pavlinusic
9bd93fe9c1 move third-party git checkouts into submodules #43 2012-03-07 17:19:52 +01:00
Qingping Hou
9c41d0468e fix: remove misplaced backslash in Makefile 2012-03-06 11:58:44 +08:00
traycold
eba1c2d5ef Merge remote-tracking branch 'hwhw/master' into djvu 2012-03-05 23:36:58 +01:00
Qingping Hou
2505128128 fix: add -lpthread for kpdfview target 2012-03-05 14:43:09 +08:00
Qingping Hou
bd02f93d50 mod: remove sqlite in kpdfview dependence 2012-03-05 08:58:11 +08:00
Qingping Hou
1b1fc2b3ae integrate djvu support 2012-03-04 23:30:08 +01:00
traycold
9fb0fcadd8 fixed small type; set compiler variables when using scratchbox 2012-03-04 23:01:41 +01:00
HW
8816285ec7 removed SQLite and lsqlite for the moment 2012-03-04 17:50:25 +01:00
HW
357da594d4 disable ARM specific CFLAGS when in emu mode 2012-03-04 16:56:19 +01:00
HW
b7d0e657a8 disabled debug symbol output, enabled optimization 2012-03-04 15:36:17 +01:00
Dobrica Pavlinusic
c9064411f7 build only static djvulibre and fix cross-compile #26 2012-03-04 15:31:15 +01:00
Dobrica Pavlinusic
2b0a17e034 switch to git djvulibre since 3.5.24 fails #26
I'm using gcc version 4.6.3 (Debian 4.6.3-1) and git does compile while
version 3.5.24 fails with:

In file included from ../../libdjvu/GContainer.h:67:0,
                 from ../../libdjvu/GContainer.cpp:63:
../../libdjvu/GSmartPointer.h:492:30: error: ‘size_t’ does not name a type
../../libdjvu/GSmartPointer.h:492:37: error: ISO C++ forbids declaration of ‘n’ with no type [-fpermissive]
2012-03-04 14:29:11 +01:00
Qingping Hou
41c46313ef mod: adapt makefile to build djvu library 2012-03-03 22:56:07 +08:00
Qingping Hou
4a1a5233c0 Merge branch 'master' into djvu
Conflicts:
	reader.lua
2012-03-03 17:08:06 +08:00
Qingping Hou
c4d0cd26ae half done djvu support 2012-03-01 21:04:46 +08:00
Dobrica Pavlinusic
ccc2f7e134 cleanup old files before fetching new versions 2012-02-29 16:17:43 +01:00
Qingping Hou
e9f6ecfb86 fix: freetype version in Makefile 2012-02-26 11:08:58 +08:00
HW
225fa725db Adapted to latest muPDF changes (xref -> document, memory context) 2012-02-13 20:13:04 +01:00
HW
fbbdc8dfc0 Adapted to latest muPDF code. Makes code a bit slicker. 2012-01-21 19:20:16 +01:00
Dobrica Pavlinusic
f74def7a69 create customupdate package for launchpad installation
This change also modifies installation directory for install
and customupdate make targets to /mnt/us/kindlepdfviewer
2012-01-19 19:52:22 +01:00
HW
f48526d84c reworked install target a bit 2011-12-09 00:11:55 +01:00
HW
f06b0f1dd3 added building/linking of luafilesystem
for info about luafilesystem, see
http://keplerproject.github.com/luafilesystem/
2011-12-02 23:10:59 +01:00
HW
f307264fb6 added freetype text rendering (still buggy)
this allows to render glyphs and also brings a simple
engine for rendering UTF-8 strings onto the framebuffer.
blitting to uneven offset is implemented here, too, but
needs more work and is still buggy.

In the end, this will allow for a simple GUI.
2011-12-01 01:35:53 +01:00
HW
12edfa7627 integrated sqlite3 + luasqlite3 in build
This will pull in support for SQLite3.
For the API, see here:
http://lua.sqlite.org/index.cgi/index
2011-11-29 00:07:46 +01:00
Dobrica Pavlinusic
2d023d79c2 scp all *.lua files to Kindle 2011-11-21 19:30:00 +01:00
HW
11cc9e38f4 added mupdf patching to Makefile 2011-11-20 23:02:39 +01:00
HW
c6e491ad11 accidently enabled PDF tracing output, revert that. 2011-11-17 00:52:07 +01:00
HW
4e037e44f5 more makefile love: compile everything in one go
now - after fetching third party sources - you can
compile everything via

make

or

EMULATE_READER=1 make

in one go.
2011-11-17 00:50:10 +01:00
HW
f78776a4d5 changes on building (clean-up) and emulation code
cleaned up Makefile a bit and made emulation related
parts really conditional on a single flag (EMULATE_READER).
2011-11-16 23:52:26 +01:00
HW
ade5c4892d better argument parsing and option for gamma correction
included MIT-licensed alt_getopt implementation:
http://files.luaforge.net/releases/alt-getopt/alt-getopt/alt-getopt-0.7.0

created example use of gamma correction.

reader.lua now has usage notes for its invocation syntax.
2011-11-16 17:13:08 +01:00
HW
10a8d59882 oops, Makefile wasn't in initial import. 2011-11-14 19:17:14 +01:00