Commit Graph

199 Commits (936dfc6fd17c513cb154c61c01f75323af843dd4)

Author SHA1 Message Date
chrox 936dfc6fd1 add text highlight in both reflow and non-reflow mode 11 years ago
Qingping Hou 3e6005b3af replace i18n with MO_DIR 11 years ago
chrox b7e0cb2c80 Makefile fix
i. add make mo in rule of make all
ii. make make customupdate depend on make all
iii. copy i18n in current directory
11 years ago
Qingping Hou d4cec9956d link i18n dir in emu 11 years ago
Qingping Hou 9f267ef5fd add i18n to bootstrapemu target 11 years ago
Qingping Hou 95b2442a49 add target to generate mo files 11 years ago
Qingping Hou 4747cd6a8a add gettext related target to Makefile 11 years ago
Qingping Hou 8968efeb72 copy i18n in customupdate 11 years ago
Qingping Hou 4ccf5a57e3 a little bit code cleanup 11 years ago
Qingping Hou 0285475bac make history directory in bootstrapemu target 11 years ago
chrox 1d775c27a6 rename kpdf.sh to koreader.shin in customupdate 11 years ago
Qingping Hou b096af45a2 define KOR_BASE at the top of Makefile 11 years ago
Qingping Hou c3fb3fb7db fix typo 11 years ago
Qingping Hou c70520dedf add KOR_BASE variable in Makefile 11 years ago
Qingping Hou 221bc10404 add bootstrapemu target and update README 11 years ago
Qingping Hou 23435317ce add emulation bootstrap target in makefile & update README 11 years ago
Qingping Hou 9546c5503b update reader name in customupdate to koreader 11 years ago
Qingping Hou 7d60a4a44f generate git-rev on package build 11 years ago
HW fb317810fa Some adaptions needed after refactoring 11 years ago
HW 6a92cb99e8 Step #3 factoring out the frontend code
This is a first try, but some work is still needed to bring the
build system back into shape.
11 years ago
Qingping Hou 8d2e5128b6 remove kite in favor of KUAL 11 years ago
chrox 6e858a980b add extensions directory in customupdate 11 years ago
chrox 0706cd719b add libk2pdfopt as a prerequisite lib for kpdfview object 12 years ago
Qingping Hou 3838d8f890 build crengine as shared library
* upstream project removed CMakeLists.txt in crengine dir now, so I
added our own in kpvcrlib/CMakeLists.txt

* fix segfault bug in lvimg.cpp by removing JCONFIG_INCLUDED definition
12 years ago
Tigran Aivazian 667d6b654f Don't use DroidSansFallbackFull.ttf fonts
Use DroidSansFallback.ttf rather than DroidSansFallbackFull.ttf because
that is what is used for rendering cjk glyphs by mupdf (see mupdf.patch).

Conflicts:
	font.lua
12 years ago
Tigran Aivazian 42a4c8042b Package defaults.lua and symlink libluajit-5.1.so
1. The file defaults.lua needs to be mentioned in LUA_FILES in order to
be packaged by "make customupdate".
2. The problem with the linker not finding libluajit-5.1.so.2 can be
fixed without specifying the shared library in the list of objects (and
static libraries), simply by making a symbolic link. No need to copy a
duplicate.

Conflicts:

	Makefile
12 years ago
HW e129307c40 Fixed initialization/update of mupdf's submodules, build "release" version of build helpers 12 years ago
Qingping Hou a123e5157f remove comments 12 years ago
HW 503fefe7ec moved luajit-2.0 and mupdf to latest version - now really
Conflicts:

	Makefile
12 years ago
HW 77866a4bd4 disabled patching of libjpeg, restructured everything for mupdf subrepos
Conflicts:

	Makefile
12 years ago
HW e26ae14bed updated mupdf to latest version
Conflicts:

	Makefile
12 years ago
Tigran Aivazian b3b3d04c98 Create history and clipboard dirs for the emulator 12 years ago
Tigran Aivazian 80fb6c21cc Use the font DroidSansFallbackFull.ttf
Conflicts:

	font.lua
12 years ago
Tigran Aivazian f2f299cd09 Bugfix: link with the static libjpeg.a
We should explicitly link with the libjpeg.a from mupdf/thirdparty and not with the
shared libjpeg.so that may happen to be installed on the system.

Conflicts:

	Makefile
12 years ago
Qingping Hou 44a0bf33ac Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code
Conflicts:
	Makefile
12 years ago
HW f073c23296 Switched LuaJIT to shared library instead of static 12 years ago
chrox edd18c4219 update k2pdfopt to version 1.62 12 years ago
chrox 4d14cd69b2 use -O3 option in compiling libk2pdfopt
Probably we should use fomit-frame-pointer explicitly even though
fomit-frame-pointer is included by default with -O2 and -O3 just like
the Linux kernel guys doing. I found append -O3 directly to `CFLAGES`
will do the trick. So I removed the KOPT_CFLAGS variable.
12 years ago
chrox f10feb9b94 add -fno-finite-math-only in KOPT_CFLAGS
In some compilation platform if finite-math-only option is turned
on, math functions like exp and sqrt will be dynamically linked to
finite versions which cannot be located in Kindle's GLIBC. In my
toolchain the symbol __exp_finite cannot be found in GLIBC_2.4 so
gcc just use __exp_finite in GLIBC_2.15, which will cause a run time
error in Kindle saying "version GLIBC_2.15 not found"
12 years ago
chrox ec03261dc6 -fomit-frame-pointer is enabled at level -O, -O2, -O3 12 years ago
chrox 7850aab2b0 add libk2pdfopt.so.1 in customupdate 12 years ago
chrox 5acf471ecb use -O3 option in k2pdfopt compilation
Koptreader will gain 20% performance boost.
12 years ago
chrox 44361faeee build libk2pdfopt as a shared library 12 years ago
chrox a5b28ff6f2 include k2pdfopt header in pdf.c and djvu.c and koptcontext.h 12 years ago
chrox 8430850a39 move k2pdfopt source to a submodule libk2pdfopt
Currently libk2pdfopt is staticly linked to kpdfview.
12 years ago
chrox f70ef06ea6 use koptcontext to keep dozons of parameters for k2pdfopt 12 years ago
Qingping Hou ba60e641a9 add emu_event to clean target 12 years ago
Qingping Hou 0b08992591 update djvulibre target dependence for LIBDIR 12 years ago
Tigran Aivazian 6580291e3a Link against libraries in libs and libs-emu
Instead of linking against the location inside the original build tree
we should link against the copy in a single place. This makes the build
code cleaner and more compact even now and will do even more so when we
build more libraries as shared (which is what I am going to attempt
next).
12 years ago
Tigran Aivazian 87d0b94d9b Mkdir clipboard at build, not runtime
Conflicts:

	filechooser.lua
12 years ago