Re: perl script in gimp for Windows : is it possible ?

2001-01-04 Thread Marc Lehmann

On Wed, Jan 03, 2001 at 09:17:57PM +0200, Tor Lillqvist [EMAIL PROTECTED] wrote:
 Well, I can't say I love Win32, but I do like Perl ;-) When I tried
 (must have been a year ago, I think) the first hurdle was porting the
 Gtk Perl module.

And of course, I totally ignored the Gtk module.

o.k., two issues:

- Gtk. This requires cygwin (I wa sunder the impression that
  gimp on win32 also required this for ./configure, but I was wrong).
  gimp-perl does not require this module, although it is highly recommended
  of course, esp. given it's windows ;)
- Gimp-Perl. gimp-perl is not that demanding, yet it still requires
  being able to successfully run a configure fragment. If we could hardwire
  the configuration somehow, the makefile itself should not be very dependent
  on unix utilities.

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



Re: perl script in gimp for Windows : is it possible ?

2001-01-04 Thread Peter Dove

You might see whether the MKS Toolkit perl distribution
(http://www.mks.com/) will support the necessary ops.  They do have very
unix-like make and shell (C and Korn) environments.


Just my 2c - just a perl non-power user.
Peter


Tor Lillqvist wrote:
 
 Marc Lehmann writes:
   (Also there are different ports of perl to win32). Basically, it requires
   somebody who just loves win32 and perl to check it out ;)
 
 Well, I can't say I love Win32, but I do like Perl ;-) When I tried
 (must have been a year ago, I think) the first hurdle was porting the
 Gtk Perl module. As I don't know much about building Perl modules on
 Win32, I gave up. (In a cygwin environment, it probably is as simple
 as on Unix, perl Makefile.PL etc, but in a "pure" Win32 environment,
 d'oh.)
 
 I could try again...
 
 --tml



Re: perl script in gimp for Windows : is it possible ?

2001-01-04 Thread Wandered Inn

Peter Dove wrote:
 
 You might see whether the MKS Toolkit perl distribution
 (http://www.mks.com/) will support the necessary ops.  They do have very
 unix-like make and shell (C and Korn) environments.

If you're going to consider MKS, you should check out UWin from
att.research.  Provides much of the functionality of MKS, has a more
compliant ksh (D. Korn is lead developer of Uwin) and the price is much
better, it's free.

 
 Just my 2c - just a perl non-power user.
 Peter
 
 Tor Lillqvist wrote:
 
  Marc Lehmann writes:
(Also there are different ports of perl to win32). Basically, it requires
somebody who just loves win32 and perl to check it out ;)
 
  Well, I can't say I love Win32, but I do like Perl ;-) When I tried
  (must have been a year ago, I think) the first hurdle was porting the
  Gtk Perl module. As I don't know much about building Perl modules on
  Win32, I gave up. (In a cygwin environment, it probably is as simple
  as on Unix, perl Makefile.PL etc, but in a "pure" Win32 environment,
  d'oh.)
 
  I could try again...
 
  --tml

--
Until later: Geoffrey   [EMAIL PROTECTED]

"Great spirits have always found violent opposition from mediocre minds.
The
latter cannot understand it when a man does not thoughtlessly submit to
hereditary prejudices but honestly and courageously uses his
intelligence."
- Albert Einstein



Re: perl script in gimp for Windows : is it possible ?

2001-01-04 Thread Tor Lillqvist

Tor Lillqvist writes:
  When I tried (must have been a year ago, I think) the first hurdle
  was porting the Gtk Perl module. As I don't know much about
  building Perl modules on Win32, I gave up.

  I could try again...

Well, I spent a few hours on it yesterday, and some more again today,
but it does seem quite hard, or at least tedious. There are several
hickups... will try to list some:

- What Perl to use? I decided to go the easy way, and use
  ActiveState's prebuilt one. Let's see where that takes us.

- Makefile.PL wants to use gtk-config. No such on Win32. (How could
  there be one? On Win32, people typically don't build GTK+
  themselves, but fetch the headers and libraries, and just unzips
  them in some suitable location. Compare to Unix, where people (or
  their sysadmins) either configure GTK+ themselves, and thus decide
  where it will be installed, or use prebuilt package that drops stuff
  into fixed locations. Of course, I could start requiring that the
  headers and import libs are placed in a fixed location
  (C:\gnu\include, C:\gnu\lib for instance.)

  Anyway, even if one hacks a suitable gtk-config shell script, it
  will be called from a Perl running on pure Windows, and
  system('gtk-config --libs') won't work (there is nothing to
  recognise that the (extension-less) gtk-config file somewhere in
  PATH is executable, and needs interpretation by a shell), and one
  thus needs a wrapper .bat file, or even an .exe, to start a (cygwin)
  bash or sh to actually interpret the gtk-config shell
  script. Hmm. Some issues passing parameters to the shell script
  through the command.com (or cmd.exe) -interpreted .bat file.

- While hacking that gtk-config script, for completeness's sake add a
  --toolset option to choose between mingw (gcc) and MSVC (cl). They
  both understand the same syntax for -I switches, but for libs, gcc
  uses the normal Unix-like -LX:/xxx/xxx -lxxx, while cl wants just
  the .lib file names X:/xxx/xxx/xxx.lib .

- ActiveState's Perl is built with MSVC. Its MakeMaker thus produces a
  Makefile for nmake, that uses cl to compile and link to link. Oh
  well, that is not so bad in itself, I have MSVC available at work,
  and, ehh, I might have a copy at home also.

- However the Makefile.PL in Gtk-Perl assumes that the Makefile will
  be run on a Unix-like system, and needs some tweaking. Oh well, not
  anything impossible, change to use $^X, $Config{obj_ext},
  $Config{exe_ext) etc as appropriate. Also change not to generate
  Unix shell -specific commands (test -f ...  ...). Also, the
  command line syntax for cl is not Unix-like, no -o outputfile
  switch.

- Glib on Win32 has an emulation for the dirent functions, defines the
  DIR struct, and #defines opendir etc to g_win32_opendir etc. Perl
  has its own emulation for these. Hmm. To avoid clashes will have to
  include glib.h early in the Gtk-Perl .xs files, do some ugly
  #defines and stuff to hide the GLib versions. Unfortunately there
  are lots of those .xs files that need to have the same stuff
  inserted. Oh well, just manual work.

- GdkTypes.h in Gtk-Perl clashes with gdktypes.h in GTK+.
  (Case-insensitive filenames.) Have to rename it to GdkTypesPerl.h,
  for instance. Rename also GtkTypes.h to GtkTypesPerl.h for stylistic
  reasons.

- Some X11-backend specific stuff present in Gtk-Perl. Have to #ifdef
  those out, but in a way that is still compatible with GTK+ 1.2,
  which didn't have several backends, and doesn't define
  GDK_WINDOWING_X11. Gtk-Perl also uses some GDK functions that don't
  exist any longer.

At this point I bailed out again... I have better things to do, like,
eh, sleep?

Maybe it would be better to use a Perl running on cygwin? That would
help a couple of the issues above.

Before going any further I should probably contact the Gtk-Perl author
and make sure I am not duplicating somebody else's work in progress,
and to ask if he has done any more work on Gtk-Perl since 0.6123. (This
message is Cc:ed to him.)

(I am not promising that I will hack any more on Gtk-Perl on Win32
anytime soon...)

--tml




perl script in gimp for Windows : is it possible ?

2001-01-03 Thread COUTIER Eric

Hello everybody,

It should be very nice if i could run perl script in Gimp for Windows. Is it
possible ? (i think it's necessary to have Gimp.pm installed but are there
"binaries" available for Windows ?)



Re: perl script in gimp for Windows : is it possible ?

2001-01-03 Thread Marc Lehmann

On Wed, Jan 03, 2001 at 01:06:19PM +0100, COUTIER Eric 
[EMAIL PROTECTED] wrote:
 It should be very nice if i could run perl script in Gimp for Windows. Is it

Nobody so far has attempted to compile gimp-perl, AFAIK. I think that the
same build environment used for normal gimp builds would suffice to build
gimp perl.

I am quite sure it will not compile out of the box, but I only expect a
relatively small number of unixisms in the Makefile to make problems.

(Also there are different ports of perl to win32). Basically, it requires
somebody who just loves win32 and perl to check it out ;)

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



Re: perl script in gimp for Windows : is it possible ?

2001-01-03 Thread Tor Lillqvist

Marc Lehmann writes:
  (Also there are different ports of perl to win32). Basically, it requires
  somebody who just loves win32 and perl to check it out ;)

Well, I can't say I love Win32, but I do like Perl ;-) When I tried
(must have been a year ago, I think) the first hurdle was porting the
Gtk Perl module. As I don't know much about building Perl modules on
Win32, I gave up. (In a cygwin environment, it probably is as simple
as on Unix, perl Makefile.PL etc, but in a "pure" Win32 environment,
d'oh.)

I could try again...

--tml




GIMP for Windows Mailing List

2000-07-09 Thread Andrew J Fortune


Hi all,

I have read that there is one or mailing lists for the Windows port of GIMP.
I went to the site at http://www.xcf.berkeley.edu, but the link to the
mailing lists page seems to be down. Can anyone provide me details on these,
please ?

Thanks in advance,
Andrew J Fortune




Re: GIMP for Windows Mailing List

2000-07-09 Thread Charles Iliya Krempeaux

Take a look at...

  http://user.sgic.fi/~tml/gimp/win32/

The information for the GIMP Win32 stuff is on that page.

See ya

 Charles Iliya Krempeaux


Andrew J Fortune wrote:
 
 Hi all,
 
 I have read that there is one or mailing lists for the Windows port of GIMP.
 I went to the site at http://www.xcf.berkeley.edu, but the link to the
 mailing lists page seems to be down. Can anyone provide me details on these,
 please ?
 
 Thanks in advance,
 Andrew J Fortune



For windows?

2000-07-07 Thread Per Pettersson

Hi GIMP List!

I am a Linux user, but at my school we only have Windows computers. We are
allowed to install programs to them and so I wonder where I can find out
more about GIMP for windows. Is it freeware? Where can I find it and (if
possible) download it?

Best regards,

Per Pettersson  [EMAIL PROTECTED]
[EMAIL PROTECTED]




Re: For windows?

2000-07-07 Thread Lenka Otap


Hi Per,
try this link:
http://user.sgic.fi/~tml/gimp/win32/downloads.html

Lenka.

On Fri, 7 Jul 2000, Per Pettersson wrote:

 Hi GIMP List!
 
 I am a Linux user, but at my school we only have Windows computers. We are
 allowed to install programs to them and so I wonder where I can find out
 more about GIMP for windows. Is it freeware? Where can I find it and (if
 possible) download it?
 
 Best regards,
 
 Per Pettersson  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 




The Bucket Fill Tool in GIMP for Windows

2000-07-04 Thread Andrew J Fortune


Hi,

I am a Windows user, and have been using the Windows version of the GIMP
quite extensively. I have noticed that the Tool Options menu for the Bucket
Fill tool does not have an Opacity slider or a Mode selector (these are
available in the Linux version).

Could anyone suggest a workaround for this ? For example, if I wished to
bucket fill a selection using Multiply mode (say), how could I do it ?

Thanks in advance.

regards,
Andrew J Fortune,
Melbourne,
Australia




Re: The Bucket Fill Tool in GIMP for Windows

2000-07-04 Thread Guillermo S. Romero / Familia Romero

I am a Windows user, and have been using the Windows version of the GIMP
quite extensively. I have noticed that the Tool Options menu for the Bucket
Fill tool does not have an Opacity slider or a Mode selector (these are
available in the Linux version).
Could anyone suggest a workaround for this ? For example, if I wished to
bucket fill a selection using Multiply mode (say), how could I do it ?

IIRC you have two options:
- turn off the global settings (or whatever the name) for tools in the
preferences.
- use the widgets of the brush toolbox.
At least that seems to be the case under Unix Gimp.

GSR
 




RE: The Bucket Fill Tool in GIMP for Windows

2000-07-04 Thread Simon Wood

Hi Andrew,
Can you not use layers

I mean.
1). Select the areas you wish to fill (select tool, magic wand, etc)
2). Create a new layer, keeping the previous selection 
3). Use bucket fill on new layer.
4). Play around (OK carefully adjust ;-) ) mode and opacity
5). Merge layers when happy.

