Re: porting a plug-in from 1.18 to 1.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

david rohde <s371117@xxxxxxxxxxxxxxxxx> writes:

> I have been trying to port a plug-in that I have been writing to the latest
> gimp, but I have been having troubles.
> 
> Firstly a lot of the constants that were defined in 1.18 are no longer defined
> in 1.20 for example RGB.  Is this a deliberate change, I find it a strange
> thing to remove from the header.  What approach should I be using to deal with
> this?

Assuming you are porting to 1.2.x, running the following script does most of 
the work for you:

        http://sven.gimp.org/files/remove_cruft

Make sure to do a backup before you run it and check the diff. You need to 
fix the RGB -> GIMP_RGB issue yourselves since the script is not intelligent
enough for this (it's a quick hack).

Together with the libgimp API reference, it shouldn't be too hard to port
to 1.2.x. Perhaps you could write down what you had to do, so we can point
other people to this document later?!


Salut, Sven


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux