RSS/Atom feed Twitter
Site is read-only, email is disabled

Creating scripts using Perl^H^H^H^HRuby

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

Creating scripts using Perl Xavier Mas 03 May 17:32
  Creating scripts using Perl Joao S. O. Bueno 03 May 18:42
   Creating scripts using Perl Xavier Mas 03 May 21:13
    Creating scripts using Perl^H^H^H^HRuby Leon Brooks 04 May 00:49
     Creating scripts using Perl^H^H^H^HRuby Joao S. O. Bueno 04 May 05:58
      Creating scripts using Perl^H^H^H^HRuby Leon Brooks 04 May 06:48
       Creating scripts using Perl^H^H^H^HRuby Joao S. O. Bueno 04 May 20:14
        Creating scripts using Perl^H^H^H^HRuby Leon Brooks 05 May 00:08
Xavier Mas
2008-05-03 17:32:18 UTC (over 16 years ago)

Creating scripts using Perl

Hi all,

I am just getting myself into the writing of scripts and, as I use Perl normally, would like to use it for that purpose.

I'm using GIMP on Linux (Mandriva) and have Perl already installed in my system.

Thanks to all.

Joao S. O. Bueno
2008-05-03 18:42:21 UTC (over 16 years ago)

Creating scripts using Perl

On Saturday 03 May 2008, Xavier Mas wrote:

Hi all,

I am just getting myself into the writing of scripts and, as I use Perl normally, would like to use it for that purpose.

I'm using GIMP on Linux (Mandriva) and have Perl already installed in my system.

Thanks to all.

Hi -
there are Perl bindings to scripting GIMP.

In Mandriva, just type "urpmi gimp-perl" as root , and look at /usr/lib/gimp/2.0/plug-ins for the examples that get installed. (they get mixed with the binary plug-ins already there - unfortunattelly the files don't use a .pl extension)

js ->

Xavier Mas
2008-05-03 21:13:45 UTC (over 16 years ago)

Creating scripts using Perl

El Saturday 03 May 2008 18:42:21 Joao S. O. Bueno va escriure:

On Saturday 03 May 2008, Xavier Mas wrote:

Hi all,

I am just getting myself into the writing of scripts and, as I use Perl normally, would like to use it for that purpose.

I'm using GIMP on Linux (Mandriva) and have Perl already installed in my system.

Thanks to all.

Hi -
there are Perl bindings to scripting GIMP.

In Mandriva, just type "urpmi gimp-perl" as root , and look at /usr/lib/gimp/2.0/plug-ins for the examples that get installed. (they get mixed with the binary plug-ins already there - unfortunattelly the files don't use a .pl extension)

js ->

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

Thank you js. Is there any tutorial on how to write Perl scripts for GIMP?

Cheers,

Leon Brooks
2008-05-04 00:49:46 UTC (over 16 years ago)

Creating scripts using Perl^H^H^H^HRuby

On Sun, 4 May 2008, Xavier Mas wrote:

Thank you js.

Being useful seems to be a long-term habit for Joao. I don't think that it's just because he's Brasiliano, either. (-:

Being weird seems to be a habit for me: I'd like to script GIMP in Ruby instead.

Cheers; Leon

Joao S. O. Bueno
2008-05-04 05:58:33 UTC (over 16 years ago)

Creating scripts using Perl^H^H^H^HRuby

On Saturday 03 May 2008, Leon Brooks wrote:

Being weird seems to be a habit for me: I'd like to script GIMP in Ruby instead.

Cheers; Leon

That is also an option!
Just cehck the apropriate package (probably named gimp-ruby) from your distro - or download it from gnome repositories. :-)

js ->

Leon Brooks
2008-05-04 06:48:48 UTC (over 16 years ago)

Creating scripts using Perl^H^H^H^HRuby

On Sun, 4 May 2008, Joao S. O. Bueno wrote:

Good morning, South America! (-:

Just cehck the apropriate package (probably named gimp-ruby) from your distro

Mandriva 2008.0 on this laptop, about to be 2008.1 AKA "spring."

Has perl-Gimp & gimp-python but nothing to do with Ruby on GIMP (but there are plugins ruby-rbogl, ruby-gtk2, ruby-game, ruby-mysql, ruby-RMagick about). Will see if 2008.1 has anything extra.

Cheers; Leon

Joao S. O. Bueno
2008-05-04 20:14:59 UTC (over 16 years ago)

Creating scripts using Perl^H^H^H^HRuby

On Sunday 04 May 2008, Leon Brooks wrote:

On Sun, 4 May 2008, Joao S. O. Bueno wrote:

Good morning, South America! (-:

Just cehck the apropriate package (probably named gimp-ruby) from your distro

Mandriva 2008.0 on this laptop, about to be 2008.1 AKA "spring."

Has perl-Gimp & gimp-python but nothing to do with Ruby on GIMP (but there are plugins ruby-rbogl, ruby-gtk2, ruby-game, ruby-mysql, ruby-RMagick about). Will see if 2008.1 has anything extra.

Cheers; Leon

Hi Leon -
most likely you willhave to build the bidings from source. (I am assuming you have configured a mandriva "contrib" rpm repositoy using easy-urpmi as well, and than that there is no gimp-ruby available there)

Try installing the packages gimp-devel and ruby-devel, downlaod gimp-ruby source (for example with:
svn co http://svn.gnome.org/svn/gimp-ruby/trunk gimp-ruby

and see if you get it working from there.

Regards,

js ->

Leon Brooks
2008-05-05 00:08:35 UTC (over 16 years ago)

Creating scripts using Perl^H^H^H^HRuby

On Mon, 5 May 2008, Joao S. O. Bueno wrote:

Try installing the packages gimp-devel

Done.

and ruby-devel,

Already in.

downlaod
gimp-ruby source (for example with:
svn co http://svn.gnome.org/svn/gimp-ruby/trunk gimp-ruby

Err... first urpmi subversion (is on CD3 of 2008.0 install set).

"Checked out revision 81."

Hmmm, says I must have Gimp 2.3 installed, but...

$ rpm -q gimp gimp-2.4.0-0.rc2.3mdv2008.0

# autogen.sh (whinge about intltool)
# urpmi intltool
installing intltool-0.36.2-1mdv2008.0.noarch.rpm # autogen.sh
(much scribble)
# make
(much more scribble)
# make install
(page-full of scribble)
#

and see if you get it working from there.

Oh, good, I have a new Ruby-fu menu under Xtns, from which at least "Sphere" seems to work. (-:

Thanks, Joao!

Cheers; Leon