pidgin/purple-plugin-pack

Removing, what I hope, is all pieces of the old build system
org.guifications.plugins.buildsystem_rewrite
2008-03-29, grim
6d90fd320ec4
Parents 3a1cb1541e52
Children 79bd98f3d18f
Removing, what I hope, is all pieces of the old build system
--- a/Makefile.am Sat Mar 29 23:15:40 2008 -0400
+++ b/Makefile.am Sat Mar 29 23:20:35 2008 -0400
@@ -22,9 +22,9 @@
po/Makefile.in.in \
po/Makefile.mingw
-DIST_SUBDIRS = common doc m4 po $(PP_PURPLE) $(PP_PIDGIN) $(PP_FINCH)
+DIST_SUBDIRS = common doc po $(PP_PURPLE) $(PP_PIDGIN) $(PP_FINCH)
-SUBDIRS = common doc m4 po $(PP_PURPLE_BUILD) $(PP_PIDGIN_BUILD) $(PP_FINCH_BUILD)
+SUBDIRS = common doc po $(PP_PURPLE_BUILD) $(PP_PIDGIN_BUILD) $(PP_FINCH_BUILD)
DISTCLEANFILES=\
pp_config.h \
--- a/autogen.sh Sat Mar 29 23:15:40 2008 -0400
+++ b/autogen.sh Sat Mar 29 23:20:35 2008 -0400
@@ -123,7 +123,7 @@
###############################################################################
run_or_die ${LIBTOOLIZE} -c -f --automake ${LIBTOOLIZE_FLAGS}
run_or_die ${INTLTOOLIZE} -c -f --automake ${INTLTOOLIZE_FLAGS}
-run_or_die ${ACLOCAL} -I m4 ${ACLOCAL_FLAGS}
+run_or_die ${ACLOCAL} ${ACLOCAL_FLAGS}
run_or_die ${AUTOHEADER} ${AUTOHEADER_FLAGS}
run_or_die ${AUTOMAKE} -a -c -f --gnu ${AUTOMAKE_FLAGS}
run_or_die ${AUTOCONF} -f ${AUTOCONF_FLAGS}
--- a/configure.ac Sat Mar 29 23:15:40 2008 -0400
+++ b/configure.ac Sat Mar 29 23:20:35 2008 -0400
@@ -280,11 +280,6 @@
AC_CHECK_HEADERS(regex.h)
dnl #######################################################################
-dnl # Run our plugin checking
-dnl #######################################################################
-AM_BUILD_PLUGIN_LIST()
-
-dnl #######################################################################
dnl # Version stuff
dnl #######################################################################
AC_CONFIG_COMMANDS_PRE([
@@ -305,7 +300,6 @@
Makefile
common/Makefile
doc/Makefile
- m4/Makefile
po/Makefile.in
VERSION
plugin_pack.spec
--- a/m4/Makefile.am Sat Mar 29 23:15:40 2008 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-EXTRA_DIST = \
- pluginpack.m4
--- a/m4/pluginpack.m4 Sat Mar 29 23:15:40 2008 -0400
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,208 +0,0 @@
-dnl ###########################################################################
-dnl # m4 Build Helper for the purple plugin pack
-dnl # Copyright (C) 2005-2007 Gary Kramlich <grim@reaperworld.com>
-dnl #
-dnl # awk foo and other sanity graciously provided by Caleb Gilmour
-dnl #
-dnl ###########################################################################
-dnl # AM_BUILD_PLUGIN_LIST
-dnl #
-dnl # Searches a dir, for subdir's which have a .plugin file defining them
-dnl # as plugins for the plugin pack.
-dnl #
-dnl ###########################################################################
-
-AC_DEFUN([AM_BUILD_PLUGIN_LIST],
-[dnl
- PP_PURPLE=""
- PP_PURPLE_ABUSIVE=""
- PP_PURPLE_INCOMPLETE=""
- PP_PURPLE_BUILD=""
-
- PP_PIDGIN=""
- PP_PIDGIN_ABUSIVE=""
- PP_PIDGIN_INCOMPLETE=""
- PP_PIDGIN_BUILD=""
-
- PP_FINCH=""
- PP_FINCH_ABUSIVE=""
- PP_FINCH_INCOMPLETE=""
- PP_FINCH_BUILD=""
-
- dnl #######################################################################
- dnl # Build a list of all the available plugins
- dnl #######################################################################
- for d in $srcdir/*; do
- if ! test -d "$d"; then
- continue
- fi
-
- if test -f "$d/Makefile.am" -a ! "$d" = "$srcdir/common" -a ! "$d" = "$srcdir/doc" -a ! "$d" = "$srcdir/m4" -a ! -f "$d/configure" -a ! -f "$d/.abusive" -a ! -f "$d/.build" -a ! -f "$d/.incomplete" ; then
- AC_ERROR(
-[
-*** Plugin Directory $d is misconfigured
-***
-*** You should *NEVER* see this in a release. If this is a release and not
-*** monotone, please file a ticket at http://plugins.guifications.org/
-***
-*** If you are a developer, please ensure that $d contains a .build,
-*** .incomplete, or .abusive file.
-])
- fi
-
- base=`basename $d`
-
- if test -f "$d/.purple-plugin" ; then
- if test -f $d/.abusive ; then
- PP_PURPLE_ABUSIVE="$PP_PURPLE_ABUSIVE $base"
- elif test -f "$d/.build" ; then
- PP_PURPLE_BUILD="$PP_PURPLE_BUILD $base"
- fi
-
- if test -f "$d/.incomplete" ; then
- PP_PURPLE_INCOMPLETE="$PP_PURPLE_INCOMPLETE $base"
- fi
-
- PP_PURPLE="$PP_PURPLE $base"
- elif test -f "$d/.pidgin-plugin" ; then
- if test -f "$d/.abusive" ; then
- PP_PIDGIN_ABUSIVE="$PP_PIDGIN_ABUSIVE $base"
- elif test -f "$d/.build" ; then
- PP_PIDGIN_BUILD="$PP_PIDGIN_BUILD $base"
- fi
-
- if test -f "$d/.incomplete" ; then
- PP_PIDGIN_INCOMPLETE="$PP_PIDGIN_INCOMPLETE $base"
- fi
-
- PP_PIDGIN="$PP_PIDGIN $base"
- elif test -f "$d/.finch-plugin" ; then
- if test -f "$d/.abusive" ; then
- PP_FINCH_ABUSIVE="$PP_FINCH_ABUSIVE $base"
- elif test -f "$d/.build" ; then
- PP_FINCH_BUILD="$PP_FINCH_BUILD $base"
- fi
-
- if test -f "$d/.incomplete" ; then
- PP_FINCH_INCOMPLETE="$PP_FINCH_INCOMPLETE $base"
- fi
-
- PP_FINCH="$PP_FINCH $base"
- fi
- done;
-
- dnl #######################################################################
- dnl # Add our argument
- dnl #######################################################################
- AC_ARG_WITH(plugins,
- AC_HELP_STRING([--with-plugins], [what plugins to build]),
- ,with_plugins=default)
-
- dnl #######################################################################
- dnl # Now determine which ones have been selected
- dnl #######################################################################
- case "$with_plugins" in
- all)
- PP_FINCH_BUILD="$PP_FINCH_ABUSIVE $PP_FINCH_BUILD"
- PP_PIDGIN_BUILD="$PP_PIDGIN_ABUSIVE $PP_PIDGIN_BUILD"
- PP_PURPLE_BUILD="$PP_PURPLE_ABUSIVE $PP_PURPLE_BUILD"
- ;;
- default)
- dnl # we don't do anything if the defaults are selected, they're
- dnl # already set up :)
- ;;
- *)
- dnl # clear out the build variables
- PP_FINCH_BUILD=""
- PP_PIDGIN_BUILD=""
- PP_PURPLE_BUILD=""
-
- dnl # turn the with plugins variable into a space delimited list
- exp_plugins=`echo "$with_plugins" | sed 's/,/ /g'`
-
- dnl # loop through the with plugins list and update the build variables
- dnl # as we find the plugins in each type.
- for w in $exp_plugins
- do
- for p in $PP_FINCH
- do
- if test x"$w" = x"$p"
- then
- PP_FINCH_BUILD="$PP_FINCH_BUILD $p"
- fi
- done
-
- for p in $PP_PIDGIN
- do
- if test x"$w" = x"$p"
- then
- PP_PIDGIN_BUILD="$PP_PIDGIN_BUILD $p"
- fi
- done
-
- for p in $PP_PURPLE
- do
- if test x"$w" = x"$p"
- then
- PP_PURPLE_BUILD="$PP_PURPLE_BUILD $p"
- fi
- done
- done
- esac
-
- dnl # sort everything
- PP_FINCH_BUILD=`echo $PP_FINCH_BUILD | awk '{for (i = 1; i <=NF; i++) { print $i } }' | sort | uniq | xargs echo`
- PP_PIDGIN_BUILD=`echo $PP_PIDGIN_BUILD | awk '{for (i = 1; i <=NF; i++) { print $i } } ' | sort | uniq | xargs echo`
- PP_PURPLE_BUILD=`echo $PP_PURPLE_BUILD | awk '{for (i = 1; i <=NF; i++) { print $i } } ' | sort | uniq | xargs echo`
-
- dnl #######################################################################
- dnl # substitue our sub dirs
- dnl #######################################################################
- AC_SUBST(PP_PURPLE)
- AC_SUBST(PP_PURPLE_ABUSIVE)
- AC_SUBST(PP_PURPLE_INCOMPLETE)
- AC_SUBST(PP_PURPLE_BUILD)
-
- AC_SUBST(PP_PIDGIN)
- AC_SUBST(PP_PIDGIN_ABUSIVE)
- AC_SUBST(PP_PIDGIN_INCOMPLETE)
- AC_SUBST(PP_PIDGIN_BUILD)
-
- AC_SUBST(PP_FINCH)
- AC_SUBST(PP_FINCH_ABUSIVE)
- AC_SUBST(PP_FINCH_INCOMPLETE)
- AC_SUBST(PP_FINCH_BUILD)
-
- dnl #######################################################################
- dnl # build some statistics info
- dnl #######################################################################
- PP_PURPLE_ABUSIVE_COUNT=`echo $PP_PURPLE_ABUSIVE | wc -w`
- PP_PURPLE_INCOMPLETE_COUNT=`echo $PP_PURPLE_INCOMPLETE | wc -w`
- PP_PURPLE_BUILD_COUNT=`echo $PP_PURPLE_BUILD | wc -w`
- PP_PURPLE_TOTAL_COUNT=`echo $PP_PURPLE | wc -w`
-
- AC_SUBST(PP_PURPLE_ABUSIVE_COUNT)
- AC_SUBST(PP_PURPLE_INCOMPLETE_COUNT)
- AC_SUBST(PP_PURPLE_BUILD_COUNT)
- AC_SUBST(PP_PURPLE_TOTAL_COUNT)
-
- PP_PIDGIN_ABUSIVE_COUNT=`echo $PP_PIDGIN_ABUSIVE | wc -w`
- PP_PIDGIN_INCOMPLETE_COUNT=`echo $PP_PIDGIN_INCOMPLETE | wc -w`
- PP_PIDGIN_BUILD_COUNT=`echo $PP_PIDGIN_BUILD | wc -w`
- PP_PIDGIN_TOTAL_COUNT=`echo $PP_PIDGIN | wc -w`
-
- AC_SUBST(PP_PIDGIN_ABUSIVE_COUNT)
- AC_SUBST(PP_PIDGIN_INCOMPLETE_COUNT)
- AC_SUBST(PP_PIDGIN_BUILD_COUNT)
- AC_SUBST(PP_PIDGIN_TOTAL_COUNT)
-
- PP_FINCH_ABUSIVE_COUNT=`echo $PP_FINCH_ABUSIVE | wc -w`
- PP_FINCH_INCOMPLETE_COUNT=`echo $PP_FINCH_INCOMPLETE | wc -w`
- PP_FINCH_BUILD_COUNT=`echo $PP_FINCH_BUILD | wc -w`
- PP_FINCH_TOTAL_COUNT=`echo $PP_FINCH | wc -w`
-
- AC_SUBST(PP_FINCH_ABUSIVE_COUNT)
- AC_SUBST(PP_FINCH_INCOMPLETE_COUNT)
- AC_SUBST(PP_FINCH_BUILD_COUNT)
- AC_SUBST(PP_FINCH_TOTAL_COUNT)
-])