SF.net SVN: geany-plugins:[439] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Feb 5 00:17:45 UTC 2009


Revision: 439
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=439&view=rev
Author:   eht16
Date:     2009-02-05 00:17:45 +0000 (Thu, 05 Feb 2009)

Log Message:
-----------
Fix compilation and usage of the geanygdb_ttyhelper tool which broke after renaming the geanygdb plugin.

Modified Paths:
--------------
    trunk/geanygdb/src/geanydebug.c
    trunk/wscript

Modified: trunk/geanygdb/src/geanydebug.c
===================================================================
--- trunk/geanygdb/src/geanydebug.c	2009-02-04 23:49:17 UTC (rev 438)
+++ trunk/geanygdb/src/geanydebug.c	2009-02-05 00:17:45 UTC (rev 439)
@@ -354,7 +354,7 @@
 	gdbui_setup.main_window = geany->main_widgets->window;
 
 	gdbio_setup.temp_dir = g_build_filename(geany->app->configdir, "plugins", unix_name, NULL);
-	/*gdbio_setup.tty_helper = g_build_filename(gdbio_setup.temp_dir, "geanydebug_ttyhelper", NULL);*/
+	/*gdbio_setup.tty_helper = g_build_filename(gdbio_setup.temp_dir, "geanygdb_ttyhelper", NULL);*/
 	/* the tty helper binary is installed in $prefix/bin, so use this path */
 	gdbio_setup.tty_helper = g_build_filename(PREFIX, "bin", "geanygdb_ttyhelper", NULL);
 	config_file = g_build_filename(gdbio_setup.temp_dir, "debugger.cfg", NULL);

Modified: trunk/wscript
===================================================================
--- trunk/wscript	2009-02-04 23:49:17 UTC (rev 438)
+++ trunk/wscript	2009-02-05 00:17:45 UTC (rev 439)
@@ -318,9 +318,9 @@
 	def build_debug(bld, p, libs):
 		bld.new_task_gen(
 			features	= 'cc cprogram',
-			source		= [ 'geanydebug/src/ttyhelper.c' ],
+			source		= [ 'geanygdb/src/ttyhelper.c' ],
 			includes	= p.includes,
-			target		= 'geanydebug_ttyhelper',
+			target		= 'geanygdb_ttyhelper',
 			uselib		= libs
 		)
 
@@ -343,7 +343,7 @@
 		if p.name == 'geanylua':
 			build_lua(bld, p, libs) # build additional lib for the lua plugin
 
-		if p.name == 'geanydebug':
+		if p.name == 'geanygdb':
 			build_debug(bld, p, libs) # build additional binary for the debug plugin
 
 		if p.name == 'geany-mini-script': tgt = 'gms'


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list