Fedora Linux Support Community & Resources Center
  #1  
Old 9th June 2010, 07:03 PM
rgaelzer Offline
Registered User
 
Join Date: Oct 2005
Location: Rio Grande do Sul, Brazil
Posts: 136
linuxfedorafirefox
Gimp: tex-to-float and gimp-perl

Has anyone succeeded on compiling the tex-to-float plugin for gimp?
It can be found here:
http://imagic.weizmann.ac.il/~dov/gimp/tex-to-float/
It's a perl script which cannot be compiled with:
gimptool-2.0 --install tex-to-float
which only accepts c or c++ code.

Browsing around I noticed there's a gimp-perl program which should take care of the script, but there's no such package for gimp-2.6.

Any way you know about creating a plugin from a perl script?

Thanks.
__________________
Rudi Gaelzer
Registered Linux user # 153741
Reply With Quote
  #2  
Old 9th June 2010, 10:19 PM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,679
linuxfedorafirefox
Re: Gimp: tex-to-float and gimp-perl

You first need to install a bunch of dependencies (assuming you're running Fedora 13):

Code:
yum install perl-Glib-devel perl-Gtk2 gimp-devel gimp-devel-tools perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-PDL
Then you need to download the Gimp::Fu module for perl; read the instructions for compiling and installing it. That will install the tex-to-float plugin in /usr/lib/gimp/2.0/plug-ins, You will then have to make it executable:
Code:
chmod 755 /usr/lib/gimp/2.0/plug-ins/tex-to-float
If that all worked, you will be able to use the plugin by selecting Filters -> Render -> TeX String from the Gimp window. I did all that and managed to get it working.
Reply With Quote
  #3  
Old 10th June 2010, 04:15 PM
rgaelzer Offline
Registered User
 
Join Date: Oct 2005
Location: Rio Grande do Sul, Brazil
Posts: 136
linuxfedorafirefox
Re: Gimp: tex-to-float and gimp-perl

I did as instructed:
run "perl Makefile.PL", make, make test, make install

Everything seems to have worked. All perl plugins were also copied into /usr/lib/gimp/2.0/plug-ins.

I also did: chmod 755 /usr/lib/gimp/2.0/plug-ins/tex-to-float
as instructed, but the plugin is not accessible from Filters->Render. Is it because I'm using a x86_64 system?
I copied tex-to-float into /usr/lib64/gimp/2.0/plug-ins/ and now the plugin is visible. However, when I tried to use it, I got several error messages such as:
"Calling error for procedure 'gimp-procedural-db-proc-info': Procedure 'gimp-gimp-image-undo-group-start' not found".
The same for the procedures: gimp-gimp-context-push and gimp-gimp-load.
I cannot find them anywhere...
__________________
Rudi Gaelzer
Registered Linux user # 153741
Reply With Quote
Reply

Tags
gimp, gimpperl, textofloat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GIMP GAP (Gimp Animation Program) GammaPoint Using Fedora 23 18th April 2013 06:07 PM
GIMP animation missing from GIMP in F7? Thetargos Using Fedora 22 24th October 2007 11:04 PM
Gimp 2 Help (?) flipjargendy Using Fedora 0 2nd September 2005 07:12 PM
gimp-perl package for FC2 friet Using Fedora 0 30th August 2005 03:50 PM


Current GMT-time: 04:27 (Monday, 20-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Sonari - Abadeh Instagram Photos - Kulittalai Instagram Photos