PATCH: gnome-libs-1-0 fix

This is a simple patch for gnome-libs-1-0 to fix a problem with the
gnome-config script.  To see the problem, do each of the following and
notice how the outputs are very different:

	gnome-config --cflags idl gtk
	gnome-config --cflags gtk idl

I committed this to HEAD a while ago and mailed some people about it
going into gnome-libs-1-0, but never got a reply.  Hollar if you have
any objections towards this patch beinng committed to gnome-libs-1-0.

Index: ChangeLog
RCS file: /cvs/gnome/gnome-libs/ChangeLog,v
retrieving revision 1.463.4.38
diff -u -r1.463.4.38 ChangeLog
--- ChangeLog	2001/01/04 20:57:45	1.463.4.38
+++ ChangeLog	2001/01/06 23:36:30
@@ -1,3 +1,11 @@
+2001-01-06  Jason Leach  <jasonleach usa net>
+	* Bugfix found while cleaning my mailboxes, from
+	Tom Gilbert <gilbertt tomgilbert freeserve co uk> on Oct 19, 1999
+	in gnome-libs.  Basically fixes --cflags idl, it was screwed up
+	like so:
+	`gnome-config --cflags idl gtk` != `gnome-conifg --cflags gtk idl`
 2001-01-04  Stanislav Brabec  <utx penguin cz>
 	* Added support for db1 emulation in Berkeley DB3.
RCS file: /cvs/gnome/gnome-libs/,v
retrieving revision
diff -u -r1.20.4.6
---	2000/11/21 15:30:44
+++	2001/01/06 23:36:30
@@ -188,10 +188,10 @@
 	the_flags="$the_flags @GNOME_INCLUDEDIR@ @ORBIT_CFLAGS@"
-	the_flags="-I${datadir}/idl"
-	for extra in `echo $GNOME_PATH  | sed 's/:/ /g'`; do
-		the_flags="-I$extra/share/idl $the_flags"
+	for extra in `echo $GNOME_PATH | sed 's/:/ /g'`; do
+		extra_idl_flags="$extra_idl_flags -I${extra}/share/idl"
+	the_flags="$the_flags -I${datadir}/idl $extra_idl_flags"
 	the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@"

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