Commit Graph

355 Commits (7210fb478d8d0c6aa5bb8e0ae3e0fc67dd730874)

Author SHA1 Message Date
chrox a4f870753e Koreader win32 port 10 years ago
chrox 87d9d21079 make templates dir since it's removed together with the pot file 10 years ago
chrox 1817a9190f remove template pot and translated po files in the main repo
aternatively the resource file(pot file) in Transifex is updated
with `make pot` and the translated files(po files) is updated with
`make po`. `make pot po` will be handled automatically on the nightly
build machine.
10 years ago
chrox f89dfe0b06 fix making of local package in OTA for Kobo
by excluding kobo launching files that may be removed after installation
10 years ago
chrox dc911c659e adapt DroidSansFallback file name 10 years ago
pazos a568995778 remove wifi.sh from Makefile 10 years ago
NiLuJe 30f733f9d9 Fix utter breakage of the Kindle startup script.
I forgot to update the Makefile when I renamed the helper include...
Ooops. >_<"
10 years ago
NiLuJe 477d661e8f Add visual feedback to OTA updates on Kindle
Dry-coded
10 years ago
chrox d9f5edf54a add 'Check update' menu and OTA update functionality 10 years ago
pazos 37d6239e20 Add wifi toggle for kobos 10 years ago
NiLuJe 2f47ae3d1b Add an installer/updater to the KUAL ext.
And also play with some CRe settings, for kicks.
10 years ago
NiLuJe 526a4f8ec1 Don't bundle launchpad on non-legacy Kindles 10 years ago
pazos 57266daec5 Fix back to nickel in 3.4.1 10 years ago
chrox 5df6768c77 fix make koboupdate since there is no bins in kobo directory now 10 years ago
pazos b690d6aa95 standarize script names for kobos 10 years ago
Qingping Hou 0a40534688 fix(build): add git submodule sync to fetchthirdpary 10 years ago
chrox 650879ec5c now make po should be issued manually 10 years ago
Qingping Hou f6a9c694dc refactor: update reader to use new launcher 10 years ago
chrox 54277974d2 make Android target 10 years ago
chrox f507fd3709 various Android fix
now the android build has nearly the same features as the
Kindle/Kobo build. It's time for Android nightly build?
10 years ago
chrox 0a4a092d12 initial commit for android port of koreader
This PR just shows how far we have went to
the android port. There is still a few steps before a running
android port.
10 years ago
chrox 599c02ffcf add android build target 10 years ago
Hans-Werner Hilse 6acdf35239 don't build .mo files, we read .po now 10 years ago
chrox 71eda7a0ca busted test for frontend 10 years ago
chrox 2a80c8f24a rename customupdate to kindleupdate in Makefile 10 years ago
chrox aa13e7ab4f reorganize launching scripts for both kindle and kobo
so that platform specific files are collected into platform
directory respectively
10 years ago
Huang Xin 4156b2edd0 Merge pull request #559 from Markismus/master
Return to Home screen for Kobo devices Mini, Touch and Aura
10 years ago
Markismus bd4b5a11ad Added Kobo files to Makefile
I can't test on my laptop. Would these changes be enough?
10 years ago
chrox 842439cb62 update pot file for plugins 10 years ago
chrox 5c1d5c3314 add Evernote plugin to export highlights and notes
The "My Clipping" file that storing highlights and notes for Kindle
native readers could also be parsed and exported. The parser is
implemented in `evernote.koplugin/clip.lua`.

Parsed highlights and notes in one book will be packed and rendered
into html node with a slt2 template `note.tpl` that complies with
evernote markup language(ENML).

Finally the evernote client will create or update note entries and
push them to Evernote cloud.
10 years ago
chrox 6bee469ea0 add make test in Makefile and README file 10 years ago
chrox 315abd92d3 strip unnecessary parts in update packages 10 years ago
Qingping Hou 93d04839fc support for building against custom koreader-base repo 11 years ago
chrox 67f627f2fb update po file from transifex automatically on each build 11 years ago
Giorgio Micotti 7d8f13ae00 Safer installing process for Kobos 11 years ago
Giorgio Micotti afd4a2d920 Merge branch 'master' of https://github.com/koreader/koreader 11 years ago
chrox 9fd9bb17a9 update mupdf and k2pdfopt to the latest version 11 years ago
Giorgio Micotti be1a637c3b DO NOT MERGE initial suspend support for Kobo 11 years ago
HW 62a2c6738d consolidated Makefile, adapted to dynlib approach 11 years ago
HW f2e0eb3dfd interim merge of latest upstream 11 years ago
Giorgio Micotti d9b210c315 Changed "koboupdate" to be more reliable as an installation mean. 11 years ago
HW 5eeb4380e4 small fixes 11 years ago
HW e862820638 switch to new dynamic loading library build
separate output directories are created per-architecture
11 years ago
Giorgio Micotti 1201b64d18 Add an option "make koboupdate" 11 years ago
chrox 466605e8f7 add hyphenation dictionaries in customupdate 11 years ago
Giorgio Micotti c91e3834bb Added detection of single kobo models. Also a script to launch koreader is included and the related Makefile changes. 11 years ago
chrox 43240a7d98 add defaults.lua in emu directory 11 years ago
Qingping Hou 84801e6f51 add defaults.lua in customupdate 11 years ago
Qingping Hou 561c7902ca move defaults.lua to root directory 11 years ago
{Qingping,Dave} Hou d0e23dd90e Merge pull request #136 from houqp/houqp-master
update koreader-base
11 years ago
Qingping Hou 38bb360f2d link ev_replay to emu dir 11 years ago
chrox 9ab9af20bf rm additional fonts in resources dir in customupdate 11 years ago
chrox be7794eb06 add 'make fonts' command that merges additional fonts in resources into fonts pool 11 years ago
chrox 1a23787e26 add dict and tessdata directory in dist data directory 11 years ago
chrox db56b52bed add missing sdcv 11 years ago
chrox e71aa93a97 add sdcv in customupdate 11 years ago
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
Tigran Aivazian 2bd8dd3389 build: mkdir libs if does not exist
Since we are doing this for emulator we might as well do this for normal
build too.
12 years ago
Qingping Hou 6f6cb3c1a9 build: create libs-emu dir if not found 12 years ago
Tigran Aivazian d4642a5df1 Build djvulibre as a shared library 12 years ago
Tigran Aivazian 5c0201d3e3 Makefile: extr depends on MUPDFLIBS/THIRDPARTYLIBS 12 years ago
Tigran Aivazian fc20c0af26 Support for extracting attachments from PDF file
This commit adds Alt-S command which invokes the external utility "extr"
passing it the full pathname of the open PDF file and the current page
number. The utility extracts all attachments on this page (if there are
any) and saves them in the same directory as the PDF file. The file
names given to attachments are decoded from within the PDF file itself,
i.e. they are the same as the original file names of the files embedded
in the PDF.

Conflicts:

	pdfreader.lua
12 years ago
Tigran Aivazian 7f4be723a0 LuaJIT: make distclean -> make clean
Two reasons for this change:

1. The latest LuaJIT has no "distclean" target
2. The "distclean" is MUCH slower
12 years ago
chrox 9e8a92862c add koptreader.lua file in customupdate
Conflicts:

	Makefile
12 years ago
chrox 441d061664 add DJVU reflow
Conflicts:

	djvu.c
	koptreader.lua
	reader.lua
12 years ago
chrox f3f97b6223 add pdf page reflow
Conflicts:

	pdfreader.lua
12 years ago
Dobrica Pavlinusic 95f6ed5bd6 fix getCurrentPageLinks segfault on links without target 12 years ago
Tigran Aivazian 6c9a3c3dc5 Factor out JPEG support into a module
This is to make adding support for new formats easier.
See the file pic_jpeg.h for the description of the interface that each
image format must support.

Conflicts:

	Makefile
12 years ago
Tigran Aivazian 879c937762 Force the use of bash.
On some distributions (e.g. Ubuntu) the shell used for scripts is dash,
not bash and we explicitly rely on bash's features in the Makefile, so
we must guarantee that we are running with bash (not dash or anything
else).
12 years ago
Tigran Aivazian cbfa0d5344 Generate git-rev file at compile time.
The file git-rev containing the program's version should be generated at
kpdfview compile time rather than package generation time.

Conflicts:

	Makefile
12 years ago
NiLuJe d60504ef83 More comments on the whole unaligned access mess on FW 2.x. Don't even
think about setting the alignment trap to a mode that includes warn,
that simply kills the performance because of the storm of faults the
syslog gets...
12 years ago
NiLuJe 42e66cc605 Yep, -mno-unaligned-access is definitely needed with a GCC 4.7
ToolChain, the kernel used on FW 2.x is too old to handle unaligned
accesses properly.
12 years ago
NiLuJe 24b9678dc6 It's a spaaaaace! 12 years ago
NiLuJe 3e47fe8e01 Quote that to avoid potential issues... 12 years ago
NiLuJe 0790190af5 Slightly nicer fix for building mupdf's .host stuff with CFLAGS in the env. 12 years ago
NiLuJe c68ac9c8c8 Add a note about -mno-unaligned-access (check my x-compile.sh script for
more details, I'll revisit this once Linaro 2012.10 comes out).
12 years ago
NiLuJe d55138113f Split the backward compat stuff between CFLAGS/CXXFLAGS 12 years ago
NiLuJe c35b5d2d56 Don't use the backward compat flags on the host. Move to a dedicated
variable, with a few comments to explain ;).
12 years ago
NiLuJe 9520c9b662 Add -fno-finite-math-only (after -ffast-math) to the ARM flags to avoid
MG 2012.03 pulling GLIBC_2.15 symbols from libm (because -ffast-math asks
for it).
I didn't see this on my own TC because it's using a much older glibc version (2.9).
12 years ago
NiLuJe b0f7ea5d81 revert the whole 'let's use ld' thing. It's useless, and might wreak
havoc on EMU builds picking up system libs instead of the bundled ones.
12 years ago
NiLuJe 9169ac7541 Make sure we're always building luajit statically, so ld doesn't pick a
shared version. Of course that explained the size difference :D.
12 years ago
NiLuJe 5a2e4dec99 Fix the luajit clean fix (forgot to quote *_*).
Let ld do its job when linking, don't pass the static libs as object
files (we end up with a smaller native binary).
12 years ago
NiLuJe 679fce3df4 Make sure we're building for the softfp float ABI, and not in Thumb.
Might fix #359
12 years ago
NiLuJe b5134ee4f2 Honor toplevel settings re: CC/FLAGS when building libdjvu. Define
_GNU_SOURCE to fix build with CS/MG TC. Fixes #341
12 years ago
NiLuJe 51345c6f08 Let's do a distclean, actually. Less noise in git status that way. 12 years ago
NiLuJe 9173f0a549 Don't require a cross-tc for cleanthirdparty (still confuzzled about why
luajit needs CFLAGS for a clean target, but, hey!). Fixes #357
12 years ago
Qingping Hou 7352ff8a65 revert commit 9127d1c9a1
As NiLuJe points out, that line is not needed, clean
stage of the popen Makefile will take care of it.
12 years ago
NiLuJe bccccba794 Reimplement kpdf.sh changes from PR#348 after the PR#352 merge, and fix
customupdate to actually bundle kpdf.sh in the new location

Conflicts:

	launchpad/kpdf.sh
12 years ago
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