Simon Wood



FW: The Bucket Fill Tool in GIMP for Windows

2000-07-04 Thread Andrew J Fortune


Hi all,

Thanks to those who responded. The solution was to switch off the global
paint options in Preferences. Probably works the same in Linux.

regards,
Andrew

-Original Message-
From: Andrew J Fortune [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 4 July 2000 8:51 PM
To: [EMAIL PROTECTED]
Subject: The "Bucket Fill" Tool in GIMP for Windows



Hi,

I am a Windows user, and have been using the Windows version of the GIMP
quite extensively. I have noticed that the Tool Options menu for the Bucket
Fill tool does not have an Opacity slider or a Mode selector (these are
available in the Linux version).

Could anyone suggest a workaround for this ? For example, if I wished to
bucket fill a selection using Multiply mode (say), how could I do it ?

Thanks in advance.

regards,
Andrew J Fortune,
Melbourne,
Australia





RE: The Bucket Fill Tool in GIMP for Windows

2000-07-04 Thread Guillermo S. Romero / Familia Romero

Hi Andrew,
Can you not use layers

Maybe cos if you know wht you want, the other way is faster. And if you do
not, you do not waste undo steps (do, "uuummm I do not like it", undo, do:
only one slot wasted). Maybe if the undo stack thing is cleared in next
versions it would be the same in undo steps.

GSR