Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 09:02
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Perl-o-tine plugins not loading in GIMP (continued)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
jcagle

Joined: 29 Sep 2005
Posts: 634

PostPosted: Thu 17 Nov 2005, 00:13    Post subject:  Perl-o-tine plugins not loading in GIMP (continued)  

I posted this on the Grafpup board, and am posting this here too.

Quote:

These are problems that I've had with GIMP since I started...

Web-o-tine, a Script-FU version of Perl-o-tine, does not work properly in Puppy/Grafpup. But that script was only tested in Windows, not Linux.

So on to Perl-o-tine...the problem is that GIMP doesn't seem to be loading my Perl-o-tine plug-in.

It's supposed to show up under Filter/web

What is GIMP missing to get perl plugins working in it?

This is very important because some of the web sites I work on are using sliced images, including the Linux Arts web site. The perl-o-tine plugin is what slices the images and puts them back together in HTML.

The only problem is the perl plugins aren't loading.

Any help would be GREATLY appreciated.
Back to top
View user's profile Send private message AIM Address 
jcagle

Joined: 29 Sep 2005
Posts: 634

PostPosted: Thu 17 Nov 2005, 00:14    Post subject:  

I think someone gave me a link to a file to download to help me out with this problem last time I talked about it, but I can't remember what...
Back to top
View user's profile Send private message AIM Address 
jcagle

Joined: 29 Sep 2005
Posts: 634

PostPosted: Thu 17 Nov 2005, 00:25    Post subject:  

ok, I found that thread. Now I remember...I tried that file and it didn't work.

I just realized Nathan replied to it too. Nathan, I could definitely use your help...
Back to top
View user's profile Send private message AIM Address 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Thu 17 Nov 2005, 02:56    Post subject:  

There's a few possibilities here. Gimp plugins have to be compiled for the specific series that you are using or the program will simply ignore them. In other words, if you are running Gimp-2.0.6 (from the Puppy Repository) you could use a plugin compiled against Gimp-2.0.3, but not one compiled against Gimp-2.3.5. With me so far?

The next thing that can cause errors like this is where you place the plugin at. The easiest and most reliable place to put it is inside your home directory in .gimp-2.x (x for whatever series of Gimp you're using). The location of all the system wide Gimp plugins depends on the prefix it was compiled for. The first two Grafpup releases had Gimp compiled for /usr, so the plugins directory was in /usr/lib/gimp/2.x. The latest version has Gimp compiled for /usr/local, so the plugins directory is in /usr/local/lib/gimp/2.2. I added /usr/lib to the system profile so I could compile some programs for Grafpup and for Vector and only have to do it once. I'd recommend sticking with the first location I mentioned.

I'm not sure how the perl plugins work and whether I'd have to explicitly set a configure option to enable it. I'll have to read the docs again. If there is an actual problem with using Perl plugins I'll fix it before the final Grafpup-1.0.1 release. I'll take a closer look at the plugin you're trying to use and get back to you.

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Thu 17 Nov 2005, 03:47    Post subject:  

I don't think you're going to like what I have to say next. The only version I can find on the net of the perl-o-tine script is made for Gimp-1.1, so it probably won't ever wirk with any Gimp-2.x. It might be possible to get an older version of Gimp and the GImp-perl package and run the script that way, but it would have to install into a seperate prefix if you wanted to run it alongside a newer version of Gimp. This might entail compiling it from source, as a package compiled for /usr or /usr/local could very well cause problems for another Gimp installation and you might end up with two unusable Gimps.

I don't have a lot of time for compiling right now but if you want to give it a try, it would be easier to compile it without printing or python.
Code:
./configure --prefix=/usr/local/gimp10 --disable-print --disable-python

You'll need both the Gimp package and the Gimp-perl package as the 1.x series did not have Gimp-perl by default (if memory serves).

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Thu 17 Nov 2005, 03:58    Post subject:  

There appears to be another script called py-slice that can do the same things. Unfortunately it requires Python and Gimp-python. I didn't compile Python support into Gimp for Grafpup and I'm sure Barry didn't compile it into Gimp-2.0.6 for Puppy. It might be possible to add it as an extra option. I did build Gimp with Python for Vector, so I might be able to use that to create an addon package.

One of the problems with this is that I've been getting some reports that the Python package doesn't work anyway. I had been thinking of removing it, as I'm not a fan of Python anyway. I really wish people would just code in C so it can be turned into a binary.

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Fri 18 Nov 2005, 12:12    Post subject:  

For anyone who might be following this thread but not it's parallell on the Grafpup board i wanted to post the following news on the topic. I've compiled Python and PyGTK from source using Puppy and will have the package available soon. I've also gotten Gimp-2.2.9 re-compiled using Puppy and it now will have the option of using the Python scripts (with an addon package). This version of Gimp will be fully compatible with Puppy-107 as Barry is upgrading freetype for that release.

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11125
Location: Arizona USA

PostPosted: Sat 19 Nov 2005, 01:37    Post subject:  

This looks like a relevant post.
Back to top
View user's profile Send private message 
jcagle

Joined: 29 Sep 2005
Posts: 634

PostPosted: Sat 19 Nov 2005, 02:02    Post subject:  

Yes, it's very much related. I just chose to make it a seperate thread in case there were issues beyond Perl, Python, etc.

It's also a seperate thread on the Grafpup board.
Back to top
View user's profile Send private message AIM Address 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Sat 19 Nov 2005, 20:34    Post subject:  

Most of this appears to be solved now, with the exception of the Perl module which is going to take a lot of work. Most of the Perl scripts do have equivelents in Python or scheme, however, so there are working alternatives for this now.

The current Gimp package that I've compiled for Grafpup (Gimp-2.2.9, current version for Puppy is 2.0.6) will be fully compatible with Puppy-107, as Barry is upgrading libfreetype. I have also compiled Python and PyGTK, plus a package containing all of the Python extensions for Gimp.

The Perlotine plugin that kicked this all off has two alternatives that both work with this version of Gimp, PySlice and Webotine. Webotine is fully compatible with Gimp-2.0.6 also.

I'd like to contribute some of the work I've done on Gimp back into Puppy. It's up to Barry which Gimp package will go into the repository at ibiblio, but I might make some Gimp extensions available as dotpups for Puppy users as well.

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0679s ][ Queries: 12 (0.0052s) ][ GZIP on ]