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

gEDA-cvs: CVS update: ChangeLog



  User: pcjc2   
  Date: 07/06/09 10:54:33

  Modified:    .        ChangeLog configure.ac.in
  Log:
  Added call to g_thread_init() in Gschem and Gattrib.
  
  
  
  Gschem and Gattrib aren't threaded, but some of GTK's file chooser
  
  backends uses threading so we need to call g_thread_init().
  
  
  
  
  
  
  Revision  Changes    Path
  1.694                eda/geda/gaf/gschem/ChangeLog
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/ChangeLog,v
  retrieving revision 1.693
  retrieving revision 1.694
  diff -u -b -r1.693 -r1.694
  --- ChangeLog	9 Jun 2007 14:44:27 -0000	1.693
  +++ ChangeLog	9 Jun 2007 14:54:33 -0000	1.694
  @@ -1,3 +1,11 @@
  +2007-06-09 Peter Clifton <pcjc2@xxxxxxxxx>
  +
  +	* configure.ac.in, src/gschem.c: Call g_thread_init().
  +	
  +	  GLib requires threading to be initialised before calling any of its
  +	  functions, should the app require threading. Some of GTK's file
  +	  chooser backends use threading, so we need to call g_thread_init().
  +
   2007-06-09 Ales Hvezda   <ahvezda@xxxxxxxxxxxxx>
   
   	* src/g_keys.c, src/i_basic.c: Applied patch from Ivan Stankovic
  
  
  
  1.13                 eda/geda/gaf/gschem/configure.ac.in
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: configure.ac.in
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/configure.ac.in,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- configure.ac.in	2 Jun 2007 16:33:34 -0000	1.12
  +++ configure.ac.in	9 Jun 2007 14:54:33 -0000	1.13
  @@ -1,4 +1,4 @@
  -# $Id: configure.ac.in,v 1.12 2007-06-02 16:33:34 peterb Exp $
  +# $Id: configure.ac.in,v 1.13 2007-06-09 14:54:33 pcjc2 Exp $
   #
   # Process this file with autoconf to produce a configure script.
   AC_INIT
  @@ -211,6 +211,13 @@
      GLIB_LIBS=$GLIB24_LIBS
      GLIB_VERSION=`$PKG_CONFIG glib-2.0 --modversion`
   
  +   # Search for gthread
  +   PKG_CHECK_MODULES(GTHREAD, gthread-2.0, GTHREAD="yes", no_GTHREAD="yes")
  +   if test "$GTHREAD" = "yes"
  +   then
  +       AC_DEFINE(HAVE_GTHREAD, 1, [If gthread support is installed, define this])
  +   fi
  +
   else
      GTK_VERSION=""
   fi
  @@ -531,8 +538,8 @@
   AM_GNU_GETTEXT_VERSION([%INSTALLED_GETTEXT_VERSION%])
   
   # Finally create the final CFLAGS and LDFLAGS for use in the makefiles
  -GSCHEM_CFLAGS="$LIBSTROKE_CFLAGS $LIBGEDA_CFLAGS"
  -GSCHEM_LDFLAGS="$LIBSTROKE_LIBS $LIBGEDA_LIBS $GTK_LIBS $X_LDFLAGS $DMALLOC_LIBS" 
  +GSCHEM_CFLAGS="$LIBSTROKE_CFLAGS $LIBGEDA_CFLAGS $GTHREAD_CFLAGS"
  +GSCHEM_LDFLAGS="$LIBSTROKE_LIBS $LIBGEDA_LIBS $GTK_LIBS $X_LDFLAGS $DMALLOC_LIBS $GTHREAD_LIBS"
   
   # Makefile.in variable substitution
   AC_SUBST(GSCHEM_CFLAGS)
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs