On Tue, 23 Aug 2011, Peter Dyballa wrote: > Am 23.08.2011 um 01:39 schrieb Vitus Jensen: > >> How do I install this patched source? > > Create a directory /sw/fink/dists/local/main/finkinfo. Copy the INFO file > (kdebase4-runtime-mac.info) into this directory and the patch as well (saved > as kdebase4-runtime-mac.patch). Determine the MD5 sum of the patch file (with > /sw/bin/md5sum). Now edit the INFO file and add to the "Revision:" number for > example an "l". Below the "Source:" line add: > > PatchFile: %n.patch > PatchFile-MD5: <the hex value found> > > Seeing these lines Fink will automatically patch the sources. You don't need > to do more than just invoke > > fink install ... > > Fink itself will find the local INFO file and see that its Version/Revision > combo is greater than anything else and build the package according to this > more up-to-date description. > > Adding just the "l" to the revision allows Fink to use next time the original > updated INFO (and PATCH) file(s).
Hello Peter, thank you for this quick introduction to creating local packages. But actually I had hoped for a more hackish way to try it out first. In OpenEmbedded or gentoo one can edit the source tree of a failed compile in place and restart the installation process at that point: bitbake -ccompile package-name ebuild package-file compile The new officical kdebase4-runtime-mac packages compiles fine here and KPhotoalbum (my target) is installed now. It does not really work, though. Will have a look at it in some weeks. Vitus ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
