wmauda (0.7-4) direct (non packaging) changes

Summary

 Makefile |    4 ++--
 wmauda.1 |   19 +++++++------------
 wmauda.c |    4 ++--
 3 files changed, 11 insertions(+), 16 deletions(-)

    
download this patch

Patch contents

--- wmauda-0.7.orig/wmauda.c
+++ wmauda-0.7/wmauda.c
@@ -128,7 +128,7 @@
 GdkGC *dock_gc;
 GtkTooltips *tooltips = NULL;
 
-char *xmms_cmd = "audacious";
+char *xmms_cmd = "audacious2";
 gboolean xmms_running = FALSE;
 
 gboolean has_geometry = FALSE, single_click = FALSE, song_title = FALSE;
@@ -804,7 +804,7 @@
 		"--------\n\n"
 		"-h, --help		Display this text and exit.\n"
 		"-g, --geometry		Set the geometry (for example +20+20)\n"
-		"-c, --command		Command to launch Audacious (Default: audacious)\n"
+		"-c, --command		Command to launch Audacious (Default: audacious2)\n"
 		"-i, --icon		Set the icon to use when Audacious is not running\n"
 		"-n, --single		Only a single click is needed to start Audacious\n"
 		"-t, --title		Display song title when mouse is in window\n"
--- wmauda-0.7.orig/wmauda.1
+++ wmauda-0.7/wmauda.1
@@ -1,15 +1,13 @@
-.TH WMAUDA 1 "16 April 2006" "Version 0.1" "WMAuda Manual Pages"
+.TH WMAUDA 1 "21 June 2009" "Version 0.7" "WMAuda Manual Pages"
 .SH NAME
 WMAUDA \- a dockable Audacious control applet.
 .SH SYNOPSIS
 .B wmauda
-[\-h] [\-\-help] [\-s \fI<session>\fP] [\-\-session=\fI<session>\fP]
-[\-c \fI<command>\fP] [\-\-command=\fI<command>\fP] [\-i \fI<icon>\fP]
-[\-\-icon=\fI<icon>\fP] [\-n] [\-\-single] [\-t] [\-\-title]
-[\-\-version]
+[\-h] [\-\-help] [\-c \fI<command>\fP] [\-\-command=\fI<command>\fP] [\-i \fI<icon>\fP]
+[\-\-icon=\fI<icon>\fP] [\-n] [\-\-single] [\-t] [\-\-title] [\-\-version]
 .SH DESCRIPTION
 \fIWMAUDA\fP is a dock applet for the Window Maker window manager.
-From the applet you can start and control audacious.
+From the applet you can start and control Audacious.
 
 .SH OPTIONS
 wmauda accepts the following options:
@@ -17,18 +15,15 @@
 .B \-h, \-\-help
 Show summary of options.
 .TP
-.B \-s, \-\-session
-Select Audacious session (Default: 0).
-.TP
 .B \-c, \-\-command
-Command to start audacious (Default: audacious).
+Command to start Audacious (Default: audacious2).
 .TP
 .B \-i, \-\-icon 
-Icon to show instead of the default one when audacious is not running.  The
+Icon to show instead of the default one when Audacious is not running.  The
 icon must be in XPM format.
 .TP
 .B \-n, \-\-single
-Start audacious with only a single click (Default: Double click).
+Start Audacious with only a single click (Default: Double click).
 .TP
 .B \-t, \-\-title
 Show the song title when the mouse is in the wmauda window.
--- wmauda-0.7.orig/Makefile
+++ wmauda-0.7/Makefile
@@ -7,8 +7,8 @@
 PIXMAP_DIR	:= $(PREFIX)/share/pixmaps
 MANPAGE_DIR	:= $(PREFIX)/share/man/man1
 
-CFLAGS 	+= $(shell pkg-config audacious --cflags) $(shell pkg-config dbus-1 --cflags)
-LIBS 	:= $(shell pkg-config audacious --libs)   $(shell pkg-config dbus-1 --libs)
+CFLAGS 	+= $(shell pkg-config audclient --cflags) $(shell pkg-config dbus-1 --cflags)
+LIBS 	:= -lX11 $(shell pkg-config audclient --libs)   $(shell pkg-config dbus-1 --libs)
 
 OBJS 	= wmauda.o
 HEADERS = config.h dock-master.xpm