![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
|
patched libX11
Hi all,
I have read about an patched libX11 several times. Can someone explain me how to use patched libraries the right way, please? And where can I find this patched libX11? I have downloaded ted-2.17-iliad_0.2.tar.gz from http://projects.mobileread.com/iliad/users/antartica/ and found some libX* files in it. One of this files is called libX11.so.6. What I have done is: I replaced the downloaded libX11.so.6 with the one loacted in /usr/lib/ on my iLiad. Ok, this was apparent very stupid ![]() So I'll be very happy if someone of you can explain me how to make this the right way. I'm right that it is better to use the patched libX11 because of the screen refreshing problem, or? |
![]() |
![]() |
![]() |
#2 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
You don't want to replace the iLiad's libX11 with the hacked version.
The best way to get your program to use it, is to set the LD_LIBRARY_PATH in your .sh launcher. This tells the OS to look where ever you have your program specific libraries first. Look at one of the programs I've ported for an example. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
|
Thank you very much. You guys taught me a lot the last time.
|
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Adam, what (published) ports do currently depend on the patched libX11? AbiWord? Everything?
|
![]() |
![]() |
![]() |
#5 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
All of my ports require it for one reason or another. For some, it's the only means of screen refresh. And others (like FBReader), it's used for the refresh in the menus.
It's always packaged with the programs. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Putting the appropriate refresh calls in apps wth complex gtk+ interfaces is very time-consuming, and prone to errors (i.e. bit refreshing when you should have refreshed the screen). The patched libX11 makes the display refresh automatic by monitoring when there have been commands sent to the X server (or received from it? Ups, I don't remember which function I hooked O:-) ). It tries to minimize double-refreshing by using a timeout... |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-500 RasterFarian patched and available again! | NatCh | Sony Reader Dev Corner | 7 | 05-25-2009 05:16 PM |
Why haven't e-book companies patched their DRM? | Robotech_Master | News | 41 | 03-03-2009 09:39 AM |
iLiad libX11.so.6, auto refresh | hansel | iRex Developer's Corner | 7 | 09-20-2008 08:40 AM |
iLiad To Application Packagers: move hacked libX11 | Adam B. | iRex Developer's Corner | 1 | 09-21-2007 06:55 AM |