--- a/configure.ac Thu May 01 02:39:48 2008 -0400
+++ b/configure.ac Thu May 01 02:47:54 2008 -0400
@@ -366,12 +366,8 @@
if test x"$HAVE_PURPLE" = x"yes" ; then
echo Installing purple plugins to.....: `eval eval echo $PURPLE_LIBDIR`
echo Installing purple plugin data to.: `eval eval echo $PURPLE_DATADIR`
- if test x"$PP_PURPLE_BUILD" = x"" ; then
- echo Purple plugins to be built.......: none
- echo Purple plugins to be built.......:
+ echo Purple plugins to be built.......: @@ -379,12 +375,8 @@
if test x"$HAVE_PIDGIN" = x"yes" ; then
echo Installing pidgin plugins to.....: `eval eval echo $PIDGIN_LIBDIR`
echo Installing pidgin plugin data to.: `eval eval echo $PIDGIN_DATADIR`
- if test x"$PP_PIDGIN_BUILD" = x"" ; then
- echo Pidgin plugins to be built.......: none
- echo Pidgin plugins to be built.......:
+ echo Pidgin plugins to be built.......: @@ -392,12 +384,9 @@
if test x"$HAVE_FINCH" = x"yes" ; then
echo Installing finch plugins to......: `eval eval echo $FINCH_LIBDIR`
echo Installing finch plugin data to..: `eval eval echo $FINCH_DATADIR`
- if test x"$PP_FINCH_BUILD" = x"" ; then
- echo Finch plugins to be built........: none - THIS IS NORMAL
- echo Finch plugins to be built........:
+ echo Finch plugins to be built........: none - THIS IS NORMAL + # uncomment this when we have finch plugins --- a/plugin_pack.py Thu May 01 02:39:48 2008 -0400
+++ b/plugin_pack.py Thu May 01 02:47:54 2008 -0400
@@ -203,9 +203,9 @@
def build_dirs(self, args):
"""Displays a list of the plugins that can be built"""
- print >> sys.stderr, 'build_dirs expects 2 arguments:'
- print >> sys.stderr, '\ta comma separated list of dependencies'
- print >> sys.stderr, '\ta comma separated list of plugins to build'
+ printerr('build_dirs expects 2 arguments:') + printerr('\ta comma separated list of dependencies') + printerr('\ta comma separated list of plugins to build') # store the external depedencies
@@ -313,9 +313,9 @@
print 'PP_BUILD_DIRS=`echo $PP_BUILD | sed \'s/,/\ /g\'`'
print 'AC_SUBST(PP_BUILD_DIRS)'
- print 'PP_PURPLE_BUILD=`$PYTHON $srcdir/plugin_pack.py -p show_names $PP_BUILD`'
- print 'PP_PIDGIN_BUILD=`$PYTHON $srcdir/plugin_pack.py -P show_names $PP_BUILD`'
- print 'PP_FINCH_BUILD=`$PYTHON $srcdir/plugin_pack.py -f show_names $PP_BUILD`'
+ print 'PP_PURPLE_BUILD="$PYTHON $srcdir/plugin_pack.py -p show_names $PP_BUILD"' + print 'PP_PIDGIN_BUILD="$PYTHON $srcdir/plugin_pack.py -P show_names $PP_BUILD"' + print 'PP_FINCH_BUILD="$PYTHON $srcdir/plugin_pack.py -f show_names $PP_BUILD"' commands['config_file'] = config_file
def dependency_graph(self, args):
@@ -380,15 +380,26 @@
def show_names(self, args):
"""Displays the names of the given comma separated list of provides"""
+ provides = args[0].split(',') - provides = args[0].split(',')
- if provide in self.plugins:
- names.append(self.plugins[provide].name)
+ if not provide in self.plugins: + name = self.plugins[provide].name - print string.join(names, ', ')
+ if len(line) + len(name) + 2 > 75: commands['show_names'] = show_names
@@ -489,6 +500,5 @@
printerr('\'%s\' command not found' % (cmd))
if __name__ == '__main__':