Commit Graph

118 Commits (e82121b72e0c8ad5cebcb4e51202e26ad558edda)

Author SHA1 Message Date
Qingping Hou e82121b72e add HOSTAR for emu mode complie 12 years ago
Qingping Hou 9a1e581f7a add popennslib to cleanthirdparty 12 years ago
NiLuJe 30c3497654 Slight syntax tweak 12 years ago
NiLuJe 4c5341fb30 Hello, tiny stupid typo! 12 years ago
NiLuJe 4310b68b3b Don't checkout popen_noshell twice (it reverts parts of our patch) 12 years ago
NiLuJe 84e107313c Don't patch popen-noshell twice 12 years ago
NiLuJe 8250d77390 Properly fix the luajit *FLAGS mess 12 years ago
NiLuJe 3672d79fef Restore Makefiles tweaks 12 years ago
NiLuJe 10c9b3a58c Fetch popen_noshell during fetchthirdparty, don't bundle it in our repo 12 years ago
NiLuJe 18ed67ba2c Fix a stupid typo 12 years ago
NiLuJe ead342926c Use popen_noshell as a static lib instead of an object file. Use CHOST
instead of HOST (and allow it to be set from the env), use $(MAKE)
instead of make to allow using the jobserver properly, and remove the
dash from commands where we do care about the return code (or inhibit
errors the usual way: rm -f instead of -rm)

Conflicts:

	Makefile
