![]() |
#16 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Abiword for the iliad
Hi!
I've compiled AbiWord-2.4, but don't have my iliad at hand (no, it's not bricked, it's just that it's at home and when in home I literally don't have any time to mess with it), so I'll need cooperation: Attached to this message is a tar.gz that contains the executable compiled for the iliad. I need to know what are the needed dependencies. 1. copy the file to the iliad 2. uncompress the file with a # tar -xvzf abiword24-iliad.tar.gz 3. do an ldd on the uncompressed file so that it lists the missing libraries: # ldd ./AbiWord-2.4 4. Copy the result of that to a reply to this message :-) Then, I'll pack another tar.gz with the missing libraries and someone will have to try again to see about what it complains (because I'm sure it will complain about missing files...). P.S.: BTW, Scotty, this is going to be the test case of the modified libX11 with embedded calls to liberipc/liberdm... hopes up! If it works, there will be no need to port each new app we want in the iliad, just a recompilation will suffice. ![]() |
![]() |
![]() |
![]() |
#17 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Antartica, I know you think embedding the erdm in the X11 lib means the end of porting to the iLiad but ...
The Matchbox window manager needs special care in the code. The popup keyboard needs to be enabled or auto popped up as needed. The frenetic busy LED needs to be turned off if launched via [SHELL] hack. The buttons need special handling in order to operate with them (pagebar, up button etc...) And many of the apps I've worked with need a fair amount of rework to make them into unzip-n-go applications that don't need things installed to the root filesystem. Plus if there is anything you can update on the iLiad with a higher brick factor than the X11 library... I don't want to meet it. ![]() I'm testing your abiword. By the way, you realize only you and I likely have ldd on our iLiad's right? ![]() Last edited by scotty1024; 11-21-2006 at 03:02 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
OK, forget ldd (turns out even I don't have it), here's the objdump -p output.
Code:
root@ereader:/media/cf/Applications/AbiWord# objdump -p AbiWord-2.4 AbiWord-2.4: file format elf32-littlearm Program Header: PHDR off 0x00000034 vaddr 0x00008034 paddr 0x00008034 align 2**2 filesz 0x000000c0 memsz 0x000000c0 flags r-x INTERP off 0x000000f4 vaddr 0x000080f4 paddr 0x000080f4 align 2**0 filesz 0x00000013 memsz 0x00000013 flags r-- LOAD off 0x00000000 vaddr 0x00008000 paddr 0x00008000 align 2**15 filesz 0x0072513c memsz 0x0072513c flags r-x LOAD off 0x0072513c vaddr 0x0073513c paddr 0x0073513c align 2**15 filesz 0x000a075c memsz 0x00132534 flags rw- DYNAMIC off 0x007c47f0 vaddr 0x007d47f0 paddr 0x007d47f0 align 2**2 filesz 0x000001e0 memsz 0x000001e0 flags rw- NOTE off 0x00000108 vaddr 0x00008108 paddr 0x00008108 align 2**2 filesz 0x00000020 memsz 0x00000020 flags r-- Dynamic Section: NEEDED libpangoxft-1.0.so.0 NEEDED libpangoft2-1.0.so.0 NEEDED libglade-2.0.so.0 NEEDED libgtk-x11-2.0.so.0 NEEDED libxml2.so.2 NEEDED libgdk-x11-2.0.so.0 NEEDED libatk-1.0.so.0 NEEDED libgdk_pixbuf-2.0.so.0 NEEDED libpangocairo-1.0.so.0 NEEDED libpango-1.0.so.0 NEEDED libcairo.so.2 NEEDED libgobject-2.0.so.0 NEEDED libgmodule-2.0.so.0 NEEDED libdl.so.2 NEEDED libglib-2.0.so.0 NEEDED libfreetype.so.6 NEEDED libfontconfig.so.1 NEEDED libpng12.so.0 NEEDED libXrender.so.1 NEEDED libX11.so.6 NEEDED libSM.so.6 NEEDED libICE.so.6 NEEDED libgnomeprintui-2-2.so.0 NEEDED libgnomeprint-2-2.so.0 NEEDED libgnomecanvas-2.so.0 NEEDED libart_lgpl_2.so.2 NEEDED libm.so.6 NEEDED libenchant.so.1 NEEDED libfribidi.so.0 NEEDED libpopt.so.0 NEEDED libXft.so.2 NEEDED libgthread-2.0.so.0 NEEDED libstdc++.so.6 NEEDED libgcc_s.so.1 NEEDED libpthread.so.0 NEEDED libc.so.6 INIT 0x119204 FINI 0x5e4de0 HASH 0x8128 STRTAB 0x6be3c SYMTAB 0x28dbc STRSZ 0xa2fae SYMENT 0x10 DEBUG 0x0 PLTGOT 0x7d4a2c PLTRELSZ 0x1c98 PLTREL 0x11 JMPREL 0x11756c REL 0x1174fc RELSZ 0x70 RELENT 0x8 VERNEED 0x1173fc VERNEEDNUM 0x5 VERSYM 0x10edea Version References: required from libm.so.6: 0x0d696910 0x00 09 GLIBC_2.0 required from libstdc++.so.6: 0x056bafd3 0x00 11 CXXABI_1.3 0x08922974 0x00 08 GLIBCXX_3.4 required from libgcc_s.so.1: 0x0d696910 0x00 12 GLIBC_2.0 0x0b792650 0x00 04 GCC_3.0 required from libpthread.so.0: 0x0d696910 0x00 03 GLIBC_2.0 required from libc.so.6: 0x0d696913 0x00 10 GLIBC_2.3 0x09691f73 0x00 07 GLIBC_2.1.3 0x0d696912 0x00 06 GLIBC_2.2 0x0d696911 0x00 05 GLIBC_2.1 0x0d696910 0x00 02 GLIBC_2.0 private flags = 202: [APCS-32] [FPA float format] [software FP] [has entry point] Last edited by scotty1024; 11-21-2006 at 03:06 PM. |
![]() |
![]() |
![]() |
#19 | ||||||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
- For "full screen apps", there is no need to make the main window a popup. I want them to be as big as they can (hey, at home I'm using ratpoison window manager in the htpc because it does exactly that; it's nice for low resolution displays -- the TV definitely is a low resolution display, the iliad also qualifies not because the resolution but because the size...) - The popup keyboard and the busy LED only need to be enabled once, at application startup, so this is done one at libX11 startup :-). Quote:
up-button: keypad-up down-button: keypad-down select-button: enter flipbar-advance: space flipbar-backwards: backspace return-to-previous-menu: escape main-menu: (I don't know-- I would like this key to open the contents in books, and to open the menus in applications, but I think that there isn't a standard binding for that) Quote:
Quote:
But I don't want to install the patched libX11 in the root filesystem, but in the local libs directory of each app (so the brick factor is null). Quote:
Quote:
In reality ldd for elf executables is just a helper script, that calls the binary with a special environment variable set (LD_TRACE_LOADED_OBJECTS=1). So, if you can post the output of Code:
# LD_TRACE_LOADED_OBJECTS=1 ./AbiWord-2.4 P.S.: I attach the ldd script. It's part of the generated tools when you build the crosscompiler using crosstool (search for ldd in the build directory). I hope that it works with the shell of the iliad, but I didn't tested it... Last edited by Antartica; 11-22-2006 at 02:31 AM. |
||||||
![]() |
![]() |
![]() |
#20 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 666
Join Date: Oct 2006
Location: Eindhoven, the Netherlands
Device: iLiad, DR1000S, DR800SG
|
About the keys: all iLiad hardkeys are mapped to normal keyboard keys.
The flipbar is PgUp and PgDn, the arrow up/down keys are Up and Down, the confirm key is Return, the UP key is Home. Long presses are different keys: F1 through F6. You need to make sure the "xresname" in the registry is correct though, so in your program you would need to set that name to "sh" for use with the SHELL hack I guess. This is so contentLister can send the keys to your program. Hope that helps. Please feel free to post questions like these on the iRex SW forum, they will be answered. |
![]() |
![]() |
![]() |
#22 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
http://projects.mobileread.com/iliad...iad_0.1.tar.gz Gotchas: - The package doesn't have the manifest.xml nor the icon. - I've not tested it yet. It uses the libX11 hack (untested, but it will not brick your iliad -- although having to reset it with the back-button is factible). - The package is bigger than needed, some libs of the lib directory are redundant and could be deleted (but not libX11... or you 'll miss the autorefresh hack).By bigger than needed I mean: 9MB of package, 26MB of installed size. Conclusion: if it works, great, if not... it's just a work in progress O:-). P.S.: Anyone would like my current patch to libX11? Or is it better to wait to release it until it works? |
|
![]() |
![]() |
![]() |
#24 | |
Evangelist
![]() ![]() ![]() Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#25 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
|
I tried it, it does not work yet. I had to reset my iLiad.
It seems like it is starting up forever. Quote:
|
|
![]() |
![]() |
![]() |
#26 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Here you have ;-) |
|
![]() |
![]() |
![]() |
#27 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
I might have missed something ![]() Stay tuned ![]() Last edited by Antartica; 11-22-2006 at 06:41 AM. |
|
![]() |
![]() |
![]() |
#28 | |
Evangelist
![]() ![]() ![]() Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#29 |
Fulfilled but not by iRex
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 932
Karma: 286846
Join Date: May 2006
Location: London
Device: Far too many
|
may I suggest moving this to the Development area?
|
![]() |
![]() |
![]() |
#30 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
Or perhaps you can change Xlib to report the name to iRex as "sh" and keep the original resource name for purposes of loading resources? ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Onyx Text Editor? | Risto | Andere Lesegeräte | 1 | 05-25-2010 05:34 AM |
Text Editor Problem | crutledge | Sigil | 2 | 08-10-2009 10:12 AM |
Leafpad Text editor | allovertheglobe | iRex | 8 | 07-26-2009 04:41 AM |
GNU nano text editor (like pico) | bobj | iRex | 0 | 06-27-2008 10:38 PM |
iLiad as a text editor | Capodasello | Introduce Yourself | 7 | 12-02-2007 08:43 AM |