anjuta r4546 - in trunk: . plugins/class-gen plugins/cvs-plugin plugins/file-loader plugins/file-wizard plugins/gtodo plugins/macro plugins/message-view plugins/profiler plugins/project-import plugins/search plugins/subversion



Author: mcora
Date: Tue Jan  6 15:11:26 2009
New Revision: 4546
URL: http://svn.gnome.org/viewvc/anjuta?rev=4546&view=rev

Log:
  	* plugins/profiler/Makefile.am
	* plugins/file-loader/Makefile.am
	* plugins/search/Makefile.am
	* plugins/class-gen/Makefile.am
	* plugins/project-import/Makefile.am
	* plugins/message-view/Makefile.am
	* plugins/macro/Makefile.am
	* plugins/file-wizard/Makefile.am
	#511589 â Remove dependency on gnome-vfs from Makefiles

	* plugins/gtodo/libgtodo.c: 
  	#511589 - Remove unnecessary hack for GNOME-VFS which
  	is not needed for GIO/GVFS

Modified:
   trunk/ChangeLog
   trunk/plugins/class-gen/Makefile.am
   trunk/plugins/cvs-plugin/Makefile.am
   trunk/plugins/file-loader/Makefile.am
   trunk/plugins/file-wizard/Makefile.am
   trunk/plugins/gtodo/libgtodo.c
   trunk/plugins/macro/Makefile.am
   trunk/plugins/message-view/Makefile.am
   trunk/plugins/profiler/Makefile.am
   trunk/plugins/project-import/Makefile.am
   trunk/plugins/search/Makefile.am
   trunk/plugins/subversion/Makefile.am

Modified: trunk/plugins/class-gen/Makefile.am
==============================================================================
--- trunk/plugins/class-gen/Makefile.am	(original)
+++ trunk/plugins/class-gen/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -33,7 +33,7 @@
 libanjuta_class_gen_la_LIBADD = \
 	${top_builddir}/plugins/project-wizard/libanjuta-project-wizard.la \
 	$(GLADE_LIBS) \
