Re: [Gimp-developer] problem executing perl script from command line using gimp 2.2

2005-07-07 Thread Sven Neumann
Hi,

Erik Olson [EMAIL PROTECTED] writes:

 OK, next I tried the opposite approach of seeing what it would take to
 batch it from the gimp, a la
 http://www.gimp.org/tutorials/Basic_Batch/ but again, I cannot find an
 example anywhere that tells how to do this with anything written in
 perl, just scheme.  I suppose my final step is going to be to learn
 scheme and convert the script yet again.

I think you need to pass the name of the gimp-perl batch interpreter
to gimp using the --batch-interpreter command-line option. Try with

  --batch-interpreter extension_perl_server


Sven
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] problem executing perl script from command line using gimp 2.2

2005-07-07 Thread Erik Olson

On Thu, 7 Jul 2005, Marc Lehmann wrote:


On Wed, Jul 06, 2005 at 10:24:06PM -0700, Erik Olson [EMAIL PROTECTED] wrote:

I have a perl-fu script I've used in various forms over the years to
automatically burn a copyright string into a photograph.  I hacked it from
the tutorial on the gimp.org pages.  I call it from the command line with
arguments like burnit.pl -words Hi there -file foo.jpg, which in turn

 [EMAIL PROTECTED] bin]$ ./burnit.pl -v -words Hi there -file ~/duo.jpg
 trying to start gimp with options 
 Can't exec : No such file or directory at


Something is wrong with your gimp-perl installation. Instead of exec'ing
gimp (the path is in $Gimp::Config{GIMP}, so you should look at your
Gimp::Config module which is autogenerated) it tries to exec .

Maybe you need a newer version of gimp-perl (I don't know).


That is definitely the culprit.  In Config.pm, the GIMP variable is being 
set to  (perhaps something to do with gimp now being a symlink to 
gimp-2.2?).  I manually set that to /usr/local/bin/gimp and I get further.


I'm getting some other errors/warnings now:
Subroutine Gimp::gimp_palette_set_foreground redefined at 
/usr/lib64/perl5/sit

perl/5.8.6/x86_64-linux-thread-multi/Gimp.pm line 603.
Subroutine Gimp::gimp_selection_all redefined at 
/usr/lib64/perl5/site_perl/5.

6/x86_64-linux-thread-multi/Gimp.pm line 603.

but I think I might be able to figure things out from here on..

The version of gimp-perl was Gimp-2.0.tar.gz obtained from 
ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.0/perl/


Is there a newer version out there?

Thanks again,

  - Erik

--
Erik Olson
erik at thekrib dot com
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] GIMP Dynamic Text

2005-07-07 Thread Andrei Simion

Hi,

I'd like to use the below GIMP Dynamic Text with Gimp-Perl, but I cannot 
find any documentation on it.


Regards,
Andrei
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] GIMP Dynamic Text

2005-07-07 Thread Sven Neumann
Hi,

Andrei Simion [EMAIL PROTECTED] writes:

 I'd like to use the below GIMP Dynamic Text with Gimp-Perl, but I
 cannot find any documentation on it.

What is the below GIMP Dynamic Text?


Sven
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] GIMP Dynamic Text

2005-07-07 Thread Andrei Simion

Hi,

Sven Neumann wrote:


Hi,

Andrei Simion [EMAIL PROTECTED] writes:



I'd like to use the below GIMP Dynamic Text with Gimp-Perl, but I
cannot find any documentation on it.



What is the below GIMP Dynamic Text?


Is this: http://registry.gimp.org/plugin?id=337

Andrei

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] GIMP Dynamic Text

2005-07-07 Thread Owen Cook

On Fri, 8 Jul 2005, Andrei Simion wrote:

 Sven Neumann wrote:
  
  Andrei Simion [EMAIL PROTECTED] writes:
  
 I'd like to use the below GIMP Dynamic Text with Gimp-Perl, but I
 cannot find any documentation on it.
  
  What is the below GIMP Dynamic Text?
 
 Is this: http://registry.gimp.org/plugin?id=337


That is a Gimp-1.2 plug-in and if you are using Gimp-2.x?, it will not
work.



Owen

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer