PATCH: bonoboConf.sh contains libart and gdk-pixbuf



Hi,

A buglet in Bonobo's configure.in makes gnome-config --libs bonobo
output a few unneccessary libraries. Attached is a patch that fixes
this, does it look ok?

It might break people's builds all over the place if they didn't include
the right libraries to their gnome-config calls though...

/Richard



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.1086
diff -u -b -B -p -r1.1086 ChangeLog
--- ChangeLog	2001/07/27 13:55:06	1.1086
+++ ChangeLog	2001/07/30 11:50:19
@@ -1,3 +1,11 @@
+2001-07-30  Richard Hult  <rhult codefactory se>
+
+	* configure.in (BONOBO_LIBS): Add gnome and gtk, remove gnomeui
+	and gdk_pixbuf.
+	(BONOBOX_LIBS): Add gnomeui and gdk_pixbuf here. This makes
+	bonoboConf.sh and bonoboxConf.sh report the right libraries to
+	link with.
+
 2001-07-27  Abel Cheung <maddog linux org hk>
 
 	* configure.in: Add zh_TW.Big5 to ALL_LINGUAS.
Index: configure.in
===================================================================
RCS file: /cvs/gnome/bonobo/configure.in,v
retrieving revision 1.163
diff -u -b -B -p -r1.163 configure.in
--- configure.in	2001/07/27 13:55:07	1.163
+++ configure.in	2001/07/30 11:50:19
@@ -322,8 +322,8 @@ dnl For the various bonoboConf.sh script
 dnl
 BONOBO_LIBDIR='-L${libdir}'
 BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml`"
-BONOBO_LIBS="-lbonobo `$GNOME_CONFIG --libs gnomeui gdk_pixbuf oaf`"
-BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml`"
+BONOBO_LIBS="-lbonobo `$GNOME_CONFIG --libs oaf gtk gnome`"
+BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs gnomeui gdk_pixbuf xml`"
 BONOBOX_PRINT_LIBS="$BONOBOX_LIBS -lbonobo-print `$GNOME_CONFIG --libs print`"
 XML_LIBS="`$GNOME_CONFIG --libs xml`"
 


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