Re: thumbnail generation for nautilus via gimp

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

 



Hi,

On Thu, 2007-12-06 at 10:59 +1030, David Gowers wrote:

> In fact, all Gimp plugins are executables; when you call a plugin,
> GIMP runs it and communicates with it through a pipe. GIMP does not
> implement any special behaviour for .py files. That is why Python
> plugins must be executable.

In fact GIMP does implement special behavior for .py files. Or rather,
pygimp tells GIMP that files ending in .py should be executed by the
Python interpreter. This is what the third line in
$(prefix)/lib/gimp/2.0/interpreters/pygimp.interp does. The effect is
that you can omit the shebang (#!/usr/bin/python) if your plug-in's
filename has the .py suffix.

But you are right that all plug-ins must be executable. Files that don't
have the exectuable bit set are skipped when plug-ins are initialized.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[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