03-14-2009, 05:23 AM | #46 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
afaik, lgob is based on the new glib/gtk+ introspection infraestructure Johan Dahlin has written. Johan is the mantainer of glib/gtk+ python bindings. And that's the part I don't understand, how can it work with older glib/gtk+ versions? Iņigo PS: btw, thanks for CC'ing in those emails with lgui people |
|
03-15-2009, 07:12 AM | #47 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
lgob: a first working demo
I built a more or less decent Iliad package for lgob (svn 501). It is 'alpha', but it is good enough to play with.
The attached tgz contains: - A small demo, written in Lua with Lgob for the gui (a unit converter) - An ipk-package for Lua - An ipk-package for Lgob - A nice installer, my latest install technology ;-) - xx, a small xedpmgr like program to handle display refresh and enable the keyboard Just unpack on your memory card and start the installer from the content lister Not bad for 1/2 MB he? Please test and comment! @Iņigo: the lgob build process uses text files with info about all gtk/gdk functions and classes. This file knows which functions can be used in which gtk version. The build scripts uses this information to generate a Lua biding for a given version. It's really great. Many thanks to Lucas Hermann Negri for developing lgob! PS: I keep all my Iliad stuff in svn of the mobilread dev corner. Feel free to browse around. The files for this demo are here: https://dev.mobileread.com/trac/luai...ments/LgobTest The files I use to build lgob are here: https://dev.mobileread.com/trac/luai...ser/trunk/lgob Last edited by hansel; 03-15-2009 at 11:14 AM. |
Advert | |
|
04-04-2009, 05:01 AM | #48 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
New version
: New versions for Lua and lgob (the interface to GTK) are available as ipk files.
lua5.1-iliad-1.5.0.ipk: added support for libcurl lgob-iliad-0.1.5.ipk: more features, fewer bugs (based on svn 528) Download: https://dev.mobileread.com/dist/hansel/luailiad/ Info: https://dev.mobileread.com/trac/luailiad EDIT: the ipk files are included in the small demo mentioned in post 9 of https://www.mobileread.com/forums/showthread.php?t=43929 Last edited by hansel; 04-04-2009 at 08:33 AM. |
04-04-2009, 06:14 AM | #49 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Iņigo |
|
07-16-2009, 03:22 AM | #50 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
More Lua ideas...
I just Bought a Squeezebox Duet, a cool network music system by Logitech.
It has Linux (arm), WIFI, an SDK, you can ssh into it, AND it uses Lua for a lot of internal stuff (applets, the menu system, etc, etc...). It shows that Lua is great for embeded Linux devices, and might be a source of great ideas for Iliad development ;-) Links: Cheers, Hansel Last edited by hansel; 07-16-2009 at 03:28 AM. |
Advert | |
|
07-16-2009, 05:27 AM | #51 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
nixio
Btw, what do you think about http://dev.luci.freifunk-halle.net/nixio/doc/ ?
It looks a good replacement for some of the modules. Iņigo |
07-16-2009, 05:28 AM | #52 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I've heard of this device some time ago. Quite fancy and interesting. It seems can cooperate with something called SlimServer? I am not so sure.
|
07-16-2009, 04:52 PM | #53 | |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
For now I don't have any simple use for it (and for Lua). I'd like to reimplement (parts of) ContenLister in Lua, but that's a big project (with a small audience)... Besides, I get the feeling that the IliadOS is dying. Last edited by hansel; 07-16-2009 at 05:08 PM. |
|
07-16-2009, 04:57 PM | #54 | |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
The sdk has a crosscompiler for arm. I didn't manage to build a new kernel yet Last edited by hansel; 07-16-2009 at 05:08 PM. |
|
07-17-2009, 04:58 AM | #55 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Both SqueezeCenter and SqueezePlay work smoothly on my linux machines. The only problem I found is that squeezeplay doesn't work at all on my x86_64 desktop, but not a problem, I will use it on my eeepc and there it performs superbly. I've been postponing uPNP configuration on my home servers for some months because it was complex and boring... and now you come into and show me the perfect, fastest and more beautiful solution, and it works like a charm, it's almost a plug'n'play solution!!! Thanks a lot, Iņigo PS: I'll try to convince my wife during next holidays in the romantic Flandes and get a SqueezeBox Duet afterwards ;-) |
|
09-15-2009, 05:25 PM | #56 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
RecentFiles: clean your recent files list
Hi again guys,
Find attached a small tool to help you mantain clean your recent files list. It's a small lua + lgob script that allows you to remove some unneeded entries from your recent files list. Please note that it doesn't remove the files, only their correspondent entries in Recent Documents view. Install package is based on (read, completely stealed from) hansel's MultiCalc. It contains hansel's last released versions of lua and lgob and "xx" app to manage screen refresh. (btw Hansel, there is a new lgob version released a few days ago... ;-) Hope you like this. Best regards, Iņigo PS: btw, I bought an Squeezebox Boom... very nice. Thanks again for the pointer Last edited by Iņigo; 09-17-2009 at 12:22 PM. Reason: EDIT [2009/09/17]: Hansel likes screenshots |
09-17-2009, 05:34 AM | #57 | ||
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
Quote:
|
||
09-17-2009, 12:43 PM | #58 | |||
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Of course! Iņigo, developing small, ugly, but running apps since ~1980 ;-)
Quote:
Quote:
Ok, lua is not as nice as python, specially gtk bindings look somehow strange... unpythonic I would dare to say ;-) Quote:
I don't know much about lua either, so these experiments look horrible, specially comparing with your MultiCalc clean sources, or my python code, for instance. I'll clean and fix the app eventually. Among these ideas: * iLiad Toolbox: some small utilities, like this RecentFiles. Have any proposals? * File Browser Iņigo PS. btw, know uzbl web browser? |
|||
09-17-2009, 01:03 PM | #59 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Interesting. I don't know this browser until now.
Just had a browse. This is the dependencies: git (for downloading) pkgconfig (for Make/gcc) libwebkit 1.1.4 or higher libsoup 2.24 or higher (dep for webkit/gtk+) gtk 2.14 or higher It seems that all dependencies are met. I will try to build it when I have time. |
09-17-2009, 01:10 PM | #60 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Anyway, its philosophy is pure DIY, even the key bindings have to be configured. Tell me if you want to take a look at my config. Iņigo |
|
Tags |
gtk+, iliad, lgob, lua, networking, xml |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pandigital announce the black Novel | Nate the great | News | 0 | 08-18-2010 05:21 PM |
iLiad China iLiad users can get developer package. | ericshliao | iRex Developer's Corner | 35 | 03-20-2010 05:21 AM |
iLiad Announce: Glade4Lua, develop graphical apps for the Iliad | hansel | iRex Developer's Corner | 1 | 10-27-2009 05:00 PM |
Sony to announce colour e-book ? | markiehill | News | 11 | 08-22-2009 12:45 PM |
Proud to announce our new moderator! | Alexander Turcic | Announcements | 5 | 12-08-2003 11:18 PM |