Fixes(?) for problems in gnome-libs



1) The gnome-libs/test-suite/runtest.sh script didn't work for me.
   In order to compile all the libraries (on HP-UX), I needed to
   include files from the support subdirectory and link in the 'intl'
   and 'db' libraries.  Here's a patch which does just that:

Index: test-suite/runtest.sh
===================================================================
RCS file: /cvs/gnome/gnome-libs/test-suite/runtest.sh,v
retrieving revision 1.10
diff -c -r1.10 runtest.sh
*** runtest.sh	1998/09/25 18:04:05	1.10
--- runtest.sh	1998/10/21 15:28:19
***************
*** 2,10 ****
  
  test -z "$srcdir" && srcdir=`dirname $0` && test -z "$srcdir" && srcdir=.
  
!: ${COMPILE:="gcc -g -O2 -I.. -I$srcdir/.. `gtk-config --cflags` -c"}
  : ${LINK:="gcc -g -O2 $LDFLAGS"}
!: ${LDADD:="../libgnomeui/.libs/libgnomeui.a ../libgnome/.libs/libgnome.a `gtk-config --libs`"}
  
  # $LINK passed in sometimes has a `-o check-TESTS'
  LINK=`echo $LINK | sed -e 's,-o check-TESTS,,g'`
--- 2,10 ----
  
  test -z "$srcdir" && srcdir=`dirname $0` && test -z "$srcdir" && srcdir=.
  
!: ${COMPILE:="gcc -g -O2 -I.. -I$srcdir/.. `gtk-config --cflags` -I../support -c"}
  : ${LINK:="gcc -g -O2 $LDFLAGS"}
!: ${LDADD:="../libgnomeui/.libs/libgnomeui.a ../libgnome/.libs/libgnome.a `gtk-config --libs` ../intl/libintl.a -ldb "}
  
  # $LINK passed in sometimes has a `-o check-TESTS'
  LINK=`echo $LINK | sed -e 's,-o check-TESTS,,g'`



2) The gnometypebuiltins_* files are never rebuilt, because there's no
   rule in gnome-libs/libgnomeui/Makefile.am to link them to gnometypes.c

   This patch fixes that:

Index: libgnomeui/Makefile.am
===================================================================
RCS file: /cvs/gnome/gnome-libs/libgnomeui/Makefile.am,v
retrieving revision 1.111
diff -c -r1.111 Makefile.am
*** Makefile.am	1998/10/16 00:06:35	1.111
--- Makefile.am	1998/10/21 15:28:18
***************
*** 174,179 ****
--- 174,182 ----
  	$(gnome_headers)	\
  	gnometypebuiltins.h
  
+ gnometypes.c:: gnometypebuiltins_vars.c gnometypebuiltins_evals.c \
+ 		gnometypebuiltins_ids.c
+ 
  BUILT_SOURCES = \
  	gnometypebuiltins.h		\
  	gnometypebuiltins_evals.c	\



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