View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#23
Dooble 2023.08.30 [https://textbrowser.github.io/dooble/]. (version git:6fcdb1a76d5e438120c7ad0d316f4ff2d1911655)

Download: https://drive.google.com/drive/folde...52dVZe4cyWZxPt
sha256: 29b560c5fb9ba3b8f88cbd8b0ee1d73538109b1ceae1385b32 85ab9cda3a4793


Running
First start sapwood [https://github.com/maemo-leste/sapwood] (I don't understand what is theme-engine, but seems Leste has it preinstalled)

Code:
/usr/lib/arm-linux-gnueabihf/sapwood/sapwood-server &
./Dooble https://html5test.com/
This was just a quick test to get it compiled and running. I haven't overclocked N900 and SD card is crappy.

I think Dooble has potential. It needs UI-tweeking. It needs some performance tweeking. It needs to be tested with perfect performace setup (https://talk.maemo.org/showthread.php?t=101421)
----
Building
Code:
#dependencies (not yet tested from fresh installation)
sudo apt-get install qtwebengine5-dev-tools \
 libqt5charts5-dev \
 libqt5webenginewidgets5 \
 libqt5webengine5 \
 libqt5qml5 \
 qtwebengine5-dev
Might need more than 1GB more swap. I used 5GB.

Code:
git clone https://github.com/textbrowser/dooble
cd dooble
At least -Wcast-align is causing harm, and then there are -Wall.

patch dooble.pro:

Code:
diff --git a/dooble.pro b/dooble.pro
index 51a85207..d147b09c 100644
--- a/dooble.pro
+++ b/dooble.pro
@@ -306,26 +306,6 @@ QMAKE_LFLAGS += /entry:mainCRTStartup
 }
 } else {
 QMAKE_CXXFLAGS_RELEASE += -O3 \
-                          -Wall \
-                          -Warray-bounds=2 \
-                          -Wcast-align \
-                          -Wcast-qual \
-                          -Wdouble-promotion \
-                          -Werror \
-                          -Wextra \
-                          -Wformat-overflow=2 \
-                          -Wformat-security \
-                          -Wformat-signedness \
-                          -Wformat-truncation=2 \
-                          -Wformat=2 \
-                          -Wlogical-op \
-                          -Wno-deprecated-copy \
-                          -Woverloaded-virtual \
-                          -Wpointer-arith \
-                          -Wstack-protector \
-                          -Wstringop-overflow=2 \
-                          -Wundef \
-                          -Wzero-as-null-pointer-constant \
                           -fstack-clash-protection \
                           -fstack-protector-all \
                           -fwrapv \

Code:
qmake -o Makefile dooble.pro
make
-> crash. It will crash couple of times during:
Code:
Writing qtwebengine_dictionaries/de_CH_frami.bdic
Success. Dictionary converted.
/usr/lib/qt5/bin/qwebengine_convert_dict Dictionaries/de/de_DE_frami.dic qtwebengine_dictionaries/de_DE_frami.bdic
Dictionaries/de/de_DE_frami.dic_delta not found.
Reading Dictionaries/de/de_DE_frami.aff
Reading Dictionaries/de/de_DE_frami.dic
Serializing...
Verifying...
Writing qtwebengine_dictionaries/de_DE_frami.bdic
Success. Dictionary converted.
/usr/lib/qt5/bin/qwebengine_convert_dict Dictionaries/el_GR/el_GR.dic qtwebengine_dictionaries/el_GR.bdic
When it got over them it didn't crash at once and took some 1h48min.
Attached Images
    

Last edited by AapoRantalainen; 2023-10-08 at 07:23.
 

The Following 3 Users Say Thank You to AapoRantalainen For This Useful Post: