Commit Graph

417 Commits (master)

Author SHA1 Message Date
Qingping Hou 552246ba13 copy resources dir on customupdate 12 years ago
HW 38afb59b3f added interface to get blitbuffers from JPEG/PNG files
this is supposed to help us in the UI code.
12 years ago
Qingping Hou 0007a8677f fix: rm antiword in make clean 12 years ago
Qingping Hou e3f6bab9f1 mod: adapt Makefile to new kpvcrlib's CMake environment 12 years ago
HW a0c0c98093 added configurable static libstdc++ linking
you can now point to a static libstdc++:

make STATICLIBSTDCPP=/home/hw/kindle-sysroot/usr/lib/libstdc++.a
12 years ago
HW 538940baf7 reworked toolchain management a bit
you can now set the toolchain by using e.g.

make HOST=arm-unknown-linux-gnueabi
or
make HOST=arm-linux-gnueabi

also, a SYSROOT flag is introduced. I use this to point
the compiler to a certain sysroot (which contains headers
and might contain libraries to link against). I use this to
use a current and modern compiler against the older
software versions on the Kindle (especially glibc).

I use it like this:

make HOST=arm-none-linux-gnueabi SYSROOT="--sysroot=/home/hw/my-kindle-sysroot"
12 years ago
HW 2f11b761b0 fixed font copying upon customupdate 12 years ago
HW b32c3bef1f added bind-mounting of host fonts 12 years ago
HW ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
12 years ago
Dobrica Pavlinušić f9c97bcf59 Merge pull request #94 from dpavlin/dbbd6e4c1247e4caeff79245c62f5dd352b17d5b
cleanup customupdate make target
12 years ago
HW c24d0bd26e corrected CFLAGS for some base .c files 12 years ago
Dobrica Pavlinusic dbbd6e4c12 call all target for customupdates and cleanup install dir 12 years ago
HW cce3b41d63 don't build slider_watcher for now 12 years ago
Qingping Hou f926a12b73 fix: only copy css files from data directory when building customupdate
refer to #77
12 years ago
Dobrica Pavlinusic 9add90a169 Merge branch 'master' of github.com:hwhw/kindlepdfviewer 12 years ago
Qingping Hou 1f9efe0d9c Merge branch 'master' into epub
Conflicts:
	Makefile
	unireader.lua
12 years ago
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
12 years ago
Dobrica Pavlinusic 3160ae15f4 make fetchthirdparty fails on existing data dir #77 12 years ago
Qingping Hou 99f3d405b0 add: slider_watcher to customupdate target 12 years ago
Qingping Hou c41e3e75a3 add: demo for fixing #85, #86 12 years ago
Qingping Hou 17823a0b58 mod: add cflags in crereader compiling 12 years ago
Qingping Hou 8b6398b58e mod: small changes for kindle build 12 years ago
Qingping Hou 74ffdf019e add: dirty hack for libjpeg as workaround
no segfault now, but no images displayed.
12 years ago
Qingping Hou 2814102d28 mod: use customed cmake rules to build CREngine libraries 12 years ago
Dobrica Pavlinusic 989318661d disable djvu tools when cross-compiling 12 years ago
Qingping Hou 9b500189f2 Merge branch 'master' into epub 12 years ago
Dobrica Pavlinusic e97cfb91e7 hack crsetup.h using grep #77 12 years ago
Dobrica Pavlinusic ee5b32aced build crengine after depenencies #77 12 years ago
Dobrica Pavlinusic 8bd1cb09ea lua.h dependecy #77 12 years ago
Qingping Hou c56516d5d1 add: data from crengine 12 years ago
Qingping Hou 4821f10dda half done demo for crengine 12 years ago
traycold 96894ec1a5 update mupdf submodule to commit bdb6b688a238df56b2cf47fa17a08a4dd4b7a122 and small modification to source code to adapt to mupdf modifications 12 years ago
traycold e2e5af1c61 added some debug code to better understand memory usage by muPdf 12 years ago
HW a49c8fa2e5 forgot Makefile change when factoring out drawcontext 12 years ago
HW 7b120b0ee0 allow easier customization of toolchain for libdjvu 12 years ago
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
12 years ago
Dobrica Pavlinusic 9bd93fe9c1 move third-party git checkouts into submodules #43 12 years ago
Qingping Hou 9c41d0468e fix: remove misplaced backslash in Makefile 12 years ago
traycold eba1c2d5ef Merge remote-tracking branch 'hwhw/master' into djvu 12 years ago
Qingping Hou 2505128128 fix: add -lpthread for kpdfview target 12 years ago
Qingping Hou bd02f93d50 mod: remove sqlite in kpdfview dependence 12 years ago
Qingping Hou 1b1fc2b3ae integrate djvu support 12 years ago
traycold 9fb0fcadd8 fixed small type; set compiler variables when using scratchbox 12 years ago
HW 8816285ec7 removed SQLite and lsqlite for the moment 12 years ago
HW 357da594d4 disable ARM specific CFLAGS when in emu mode 12 years ago
HW b7d0e657a8 disabled debug symbol output, enabled optimization 12 years ago
Dobrica Pavlinusic c9064411f7 build only static djvulibre and fix cross-compile #26 12 years ago
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]
12 years ago
Qingping Hou 41c46313ef mod: adapt makefile to build djvu library 12 years ago
Qingping Hou 4a1a5233c0 Merge branch 'master' into djvu
Conflicts:
	reader.lua
12 years ago
Qingping Hou c4d0cd26ae half done djvu support 12 years ago
Dobrica Pavlinusic ccc2f7e134 cleanup old files before fetching new versions 12 years ago
Qingping Hou e9f6ecfb86 fix: freetype version in Makefile 12 years ago
HW 225fa725db Adapted to latest muPDF changes (xref -> document, memory context) 12 years ago
HW fbbdc8dfc0 Adapted to latest muPDF code. Makes code a bit slicker. 12 years ago
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
12 years ago
HW f48526d84c reworked install target a bit 13 years ago
HW f06b0f1dd3 added building/linking of luafilesystem
for info about luafilesystem, see
http://keplerproject.github.com/luafilesystem/
13 years ago
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.
13 years ago
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
13 years ago
Dobrica Pavlinusic 2d023d79c2 scp all *.lua files to Kindle 13 years ago
HW 11cc9e38f4 added mupdf patching to Makefile 13 years ago
HW c6e491ad11 accidently enabled PDF tracing output, revert that. 13 years ago
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.
13 years ago
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).
13 years ago
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.
13 years ago
HW 10a8d59882 oops, Makefile wasn't in initial import. 13 years ago