GnomeICU Patch




Attached is a patch for GnomeICU.  It does three things:

  * Adds "gnomeicu" to src/.cvsignore, for obvious reasons

  * Tells it to look for libpanel_applet.so when linking.  Without this
    hunk, it would not compile for me.

  * Alters playsound.c so it will compile and run properly on a machine
    without sound support.

Thanks for a great program,
-Gleef
Index: src/.cvsignore
===================================================================
RCS file: /cvs/gnome/gnomeicu/src/.cvsignore,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 .cvsignore
--- .cvsignore	1999/02/28 20:44:40	1.1.1.1
+++ .cvsignore	1999/03/16 23:14:39
@@ -2,3 +2,4 @@
 Makefile.in
 .deps
 gtkicq
+gnomeicu
Index: src/Makefile.am
===================================================================
RCS file: /cvs/gnome/gnomeicu/src/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- Makefile.am	1999/03/01 01:17:08	1.2
+++ Makefile.am	1999/03/16 23:14:39
@@ -48,7 +48,7 @@
 	sendmsg.h	\
 	tcp.h
 
-gnomeicu_LDADD = @APPLET_O@ @GNOMEICU_LDADD@
+gnomeicu_LDADD = -lpanel_applet @APPLET_O@ @GNOMEICU_LDADD@
 gnomeicu_DEPENDENCIES = @APPLET_O@
 
 EXTRA_DIST=			\
Index: src/playsound.c
===================================================================
RCS file: /cvs/gnome/gnomeicu/src/playsound.c,v
retrieving revision 1.2
diff -u -r1.2 playsound.c
--- playsound.c	1999/03/10 04:23:04	1.2
+++ playsound.c	1999/03/16 23:14:40
@@ -9,7 +9,7 @@
 #include "gnomeicu.h"
 #include "playsound.h"
 
-#ifdef GNOME
+#ifdef SOUND
 #include <esd.h>
 #include <libgnome/gnome-sound.h>
 #endif
@@ -19,7 +19,7 @@
 
 void playsound( char *file )
 {
-#ifndef GNOME
+#ifndef SOUND
 	FILE *soundfile, *devaudio, *devconsole;
 #endif
 
@@ -30,7 +30,7 @@
 	if( !sound_toggle )
 		return;
 
-#ifdef GNOME
+#ifdef SOUND
 /*
  * if GNOME is doing sound, we must use its routines:  EsounD will
  * have /dev/audio locked.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]