Re: [Gimp-user] Gimp-Perl plugin fails to compile.

2005-05-25 Thread Michael Schumacher
Von: Rikard Johnels [EMAIL PROTECTED]

 Gimp seems to be a VERY difficult piece of software to get going from
 scratch if you are a dabbling neewbie in compiling/programming

Yes. If you want something easy, compile a hello.c...

 Far to many depends that arent clearly stated.

Form Gimp-Perl's README:

PREREQUISITES
[...]
Gtk, the perl extension for gtk+2
http://gtk2-perl.sourceforge.net
[...]
PDL, the Perl Data Language
http://www.cpan.org/
[...]


 I need gazillion libs installed and zonks of perl utils to even THINK of 
 starting a compilation.

Yes. Your package manager will help you to get all of them easily, though
(if you don't have a package manager of it fails to do this easily, your're
using the wrong platform)

 And frankly.. It suck!

I'll refuse to comment on this, because all the replies I can think of are
insulting :)


HTH,
Michael

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp-Perl plugin fails to compile.

2005-05-24 Thread Rikard Johnels
On Tuesday 24 May 2005 16.48, Carol Spears wrote:
 On Mon, May 23, 2005 at 04:49:51PM +0200, Rikard Johnels wrote:
  On Monday 23 May 2005 00.32, Sven Neumann wrote:
   Hi,
  
   Rikard Johnels [EMAIL PROTECTED] writes:
cpan install Gimp
  
   As I said already, you want to install Gimp-2.0 instead of Gimp.
  
  
   Sven
 
  Ok.. Trying to get Gimp-2.0..

 You can get it two ways that i know of:

 the tarball is available at
 ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.0/perl/

 or you can get it from gnomecvs:
  export CVSROOT=':pserver:[EMAIL PROTECTED]:/cvs/gnome' then
  cvs checkout gimp-perl

 I dont know what is wrong with CPAN.

 thanks,
 carol

Ok. Got it from the ftp.
It still barfs the shit out of itself:

[EMAIL PROTECTED]:~/build/Gimp-2.0 perl Makefile.PL
checking for gimp-2.0... no
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for gimptool-2.0... /opt/gnome/bin/gimptool-2.0
checking for GIMP - version = 2.0.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version = 2.0.0... yes (version 2.4.6)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version = 2.0.0... yes (version 2.4.9)
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libgimp/gimpmodule.h usability... no
checking libgimp/gimpmodule.h presence... yes
configure: WARNING: libgimp/gimpmodule.h: present but cannot be compiled
configure: WARNING: libgimp/gimpmodule.h: check for missing prerequisite 
headers?
configure: WARNING: libgimp/gimpmodule.h: proceeding with the preprocessor's 
result
configure: WARNING: ##  ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ##  ##
checking for libgimp/gimpmodule.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for unistd.h... (cached) yes
checking for vsnprintf... yes
checking for intelligent life... found a cat in your bin
checking for _exit... yes
configure: creating ./config.status
config.status: creating config.pl
config.status: creating config.h
now invoking perl to complete the configuration...

WARNING: unable to use PDL (the perl data language). This means that
 normal pixel access is non-functional. Unless you plan to use
 Tile/PixelRgn functions together with PDL, this is harmless. The
 plug-ins using PDL, however, will NOT WORK and you can NO LONGER
 install PDL later. You can get PDL from any CPAN mirror.

checking for PDL support... no

NOTICE:  unable to use the Perl-Gtk2 interface. Many features (like
 Gimp::Fu) rely on this extension. You can build without it (and
 many scripts will be disabled or run with reduced functionality
 only), but it's better to install it.  If you do install it,
 version 1.0 or higher is required; you can get it from
 http://gtk2-perl.sourceforge.net/ or any CPAN mirror.

writing Gimp/Config.pm... ok
Checking if your kit is complete...
Looks good
Warning: prerequisite Gtk2 1 not found.
Warning: prerequisite PDL 1.99 not found.
use'ing Gimp::PDL is no longer necessary, please remove it!
Writing Makefile for Gimp::Lib
Writing Makefile for Gimp::Net
ERROR from evaluation of /home/rikjoh/build/Gimp-2.0/UI/Makefile.PL: Can't 
locate ExtUtils/Depends.pm in @INC (@INC 
contains: /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) 
at ./Makefile.PL line 2.
BEGIN failed--compilation aborted at ./Makefile.PL line 2.


What puzzles me is:
WARNING: unable to use PDL (the perl data language) ... You can get PDL from 
any CPAN mirror.
and
use'ing Gimp::PDL is no longer necessary, please remove it!

That is a very odd conflict of directives!

I am getting a wee bit fed up with trying to compile all this.
The prospect of getting into PS just to get the things i want to use seems 
closer and closer.

Gimp seems to be a VERY difficult piece of software to get going from scratch 
if you are a dabbling neewbie in compiling/programming
Far 

Re: [Gimp-user] Gimp-Perl plugin fails to compile.

2005-05-24 Thread Rikard Johnels
On Wednesday 25 May 2005 01.19, Carol Spears wrote:
 On Tue, May 24, 2005 at 11:59:46PM +0200, Rikard Johnels wrote:
  So does the few script-fu i have installed. (ufraw, and a few panorama
  tools)

 how about my apology for the state of the freesoftware and the free even
 though you bought it software?

 carol

No need to apologize!
Usercommunity software like Gimp IS (inherently) not complete.
But then again not all commercial ones are either :)

Gimp as it is is very nice. And maturing all the time.
What bugs me is the lack of ease in compiling it.
There aren't any clear lists of dependencies and prerequisites listed 
anywhere.
All you get is an error at either config or compile time.
And not all of them are easy to resolve.

It would be so much easier if there was a small file or something, listing 
what libs and utils need to be installed to compile the software.
I think that would cut a lot of the usual questions on the lists.
The same i cant compile type questions keep creeping up.
And most of them seem to be old or missing libs.
A list of used ones would ease things up for us dont have a clue kind of 
ppl :)

Just my 2 cents...

-- 

 /Rikard

 Sharing knowledge is the most fundamental act of friendship. 
Because it is a way you can give something without loosing something. 
-R. Stallman 

---
Rikard Johnels  email   : [EMAIL PROTECTED]
Mob : +46 763 19 76 25
PGP : 0x461CEE56
---
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp-Perl plugin fails to compile.

2005-05-23 Thread Rikard Johnels
On Sunday 22 May 2005 16.23, you wrote:
 Hi,

 Rikard Johnels [EMAIL PROTECTED] writes:
  So where can i find a newer version??
  Its collected via perl CPAN a few days ago.
  I thought this to be the latest...?

 Use the Gimp-2.0 package from CPAN.


 Sven

Please help a clueless individual...
How the (lots of bad words) do i get the beast installed??
I tried getting perl to build it by it self 
# perl -e shell -MCPAN
sparhawk:~ # perl -e shell -MCPAN

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan install Gimp

And that pulled the module and failed to compile. 
I then tried:
sparhawk:~ # cd .cpan/build/Gimp-1.211/
sparhawk:~/.cpan/build/Gimp-1.211 #
sparhawk:~/.cpan/build/Gimp-1.211 # perl Makefile.PL

And that too failed.

So how do i get it to find, download and finally successfully compile it???
 
-- 

 /Rikard

 Sharing knowledge is the most fundamental act of friendship. 
Because it is a way you can give something without loosing something. 
-R. Stallman 

---
Rikard Johnels  email   : [EMAIL PROTECTED]
Mob : +46 763 19 76 25
PGP : 0x461CEE56
---
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp-Perl plugin fails to compile.

2005-05-22 Thread Sven Neumann
Hi,

Rikard Johnels [EMAIL PROTECTED] writes:

 So where can i find a newer version??
 Its collected via perl CPAN a few days ago.
 I thought this to be the latest...?

Use the Gimp-2.0 package from CPAN.


Sven
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp-Perl plugin fails to compile.

2005-05-21 Thread Rikard Johnels
On Saturday 21 May 2005 00.30, you wrote:
 Hi,

 Rikard Johnels [EMAIL PROTECTED] writes:
  I am desperatly trying to get the Perl module to compile/install
   but i have no luck.
 
  /build/Gimp-1.211 # perl Makefile.PL
  loading cache ./config.cache
  checking for gimp... (cached) /opt/gnome/bin/gimp
  checking for gimptool... (cached) /opt/gnome/bin/gimptool
  checking for GIMP - version = 1.0.4... yes
  checking for glib-config... (cached) /opt/gnome/bin/glib-config
  checking for GLIB - version = 1.2.0... yes
  checking how to run the C preprocessor... (cached) cc -E
  checking for libgimp/gimpmodule.h... (cached) yes
  checking for libintl.h... (cached) yes
  checking for unistd.h... (cached) yes
  checking for vsnprintf... (cached) yes
  checking for intelligent life... not found
  checking for _exit... (cached) yes
  creating ./config.status
  creating config.pl
  creating config.h
  config.h is unchanged
  now invoking perl to complete the configuration...
  + exec /usr/bin/perl Makefile.PL --writemakefile PREFIX=/usr
 
  FATAL: unable to deduce plugindir from gimptool script
 
 
  sparhawk:~ # rpm -q gimp
  gimp-2.2.7-1.guru.suse92
  sparhawk:~ # rpm -q gimp-devel
  gimp-devel-2.2.7-1.guru.suse92

 You are trying to compile/install a hopelessly outdated version of
 Gimp-Perl.


 Sven


So where can i find a newer version??
Its collected via perl CPAN a few days ago.
I thought this to be the latest...?


-- 

 /Rikard

 Sharing knowledge is the most fundamental act of friendship. 
Because it is a way you can give something without loosing something. 
-R. Stallman 

---
Rikard Johnels  email   : [EMAIL PROTECTED]
Mob : +46 763 19 76 25
PGP : 0x461CEE56
---
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Gimp-Perl for 2.0

2004-06-30 Thread Seth Burgess
You can download it from CPAN, or from ftp.ghs.com.

http://search.cpan.org/~sjburges/Gimp-2.0/

and click on the download link.

Its also available via CVS checkout, moudule name 'gimp-perl'.

To compile/install, 

perl Makefile.pl; make; make test; make install

You may need to satisify other dependencies if they're not already
installed on your system  .

Happy GIMPing,

Seth Burgess
[EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp perl doesn't work

2004-06-18 Thread Sven Neumann
Hi,

[EMAIL PROTECTED] writes:

 Under linux debian testing I've installed all gimp 2 deb packages
 for sarge

The gimp package (which is gimp-2.0.2 at the moment) isn't in debian
testing yet. What did you install?


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Gimp perl and online docs problems.

2004-05-18 Thread Seth Burgess
 checking for GIMP - version = 2.0.0... no
 *** Could not run GIMP test program, checking why...

Could you send me your config.log after you get your failure? 
Something is going wrong when its trying to link (at runtime I'd
guess) to gimp libraries; the program it runs is pretty much
hard-coded to return success right now.

Can't help with the gtkhtml/doc issues, maybe someone else knows that better.

Thanks,

Seth Burgess
GIMP-Perl maintainer
[EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Gimp-Perl 2.0 Release

2004-05-15 Thread Seth Burgess
I'm happy to announce the 2.0 Release of Gimp-Perl for UNIX/Linux.

Features include:
 * Over 60 example plug-ins written in Perl to script The GIMP
 * Perl Server to run perl plug-ins from the commandline, or across a
network connection
 * 'gimpdoc' utility to get manpage access to The GIMP Procedural Database (PDB)
 * Simplified plug-in development framework, Gimp::Fu
 * Direct pixel access through use of the Perl Data Language (PDL)
 * File-handling plug-ins
 * Customizable GUI with the Gtk2 perl bindings  
 * Optional Object Oriented syntax for plug-in development
 * Plenty more!

Highlights of this release over the previous Pre-Releases:
 - added a new plug-in to selectively sharpen an image
 - removed lots of broken plug-ins that nobody expressed an interest in
 - bug fixes
 - some documentation updating
 - another fix for 'make test'
 
Available for immediate download at:
ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.0/perl/Gimp-2.0.tar.gz

The package will also be available on CPAN after indexing.

Please submit bug reports to Gnome Bugzilla, at
http://bugzilla.gnome.org/enter_bug.cgi?product=gimp-perl

Happy GIMPing,

Seth Burgess
[EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] GIMP Perl Server under Xvfb

2003-11-04 Thread Sven Neumann
Hi,

Gary C. New [EMAIL PROTECTED] writes:

 I have recently installed GIMP to run under a virtual X window using
 Xvfb.  Additionally, I created two init.d scripts to automate the
 start/stop of Xvfb and GIMP's Perl Server at start-up/shutdown.  Both
 scripts work great when executed manually, but when actually power
 cycling the system it only launches Xvfb and GIMP without the Perl
 Server.

You could use GIMP-1.3, It doesn't any longer need an X-Server to run
in non-interactive mode. The problem is however that gimp-perl for
GIMP-1.3 is only available from CVS so far.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] GIMP Perl Server under Xvfb

2003-11-04 Thread pcg
On Tue, Nov 04, 2003 at 12:14:40PM +0100, Sven Neumann [EMAIL PROTECTED] wrote:
  Xvfb.  Additionally, I created two init.d scripts to automate the
  start/stop of Xvfb and GIMP's Perl Server at start-up/shutdown.  Both
  scripts work great when executed manually, but when actually power
  cycling the system it only launches Xvfb and GIMP without the Perl
  Server.
 
 You could use GIMP-1.3, It doesn't any longer need an X-Server to run

Very true. If you still need 1.2, you could look for a timing problem
- Xvfb might take a while to start up. Also try to start it as late as
possible. And maybe you rely on env variables (PATH, HOME etc.) that are
not set when booting.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED]  |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] gimp-perl for gimp 1.2.5

2003-07-17 Thread bright . 1
I am having problems installing the gimp-1.2.5.tar.gz.  This seems to be 
due in part if not wholly to not being able to get hold of gimp-perl.

I admit it may be me just being stupid. It may be blindingly obvious-but 
I cannot find gimp-perl.

I've tried the usual places rpmfing, and I think the perl homepage, 
aswell as the gimp website, but no joy.

Any clues.Please.

david

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] gimp-perl for gimp 1.2.5

2003-07-17 Thread Sven Neumann
Hi,

[EMAIL PROTECTED] writes:

 I am having problems installing the gimp-1.2.5.tar.gz.  This seems to
 be due in part if not wholly to not being able to get hold of
 gimp-perl.

 I admit it may be me just being stupid. It may be blindingly
 obvious-but I cannot find gimp-perl.

gimp-perl is part of the gimp-1.2.x tarballs.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] gimp-perl for windows?

2003-01-10 Thread Joakim
Hello,
I have tried to find gimp-perl for win32 but I can't find it.The Gimp-Perl FAQ says that there is no port of gimp-perl for win32.Is the FAQ not updated or is it really true that their is no port?In the latter case, is anybody trying to do a port?
Thanks in advance for any help.
JoakimGratis e-mail resten av livet på: www.yahoo.se/mail
Busenkelt!

Re: [Gimp-user] Gimp-Perl

2002-12-27 Thread pcg
On Thu, Dec 26, 2002 at 08:46:22PM -0600, Greg Oliver [EMAIL PROTECTED] wrote:
 problems.  It appears that someone already has the same issues I have
 with running Script-Fu from perl (just like the tutorials said I would),
 but I am wondering if it applies to just scheme based script fu, or
 plugins as well?

It applies to any script-fu plugin, and has (AFAIK) nothing to do with
perl.  It has worked from time to time, but most of the time, script-fu is
broken in one way or another when being called from oter plug-ins.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED]  |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



[Gimp-user] gimp perl - write to stdout

2002-10-22 Thread Florian Finke
Hello everybody,
I'm new to this list, so let me first introduce myself.
My name is Florian Finke. I work as a programmer in Hamburg (Germany).

Ok, enough ;) Here comes my problem:
I use the Gimp Perl module to modify an XCF file and
write the result to a jpeg file. the resulting jpeg file
will be displayed in the webbrowser. this happens all
on the fly.
After displaying the (temp)jpeg image, it will be deleted.

This is all working good.
But - what I don't want is writing a jpeg file to the harddisk
if i only want to display and delete it.

So my question is is it possible to write to STDOUT instead of
a real file?

thanks,
florian

-- 
excuse my english ;)



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



[Gimp-user] gimp-perl for animation post-processing

2002-05-10 Thread Chris Want

I am new to the gimp mailing lists so
first of all I would like to say hi: Hi!

With that out of the way, I would like
to present a small project I have been
working on with Guillermo S. Romero
which I hope may be of some use to
people who are fellow animators, or
for folks who are into video editing,
or for people who like neat stuff: the
gimp-perl for animation post-processing
page:

http://www.ualberta.ca/~cwant/gimp/postprocess.html

This is a collection of scripts that do some
fun effects with raw animation/video frames
in batch-mode (each script comes with an
example movie). Anyways, it was a lot of
fun writing these and it gave me an excuse
to stop putting off learning perl.

I hope you like the page, and either find
the scripts useful, or are inspired to
write that great video transition that
you've always wanted to see!

Regards,
Chris Want

P.S. Many thanks to sjburges for help
while writing these!

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] gimp perl - edge smoothing

2002-02-27 Thread Jeff Trefftzs

Hi Babak -

You want to turn off antialiasing.  The PDB entry for gimp-text 
shows it to be the seventh parameter, just before you get into 
the font specification parameters.  Set it (in your case) to 
FALSE, to avoid antialiasing.

HTH,



-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user