![]() |
#16 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The esys thing is a collapsed version of the Linux FHS - but it will not hurt having a couple more paths in the search list. It is explained in the old BitBucket repo. but not in the new GitHub repo. - - my bad for not getting that done. I don't do GUI stuff myself, but if you have something that would serve as an example . . . . Thanks again. = = = = PS: Should I add your work into the github repo? Or do you already have it in a repo somewhere? Last edited by knc1; 04-11-2016 at 11:14 PM. |
|
![]() |
![]() |
![]() |
#17 | |||
pikachu
![]() Posts: 6
Karma: 10
Join Date: Apr 2016
Device: k3, kt2
|
Quote:
Quote:
Quote:
I am still learning lua ![]() |
|||
![]() |
![]() |
![]() |
#18 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It is the way it is here due to restrictions on the length of rpath that the patchelf utility can handle. See: ARMhf on the Kindle thread. None of the demos have been run on a Kindle. Note: X11 is only available on the series 5.x (KT .. KV) devices (and in the K4's diagnostics mode). Framebuffer (or the poorly supported DirectFB) is available on all models, K2 .. KV. The almost grayscale screenshot of 11-Jan-2014 gives a hint of what might be possible on a Kindle: http://tekui.neoscientists.org/screenshots.html So if you have even a simple, do nothing but paint the screen, example on a Kindle - that would be nice. Even better, if you can get it working on your K3. Note: You may have to patch or enhance the framebuffer support to deal with the framebuffer layout on Kindles - not all models are the same. Geekmaster has posted a lot on that subject here. Ah, and getting it to work with the K4's idea of a keyboard ... You can probable find ideas on that in the KOreader repository (which is mostly Lua). It is in a Mercurial repository: http://hg.neoscientists.org/tekui/summary And the non-commercial version (which I am assuming you used - correct me if I am wrong) is MIT licensed: http://hg.neoscientists.org/tekui/fi...b56c/COPYRIGHT So I will assume that your code changes are intended to be covered by the same license. Last edited by knc1; 04-12-2016 at 07:39 AM. |
|
![]() |
![]() |
![]() |
#19 | |
pikachu
![]() Posts: 6
Karma: 10
Join Date: Apr 2016
Device: k3, kt2
|
Quote:
Its compiled with the x11 driver only, so it can only be used for kindle touch devices 5.x framebuffer support will be too difficult for me! I will try to package a demo into a kual extension. and no change in license, I dun think I will touch any other codes. ![]() |
|
![]() |
![]() |
![]() |
#20 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If people can easily see it on their Kindle, we might generate some interest in having other things done with that package. The Kindles also support GTK+ applications - but that is a bit of over-kill I think. That is one of the things KUAL lacks - is the ability to get user input. |
|
![]() |
![]() |
![]() |
#21 | |
pikachu
![]() Posts: 6
Karma: 10
Join Date: Apr 2016
Device: k3, kt2
|
Quote:
@knc1: can you test it on your kindle touch? others are welcomed to. pre-requisite: install the tekUI library first. I have not done any GTK development, .. thanks |
|
![]() |
![]() |
![]() |
#22 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You need to hardcode it to: Code:
#!/usr/bin/lua -lesys You will find a few more KUAL 'tricks' in it. ![]() But hey, thanks, that was pretty good for a first try at a KUAL extension. |
|
![]() |
![]() |
![]() |
#23 | |
pikachu
![]() Posts: 6
Karma: 10
Join Date: Apr 2016
Device: k3, kt2
|
Quote:
I have hardcoded as you writtern. but only in 1 script. All demos are passed as argument to that script, can check menu.json yes, I have seen your cpu script. and a few other extensions I have installed. but I got to admit, lua is more difficult than python. ![]() |
|
![]() |
![]() |
![]() |
#24 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Recorded for public consumption:
https://github.com/janetizzy/KUAL-buttons You can do the usual 'git dance': You can fork that, clone the fork, make your changes, push the changes and issue a 'pull request'. If you don't have an account there, its free (for the uses we put it to): https://github.com/ Or I'll just edit in the changes to the demo extension when I get time. Your choice. Last edited by knc1; 04-13-2016 at 11:28 AM. |
![]() |
![]() |
![]() |
#25 | |
pikachu
![]() Posts: 6
Karma: 10
Join Date: Apr 2016
Device: k3, kt2
|
Quote:
thanks. |
|
![]() |
![]() |
![]() |
#26 |
Connoisseur
![]() ![]() Posts: 77
Karma: 150
Join Date: Jul 2014
Device: Kindel PW1, Voyager
|
After some read and searching I found out what you are talking about and what Lua is.
It could be a good idea to add the Links to the two about pages to the first post. http://tekui.neoscientists.org/index.html http://www.lua.org/about.html I was not aware that Lua is used as part of the kindle operation systems. Hanspeter |
![]() |
![]() |
![]() |
#27 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
![]() I think "AutoTools" is the only thing left in C.S. that is programmed in m4 macros (configure.ac and Makefile.am). I am off on a small side-journey of 'AutoTooling Argon2' - https://github.com/janetizzy/phc-win.../tree/autotool (The 'NEWS' file has an example from yesterday - it will: ./configure, make, make install, and run - although far from being done.) The Lua binding for Argon2 will also need a small shot of "AutoTool" before it installs. ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Host Multiple Virtual Libraries On Single System With Reverse Proxy Support | bzowk | Related Tools | 1 | 08-04-2015 07:38 PM |
support for IBM/360/370/S-390 code on the Kindles (KUAL) | knc1 | Kindle Developer's Corner | 63 | 01-08-2014 06:02 PM |
PRS-300 Chinese support in Prs+ system | snoo | Sony Reader Dev Corner | 0 | 08-17-2012 08:13 AM |
iLiad Lua: scripting for Iliad | hansel | iRex Developer's Corner | 3 | 12-14-2008 06:51 PM |