Update koreader

This commit is contained in:
Cosmin Gorgovan 2016-04-26 04:17:28 +01:00
parent b82b016195
commit d97dce0491
6 changed files with 7 additions and 21 deletions

View File

@ -119,15 +119,8 @@ compile_koreader() {
rm *.targz *.tar.gz *.zip
make fetchthirdparty
# Remove -m32 cflag
patch -p1 < ../koreader_base_arm.patch
make TARGET=kobo koboupdate
# Reverse the patch so that koreader-base can be cleanly updated in the future
patch -R -p1 < ../koreader_base_arm.patch
cd ../koreader-pkg
rm -Rf opt
mkdir opt
@ -141,6 +134,8 @@ compile_koreader() {
echo "done" >> koreader/okreader.sh
chmod +x koreader/okreader.sh
cp ../../../files/defaults.persistent.lua koreader/
cd ../../
dpkg-deb -b koreader-pkg .
cd ../

View File

@ -84,7 +84,7 @@ config_rootfs() {
install_packages() {
cp src/linux-okreader-modules_2.6.35.3-1_armhf.deb rootfs/
cp src/firmware-okreader_1.0-1_armhf.deb rootfs/
cp src/koreader_2016.01-4_armhf.deb rootfs/
cp src/koreader_2016.04-1_armhf.deb rootfs/
cp src/kobo_hwconfig/kobo-hwconfig_1.0-1_armhf.deb rootfs/
chroot rootfs/ bash -c "dpkg -i /*.deb"

View File

@ -0,0 +1,2 @@
KOBO_LIGHT_ON_START = 0
KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = false

@ -1 +1 @@
Subproject commit 856ec6d075e8d93d38c1c1a91b9612d845b67c12
Subproject commit 24a30cbda5bac311b5783983ab938090d3fb3b85

View File

@ -1,5 +1,5 @@
Package: koreader
Version: 2016.01-4
Version: 2016.04-1
Maintainer: Cosmin Gorgovan <okreader@linux-geek.org>
Architecture: armhf
Description: An ebook viewer application.

View File

@ -1,11 +0,0 @@
--- a/base/Makefile
+++ b/base/Makefile
@@ -196,7 +196,7 @@ else
# Build its HOST/TARGET_CFLAGS based on CFLAGS, so we need
# a neutral CFLAGS without arch
$(MAKE) -j$(PROCESSORS) -C $(LUA_DIR) \
- CC="$(HOSTCC)" HOST_CC="$(HOSTCC) -m32" \
+ CC="$(HOSTCC)" HOST_CC="$(HOSTCC)" \
CFLAGS="$(BASE_CFLAGS)" HOST_CFLAGS="$(HOSTCFLAGS)" \
$(if $(WIN32),LDFLAGS="$(LDFLAGS)",) \
$(if $(WIN32),TARGET_SYS=Windows,) \