***
@NiLuJe:
Thanks for all the support.
Looking at the ~/koxtoolchain/refs/x-compile.sh, I can appreciate the behind-the-scenes torture that went into making the builds seem trivial!
***
@raisjn:
1)
So downloading the latest build of rmkit-dev/rmkit
https://github.com/rmkit-dev/rmkit,
and updating the edits (at least until I update my toolchain):
$ nano -l src/common.make
Code:
2 TARGET?=kobo
3 CXX_BIN?=arm-kobo-linux-gnueabihf-g++
4 CC_BIN?=arm-kobo-linux-gnueabihf-gcc
5 STRIP_BIN?=arm-kobo-linux-gnueabihf-strip
$ nano -l scripts/build/build_kobo_root.sh
Code:
25 arm-kobo-linux-gnueabihf-strip *
$ nano -l src/rmkit/input/events.cpy
Code:
241 // case ABS_MT_SLOT:
242 // slot = data.value;
243 // break
...
282 // case ABS_MT_DISTANCE:
283 // slots[slot].distance = self.distance = data.value
284 // if self.distance > 0:
285 // self.left = 0
286 // break
$ nano -l src/rmkit/input/input.cpy
Code:
69 // if ev_data[i].code == SYN_DROPPED:
70 // syn_dropped = true
71 // event.handle_drop(fd)
72 // continue
$ nano -l src/remux/launcher.cpy
Code:
31 #define TOUCH_FLOOD_EVENT ABS_DISTANCE
***UPDATE***
NEED TO CORRECT FILE PATH AND FILENAME FOR EXPORTS TO WORK PROPERLY. NEW HARMONY BINARY(ZIPPED) IS UPLOADED.
***
$ nano -l src/rmkit/defines.h
Code:
17 #define SAVE_DIR "/opt/data/harmony"
$ nano -l src/rmkit/fb/fb.cpy
Code:
421 strftime(buffer,sizeof(buffer),"%Y-%m-%d%H_%M_%S",timeinfo);
***
$ ARCH=kobo make input_demo
$ ARCH=kobo make simple
$ ARCH=kobo make harmony
Harmony works!
(And it's a beauty.) :
https://rmkit.dev/apps/harmony
2)
Using your .ctags file (which was actually even included in rmkit):
$ cd myglobal/
$ cd rmkit-master/src/
$ cp .ctags ~
$ nano -l ~/.globalrc
Code:
114 :langmap=Okp\:.cpy.okp:\
...
155 :gtags_parser=Okp\:$ctagslib:\
$ export GTAGSLABEL=ctags
$ gtags --explain
$ htags
$ elinks HTML/index.html
And we're browsing the .cpy files!
Well that was fun.
***