[Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-29 Thread Sven Neumann

Hi,

David Odin [EMAIL PROTECTED] writes:

   Well, at least to make the jpeg plugins to compile (and works!) again,
 I just had to remove the '#' in front of its definition in
 plugin-defs.pl. Did I miss something important?

if I remember correctly, the JPEG plug-in uses a textarea which is still
in the GTK+-2.0 API but declared deprecated. This needs to be ported to
GtkTextBuffer/GtkTextView. We have already done this for example in the 
Preferences dialog.


Salut, Sven

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



Re: [Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-27 Thread Sven Neumann

Hi,

David Odin [EMAIL PROTECTED] writes:

   I'm using current HEAD cvs of the Gimp.
   I've seen that all the filter plugins which use a GTK interface are
  crashing. Is this a known bug and is this due to the switch to the
  version 2.0 of gtk+? Is there anything I can do to help fixing this?

yes, clean up your gimp installation. You obviously have old plug-ins
installed.

  I've notice that plugins use gtk_signal* fonctions while the gimp
  application (under the app directory) use g_signal* ones. This lets me
  think the plugins are not yet converted to use gtk+-2.0.

those that are in the current Makefiles should work. The gtk_signal_* 
functions are still OK, we just decided to totally switch to g_signal_*
in the core to avoid to gtk_signal_connect() to a GObject. The GUI code
in the plug-ins can continue to use gtk_signal_connect().

   To be more precise, here are the plugins I've seen crashed on
 invocation :
   - destripe,
   - NL filter,
   - gflare,
   - gimpressionist,
   - gfig,
   - gdyntext,
   - imagemap,
   - jpeg.

I haven't checked them all, but I think they have not yet been converted.
This means they won't get installed and you are calling old executable.

I'll look into your patch later...


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



Re: [Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-27 Thread Michael Natterer

David Odin [EMAIL PROTECTED] writes:

 On Sun, Aug 26, 2001 at 08:38:57PM +0200, David Odin wrote:
  
 Hi,
  
   I'm using current HEAD cvs of the Gimp.
   I've seen that all the filter plugins which use a GTK interface are
  crashing. Is this a known bug and is this due to the switch to the
  version 2.0 of gtk+? Is there anything I can do to help fixing this?
  
  I've notice that plugins use gtk_signal* fonctions while the gimp
  application (under the app directory) use g_signal* ones. This lets me
  think the plugins are not yet converted to use gtk+-2.0.
  
  If you can tell me what need to be changed for the migration, I'll be
  happy to fix all these plugins.
  
   To be more precise, here are the plugins I've seen crashed on
 invocation :
   - destripe,
   - NL filter,
   - gflare,
   - gimpressionist,
   - gfig,
   - gdyntext,
   - imagemap,
   - jpeg.

Hi David,

all the plug-ins you mention are currently excluded from CVS HEAD build
because we didn't get around fixing them (mostly GtkText - GtkTextView
migration needed). Seems you have old 1.2 plug-in binaries hanging around
which badly crash...

The ongoing presence og gtk_signal_foo() stuff in the plug-ins is
however perfectly ok, since gtk 2.0 offers wrappers around the new
GLib signal stuff. We will do some kind of perl mass processing of
the plug-ins at some point to remove this Gtk 1.2 compat cruft.

Any yes, patches to make them compile again are welcome :-)

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



[Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-27 Thread David Odin

On Mon, Aug 27, 2001 at 11:42:20AM +0200, Michael Natterer wrote:
 David Odin [EMAIL PROTECTED] writes:
 
  On Sun, Aug 26, 2001 at 08:38:57PM +0200, David Odin wrote:
   
  Hi,
   
I'm using current HEAD cvs of the Gimp.
I've seen that all the filter plugins which use a GTK interface are
   crashing. Is this a known bug and is this due to the switch to the
   version 2.0 of gtk+? Is there anything I can do to help fixing this?
   
   I've notice that plugins use gtk_signal* fonctions while the gimp
   application (under the app directory) use g_signal* ones. This lets me
   think the plugins are not yet converted to use gtk+-2.0.
   
   If you can tell me what need to be changed for the migration, I'll be
   happy to fix all these plugins.
   
To be more precise, here are the plugins I've seen crashed on
  invocation :
- destripe,
- NL filter,
- gflare,
- gimpressionist,
- gfig,
- gdyntext,
- imagemap,
- jpeg.
 
 Hi David,
 
 all the plug-ins you mention are currently excluded from CVS HEAD build
 because we didn't get around fixing them (mostly GtkText - GtkTextView
 migration needed). Seems you have old 1.2 plug-in binaries hanging around
 which badly crash...

  Oops! You are right (Sven also is right). In fact, these were old 1.3
plugins (from the early stage of the 1.3 branch...)  

 The ongoing presence of gtk_signal_foo() stuff in the plug-ins is
 however perfectly ok, since gtk 2.0 offers wrappers around the new
 GLib signal stuff. We will do some kind of perl mass processing of
 the plug-ins at some point to remove this Gtk 1.2 compat cruft.
 
  Ok. So we should let perl do this stuff.

 Any yes, patches to make them compile again are welcome :-)

  Well, at least to make the jpeg plugins to compile (and works!) again,
I just had to remove the '#' in front of its definition in
plugin-defs.pl. Did I miss something important?

 Regards,

   DindinX

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



[Gimp-developer] Re: current gimp status and a patch for apply_lens.

2001-08-26 Thread David Odin

On Sun, Aug 26, 2001 at 08:38:57PM +0200, David Odin wrote:
 
Hi,
 
  I'm using current HEAD cvs of the Gimp.
  I've seen that all the filter plugins which use a GTK interface are
 crashing. Is this a known bug and is this due to the switch to the
 version 2.0 of gtk+? Is there anything I can do to help fixing this?
 
 I've notice that plugins use gtk_signal* fonctions while the gimp
 application (under the app directory) use g_signal* ones. This lets me
 think the plugins are not yet converted to use gtk+-2.0.
 
 If you can tell me what need to be changed for the migration, I'll be
 happy to fix all these plugins.
 
  To be more precise, here are the plugins I've seen crashed on
invocation :
  - destripe,
  - NL filter,
  - gflare,
  - gimpressionist,
  - gfig,
  - gdyntext,
  - imagemap,
  - jpeg.


-- 
[EMAIL PROTECTED]
Applause, n:
The echo of a platitude from the mouth of a fool.
-- Ambrose Bierce
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer