RE: [Gimp-developer] image magick-- help

2002-05-21 Thread Maurits Rijk

hi,
  is it ok to use image magick(c++) functions inside
gimp plugins?

I don't see why not. There are more plugins that use other libraries,
like for example the mpeg plugin. Allthough having your plugin using
additional libraries won't increase it's changes of becoming part of the
GIMP core plugins :)

Btw, having an Image Magick plugin could be quite useful in my opinion.
The IM library is well documented and it should for example be possible
to delegate fileformats that are unsupported by the GIMP (for example
WBMP?) to IM.

Maurits

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



[Gimp-developer] Building from CVS...

2002-05-12 Thread Maurits Rijk

Hope anyone can help me with this one: I just checked out GIMP from CVS 
and try to run autogen.sh. However this results in a few hundred error 
messages, starting with:

---
I am testing that you have the required versions of libtool, autoconf,
automake, glib-gettextize and intltoolize. This test is not foolproof,
so if anything goes wrong, see the file HACKING for more information...

Testing libtool... looks OK.
Testing autoconf... looks OK.
Testing automake... looks OK.
Testing glib-gettextize... looks OK.
Testing intltoolize... looks OK.

I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
aclocal: configure.in: 46: macro `AM_PROG_LIBTOOL' not found in library
aclocal: configure.in: 160: macro `AM_PATH_PROG_WITH_TEST' not found in 
library
aclocal: configure.in: 160: macro `AM_PATH_PROG_WITH_TEST' not found in 
library
aclocal: configure.in: 160: macro `AM_LC_MESSAGES' not found in library
configure.in:38: no proper implementation of AM_INIT_AUTOMAKE was found,
configure.in:38: probably because aclocal.m4 is missing...
---

I'm probably missing something here. I'm using autoconf 2.52 and 
automake 1.6.1.

Maurits


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



[Gimp-developer] Usage of mnemonics in GIMP 1.3

2002-05-04 Thread Maurits Rijk

GTK 2.0 now has this nice feature of using mnemonics which I think can 
greatly improve the navigation inside dialogs. I have 3 questions about 
this:

* should we have some kind of guideline for using these, such that each 
plugin will use more or less the same mnemonics?

* what will be the impact on the translations when we start using these?

* can I submit a change request in Bugzilla to request for all plugins 
to use mnemonics for GIMP 1.4? I'm willing to help out here.

Maurits


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



Re: [Gimp-developer] Preview widget for plugins

2002-04-07 Thread Maurits Rijk

Sven Neumann wrote:
snip
 actually, I expect Step 3 to take less than 20 minutes. Just go ahead
 and introduce a preview widget based on GtkPreview and we'll port it to
 GtkDrawingArea for you.

Well, because of my gf and little daughter 20 minutes might be all the 
time I get to spend in a few evenings :)

snip
 We definitely aim for a GIMP-1.4 release before the end of this year



 but I believe we can finish the plug-in preview task in this time 
 schedule. What about sending a mail with the proposed API to the list
 so people are able to comment on it?

I will as soon as it has stabelized a bit. Right now it's based on 2 
plugins (max_rgb and plasma) and I'm working on a third (wind). When the 
preview widget fullfills the need of 5 different plugins I will publish 
the API here, probably by the end of this week.

 Salut, Sven

Kind regards,

Maurits





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



[Gimp-developer] Preview widget for plugins

2002-04-05 Thread Maurits Rijk

Ok, this has been discussed numerous times and seems to be quite high on
the wishlist but it still doesn't really exist: a preview widget that
can be used in all (or probably most) plug-ins.

So I've taken up this challenge and started coding, heavily based on
some work that has already been done in this area. However my approach
is slightly different: instead of coding a perfect preview widget from
the start I opted for the evolutionary approach:

Step 1) first create a quick and dirty preview widget that really
consists of code factored out from several plugins. This code relies on
the deprecated GtkPreview widget. Main advantage of having this step is
that it doesn't involve a lot of rewriting of the existing plugin code.
This step has been succesful: I have changed the code from the max_rgb
and the plasma plugin so they now both use my new preview widget.

Step 2) update all plugins that already have a preview. Some of them
will be easy, others might involve more rewriting or adding
functionality to the preview widget.

Step 3) once all plugins use the same preview widget it's time to
replace the deprecated GtkPreview by another widget (GtkImage or
GtkDrawingArea). In this step the API should be well established and be
able to handle all preview needs.

Step 4) update plugins that don't have a preview yet.

So what's the current status? Well, I've finished step 1 and it seems to
work :) Step 2 will take quite a bit more time, but will greatly clean
up and reduce the current plugin code for all those plugins that use a
preview. I expect this to take about 2 or 3 months. Step 3 will be
relatively easy. Few evenings of hacking should be enough to do this.
And finally, step 4, will be comparable with step 2: about 2 or 3
months.

To sum up: before the end of the year all plugins for which this is
appropriate will have a preview, using a common preview widget. I just
hope Gimp 1.4 isn't already released before that time :)

Any thoughts?

Maurits

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



[Gimp-developer] Plugin icons in menus

2002-02-17 Thread Maurits Rijk

Hi,

Will it be possible for plug-ins in 1.3.x/1.4 to put their own neat
little icons in front of their menu entry? I guess this would mean some
minor enhancements to the plugin API :)

Maurits

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



[Gimp-developer] Photoshop brushes

2002-02-13 Thread Maurits Rijk

Hi,

I noticed that it's pretty easy to write a plug-in to import Photoshop
brushes. There seem to be lots of those freely around on the net. First
question: is this plug-in already available (couldn't find it in the
registry) and secondly: if not, would there be any interest in such a
plugin?

Maurits

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