Alexander Hansen ha scritto: > On Jul 24, 2008, at 9:52 AM, Flavio Pane wrote: > > We do build .apps for a number of packages (not just for Qt3), but > they're not actually self-contained. If you took your Valknut.app and > moved it to a machine that didn't have Fink I'm pretty sure it > wouldn't work. The .app allows for integration with Aqua and the > Finder, but doesn't contain all of the relevant libraries. It can be > moved around, but won't work by itself. > > Here's the output from a script that I wrote that checks what > libraries the binaries in an installed package link to.: > > fink-check-deps.plx valknut-aqua > > /sw/Applications/Valknut.app/Contents/MacOS/valknut: > <SYSTEM>: /System/Library/Frameworks/CoreFoundation.framework/Versions/ > A/CoreFoundation > dclib0-unified-shlibs: /sw/lib/libdc.0.dylib > bzip2-shlibs: /sw/lib/libbz2.1.dylib > libxml2-shlibs: /sw/lib/libxml2.2.dylib > libiconv: /sw/lib/libiconv.2.dylib > qt3mac-shlibs: /sw/lib/qt3mac/lib/libqt-mt.3.dylib > <SYSTEM>: /usr/lib/libresolv.9.dylib > <SYSTEM>: /usr/lib/libSystem.B.dylib > libpng3-shlibs: /sw/lib/libpng12.0.dylib > <SYSTEM>: /usr/lib/libz.1.dylib > <SYSTEM>: /usr/lib/libssl.0.9.7.dylib > <SYSTEM>: /usr/lib/libcrypto.0.9.7.dylib > <SYSTEM>: /usr/lib/libstdc++.6.dylib > <SYSTEM>: /usr/lib/libgcc_s.1.dylib > > It's certainly possible to build standalone apps, but these do have to > contain every library that is needed (other than those which can be > safely assumed to exist on the system). >
Of course that App still requires libraries, but the App in the standalone dmg is greater (about 15MB), and is consistent with the standalone dmg builds sizes that Hanspeter Niederstrasser did in the past (i.e libqt is IN the .App). Anyway I understood the philosophy, it would be too difficult to extend this hand made valknut feature to all qt-mac apps. Thank you. -- Flavio www.flapane.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
