gnome-scan r642 - in branches/GNOME_SCAN_0_6: . lib modules po src tools



Author: bersace
Date: Sat Dec  6 13:43:12 2008
New Revision: 642
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=642&view=rev

Log:
Update to GEGL 0.0.21

Modified:
   branches/GNOME_SCAN_0_6/ChangeLog
   branches/GNOME_SCAN_0_6/configure.ac
   branches/GNOME_SCAN_0_6/lib/gnome-scan-job.c
   branches/GNOME_SCAN_0_6/lib/gnome-scan-preview-sink.c
   branches/GNOME_SCAN_0_6/lib/gnome-scan-processor-common.c
   branches/GNOME_SCAN_0_6/modules/gsane-scanner.c
   branches/GNOME_SCAN_0_6/modules/gsfile-scanner.c
   branches/GNOME_SCAN_0_6/po/ChangeLog
   branches/GNOME_SCAN_0_6/po/Makefile.in.in
   branches/GNOME_SCAN_0_6/src/flegita-gimp-sink.c
   branches/GNOME_SCAN_0_6/src/flegita-sink.c
   branches/GNOME_SCAN_0_6/tools/gs-scrot.c

Modified: branches/GNOME_SCAN_0_6/configure.ac
==============================================================================
--- branches/GNOME_SCAN_0_6/configure.ac	(original)
+++ branches/GNOME_SCAN_0_6/configure.ac	Sat Dec  6 13:43:12 2008
@@ -60,7 +60,7 @@
 AC_SUBST(API_VERSION)
 
 
-PKG_CHECK_MODULES(GNOME_SCAN, [gmodule-2.0 gthread-2.0 glib-2.0 gdk-2.0 >= 2.11 gdk-pixbuf-2.0 gtk+-2.0 >= 2.12 gegl >= 0.0.16 gconf-2.0 ])
+PKG_CHECK_MODULES(GNOME_SCAN, [gmodule-2.0 gthread-2.0 glib-2.0 gdk-2.0 >= 2.11 gdk-pixbuf-2.0 gtk+-2.0 >= 2.12 gegl >= 0.0.21 gconf-2.0 ])
 AC_SUBST(GNOME_SCAN_CFLAGS)
 AC_SUBST(GNOME_SCAN_LIBS)
 

Modified: branches/GNOME_SCAN_0_6/lib/gnome-scan-job.c
==============================================================================
--- branches/GNOME_SCAN_0_6/lib/gnome-scan-job.c	(original)
+++ branches/GNOME_SCAN_0_6/lib/gnome-scan-job.c	Sat Dec  6 13:43:12 2008
@@ -411,7 +411,7 @@
 	
 	/* convert */
 	priv->gegl_convert = gegl_node_new_child(root,
-											 "operation", "convert-format",
+											 "operation", "gegl:convert-format",
 											 NULL);
 	node = g_list_append (node, priv->gegl_convert);
 	

