On Tue, 5 Mar 2002, Stan Sanderson wrote:

> I've been reading the recent posts to the effect that, by placing the 
> source tarballs in /sw/src, fink install will "do the job."
> 
> gimp-1.2.2 has been replaced by gimp-1.2.3.

Ok, while an update to the Fink libraries is pending, you should be able
to rig this manually. In addition to the tarballs in /sw/src, you have:

    /sw/fink/dists/stable/main/finkinfo/graphics/gimp-1.2.2-4.info
    /sw/fink/dists/stable/main/finkinfo/graphics/gimp-1.2.2-4.patch

...or something to that effect. You should be able to copy each of these
files to a properly numbered version, then edit the contents of the new
files appropriately:

    % cd /sw/fink/dists/stable/main/finkinfo/graphics
    % cp gimp-1.2.2-4.info gimp-1.2.3-0.info
    % cp gimp-1.2.2-4.patch gimp-1.2.3-0.patch
    % vi gimp-1.2.3*

In the .info file, just change the second line from:

   old:   Version: 1.2.2
   new:   Version: 1.2.3

...and that's the only change I see. The patch file, on the other hand,
needs to be adjusted in several place. If you're using vi or vim, you
should be able to do the following substitution:

   :%s#1.2.2#1.2.3#gc

...which should prompt you before changing each instance. Use your
judgement; swapping them all looks like 12 changes for me. 

Once you have this updated package description in place, and having the
tarball on hand in /sw/src, you should be able to run the Fink install
process normally. 

In despearation or impatience, this strategy should be usable in general
for any situation where you want to install a version of a package other
than what your Fink catalog suggests. 


-- 
Chris Devers                           [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/


_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to