On Jul 24, 2008, at 9:52 AM, Flavio Pane wrote: > Vincent Beffara ha scritto: >> Hi, >> >>> It created a working independent redistributable dmg for me. >>> I think it would be a nice thing for qt apps built in fink. >> >> Do you mean that the whole Qt framework is contained in the app ? >> That >> sounds a bit overkill ... >> >> /v >> > > No, it only embeds the libraries it needs into an .App. > Sometimes sharing noob-proof apps to other users is necessary, it > would > be a step ahead for fink, my 0,02$. > > -- > Flavio > www.flapane.com > >
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). It's a tradeoff: with the way Fink does it, you don't install extra copies of libraries, with the penalty being that copying stuff to another system is much more difficult. ------------------------------------------------------------------------- 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 Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel