On Wed, 8 Mar 2000, Seth Burgess <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 08, 2000 at 01:07:52PM +0100, Raphael Quinet wrote:
> > This has been suggested before, but I would like to bring it up
> > again...  I think that it would be better to disable the installation
> > of all Perl-Fu scripts if any of the required modules (Gtk, PDL,
> > Data::Dumper, Parse::RecDescent) are not detected by the configure
> > script or, more exactly, by Makefile.PL.
> 
> Parse::RecDescent is used only by the script-fu to perl-fu converter,
> AFIAK.  I get Data::Dumper installed as part of perl-base.  If there's
> a perl distro without that, it probably won't be terribly useful for
> developing perl based scripts (guessing).  In any case, if 
> Parse::RecDescent is affecting running of any plug-ins, I'd call that
> a bug.

If Parse::RecDescent is not needed for "normal users", i.e. those who
do not have to use scm2perl or scm2scm, then maybe the Makefile.PL
should not complain about it.  The Gimp configure script does not
complain if perl is missing, although it is required for developers
who want to use the pdbgen.  But this is a minor issue.

As for Data::Dumper, it is indeed part of the default perl
installation, but I think that some versions older than 5.005 had it
as an option only.  I do not know which versions exactly, but I know
that I had to install the Gimp on some systems that had an old (and
probably buggy) version of perl without Data::Dumper.

> As far as PDL and Gtk goes, I'm in agreement that it shouldn't 
> install those scripts with those dependencies uless those packages are 
> detected.  gimptool should be able to install them later for users 
> wishing to upgrade later - its the way everything else in gimp works.

I'm glad to see that someone agrees...  :-)

> > perlotine: the gtk perl module is required to open a dialog
> > window, running with default values (perl_fu_perlotine)
> > perlotine: No horizontal or vertical guides found. Aborted. at 
>/usr/lib/gimp/1.1/plug-ins/perlotine line 176. (ERROR)
> 
> This error anyway is legit - you need guides to run perlotine!  It would 
> tell you so in a dialog box, but its not availble for lack of Gtk.  In
> this case, I think the commandline is pretty clear.

That's right.  Sorry, that was a bad example.  I should try that
script again with some guides defined.

> Were the color related PDB errors pre or post Gimp-Edit-Fill changes?
> 

I captured most of these errors yesterday just after installing
gimp-1.1.18 and before re-applying my gimp_edit_fill() patches.  So
these come from an unmodified 1.1.18 distribution.

-Raphael

Reply via email to