[GnomeMeeting-devel-list] gnomemeeting without gnome errors



The following was needed for gnomemeeting to compile with --disable-gnome.

Index: src/sound_handling.cpp
===================================================================
RCS file: /cvs/gnome/gnomemeeting/src/sound_handling.cpp,v
retrieving revision 1.65
diff -u -r1.65 sound_handling.cpp
--- src/sound_handling.cpp	25 Dec 2003 22:33:33 -0000	1.65
+++ src/sound_handling.cpp	28 Dec 2003 04:53:48 -0000
@@ -244,6 +244,7 @@
 }
 
 
+#ifndef DISABLE_GNOME
 GMAudioRP::GMAudioRP (GMAudioTester *t, PString driv, PString dev, BOOL enc)
   :PThread (1000, NoAutoDeleteThread)
 {
@@ -515,6 +516,7 @@
   return log10 (9.0*sum/size/32767+1)*1.0;
 }
 
+#endif
 
 /* The Audio tester class */
   GMAudioTester::GMAudioTester (gchar *m,

Further, something has to be done for src/Makefile.am, but I am not sure how to
do it. The files druid.{cpp,h} must not be present in gnomemeeting_SOURCES if
-DDISABLE_GNOME, but I am no good with automake to patch it myself.

-- 
(*   Georgi Georgiev   (* ... Had this been an actual emergency, we    (*
*)    chutz gg3 net    *) would have fled in terror, and you would not *)
(*  +81(90)6266-1163   (* have been informed.                          (*



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