[Gimp-user] register scm script
Hi list, I can't register the following script when I refresh the server and don't know what's wrong with it. Any suggestions? --- define (uni-img size color) (set! img (car (gimp-image-new- size size RGB))) (set! layer (car (gimp-layer-new img size size RGB layer 1 100 NORMAL))) (gimp-image-undo-disable img) (gimp-image-add-layer img layer 0) (gimp-palette-set-background color) (gimp-edit-fill layer BG-IMAGE-FILL) (gimp-display-new img) (gimp-image-undo-enable img)) (script-fu-register uni-img uni-img uni-img uni-img [EMAIL PROTECTED] uni-img 04/05/2008 SF-VALUE size 100 SF-COLOR color '(255 127 0)) (script-fu-menu-register uni-img Toolbox/Script_Fu/Tutorials) -- Thank you for your help. -- Xavier Mas ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] 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 -- ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] 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 -- http://cyberknights.com.au/ Modern tools; traditional dedication http://linux.org.au/ PastCommittee Member, Linux Australia ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] register scm script
Xavier Mas wrote: I can't register the following script when I refresh the server and don't know what's wrong with it. Any suggestions? --- define (uni-img size color) You are missing the ( before 'define' but I will assume that is just a cut and past error. (script-fu-menu-register uni-img Toolbox/Script_Fu/Tutorials) I would suggest Toolbox/Xtns/Script-Fu/Tutorials if you are using GIMP 2.4. -- Cheers! Kevin. http://www.ve3syb.ca/ |What are we going to do today, Borg? Owner of Elecraft K2 #2172 |Same thing we always do, Pinkutus: | Try to assimilate the world! #include disclaimer/favourite | -Pinkutus the Borg ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user