12 years ago
NiLuJe ee7122d6c4 Revert Makefile changes potentially unsuitable for upstream 12 years ago
NiLuJe 7ce8ff58f8 Update the standalone testcase, too. 12 years ago
NiLuJe 26e10c6069 Fix input device closing, and fix lipc-wait-event handling (using
popen-noshell from http://code.google.com/p/popen-noshell/)

Conflicts:

	input.c
12 years ago
NiLuJe acae9e618b Makefile tweaks for my TC 12 years ago
Dobrica Pavlinusic c6ead8690e use git describe to generate version
Last release had git annotate tag (added with git -a) so this is
now much better alternative to just git sha1
12 years ago
Tigran Aivazian 47e5065d6a Be minimalistic wrt LDFLAGS
Passing CFLAGS and LDFLAGS to kpdfview link stage has no effect in our
particular case, so I ripped it out, leaving it only for the crengine.
12 years ago
Tigran Aivazian d5fb6c846f Enable LTO for kpdfview and crengine
Enaling link time optimizations for kpdfview binary and crengine library
causes another slight performance increase --- almost negligible (1-2ms
per page) but still noticeable by precise measurements.
12 years ago
Tigran Aivazian 15baa52889 ARM-specific optimizations
Thanks to NiLuJe who pointed out that our generic -march=armv6 can be
replaced (for K2/K3/DX/DXG) with a more specific optimization:
-march=armv6j -mtune=arm1136jf-s -mfpu=vfp. This I have now done and
also passed ARM_CFLAGS value to CXXFLAGS which is then passed to
crengine build. Tested, works fine. The performance improvement is
negligible (a few ms per page, but seems to be consistently better, i.e.
not just plus/minus fluctuations).
12 years ago
Tigran Aivazian 5dc488e8c8 Build mupdf in release mode, not debug.
Thanks to NiLuJe who pointed out that we are building mupdf in debug
mode. Switching to "release" build reduced the size of the kpdfview
binary and did not cause any performance degradation (but no noticeable
improvement either --- the page handling times seem to be exactly the
same, i.e. fluctuating a couple of ms in both directions).
12 years ago
Tigran Aivazian 2ac7c7d4cf Optimize compilation of cre.cpp
1. Remove unused "-lsdtc++" from the compilation stage as no linking is
done then.
2. Add our standard CFLAGS to the compilation of cre.cpp which brings in
-O3 -march=armv6 which enables optimizations.
It seemed strange that we compile a cpp file with gcc (as opposed to
g++), but I left it as is for now.
12 years ago
Tigran Aivazian c5565146f9 Typo: --disable-largefiles -> --disable-largefile
As a result of a simple typo we were continuing to include LFS
support unnecessarily...
12 years ago
Tigran Aivazian 35701e6ec0 Create static directories at build, not runtime.
Instead of calling lfs.mkdir() to create "./history" and "./screenshots"
at runtime it is easier to create them at package build time.
I hesitated whether to add "./clipboard" to this list but decided
against it as we can perhaps change current directory and then
all the code manipulating clipboard would break, so I left it as is.

Conflicts:

	filechooser.lua
	screen.lua
	settings.lua
12 years ago
Tigran Aivazian 50a76c09a0 Optimize building djvulibre.
1. Don't build xmltools in the emulator
2. Remove duplicate --disable-desktopfiles
3. Don't build LFS support. The largest DjVu file I have ever published
was a highres facsimile edition of the London Walton Polyglot (1657)
which was a "mere" 1GB in size and I don't think anyone produced
anything bigger. Besides, storing DjVu files >2GB in size (even if
they existed, which I doubt) on a Kindle with only 3GB total storage
space is _exceedingly_ unlikely.
12 years ago
Dobrica Pavlinusic cf5dca718b include git rev in distribution zip 12 years ago
Dobrica Pavlinusic 83d910b7d3 use README.md in distribution zip
Conflicts:

	Makefile
12 years ago
Qingping Hou e6a8f5558c move -l argument to the end of GCC call 12 years ago
Dobrica Pavlinusic cc52ee0a09 Revert "Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain."
This reverts commit 2650faa000
as described in #229
12 years ago
Tigran Aivazian bcb85d7c07 Fix the Makefile to use freetype-2.4.10 and kpvcrlib/CMakeLists.txt to do the same and also zlib 1.2.5->1.2.7 and libjpeg 8d->9. 12 years ago
Tigran Aivazian a52aee2f9a Set up to compile with arm-kindle-linux-x-tools-glibc2.5-gcc4.2.4.tar.gz toolchain. 12 years ago
Qingping Hou 98c752f50d Merge branch 'new_ui_code' of github.com:houqp/kindlepdfviewer into new_ui_code
for push
12 years ago
Qingping Hou c1ccff70ad minor adjustment for Makefile and document.lua 12 years ago
Dobrica Pavlinusic 77fece8ad9 fix lua include path 12 years ago
Kefu Chai e39bbd7077 fixes for mac
* per http://luajit.org/install.html, otherwise LuaJIT always fails
  to get desired memory chunk from mmap(2)
* kill a warning of clang
12 years ago
Qingping Hou ae780a543b check mupdf's thirdparty libs' version 12 years ago
Qingping Hou 10e723896b fix wrong warnning message in Makefile 12 years ago
Qingping Hou 59e81a0345 fix typo in makefile 12 years ago
Qingping Hou fba5ce51bd Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code 12 years ago
Qingping Hou a26f6ed9a5 update customupdate target for new ui framework 12 years ago
Qingping Hou 2108b6daeb fix CC for luajit compilation
Conflicts:
	Makefile
12 years ago
Qingping Hou 8f410bdbbe fix cleanthirdparty target 12 years ago
HW 31df51cc80 update to freetype-2.4.9 12 years ago
HW a381e11a9e switch to LuaJIT-2.0
LuaJIT is a JIT compiler for Lua code. It's phenomenal work, and
you can read about it here: http://luajit.org/
12 years ago
HW 1c05fa2a24 added shortcuts for Kite
as per suggestion from NuPogodi:
http://www.mobileread.com/forums/showpost.php?p=2090800&postcount=465
12 years ago
Qingping Hou 0e9e1f8482 Merge branch 'master' of github.com:hwhw/kindlepdfviewer 12 years ago
Qingping Hou dbb49505f1 add doc format support
Though I don't like doc at all.
12 years ago
Dobrica Pavlinusic ebc5f94f61 crengine patching shouldn't fail if already applied
When patch is already applied, -N will skip applying it again,
but it will also return error exit code which will break
make fetchthirdparty
12 years ago
Qingping Hou c961fbd515 add dirty hack for child node font settings. 12 years ago
Dobrica Pavlinusic 77f2c3b386 don't patch already patched crengine 12 years ago
traycold 429f572827 modification to take into account new version of mupdf 12 years ago