On 11/10/2011 9:46 AM, Laurent Lecigne wrote: > Hi all, > > I recently installed fink on a new Mac, the default installation using (as > expected) the 10.7 related trees. Coming from a 10.6 desktop, I am > currently facing the lack of packages in thoses tress (as reported on Fink > home). > > Is it possible to switch to the 10.6 trees on Mac OS 10.7 in order to get > back packages I am missing right now ? if so, what is the exact procedure ? > My idea is mainly to use the 10.6 trees until 10.7 ones provide the > packages I am the most interested in. > > If not, how is it possible to get some hints on 10.7 porting ? > > Thanks in advance.
Copying the 10.6 tree as a whole to 10.7 won't work for a good many packages (the reason there's a separate 10.7 tree is that Apple changed the compiler on Lion and it's behavior is quite different). The 10.7 tree is slowly being populated as packages are tested to make sure they work. It was decided that a working subset of total packages was better than a full set filled with failures. You can capture your list of installed packages from the 10.6 computer with the instructions listed here: <http://finkers.wordpress.com/2011/09/26/fink-and-lion/> Ignore the upgrading parts since they don't apply to you. You can then use that list to install the packages you had, and to make note of the ones it says are not yet available. If there's any package that you had on 10.6 that you wish was on 10.7, contact the maintainer (available via 'fink info PKGNAME' or via the PDB <http://pdb.finkproject.org/pdb/index.php>) and ask them about making the package available on 10.7. You can also test out a package yourself with these steps: 1) add "10.4" to the SelfUpdateTrees field in the file /sw/etc/fink.conf (the line should read "SelfUpdateTrees: 10.7 10.4") 2) Perform a 'fink selfupdate'. This will download the package description files for the 10.4 tree (OS X 10.6 uses the 10.4 tree). This will _not_ make these packages available on 10.7. It only downloads the package description files so that they're on your computer and easily accessible. 3) Copy any package descriptions you're interested in testing to /sw/fink/dists/local/main/finkinfo (from /sw/fink/10.4/). The local tree is visible to fink and you can then try to install packages you have copied over from the 10.4 tree. As an alternative to steps 1 and 2, you can manually download the specific package description files you're interested in from <http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/> and then save them as in step 3. If the package works, tell the maintainer and/or the fink-devel mailing list so that the package can be added to the official 10.7 distribution. If it doesn't, do the same so that the failure can be debugged. Hanspeter ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