Modified: branches/GNOME_SCAN_0_6/lib/gnome-scan-preview-sink.c
==============================================================================
--- branches/GNOME_SCAN_0_6/lib/gnome-scan-preview-sink.c	(original)
+++ branches/GNOME_SCAN_0_6/lib/gnome-scan-preview-sink.c	Sat Dec  6 13:43:12 2008
@@ -83,7 +83,7 @@
 	GList *list = NULL;
 
 	priv->save = gegl_node_new_child (root,
-									  "operation", "save-pixbuf",
+									  "operation", "gegl:save-pixbuf",
 									  "pixbuf", &priv->pixbuf,
 									  NULL);
 	list = g_list_append (list,

Modified: branches/GNOME_SCAN_0_6/lib/gnome-scan-processor-common.c
==============================================================================
--- branches/GNOME_SCAN_0_6/lib/gnome-scan-processor-common.c	(original)
+++ branches/GNOME_SCAN_0_6/lib/gnome-scan-processor-common.c	Sat Dec  6 13:43:12 2008
@@ -108,14 +108,14 @@
 	GeglNode *op;
 	
 	op = gegl_node_new_child(root,
-							 "operation", "rotate",
+							 "operation", "gegl:rotate",
 							 "degrees", priv->degrees,
 							 NULL);
 	node = g_list_append (node, op);
 	
 	if (priv->enhance) {
 		op = gegl_node_new_child(root,
-								 "operation", "stress",
+								 "operation", "gegl:stress",
 								 /* those value are arbitraty, might
 									be nice to expose this through
 									profile : photo, text, quick,

Modified: branches/GNOME_SCAN_0_6/modules/gsane-scanner.c
==============================================================================
--- branches/GNOME_SCAN_0_6/modules/gsane-scanner.c	(original)
+++ branches/GNOME_SCAN_0_6/modules/gsane-scanner.c	Sat Dec  6 13:43:12 2008
@@ -315,7 +315,7 @@
 	GList* list = NULL;
 	
 	priv->load = gegl_node_new_child (root,
-					  "operation", "load-buffer",
+					  "operation", "gegl:load-buffer",
 					  "buffer", priv->buffer,
 					  NULL);
 	list = g_list_append (list, priv->load);

Modified: branches/GNOME_SCAN_0_6/modules/gsfile-scanner.c
==============================================================================
--- branches/GNOME_SCAN_0_6/modules/gsfile-scanner.c	(original)
+++ branches/GNOME_SCAN_0_6/modules/gsfile-scanner.c	Sat Dec  6 13:43:12 2008
@@ -162,7 +162,7 @@
 	GList *list = NULL;
 	
 	priv->load = gegl_node_new_child (root,
-									  "operation", "load",
+									  "operation", "gegl:load",
 									  NULL);
 	
 	list = g_list_append (list, priv->load);

Modified: branches/GNOME_SCAN_0_6/po/Makefile.in.in
==============================================================================
--- branches/GNOME_SCAN_0_6/po/Makefile.in.in	(original)
+++ branches/GNOME_SCAN_0_6/po/Makefile.in.in	Sat Dec  6 13:43:12 2008
@@ -1,10 +1,10 @@
 # Makefile for program source directory in GNU NLS utilities package.
 # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper gnu ai mit edu>
+# Copyright (C) 2004-2008 Rodney Dawes <dobey pwns gmail com>
 #
-# This file file be copied and used freely without restrictions.  It can
-# be used in projects which are not available under the GNU Public License
+# This file may be copied and used freely without restrictions.  It may
+# be used in projects which are not available under a GNU Public License,
 # but which still want to provide support for the GNU gettext functionality.
-# Please note that the actual code is *not* freely available.
 #
 # - Modified by Owen Taylor <otaylor redhat com> to use GETTEXT_PACKAGE
 #   instead of PACKAGE and to look for po2tbl in ./ not in intl/
@@ -12,7 +12,7 @@
 # - Modified by jacob berkman <jacob ximian com> to install
 #   Makefile.in.in and po2tbl.sed.in for use with glib-gettextize
 #
-# - Modified by Rodney Dawes <dobey novell com> for use with intltool
+# - Modified by Rodney Dawes <dobey pwns gmail com> for use with intltool
 #
 # We have the following line for use by intltoolize:
 # INTLTOOL_MAKEFILE
@@ -54,16 +54,16 @@
 
 ALL_LINGUAS = @ALL_LINGUAS@
 
-PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; fi)
+PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
 
-USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi)
+USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep ^$$lang$$`"; then printf "$$lang "; fi; done; fi)
 
-USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
+USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
 
-POFILES=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
+POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done)
 
-DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES)
-EXTRA_DISTFILES = POTFILES.skip Makevars LINGUAS
+DISTFILES = Makefile.in.in POTFILES.in $(POFILES)
+EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS
 
 POTFILES = \
 # This comment gets stripped out
@@ -101,7 +101,6 @@
 install-data: install-data- USE_NLS@
 install-data-no: all
 install-data-yes: all
-	$(mkdir_p) $(DESTDIR)$(itlocaledir)
 	linguas="$(USE_LINGUAS)"; \
 	for lang in $$linguas; do \
 	  dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \

Modified: branches/GNOME_SCAN_0_6/src/flegita-gimp-sink.c
==============================================================================
--- branches/GNOME_SCAN_0_6/src/flegita-gimp-sink.c	(original)
+++ branches/GNOME_SCAN_0_6/src/flegita-gimp-sink.c	Sat Dec  6 13:43:12 2008
@@ -149,7 +149,7 @@
 	FlegitaGimpSinkPrivate *priv = GET_PRIVATE (plugin);
 	GList *list = NULL;
 	priv->save = gegl_node_new_child (root,
-									  "operation", "save-buffer",
+									  "operation", "gegl:save-buffer",
 									  "buffer", &priv->buffer,
 									  NULL);
 	list = g_list_append (list, priv->save);

Modified: branches/GNOME_SCAN_0_6/src/flegita-sink.c
==============================================================================
--- branches/GNOME_SCAN_0_6/src/flegita-sink.c	(original)
+++ branches/GNOME_SCAN_0_6/src/flegita-sink.c	Sat Dec  6 13:43:12 2008
@@ -351,7 +351,7 @@
   FlegitaSinkPrivate *priv = GET_PRIVATE (plugin);
   GList *list = NULL;
   priv->output = gegl_node_new_child (root,
-				      "operation", "png-save",
+				      "operation", "gegl:png-save",
 				      NULL);
 
   list = g_list_append (list, priv->output);

Modified: branches/GNOME_SCAN_0_6/tools/gs-scrot.c
==============================================================================
--- branches/GNOME_SCAN_0_6/tools/gs-scrot.c	(original)
+++ branches/GNOME_SCAN_0_6/tools/gs-scrot.c	Sat Dec  6 13:43:12 2008
@@ -365,12 +365,12 @@
   root = gegl_node_new ();
 	
   color = gegl_node_new_child (root,
-			       "operation", "color",
+			       "operation", "gegl:color",
 			       "value", gegl_color_new ("white"),
 			       NULL);
 	
   crop = gegl_node_new_child (root,
-			      "operation", "crop",
+			      "operation", "gegl:crop",
 			      "x", 0.,
 			      "y", 0.,
 			      "width", W,
@@ -378,15 +378,15 @@
 			      NULL);
 	
   over = gegl_node_new_child (root,
-			      "operation", "over",
+			      "operation", "gegl:over",
 			      NULL);
 	
   over1 = gegl_node_new_child (root,
-			       "operation", "over",
+			       "operation", "gegl:over",
 			       NULL);
 	
   crop1 = gegl_node_new_child (root,
-			       "operation", "crop",
+			       "operation", "gegl:crop",
 			       "x", 0.,
 			       "y", 0.,
 			       "width", W,
@@ -394,14 +394,14 @@
 			       NULL);
 	
   shift = gegl_node_new_child (root,
-			       "operation", "shift",
+			       "operation", "gegl:shift",
 			       "x", LEN,
 			       "y", LEN,
 			       NULL);
 	
 	
   save = gegl_node_new_child (root,
-			      "operation", "png-save",
+			      "operation", "gegl:png-save",
 			      "path", filename,
 			      NULL);
 	
@@ -410,13 +410,13 @@
 	
   /* border */
   bg = gegl_node_new_child (root,
-			    "operation", "color",
+			    "operation", "gegl:color",
 			    NULL);
 	
 	
   if (GTK_IS_WINDOW (widget)) {
     crop2 = gegl_node_new_child (root,
-				 "operation", "crop",
+				 "operation", "gegl:crop",
 				 "x", 0.,
 				 "y", 0.,
 				 "width", (gdouble) w,
@@ -425,7 +425,7 @@
   }
   else {
     crop2 = gegl_node_new_child (root,
-				 "operation", "crop",
+				 "operation", "gegl:crop",
 				 "x", 0.,
 				 "y", 0.,
 				 "width", (gdouble) w + 2.,
@@ -434,7 +434,7 @@
   }
 	
   shadow = gegl_node_new_child (over,
-				"operation", "dropshadow",
+				"operation", "gegl:dropshadow",
 				"opacity", .9,
 				"x", LEN,
 				"y", LEN,
@@ -446,18 +446,18 @@
 	
   /* image */
   load = gegl_node_new_child (over1,
-			      "operation", "pixbuf",
+			      "operation", "gegl:pixbuf",
 			      "pixbuf", screenshot,
 			      NULL);
 	
   if (GTK_IS_WINDOW (widget)) {
     shift1 = gegl_node_new_child (over1,
-				  "operation", "nop",
+				  "operation", "gegl:nop",
 				  NULL);
   }
   else {
     shift1 = gegl_node_new_child (over1,
-				  "operation", "shift",
+				  "operation", "gegl:shift",
 				  "x", 1.,
 				  "y", 1.,
 				  NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]