07-05-2013, 03:27 PM | #151 | |
Junior Member
Posts: 7
Karma: 57
Join Date: Jun 2013
Device: kobo glo
|
Quote:
i made this changes to the build/scripts/qt.sh Code:
patch -p3 < ../$PATCHESDIR/qt-everywhere-opensource-src-4.8.0_kobo.patch Code:
export PKG_CONFIG_PATH=$DEVICEROOT/lib/pkgconfig Code:
-I${DEVICEROOT}/include -D QT_NO_QWS_CURSOR -D QT_NO_QWS_QPF2 Spoiler:
then it gets messy. i ran make, got some errors and starting fixing things manually: in qt-everywhere-opensource-src-4.8.0/src/gui/text/text.pri i added LIBS_PRIVATE += -ldl and in qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/WebKit/qt/tests/tests.pri LIBS_PRIVATE += -lpng12 -lz -Wl,-rpath,$DEVICEROOT/lib -L$DEVICEROOT/lib -licuuc it's probably not needed but at the top of my build-all.sh i have this: CPPFLAGS+=" -march=armv7-a -mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -mthumb -mthumb-interwork -mtune=cortex-a8 \ -Wa,-march=armv7-a,-mcpu=cortex-a8,-mfpu=vfpv3,-mfloat-abi=hard,-mthumb,-mthumb-interwork \ -I$DEVICEROOT/include -I$DEVICEROOT/usr/include" i think i added that to get around some compilation problems with the other packages but as a consequence my qt also got compiled with these settings. hope it helps. |
|
09-05-2013, 01:37 PM | #152 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I was able to compile Qt 4.8 from Kobo's github with the new toolchain. I documented my exact steps on a fresh install of Ubuntu 12.04 32 bit. Here's what worked. First install some stuff we need to compile.
Code:
sudo apt-get install git gettext autoconf libglib2.0-dev libtool build-essential libdbus-1-dev Code:
mkdir -p ~/kobo/fs ~/kobo/tmp cd kobo git clone git://github.com/kobolabs/Kobo-Reader.git Code:
cd ~/kobo/Kobo-Reader/toolchain/ tar jxf gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux.tar.bz2 cd gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux/bin for f in *; do sudo ln -s `pwd`/$f /usr/local/bin/arm-linux-${f:20}; done Code:
DEVICEROOT=$HOME/kobo/Kobo-Reader QT_EXTRA_ARGS="--prefix=$HOME/kobo/qt -no-webkit -D QT_NO_QWS_CURSOR -D QT_NO_QWS_QPF2" There's a few changes that need to be made in ~/kobo/Kobo-Reader/build/scripts/qt.sh. First change the Qt version from 4.6.2 to 4.8.0, then remove the following options in the ./configure line: Code:
-qt-gif -qt-gfx-qvfb -qt-gfx-transformed -qt-gfx-linuxfb -no-mouse-pc -no-mouse-linuxtp -no-mouse-linuxinput -no-mouse-tslib -no-mouse-qvfb -no-mouse-qnx Now all that's left is to start compiling. Code:
cd ~/kobo/tmp KOBOLABS=$HOME/kobo/Kobo-Reader ~/kobo/Kobo-Reader/build/build-all.sh |
09-05-2013, 03:52 PM | #153 |
Member
Posts: 19
Karma: 10
Join Date: Mar 2013
Device: Kobo Touch
|
Thank you for this information.
It sounds like that the developer of kobo don't want to leave usable sources. Of course there is the great danger that someone could make the device to something that is much better! |
09-05-2013, 04:15 PM | #154 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
I miss Tweaks so much I'm trying as well to resurrect it for 2.8.1. So far I'va had no luck with compiling qt, thanks Kevin for the detailed guide! I'll try those directions as soon as I can.
|
09-08-2013, 02:42 PM | #155 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Yes, yes! Bring back the tweaks!
|
09-09-2013, 02:38 AM | #156 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Kobo Glo
|
Hi all, I'm new on this forum and I read carefully all posts; very, very interesting.
In particular post #91 by goenieg has been acctracting me, so I decided to try. - Downgraded my Glo to 2.5.2 - Followed exactly the instructions No error messages after each one of the 3 updates. pushing library and home nothing happens.... Sniffing around in Glo via Telnet, "ls -R kobotweaks.ini" found nothing. OK, I create a new one in .kobo with the [Global] + "compatFirmware=2.5.2", restarted.... once more nothing. Looking inside the 3 .tgz (and .zip too) I noticed that koboroot_tweaks file was unreadable, other two are OK. Now I'm here asking if someone of you can point me to a location where I can download a valid KoboRoot_Tweaks.zip (or .tgz). Furthermore, any problem if I apply KoboRoot_Tweaks now, without repeating all procedure from scratch? Please help me... Greetins from Italy. |
09-09-2013, 03:06 AM | #157 | |
Wizard
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
Before doing that, though, I seem to remember that in order for the "Tools" menu to show you first had to open a book or go to the library. Then back to the home menu you would see the "Tools" on the bottom of the screen. |
|
09-09-2013, 10:15 AM | #158 |
Connoisseur
Posts: 86
Karma: 17618
Join Date: Nov 2010
Device: Kobo GLO
|
I missed it too, also to use as a launcher is really better than PNG based launcher, because of tiles tend to move around the Home
|
09-09-2013, 11:28 AM | #159 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I made the changes mentioned by stefjan in this post and then compiled the tweaks plugin using my newly compiled qmake. It should work on the Touch and Mini since they don't have the new home screen. Just extract the zip file and copy the KoboRoot.tgz file to the .kobo folder on your Kobo.
|
09-10-2013, 04:30 AM | #160 |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Thanks, Kevin, works fine (Kobo Mini, 2.81).
Only issue, I can't get Shelves to start under CustomCommands (Shelves=tweaks.shelves()), did I do something wrong or is this one broken? Koreader and other apps work fine here! |
09-10-2013, 05:10 AM | #161 | |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
I remember an option in the original Plugins to dump the layout of the current window. That would be very useful to adapt Tweaks to the new home layout, but I really can't find out how that was activated. Also, a fast way to find the changes is the interactive qtScript shell, ah- said:
Quote:
Code:
giorgio@giorgio-laptop:~/kobo/tmp$ telnet 192.168.0.101 1337 Trying 192.168.0.101... telnet: Unable to connect to remote host: Connection refused |
|
09-10-2013, 08:31 AM | #162 | |
Wizard
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
|
Quote:
|
|
09-10-2013, 10:04 AM | #163 | ||
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
It should work fine with 2.6.1.
Quote:
Quote:
The new homepage on the Glo is called "DragonHomePageView". I added this to include/HomePageGridView.h and also edited TweaksPlugin.cpp to try to patch the reading life menu, but when it tries to set the text to "Tools" my Glo reboots. If I comment out the line that sets the text my Glo doesn't reboot, but the plugin doesn't have any effect on the reading life menu. Also, after adding DragonHomePageView to the plugin, qtscript no longer causes my Glo to reboot and I'm able to type stuff in, but I get no output whatsoever. Last edited by KevinShort; 09-10-2013 at 10:08 AM. |
||
09-11-2013, 01:19 AM | #164 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Kobo Glo
|
Quote:
Thank you for answering... |
|
09-11-2013, 01:30 AM | #165 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Sent. You were renaming the file from KoboRoot_tweaks.zip to KoboRoot_tweaks.tgz ?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Reader Settings Tweaks | EldRick | Kobo Reader | 61 | 03-03-2013 05:52 AM |
(Re)Import tweaks and preferences? | kksdragons | Library Management | 1 | 02-10-2012 10:59 PM |
Best Calibre plugins/tweaks | baronrus | Kobo Reader | 2 | 05-24-2011 11:09 PM |
Thank You for the new Tweaks Window | Archon | Calibre | 4 | 02-16-2011 07:29 PM |
Mobileread RSS Tweaks | Alexander Turcic | Announcements | 1 | 01-03-2005 05:52 PM |