Active Topics

 



Notices


Reply
Thread Tools
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#61
Rob1n: Untrue. Optification works as easily for shared libraries.

TheBootroo: how much rootfs space are we talking about? Do you have any concrete measurement? Cause the entire QA Team didn't notice any difference.

Last edited by javispedro; 2010-03-31 at 18:14. Reason: many/much typo
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#62
Originally Posted by javispedro View Post
Rob1n: Untrue. Optification works as easily for shared libraries.
How do the shared libraries get pulled in then? Unless the linker knows where to look (which it won't without a change to ld.so.conf), the program has to specify exactly where its shared libraries will be found, which is likely to cause all sorts of problems due to differing locations/versions.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#63
Originally Posted by Rob1n View Post
How do the shared libraries get pulled in then? Unless the linker knows where to look (which it won't without a change to ld.so.conf), the program has to specify exactly where its shared libraries will be found, which is likely to cause all sorts of problems due to differing locations/versions.
I should have explained, sorry. Optification puts of the bigger files in /opt indeed, but also creates symlinks for the moved files in the usual places under /. Thus libfoo.so will get moved to /opt/maemo/usr/lib/libfoo.so, but there will be a symlink in /usr/lib/libfoo.so -> /opt/maemo/usr/lib/libfoo.so .

Same reason executables work, since the PATH doesn't change either.
 

The Following 2 Users Say Thank You to javispedro For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#64
Originally Posted by javispedro View Post
I should have explained, sorry. Optification puts of the bigger files in /opt indeed, but also creates symlinks for the moved files in the usual places under /. Thus libfoo.so will get moved to /opt/maemo/usr/lib/libfoo.so, but there will be a symlink in /usr/lib/libfoo.so -> /opt/maemo/usr/lib/libfoo.so .

Same reason executables work, since the PATH doesn't change either.
Oh yeah, of course that's an option - it still takes up unnecessary space on the rootfs with the links though. Odd how few libraries have been optified though - I guess a lot of these are being pulled in from the Nokia SSU repository, and they obviously don't feel that anything in there should be optified.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#65
Originally Posted by Rob1n View Post
Oh yeah, of course that's an option - it still takes up unnecessary space on the rootfs with the links though. Odd how few libraries have been optified though - I guess a lot of these are being pulled in from the Nokia SSU repository, and they obviously don't feel that anything in there should be optified.
Most of the used libraries are part of the firmware. For example tuxrace uses 2 libraries which are not part of the firmware image and both of them are optified with maemo-optify.

edit:
It is true that there are quite a few unoptified libraries. It's mostly because they were uploaded to extras way before anybody had even heard about "opt-problem". But it's not that big problem because most of them are very small.

Last edited by mikkov; 2010-03-31 at 15:50.
 
Posts: 270 | Thanked: 239 times | Joined on Dec 2009 @ Czech Republic
#66
What is new in 0.4?
 
Posts: 49 | Thanked: 10 times | Joined on Mar 2010 @ Tn
#67
fun game but kind of a memory hog
 
christexaport's Avatar
Posts: 1,589 | Thanked: 720 times | Joined on Aug 2009 @ Arlington (DFW), Texas
#68
I never have enough space to download. Where can I download the .deb?
__________________
Maemo-Freak.com
"...and the Freaks shall inherit the Earth."
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#69
Originally Posted by christexaport View Post
I never have enough space to download. Where can I download the .deb?
Have you run out of space in MyDocs then? The App Manager should be using that for the downloads, prior to install.

You can download the .deb file for any application in the maemo.org repositories via the package search. Search for the package you want, then select the version, and you'll end up on the version details page, where there's a link to the .deb file.

For tuxrace, the .deb file can be found here.
 
christexaport's Avatar
Posts: 1,589 | Thanked: 720 times | Joined on Aug 2009 @ Arlington (DFW), Texas
#70
its showing 498.02 MiB of 1.97 GiB free for MyDocs on Conky. I downloaded the .deb, and it still wouldn't install, missing parts...
__________________
Maemo-Freak.com
"...and the Freaks shall inherit the Earth."
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:23.