changeset 751:6636d328fa38 trunk

[svn] more progress
author nenolod
date Mon, 27 Feb 2006 20:47:59 -0800
parents 5fe9bafc1895
children 3de4499e65a3
files Plugins/Effect/ladspa/ladspa.c Plugins/General/song_change/song_change.c Plugins/Input/timidity/src/xmms-timidity.c Plugins/Input/wma/wma.c Plugins/Output/esd/Makefile.in configure.ac libaudacious/titlestring.c
diffstat 7 files changed, 22 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Effect/ladspa/ladspa.c	Mon Feb 27 20:37:43 2006 -0800
+++ b/Plugins/Effect/ladspa/ladspa.c	Mon Feb 27 20:47:59 2006 -0800
@@ -37,7 +37,7 @@
 #define PATH_MAX 4096
 #endif
 
-#define PLUGIN_NAME "LADSPA host " VERSION
+#define PLUGIN_NAME "LADSPA host " PACKAGE_VERSION
 
 #define MAX_SAMPLES 8192
 #define MAX_KNOBS 64
--- a/Plugins/General/song_change/song_change.c	Mon Feb 27 20:37:43 2006 -0800
+++ b/Plugins/General/song_change/song_change.c	Mon Feb 27 20:47:59 2006 -0800
@@ -50,7 +50,7 @@
 
 GeneralPlugin *get_gplugin_info(void)
 {
-	sc_gp.description = g_strdup_printf(_("Song Change %s"), VERSION);
+	sc_gp.description = g_strdup_printf(_("Song Change %s"), PACKAGE_VERSION);
 	return &sc_gp;
 }
 
--- a/Plugins/Input/timidity/src/xmms-timidity.c	Mon Feb 27 20:37:43 2006 -0800
+++ b/Plugins/Input/timidity/src/xmms-timidity.c	Mon Feb 27 20:47:59 2006 -0800
@@ -96,7 +96,7 @@
 
 InputPlugin *get_iplugin_info(void) {
 	xmmstimid_ip.description = g_strdup_printf(
-			_("TiMidity Player %s"), VERSION);
+			_("TiMidity Player %s"), PACKAGE_VERSION);
 	return &xmmstimid_ip;
 }
 
@@ -129,7 +129,7 @@
 		gchar *name_version;
 		xmmstimid_about_wnd = create_xmmstimid_about_wnd();
 		name_version = g_strdup_printf(
-				_("TiMidity Plugin %s"), VERSION);
+				_("TiMidity Plugin %s"), PACKAGE_VERSION);
 		gtk_label_set_text(
 				GTK_LABEL(gtk_object_get_data(
 				GTK_OBJECT(xmmstimid_about_wnd),
--- a/Plugins/Input/wma/wma.c	Mon Feb 27 20:37:43 2006 -0800
+++ b/Plugins/Input/wma/wma.c	Mon Feb 27 20:47:59 2006 -0800
@@ -116,7 +116,7 @@
 InputPlugin *get_iplugin_info(void)
 {
     memset(description, 0, 64);
-    wma_ip.description = g_strdup_printf(_("WMA Player %s"), VERSION);
+    wma_ip.description = g_strdup_printf(_("WMA Player %s"), PACKAGE_VERSION);
     return &wma_ip;
 }
 
--- a/Plugins/Output/esd/Makefile.in	Mon Feb 27 20:37:43 2006 -0800
+++ b/Plugins/Output/esd/Makefile.in	Mon Feb 27 20:47:59 2006 -0800
@@ -7,7 +7,7 @@
 
 LIBDIR = $(plugindir)/$(OUTPUT_PLUGIN_DIR)
 
-LIBADD = $(GTK_LIBS) $(ESD_LIBS) -lpthread
+LIBADD = $(GTK_LIBS) $(ESD_LIBS)
 SOURCES = esd.c mixer.c about.c configure.c audio.c init.c
 
 OBJECTS = ${SOURCES:.c=.o}
--- a/configure.ac	Mon Feb 27 20:37:43 2006 -0800
+++ b/configure.ac	Mon Feb 27 20:47:59 2006 -0800
@@ -35,6 +35,21 @@
 AC_ISC_POSIX
 AC_C_BIGENDIAN
 
+dnl Automake emulation
+
+PACKAGE=$(PACKAGE_NAME)
+VERSION=$(PACKAGE_VERSION)
+
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE",
+    [Package name.]
+)
+
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION",
+    [Package version.]
+)
+
+AC_SUBST(PACKAGE)
+AC_SUBST(VERSION)
 
 dnl Check for assembler
 
--- a/libaudacious/titlestring.c	Mon Feb 27 20:37:43 2006 -0800
+++ b/libaudacious/titlestring.c	Mon Feb 27 20:47:59 2006 -0800
@@ -23,7 +23,7 @@
 #  include "config.h"
 #endif
 
-#define GETTEXT_PACKAGE PACKAGE
+#define GETTEXT_PACKAGE PACKAGE_NAME
 
 #include <glib.h>
 #include <glib/gi18n-lib.h>