-	$(GNOME_VFS_LIBS) \
+	$(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 libanjuta_class_gen_la_SOURCES= \

Modified: trunk/plugins/cvs-plugin/Makefile.am
==============================================================================
--- trunk/plugins/cvs-plugin/Makefile.am	(original)
+++ trunk/plugins/cvs-plugin/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -28,6 +28,7 @@
 
 libanjuta_cvs_plugin_la_LIBADD = \
 	$(GLADE_LIBS) \
+  $(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 libanjuta_cvs_plugin_la_SOURCES = \

Modified: trunk/plugins/file-loader/Makefile.am
==============================================================================
--- trunk/plugins/file-loader/Makefile.am	(original)
+++ trunk/plugins/file-loader/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -41,7 +41,7 @@
 
 libanjuta_loader_la_LIBADD = \
 	$(GTK_LIBS) \
-	$(GNOME_VFS_LIBS) \
+	$(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 # Plugin dependencies

Modified: trunk/plugins/file-wizard/Makefile.am
==============================================================================
--- trunk/plugins/file-wizard/Makefile.am	(original)
+++ trunk/plugins/file-wizard/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -26,7 +26,7 @@
 
 libanjuta_file_wizard_la_LIBADD = \
 	$(GLADE_LIBS) \
-	$(GNOME_VFS_LIBS) \
+	$(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 libanjuta_file_wizard_la_SOURCES= \

Modified: trunk/plugins/gtodo/libgtodo.c
==============================================================================
--- trunk/plugins/gtodo/libgtodo.c	(original)
+++ trunk/plugins/gtodo/libgtodo.c	Tue Jan  6 15:11:26 2009
@@ -759,32 +759,7 @@
 	/* xmlIndentTreeOutput = 1; */
 	xmlKeepBlanksDefault(0);
 	xmlDocDumpFormatMemory(cl->gtodo_doc, &buffer, &size, TRUE);
-	/* dirty trick to get the whole crap to work on ftp */
-#if 0
-	/* Check if necessary with GIO */
-	if(!strncmp(file, "ftp://";, MIN(strlen(file),6)))
-	{
-		GnomeVFSURI *uri = gnome_vfs_uri_new(file);
-		if(uri != NULL && gnome_vfs_uri_exists(uri))
-		{
-			/* stupid hack to make everything work.. darn ftp */
-			if(debug)g_print("trying to unlink the file\n");
-			if(gnome_vfs_unlink(file) != GNOME_VFS_OK)
-			{      
-				if(debug)g_print("Failed to delete\n");
-				g_set_error(&tmp_error,LIBGTODO_ERROR,LIBGTODO_ERROR_GENERIC,_("Failed to delete %s."),file);	
-				g_propagate_error(error, tmp_error);
-				return TRUE;	
-			}
-			else
-			{
-				if(debug)g_print("file unlinked\n");
-			}
-		}
-		gnome_vfs_uri_unref(uri);
-	}
-#endif
-	/* open the file for writing */
+
 	if (!g_file_replace_contents (file, 
 			(char *)buffer, size, 
 			NULL, FALSE, G_FILE_CREATE_NONE, 

Modified: trunk/plugins/macro/Makefile.am
==============================================================================
--- trunk/plugins/macro/Makefile.am	(original)
+++ trunk/plugins/macro/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -30,7 +30,7 @@
 
 libanjuta_macro_la_LIBADD = \
 	$(GLADE_LIBS) \
-	$(GNOME_VFS_LIBS) \
+	$(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 libanjuta_macro_la_SOURCES = \

Modified: trunk/plugins/message-view/Makefile.am
==============================================================================
--- trunk/plugins/message-view/Makefile.am	(original)
+++ trunk/plugins/message-view/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -32,7 +32,7 @@
 
 libanjuta_message_view_la_LIBADD = \
 	$(GLADE_LIBS) \
-	$(GNOME_VFS_LIBS) \
+	$(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 libanjuta_message_view_la_SOURCES = \

Modified: trunk/plugins/profiler/Makefile.am
==============================================================================
--- trunk/plugins/profiler/Makefile.am	(original)
+++ trunk/plugins/profiler/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -34,7 +34,6 @@
 # Include paths
 AM_CPPFLAGS = \
 	$(LIBANJUTA_CFLAGS) \
-	$(GNOME_VFS_MODULE_CFLAGS) \
 	$(WARN_CFLAGS) \
 	$(GDL_CFLAGS) \
 	$(LIBXML_CFLAGS) \
@@ -90,7 +89,7 @@
 libanjuta_profiler_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
 
 # Plugin dependencies
-libanjuta_profiler_la_LIBADD = $(LIBANJUTA_LIBS) $(GLADE_LIBS) $(GNOME_CANVAS_LIBS) $(GNOME_VFS_MODULE_LIBS) $(LIBXML_LIBS)
+libanjuta_profiler_la_LIBADD = $(LIBANJUTA_LIBS) $(GLADE_LIBS) $(GNOME_CANVAS_LIBS) $(GIO_LIBS) $(LIBXML_LIBS)
 
 if HAVE_GRAPHVIZ
 libanjuta_profiler_la_LIBADD += $(GRAPHVIZ_LIBS)

Modified: trunk/plugins/project-import/Makefile.am
==============================================================================
--- trunk/plugins/project-import/Makefile.am	(original)
+++ trunk/plugins/project-import/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -26,6 +26,7 @@
 libanjuta_project_import_la_LIBADD = \
 	$(PLUGIN_GNOMEBUILD_LIBS) \
 	$(GNOME_UI_LIBS) \
+	$(GIO_LIBS) \
 	$(LIBANJUTA_LIBS)
 
 libanjuta_project_import_la_SOURCES= \

Modified: trunk/plugins/search/Makefile.am
==============================================================================
--- trunk/plugins/search/Makefile.am	(original)
+++ trunk/plugins/search/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -25,7 +25,6 @@
 	$(WARN_CFLAGS) \
 	$(DEPRECATED_FLAGS) \
 	$(GNOME_PRINT_UI_CFLAGS) \
-	$(GNOME_VFS_CFLAGS) \
 	$(LIBANJUTA_CFLAGS) \
 	-I$(top_srcdir)/tagmanager/include
 

Modified: trunk/plugins/subversion/Makefile.am
==============================================================================
--- trunk/plugins/subversion/Makefile.am	(original)
+++ trunk/plugins/subversion/Makefile.am	Tue Jan  6 15:11:26 2009
@@ -34,6 +34,7 @@
 
 libanjuta_subversion_la_LIBADD = \
 	$(GLADE_LIBS) \
+  $(GIO_LIBS) \
 	$(LIBANJUTA_LIBS) $(SVN_LIB)
 
 libanjuta_subversion_la_SOURCES = \



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