# HG changeset patch # User Mark Doliner # Date 1121033557 0 # Node ID e25575a59f01cd5e2ac3f074187fd7d2f1d0394d # Parent 3fc99df46daeca0c68c21de6f9d59af61f0320aa [gaim-migrate @ 13099] Use libao to play stuff over NAS instead of accessing NAS directly. committer: Tailor Script diff -r 3fc99df46dae -r e25575a59f01 ChangeLog --- a/ChangeLog Sun Jul 10 20:33:19 2005 +0000 +++ b/ChangeLog Sun Jul 10 22:12:37 2005 +0000 @@ -42,6 +42,8 @@ * Newly installed plugins can now be activated without restarting Gaim (Sadrul Habib Chowdhury) * The Evolution Integration plugin now supports Groupwise contacts + * Use libao for playing sounds via NAS instead of accessing NAS + directly Bug fixes: * People using input methods can now use Enter again. diff -r 3fc99df46dae -r e25575a59f01 configure.ac --- a/configure.ac Sun Jul 10 20:33:19 2005 +0000 +++ b/configure.ac Sun Jul 10 22:12:37 2005 +0000 @@ -245,7 +245,6 @@ AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") AC_ARG_ENABLE(audio, [ --disable-audio compile without libao/libaudiofile for sound playing],,enable_audio=yes) -AC_ARG_ENABLE(nas, [ --enable-nas enable NAS (Network Audio System) support],,enable_nas=no) AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) AC_ARG_ENABLE(tcl, [ --disable-tcl compile without Tcl scripting],,enable_tcl=yes) @@ -1065,11 +1064,6 @@ fi fi -if test "$enable_nas" = yes ; then - AC_DEFINE(USE_NAS_AUDIO, 1, [Define if we have NAS sound support.]) - SOUND_LIBS="$SOUND_LIBS -laudio -lXt" -fi - if test "$enable_audio" = yes ; then GAIM_PATH_AO(found_ao_lib=true) @@ -1309,7 +1303,6 @@ echo Build with Tcl support........ : $enable_tcl echo Build with Tk support......... : $enable_tk echo Build with Audio support...... : $enable_audio -echo Build with NAS support........ : $enable_nas echo Build with GtkSpell support... : $enable_gtkspell echo Build with DBUS support....... : $enable_dbus echo Has you....................... : yes diff -r 3fc99df46dae -r e25575a59f01 src/gtkdialogs.c --- a/src/gtkdialogs.c Sun Jul 10 20:33:19 2005 +0000 +++ b/src/gtkdialogs.c Sun Jul 10 22:12:37 2005 +0000 @@ -388,12 +388,6 @@ g_string_append(str, " libao: Disabled
"); #endif -#ifdef USE_NAS_AUDIO - g_string_append(str, " Network Audio System (NAS): Enabled
"); -#else - g_string_append(str, " Network Audio System (NAS): Disabled
"); -#endif - #ifdef HAVE_NSS g_string_append(str, " Network Security Services (NSS): Enabled
"); #else diff -r 3fc99df46dae -r e25575a59f01 src/gtkprefs.c --- a/src/gtkprefs.c Sun Jul 10 20:33:19 2005 +0000 +++ b/src/gtkprefs.c Sun Jul 10 22:12:37 2005 +0000 @@ -1557,7 +1557,7 @@ GtkWidget *hbox; int j; const char *file; - char *pref; + char *pref; #ifndef _WIN32 GtkWidget *dd; GtkWidget *label; @@ -1577,10 +1577,8 @@ _("Console beep"), "beep", #ifdef USE_AO _("Automatic"), "automatic", + "Arts", "arts", "ESD", "esd", - "Arts", "arts", -#endif -#ifdef USE_NAS_AUDIO "NAS", "nas", #endif _("Command"), "custom", diff -r 3fc99df46dae -r e25575a59f01 src/gtksound.c --- a/src/gtksound.c Sun Jul 10 20:33:19 2005 +0000 +++ b/src/gtksound.c Sun Jul 10 22:12:37 2005 +0000 @@ -36,11 +36,6 @@ # include #endif /* USE_AO */ -#ifdef USE_NAS_AUDIO -# include