09-17-2008, 05:29 AM | #1 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
libX11.so.6, auto refresh
Hi All,
How does the 'auto refresh' version of libX11.6.so work exactly? Are the sources available somewhere? I'm trying to make an app with the 'normal' lib, but I think I'm missing some steps... Thnx, Hnsl. |
09-17-2008, 12:46 PM | #2 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
There used to be sources here: http://projects.mobileread.com/iliad/
It was antartica's project. I believe he's working on a different update manager now. See here: https://dev.mobileread.com/trac/xepdmgr/wiki |
Advert | |
|
09-17-2008, 05:18 PM | #3 | |
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...0061203-2.diff The patched libX11 follows the early work of scotty1024 to document the way to refresh the display on the iliad. And Adam is also right about xepdmgr. The patched libX11 helps but has a lot of irritating limitations, hence xepdmgr. But right now I'm stuck compiling the needed libxdamage for the iliad. If all goes well, xepdmgr will not have library dependencies and be a lot smaller than the patched libX11... it's a work in progress :-). P.S.: Well, xepdmgr will depend on liberdm, as we don't know (yet) how to do the updates directly O:-) Last edited by Antartica; 09-17-2008 at 05:19 PM. Reason: Add the PS. |
|
09-18-2008, 01:49 AM | #4 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Thanks!
One more thing to explore... Hans. |
09-19-2008, 12:26 PM | #5 | |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Hi Antartica,
Quote:
Still stuck with libXdamage? I managed to compile libXdamage-1.1.1 for the Iliad (as an exercise, inside scratchbox). The dependencies are a nightmare / challenge ;-) I didn't test it yet with your 'proof of concept'. This is what I did, I hope it helps you in your quest! (approx, I'm not sure I logged everything) Code:
./dl-and-install.sh xfixes.h ./dl-and-install.sh xinerama.xml #xcb-proto_1.1 get libpthread-stubs_0.1.orig.tar.gz & patch ./dependencies-helper/unpack-n-patch-n-build-install.sh libpthread-stubs_0.1.orig.tar.gz ./dl-and-install.sh xslt.h #libxcb-1.1/ ./dl-and-install.sh Xext.h #not sure if this one is needed ./dl-and-install.sh xfixesproto.h ./dl-and-install.sh Xfixes.h ./dl-and-install.sh libXdamage.so Code:
[sbox-iliad: /usr/local/lib] > ldd libXdamage.so libXfixes.so.3 => libXfixes.so.3 (0x00000000) libX11.so.6 => libX11.so.6 (0x00000000) libc.so.6 => /lib/libc.so.6 (0x00000000) libXau.so.6 => libXau.so.6 (0x00000000) libXdmcp.so.6 => libXdmcp.so.6 (0x00000000) libdl.so.2 => /lib/libdl.so.2 (0x00000000) liberdm.so.2 => liberdm.so.2 (0x00000000) liberipc.so.0 => liberipc.so.0 (0x00000000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000) |
|
Advert | |
|
09-20-2008, 02:40 AM | #6 |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
IT WORKS!!!
Hi All,
I did some tests... - I can confirm that Antartica's 'proof of concept' xedpmgr compiles an links fine - the resulting executable (statically linked, without extra dependencies) is 23Kb (this is all you need to start apps) - IT WORKS!!! It refreshes the display in an acceptable way - This will change the way software is developed for Ilads Antartica: - GREAT IDEA!!! CONGRATS!!! - maybe you can start a new thread to discuss the algorithm for combining rectangles (choice between full an typing update)? Hansel. |
09-20-2008, 08:34 AM | #7 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Code:
[sbox-iliad: /shared/Devel/iliad/src.xepdmgr/xepdmgr-1.0-iliad] > ldd xepdmgr liberdm.so.2 => /usr/local/lib/liberdm.so.2 (0x00000000) libc.so.6 => /lib/libc.so.6 (0x00000000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000) [sbox-iliad: /shared/Devel/iliad/src.xepdmgr/xepdmgr-1.0-iliad] > ls -l xepdmgr -rwxrwxr-x 1 dario dario 299245 Sep 20 13:55 xepdmgr Last edited by Antartica; 09-20-2008 at 08:39 AM. |
|
09-20-2008, 08:40 AM | #8 |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What Does Everyone think of the K3 refresh | Scarpad | Amazon Kindle | 6 | 08-29-2010 10:00 PM |
iLiad xepdmgr - another approach to auto-refresh | Antartica | iRex Developer's Corner | 169 | 02-09-2010 03:07 AM |
After refresh | maxhyl | iRex | 1 | 11-23-2008 03:50 AM |
iLiad To Application Packagers: move hacked libX11 | Adam B. | iRex Developer's Corner | 1 | 09-21-2007 06:55 AM |
iLiad patched libX11 | tomchek | iRex Developer's Corner | 5 | 08-11-2007 05:06 AM |