View Single Post
Old 01-04-2013, 08:44 PM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Just enough to give us keys support and eink updates...

Butchery complete?

Caveats: I did not look to include webkit support in this extraction.

Just enough libs to add native eink updates to gtk application OOTB with minimal impact to the devices.

Attached: extracted libs and etc files for /mnt/us/local (taken from inside this lot)
In the absence of an installer...

usage.

(transfer to device, untar as /mnt/us/local/)

mntroot rw
cd /usr/local
ln -s /mnt/us/local/etc etc
ln -s /mnt/us/local/lib lib


chmod a+x /usr/local/bin/gtkinit
mntroot ro

To Initialise:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
gtkinit

That should be enough EXTRA FILES to get a gtk compiled application using THIS METHOD running nicely on the 3... no loopmounts, no big space waste, and a place to shove usr libs neatly under FAT.

There may be a requirement to provide other files... If so I may re-release with the complete support - the idea is to reuse as many of the original libs as possible...

Note: The
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
command needs to be included in the shell running the app (and any sub-shells you expect to have access to the libs)

you could easily do this in a launch shell script. or include it by default through amending your system details via a .bashrc or whatever you prefer.

The gtkinit command would need to be invoked once per reboot at a minimum to load the /tmp/root

For my purposes this is enough from this project to provide the little stepping stone required on the 3's over the native gtk invocations.

If this helps you too? then great.

Pictured it running a custom app. cheers.

If I missed a lib nudge me. Works okay on mine now.


CHANGES:

0.1 added cairo libs.
embedded init script
Attached Thumbnails
Click image for larger version

Name:	ImageMagick: root.fb.pgm_072.png
Views:	81
Size:	23.5 KB
ID:	98786  
Attached Files
File Type: gz local-V0.1.tar.gz (8.09 MB, 43 views)

Last edited by twobob; 01-04-2013 at 09:39 PM. Reason: links, gtkinit
twobob is offline   Reply With Quote