Re: [Gimp-developer] [patch]Gimp plug-in template 1.3.2 won't compile

2004-02-02 Thread Sven Neumann
Hi,

Kevin Cozens [EMAIL PROTECTED] writes:

 To clarify, I have started looking at porting Guash to the 2.0 API. I
 didn't know if anyone else is doing it but I would like it and it
 would be a good learning exercise. I wanted to have the sample plug-in
 to look at as a template.

Given the state of the guash code and that it never got the reputation
of being stable, I'd advocate to write a new plug-in instead of
attempting to port this code. I've been playing with a thumbnail
browser plug-in to make some more use of libgimpthumb. So far it's a
command-line tool only but it could be interesting to add a GUI to
it. In the end this plug-in could come quite closely to what guash
used to do.

 I found a link to the template on developer.gimp.org so I have a
 released tarball and not a copy from a CVS repository. The sample
 template uses features that are deprecated in the latest CVS copy of
 GTK+ (I didn't mean to say GIMP in my original message).
 
 If these things have been fixed, sounds like its time to release a
 new tarball.

If you had a look at the CVS version it would have been clear to you
that the new tarball is around the door.


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


Re: [Gimp-developer] [patch]Gimp plug-in template 1.3.2 won't compile

2004-02-02 Thread Kevin Cozens
At 08:48 AM 02/02/2004, Sven wrote:
Given the state of the guash code and that it never got the reputation
of being stable, I'd advocate to write a new plug-in instead of
attempting to port this code. I've been playing with a thumbnail
browser plug-in to make some more use of libgimpthumb.
The GUASH code looks a little messy too and could stand some clean up or 
splitting in to several files. I don't know which way I will go with this 
yet. Thanks for pointing out libgimpthumb. Sounds like that could be useful.

If you had a look at the CVS version it would have been clear to you
that the new tarball is around the door.
I would have looked at the CVS copy I had known it was in CVS at the time. 
Anyway, thanks for the new tarball. I'll grab a copy of it in a little while.

Cheers!

Kevin.  (http://www.interlog.com/~kcozens/)

Owner of Elecraft K2 #2172|What are we going to do today, Borg?
E-mail:kcozens at interlog dot com|Same thing we always do, Pinkutus:
Packet:[EMAIL PROTECTED]|  Try to assimilate the world!
#include disclaimer/favourite   |  -Pinkutus  the Borg
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] [patch]Gimp plug-in template 1.3.2 won't compile

2004-02-01 Thread Manish Singh
On Sat, Jan 31, 2004 at 11:46:35PM -0500, Kevin Cozens wrote:
 Greetings.
 
 The 1.3.2 of the sample plug-in (gimp-plugin-template) uses some
 features that are deprecated in the latest CVS version of the GIMP. It
 is also missing an argument to one function call. The attached patch
 allows the template plugin to compile.

Thanks, but these have already been fixed in gimp-plugin-template CVS
for some time already.

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


Re: [Gimp-developer] [patch]Gimp plug-in template 1.3.2 won't compile

2004-02-01 Thread Kevin Cozens
At 03:28 AM 02/01/2004, you wrote:
On Sat, Jan 31, 2004 at 11:46:35PM -0500, Kevin Cozens wrote:
 Greetings.

 The 1.3.2 of the sample plug-in (gimp-plugin-template) uses some
 features that are deprecated in the latest CVS version of the GIMP. It
 is also missing an argument to one function call. The attached patch
 allows the template plugin to compile.
Thanks, but these have already been fixed in gimp-plugin-template CVS
for some time already.
If it wasn't for the fact that I am usually up late, I'd blame the 
confusion on my being up late.

To clarify, I have started looking at porting Guash to the 2.0 API. I 
didn't know if anyone else is doing it but I would like it and it would be 
a good learning exercise. I wanted to have the sample plug-in to look at as 
a template.

I found a link to the template on developer.gimp.org so I have a released 
tarball and not a copy from a CVS repository. The sample template uses 
features that are deprecated in the latest CVS copy of GTK+ (I didn't mean 
to say GIMP in my original message).

If these things have been fixed, sounds like its time to release a new 
tarball. Also, any chance of a sample template that isn't tied to an Image 
(ie. one that attaches to Xtns)?

Cheers!

Kevin.  (http://www.interlog.com/~kcozens/)

Owner of Elecraft K2 #2172|What are we going to do today, Borg?
E-mail:kcozens at interlog dot com|Same thing we always do, Pinkutus:
Packet:[EMAIL PROTECTED]|  Try to assimilate the world!
#include disclaimer/favourite   |  -Pinkutus  the Borg
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] [patch]Gimp plug-in template 1.3.2 won't compile

2004-01-31 Thread Kevin Cozens
Greetings.

The 1.3.2 of the sample plug-in (gimp-plugin-template) uses some
features that are deprecated in the latest CVS version of the GIMP. It
is also missing an argument to one function call. The attached patch
allows the template plugin to compile.

-- 
Cheers!
 
Kevin.  (http://www.interlog.com/~kcozens/)
 
Owner of Elecraft K2 #2172|What are we going to do today, Borg?
E-mail:kcozens at interlog dot com|Same thing we always do, Pinkutus:
Packet:[EMAIL PROTECTED]|  Try to assimilate the world!
#include disclaimer/favourite   |  -Pinkutus  the Borg
diff -ur gimp-plugin-template-1.3.2.orig/configure gimp-plugin-template-1.3.2/configure
--- gimp-plugin-template-1.3.2.orig/configure	2003-11-29 07:28:10.0 -0500
+++ gimp-plugin-template-1.3.2/configure	2004-01-31 23:11:53.0 -0500
@@ -6244,7 +6244,7 @@
   esac
 fi
 
-CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
 
 
 
diff -ur gimp-plugin-template-1.3.2.orig/configure.in gimp-plugin-template-1.3.2/configure.in
--- gimp-plugin-template-1.3.2.orig/configure.in	2003-11-06 12:26:39.0 -0500
+++ gimp-plugin-template-1.3.2/configure.in	2004-01-31 23:11:59.0 -0500
@@ -73,7 +73,7 @@
 fi
 changequote([,])dnl
 
-CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
 
 AC_SUBST(PLUGIN_MAJOR_VERSION)
 AC_SUBST(PLUGIN_MINOR_VERSION)
diff -ur gimp-plugin-template-1.3.2.orig/src/interface.c gimp-plugin-template-1.3.2/src/interface.c
--- gimp-plugin-template-1.3.2.orig/src/interface.c	2003-11-29 07:17:14.0 -0500
+++ gimp-plugin-template-1.3.2/src/interface.c	2004-01-31 23:17:50.0 -0500
@@ -89,6 +89,7 @@
   GtkWidget *sep;
   GtkObject *adj;
   gint   row;
+  gboolean   random_seed = FALSE;
   gboolean   run = FALSE;
   GimpUnit   unit;
   gdoublexres, yres;
@@ -162,7 +163,7 @@
   gtk_container_add (GTK_CONTAINER (frame), hbox);
   gtk_widget_show (hbox);
 
-  hbox2 = gimp_random_seed_new (vals-seed);
+  hbox2 = gimp_random_seed_new (vals-seed, random_seed);
   gtk_widget_set_size_request (GTK_WIDGET (GIMP_RANDOM_SEED_SPINBUTTON (hbox2)),
RANDOM_SEED_WIDTH, -1);
   gtk_box_pack_start (GTK_BOX (hbox), hbox2, FALSE, FALSE, 0);
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer