PATCH: gnome-libs-1-0 gnome-config.in 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.

Thanks,
Jason.
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>
+
+	* gnome-config.in: 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>
 
 	* configure.in: Added support for db1 emulation in Berkeley DB3.
Index: gnome-config.in
===================================================================
RCS file: /cvs/gnome/gnome-libs/gnome-config.in,v
retrieving revision 1.20.4.6
diff -u -r1.20.4.6 gnome-config.in
--- gnome-config.in	2000/11/21 15:30:44	1.20.4.6
+++ gnome-config.in	2001/01/06 23:36:30
@@ -188,10 +188,10 @@
 	the_flags="$the_flags @GNOME_INCLUDEDIR@ @ORBIT_CFLAGS@"
         ;;
     idl)
-	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"
 	done
+	the_flags="$the_flags -I${datadir}/idl $extra_idl_flags"
 	;;
     zvt)
 	the_libs="$the_libs @GNOME_LIBDIR@ @ZVT_LIBS@"


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