Gimp 2.6

Gimp 2.6I upgraded my Gimp to version 2.6 on Fedora 9 today. I managed to find someone who had packaged up the required packages and supporting libraries here. Incidentally, the gimp 2.6.0 versions of the RPMS/SRPMS DO NOT exist as listed - replace 2.6.0 with 2.6.1 in the URLs and voila! I downloaded the SRPMS and 'rpmbuild --rebuild' them. Only one didn't work - glib2 - I installed the listed f8 RPM and it works fine.

 As part of the upgrade the Toolbox no longer exists with the Xtns Menu. This has now become File, Create. Seems a logical change and more 'intuititive'. BUT....

... if you have created or added any non-standard scripts (.scm) files and they use to be under that Toolbox, Xtns menu then they need to be changed to reflect the new 2.6 menu layout.

 I wrote a very small bash script to copy an existing pre-2.6 scm file and change the appropriate menu-register parts to reflect the new 2.6 menu structure. The original file is not altered - a new scm is created with -26 added:

  • Create a bash script file (in/usr/local/bin) called convert226.sh
  • In it put the following small bit of bash script: 
#!/bin/bash
for file in $*
do
       sed -e "\
           s/<Toolbox>\/Xtns\/Script-Fu/\<Image\>\/File\/Create/g; \
           s/<Toolbox>\/Xtns/\<Image\>\/File\/Create/g;\

            " $file > /tmp/2gimp26$$.scm
        cp /tmp/2gimp26$$.scm `basename $file .scm`-26.scm
done

rm /tmp/2gimp26$$.scm

 


  •  Then to run just type convert226.sh *.scm