[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
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.79 eda/geda/gaf/gattrib/ChangeLog
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ChangeLog
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/ChangeLog,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- ChangeLog 4 Jun 2007 16:15:37 -0000 1.78
+++ ChangeLog 9 Jun 2007 14:54:33 -0000 1.79
@@ -1,3 +1,11 @@
+2007-06-04 Peter Clifton <pcjc2@xxxxxxxxx>
+
+ * configure.ac, gattrib/src/gattrib.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-04 Peter Brett <peter@xxxxxxxxxxxxx>
* src/g_rc.c: Replace deprecated Guile functions & macros.
1.25 eda/geda/gaf/gattrib/configure.ac
(In the diff below, changes in quantity of whitespace are not shown.)
Index: configure.ac
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/configure.ac,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- configure.ac 26 May 2007 04:07:51 -0000 1.24
+++ configure.ac 9 Jun 2007 14:54:33 -0000 1.25
@@ -112,6 +112,13 @@
## GTKITEMENTRY_SOURCE=gtkitementry_2_2.c gtkitementry_2_2.h
+ # 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
@@ -332,8 +339,8 @@
#########################################################################
# Finally create the final CFLAGS and LDFLAGS for use in the makefiles
-GATTRIB_CFLAGS="$GTK_CFLAGS $GLIB_CFLAGS $LIBGEDA_CFLAGS"
-GATTRIB_LDFLAGS="$GTK_LIBS $GLIB_LIBS $LIBGEDA_LIBS"
+GATTRIB_CFLAGS="$GTK_CFLAGS $GLIB_CFLAGS $LIBGEDA_CFLAGS $GTHREAD_CFLAGS"
+GATTRIB_LDFLAGS="$GTK_LIBS $GLIB_LIBS $LIBGEDA_LIBS $GTHREAD_LIBS"
# Makefile.in variable substitution
AC_SUBST(GATTRIB_CFLAGS)
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs