Re: gimptool using --prefix for install?

2000-08-01 Thread Marc Lehmann

On Wed, Aug 02, 2000 at 12:08:18AM +0200, Alexander Skwar <[EMAIL PROTECTED]> 
wrote:
> ? Did I miss something?  Why is it such a bad thing that programs should be
> installable in a user specified place?  And why is RPM broken because of

What you miss is that it's not "installing in a user-specified place" but
"installing it in /usr/bin" but physically copying files somewhere else,
which only rpm needs.

You choose the installation location while configuring the program.

> wouldn't be a problem.  But that is *BAD* as far as creating the rpm file is
> concerned.

At least under linux, you don't need such fragile solutions (any ELF
system provides better measures). You could also use chroot to work on any
unix, although that would be difficult.

> > ;)
> Ah! :-)

Sure!

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: gimptool using --prefix for install?

2000-08-01 Thread Marc Lehmann

On Wed, Aug 02, 2000 at 01:26:00AM +0200, "\"Jürgen A. Erhard\"" <[EMAIL PROTECTED]> wrote:
> automake-using apps per default, usually) can do it.  It's just Perl
> that doesn't seem to be able to honor that (according to older posts
> from you Marc), which is a shame (for Perl).

Perl can do it very well. Have you read my posts? Or README.perl, which
explains that it's PREFIX not --prefix?

What perl cannot do is automagically find installed modules in that way,
and that is only natural.

The shame is really underinformed people (like you) who keep talking about
things they lack essential information on :(

I also don't know why perl is the primary target, most probably because
its used much more often than python, which has the same problems,
just like any other extension which uses an independently installed
interpreter.

> basis...  (and I hope that the rumored complete Perl rewrite will be
> helping here).

It's impossible. How could gimp find plug-ins that are installed in
/some/where/else unless you tell it?

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



TONIGHT's CONFERENCE NUMBER .. AGAIN!!!

2000-08-01 Thread leads4you_now


THE CONFERENCE NUMBER FOR TONIGHT SINCE IT WAS LEFT OUT OF THE PREVIOUS EMAIL
IS: (580)431-8000 pin 7691#  AT 6PM PACIFICBE ON IT!!!

$100 FOR JUST LISTENING IN!!!

BE SURE TO ALSO:

1. Send An Email To [EMAIL PROTECTED] Inclucing Your Name And Phone Number For 
A Follow Up Call.
2. Be Sure To Be On The Call Saturday Morning.

IMPORTANT:  YOU MUST SEND AN EMAIL TO [EMAIL PROTECTED] WITH YOUR NAME AND 
PHONE NUMBER OR YOU WILL NOT BE CONTACTED AND CANNOT COLLECT THE $100 AS THERE IS NO 
INSTRUCTION ON THE CALL AS TO WHO TO CONTACT.




Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Robert L Krawitz

   Date: Tue, 1 Aug 2000 09:34:10 -0400
   From: Zachary Beane <[EMAIL PROTECTED]>

   This was a legitimate screw-up in one version of Red Hat, IIRC. They
   did not include the gimptool script in either gimp or gimp-devel
   RPMs. This became an issue on IRC for several people, until we finally
   figured it out.

What was the recommended solution?

-- 
Robert Krawitz <[EMAIL PROTECTED]>  http://www.tiac.net/users/rlk/

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for The Gimp Print --  http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



Re: gimptool using --prefix for install?

2000-08-01 Thread "Jürgen A. Erhard"

> "Marc" == Marc Lehmann <[EMAIL PROTECTED]> writes:

Marc> On Tue, Aug 01, 2000 at 10:59:50PM +0200, Alexander Skwar 
<[EMAIL PROTECTED]> wrote:
>> RPM it is very much desirable to have the install not go to the "real"
>> directory, but to prefix the install dir with some other dir.

Marc> 
Marc> Why is that every program has to be "fixed" to be usable
Marc> with rpm, and everbody even agrees with that, instead of
Marc> just fixing rpm???
Marc> 

It's not just rpm.  Lots of people want to install to some place
different from what the configure --prefix was.  People using stow,
for example.  Or package builders... dpkg does the same ("the same
sane"?)

And it's definitely not "every program".  Tons of stuff (like all
automake-using apps per default, usually) can do it.  It's just Perl
that doesn't seem to be able to honor that (according to older posts
from you Marc), which is a shame (for Perl).

I'm just happy that I don't have to fight this monster on a daily
basis...  (and I hope that the rumored complete Perl rewrite will be
helping here).

Bye, J

-- 
Jürgen A. Erhard  eMail: [EMAIL PROTECTED]  phone: (GERMANY) 0721 27326
  My WebHome: http://members.tripod.com/Juergen_Erhard
"Those who would give up essential Liberty, to purchase a little
 temporary Safety, deserve neither Liberty nor Safety." -- B. Franklin

 PGP signature


Re: gimptool using --prefix for install?

2000-08-01 Thread Austin Donnelly

On Tuesday, 1 Aug 2000, Alexander Skwar wrote:

> Can I somehow use gimptool to do this?  I thought about something like
> "gimptool --prefix ~/tmp/prefix-dir --install-admin-bin pluginfile", and
> then gimptool should install "pluginfile" to
> "``~/tmp/prefix-dir''/usr/lib/gimp/1.1/plug-ins/", (without all those ",' &
> `) but this obviously does not work.  So, how can I find out where the
> plug-ins directory of gimp is?

The --prefix idea for gimptool sounds like a good and useful feature.

Some work needs to be done on gimptool before 1.2 can release.  In
particular, we need to be able to use it to automate the building of
DLL modules without using a gimp build tree.

Does anyone have skills in hacking it?  Last time I looked it was a
bit nightmarish.  If there's no-one better qualified to hack it, then
I will.  But it won't be pretty :(

Austin



Re: gimptool using --prefix for install?

2000-08-01 Thread Alexander Skwar

On Tue, Aug 01, 2000 at 11:31:42PM +0200, Marc Lehmann wrote:
> 
> Why is that every program has to be "fixed" to be usable with rpm, and
> everbody even agrees with that, instead of just fixing rpm???
> 

? Did I miss something?  Why is it such a bad thing that programs should be
installable in a user specified place?  And why is RPM broken because of
that?  If I were to write a SPEC file that only root could execute because
during the install files get written to the "real" directories, that
wouldn't be a problem.  But that is *BAD* as far as creating the rpm file is
concerned.

> 
> ;)

Ah! :-)

Alexander Skwar
-- 
Homepage:   http://www.digitalprojects.com
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:7328191



Re: gimptool using --prefix for install?

2000-08-01 Thread Marc Lehmann

On Tue, Aug 01, 2000 at 10:59:50PM +0200, Alexander Skwar <[EMAIL PROTECTED]> 
wrote:
> RPM it is very much desirable to have the install not go to the "real"
> directory, but to prefix the install dir with some other dir.


Why is that every program has to be "fixed" to be usable with rpm, and
everbody even agrees with that, instead of just fixing rpm???


;)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



gimptool using --prefix for install?

2000-08-01 Thread Alexander Skwar

Hello!
I'm using gimp 1.1.24.  I'd like to write a RPM spec file for a plugin.  In
RPM it is very much desirable to have the install not go to the "real"
directory, but to prefix the install dir with some other dir.

Can I somehow use gimptool to do this?  I thought about something like
"gimptool --prefix ~/tmp/prefix-dir --install-admin-bin pluginfile", and
then gimptool should install "pluginfile" to
"``~/tmp/prefix-dir''/usr/lib/gimp/1.1/plug-ins/", (without all those ",' &
`) but this obviously does not work.  So, how can I find out where the
plug-ins directory of gimp is?

Alexander Skwar
-- 
Homepage:   http://www.digitalprojects.com
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:7328191



Re: Gimptool in Gimp 1.0.4

2000-08-01 Thread Kevin Cozens

Robert L Krawitz wrote:
> A number of our users who are using Red Hat (6.0 or 6.2) report that
> there is no gimptool present with Gimp 1.0.4 (they've done a find and
> come up with nothing; they've checked that they've installed
[snip]
> Any suggestions?  Is Red Hat broken, or is it our configure script?

I just checked the GIMP 1.0.4 RPM files that I have on my RedHat 6.2
machine. The gimptool file is located in /usr/bin.



Re: Perl Scripting

2000-08-01 Thread egger

On  1 Aug, Tuomas Kuosmanen wrote:

> Gimp-perl works just fine on debian woody with "normal" stuff. Both on
> my intel desktop box and on my powerpc laptop. No problems. Except for
> the i8n stuff in plug-ins/perl/po/ that sometimes seems to get cvs
> conflicts ( the << stuff) in the files (could it be that some
> files were changed on the local disk during compilation? Since
> deleting the troublemaker file, cvs updating it and running make again
> has helped so far..

 It works fine under SuSE 7.0, too. Had to use the 1.2 version from CPAN
 with a little patch, because it's trying to use nonexistant functions from
 libgimp, though...

-- 

Servus,
   Daniel




Re: Perl Scripting

2000-08-01 Thread Tuomas Kuosmanen

On Sun, Jul 30, 2000 at 07:27:14AM +1000, Andrew J Fortune wanted to say the following:
> Hi Daniel,
> 
> I didn't say that the Perl scripting tool didn't work for me. I said that I
> couldn't find it on GIMP's menus.

Just as a record: 

Gimp-perl works just fine on debian woody with "normal" stuff. Both on my
intel desktop box and on my powerpc laptop. No problems. Except for the i8n
stuff in plug-ins/perl/po/ that sometimes seems to get cvs conflicts ( the
<< stuff) in the files (could it be that some files were changed on the
local disk during compilation? Since deleting the troublemaker file, cvs
updating it and running make again has helped so far..

Andrew, dont worry, sometimes one doesnt know what thing one ends up poking
with a stick.. this time it was the Ancient Perl Flame Monster! Lets hope
it goes back to sleep.. :)

Tuomas

-- 

.--->  [EMAIL PROTECTED] .|\,/|  [EMAIL PROTECTED]  <-.
+>  www.helixcode.com  -  ()-@@  ,   tigert.gimp.org  <+
`->  art director   ,  `--')/   a gimp artist  <---'





Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Marc Lehmann

On Tue, Aug 01, 2000 at 03:42:35PM +0200, Simon Budig 
<[EMAIL PROTECTED]> wrote:
> > I don't think so: You don't need header files to add a plug-in. You only
> > need gimptool. The header files are only required when compiling a plug-in
> > from source.
> 
> So you can obtain precompiled plugins from the registry?

Even you could!

> plugins from c-source, so technically speaking it *has* a dependency
> on gimp-devel and it is perfectly reasonable to put it in gimp-devel.

This is (however) just a technical problem with the rpm format that
might get solved in the future. Debian packages for example need no such
dependency.

However, one could argue that your logic also implies that gimp has a
dependency on gimp-devel (both gimptool and gimp requite gimp-devel to be
used to its full potential).

;*)

PS: did you get the cd already?

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Adrian Likins

On Tue, Aug 01, 2000 at 09:34:10AM -0400, Zachary Beane wrote:
> This was a legitimate screw-up in one version of Red Hat, IIRC. They
> did not include the gimptool script in either gimp or gimp-devel
> RPMs. This became an issue on IRC for several people, until we finally
> figured it out.

6.0 had no gimp-tool
6.1 has it in gimp-devel
6.2 has it in gimp-devel
pinstripe has it in gimp-devel


Adrian



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Simon Budig

Marc Lehmann ([EMAIL PROTECTED]) wrote:
> On Tue, Aug 01, 2000 at 02:26:49PM +0200, Simon Budig 
><[EMAIL PROTECTED]> wrote:
> > Argh - OK. I forgot the Script-fu scripts. But adding plugins is
> > impossible w/o gimp-devel, because the libgimp header files are
> > unavailable.
> 
> I don't think so: You don't need header files to add a plug-in. You only
> need gimptool. The header files are only required when compiling a plug-in
> from source.

So you can obtain precompiled plugins from the registry?

Anyway. I am not really happy about the descision to put gimptool
in the gimp-devel package. But it will fail to work for installing
plugins from c-source, so technically speaking it *has* a dependency
on gimp-devel and it is perfectly reasonable to put it in gimp-devel.

Bye,
Simon

-- 
  [EMAIL PROTECTED]   http://www.home.unix-ag.org/simon/



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Zachary Beane

This was a legitimate screw-up in one version of Red Hat, IIRC. They
did not include the gimptool script in either gimp or gimp-devel
RPMs. This became an issue on IRC for several people, until we finally
figured it out.

Zach
-- 
[EMAIL PROTECTED] Zachary Beane http://www.xach.com/



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Marc Lehmann

On Tue, Aug 01, 2000 at 02:26:49PM +0200, Simon Budig 
<[EMAIL PROTECTED]> wrote:
> impossible w/o gimp-devel, because the libgimp header files are
> unavailable.

Also, gimptool is very useful for other programs, to find out where gimp
was installed, even at runtime.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Marc Lehmann

On Tue, Aug 01, 2000 at 02:26:49PM +0200, Simon Budig 
<[EMAIL PROTECTED]> wrote:
> Argh - OK. I forgot the Script-fu scripts. But adding plugins is
> impossible w/o gimp-devel, because the libgimp header files are
> unavailable.

I don't think so: You don't need header files to add a plug-in. You only
need gimptool. The header files are only required when compiling a plug-in
from source.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Gimptool in Gimp 1.0.4

2000-08-01 Thread Alan F. Ho


Perhaps have the users run  rpm -ql gimp-devel | grep gimptool.

Alan



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Simon Budig

Marc Lehmann ([EMAIL PROTECTED]) wrote:
> On Tue, Aug 01, 2000 at 11:49:26AM +0200, Simon Budig 
><[EMAIL PROTECTED]> wrote:
> > IIRC gimptool is in the gimp-devel package, which makes sense, because
> > all uses (except determining the Gimp Version) are developer-related.
> 
> So, adding scripts you downloaded from the registry is developer-related?
> 
> (it's definitely not _that_ clear).

Argh - OK. I forgot the Script-fu scripts. But adding plugins is
impossible w/o gimp-devel, because the libgimp header files are
unavailable.

Bye,
Simon

-- 
  [EMAIL PROTECTED]   http://www.home.unix-ag.org/simon/



Patterns ans brush

2000-08-01 Thread Fethi BELGHAOUTI

hi to all,

can you tell me why, when i use Brushes or Patterns i
receive an error from my script like:

 gimp_patterns_get_pattern: procedural database
execution failed at /home/httpd/cgi-bin/my_file_cgi
line 54 (DIE) 


thank you.

simply Fethi.

___
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr



animated GIF

2000-08-01 Thread Fethi BELGHAOUTI

hi to all,

can you tell me how can i save an animated gif wich i
generate with Perl-Gimp script!

Tnak you.

Symply Fethi.

___
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr



Re: Gimptool in Gimp 1.0.4

2000-08-01 Thread Robert L Krawitz

   Content-Type: text/plain; charset=us-ascii
   Date: Tue, 1 Aug 2000 11:07:44 +0100 (BST)
   From: Austin Donnelly <[EMAIL PROTECTED]>

   On Tuesday, 1 Aug 2000, Marc Lehmann wrote:

   > On Mon, Jul 31, 2000 at 09:29:01PM -0400, Robert L Krawitz <[EMAIL PROTECTED]> 
wrote:
   > > Any suggestions?  Is Red Hat broken, or is it our configure script?
   > 
   > Obviously, if gimptool is missing the rpm source (e.g. the distro) is
   > broken, as is the usual case.

   Most likely the users have not installed the gimp-devel package.

They claim to have done so.  Nick Lamb suggested (offline) that the
users in question run rpm -q -i gimp-devel to find out what's really
going on.

-- 
Robert Krawitz <[EMAIL PROTECTED]>  http://www.tiac.net/users/rlk/

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for The Gimp Print --  http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Marc Lehmann

On Tue, Aug 01, 2000 at 11:49:26AM +0200, Simon Budig 
<[EMAIL PROTECTED]> wrote:
> IIRC gimptool is in the gimp-devel package, which makes sense, because
> all uses (except determining the Gimp Version) are developer-related.

So, adding scripts you downloaded from the registry is developer-related?

(it's definitely not _that_ clear).

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Gimptool in Gimp 1.0.4

2000-08-01 Thread Austin Donnelly

On Tuesday, 1 Aug 2000, Marc Lehmann wrote:

> On Mon, Jul 31, 2000 at 09:29:01PM -0400, Robert L Krawitz <[EMAIL PROTECTED]> wrote:
> > Any suggestions?  Is Red Hat broken, or is it our configure script?
> 
> Obviously, if gimptool is missing the rpm source (e.g. the distro) is
> broken, as is the usual case.

Most likely the users have not installed the gimp-devel package.

Austin



Re: [gimp-devel] Gimptool in Gimp 1.0.4

2000-08-01 Thread Simon Budig

Robert L Krawitz ([EMAIL PROTECTED]) wrote:
[gimptool not in Red Hat Gimp RPM]
> Any suggestions?  Is Red Hat broken, or is it our configure script?

IIRC gimptool is in the gimp-devel package, which makes sense, because
all uses (except determining the Gimp Version) are developer-related.

Bye,
Simon
-- 
  [EMAIL PROTECTED]   http://www.home.unix-ag.org/simon/



FREE $100 CASH FOR LISTENING IN!!

2000-08-01 Thread leads4you_now


Guaranteed Success In YOUR Program!

FREE $100.00 FOR THE FIRST 85 REPLIES / NO OBLIGATION*
(* WE WILL REVEAL HOW TO MAKE $100.00 WITHOUT REACHING IN YOUR WALLET Tuesday night at 
6:00 pm P.S.T )

Here's How It Works:

1. Send An Email To [EMAIL PROTECTED] Inclucing Your Name And Phone Number For 
A Follow Up Call.
2. Be Sure To Be On The Call Saturday Morning.

IMPORTANT:  YOU MUST SEND AN EMAIL TO [EMAIL PROTECTED] WITH YOUR NAME AND 
PHONE NUMBER OR YOU WILL NOT BE CONTACTED AND CANNOT COLLECT THE $100 AS THERE IS NO 
INSTRUCTION ON THE CALL AS TO WHO TO CONTACT.




Re: Gimptool in Gimp 1.0.4

2000-08-01 Thread Marc Lehmann

On Mon, Jul 31, 2000 at 09:29:01PM -0400, Robert L Krawitz <[EMAIL PROTECTED]> wrote:
> Any suggestions?  Is Red Hat broken, or is it our configure script?

Obviously, if gimptool is missing the rpm source (e.g. the distro) is
broken, as is the usual case.

You might want to find out where the rpms come from. There are myriads of
gimp rpms, all with different contents, so the users with missing gimptool
might have a (broken) redhat while the users with gimptool might have
installed a third-party rpm. Or vice versa.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |