aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-11-12 02:43:09 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-12 02:43:09 +0800
commitb24eaafcb868b3fb1f0f0fa1bf93c6640160d203 (patch)
treeb5da1e08f5471cfb21a4d14bc15142238ad63b54
parent6f57f92231266e6b194cf630851d4ac481cd43c1 (diff)
downloadgsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.tar
gsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.tar.gz
gsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.tar.bz2
gsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.tar.lz
gsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.tar.xz
gsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.tar.zst
gsoc2013-evolution-b24eaafcb868b3fb1f0f0fa1bf93c6640160d203.zip
kill the right thing (kill_old_dataserver): rename and check the version
2003-11-11 JP Rosevear <jpr@ximian.com> * main.c (kill_dataserver): kill the right thing (kill_old_dataserver): rename and check the version correctly 2003-11-11 JP Rosevear <jpr@ximian.com> * configure.in: determine the e-d-s version, version the gettext files properly svn path=/trunk/; revision=23288
-rw-r--r--ChangeLog5
-rw-r--r--configure.in11
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/main.c20
4 files changed, 30 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index 12cd5b6670..9cf6c25148 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-11 JP Rosevear <jpr@ximian.com>
+
+ * configure.in: determine the e-d-s version, version the gettext
+ files properly
+
2003-11-07 Dan Winship <danw@ximian.com>
* configure.in (AC_OUTPUT): Remove e-util/ename/Makefile
diff --git a/configure.in b/configure.in
index 4f13f77820..ec87d089a8 100644
--- a/configure.in
+++ b/configure.in
@@ -49,7 +49,7 @@ AC_PROG_INTLTOOL
ALL_LINGUAS="am az be bg ca cs da de el en_AU en_GB es et eu fi fr ga gl hu it ja ko lt lv ms nl nn no pl pt pt_BR ro ru sk sl sr sr@Latn sv tr uk vi zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
-GETTEXT_PACKAGE=evolution-1.4
+GETTEXT_PACKAGE=evolution-1.5
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
@@ -1199,14 +1199,15 @@ EVO_SET_COMPILE_FLAGS(EVOLUTION_MAIL, libgnome-2.0 libgnomeui-2.0 libbonoboui-2.
AC_SUBST(EVOLUTION_MAIL_CFLAGS)
AC_SUBST(EVOLUTION_MAIL_LIBS)
-dnl -- evolution-data-server IDL
+dnl -- evolution-data-server IDL and version
+
+AC_DEFINE_UNQUOTED(DATASERVER_VERSION, "`pkg-config --modversion evolution-data-server-1.0`", evolution-data-server version)
AC_MSG_CHECKING(for evolution-data-server IDL)
DATASERVER_IDL=`pkg-config --variable=idldir evolution-data-server-1.0`/Evolution-DataServer.idl
-echo $DATASERVER_IDL
if test -f "$DATASERVER_IDL"; then
- AC_MSG_RESULT($DATASERVER_IDL)
- AC_SUBST(DATASERVER_IDL)
+ AC_MSG_RESULT($DATASERVER_IDL)
+ AC_SUBST(DATASERVER_IDL)
else
AC_MSG_ERROR(no)
fi
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 0212982d6f..bc8031d33a 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-11 JP Rosevear <jpr@ximian.com>
+
+ * main.c (kill_dataserver): kill the right thing
+ (kill_old_dataserver): rename and check the version correctly
+
2003-11-10 Ettore Perazzoli <ettore@ximian.com>
* main.c: Added a new "-c" command-line arg.
@@ -45,6 +50,10 @@
2003-11-07 JP Rosevear <jpr@ximian.com>
+ * Makefile.am: don't include top level libical
+
+2003-11-07 JP Rosevear <jpr@ximian.com>
+
* Makefile.am: make sure the marshal header is in the sources too
2003-11-07 JP Rosevear <jpr@ximian.com>
diff --git a/shell/main.c b/shell/main.c
index 3c7e3678ee..6743a22cc4 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -165,19 +165,19 @@ shell_weak_notify (void *data,
#ifdef KILL_PROCESS_CMD
static void
-kill_wombat (void)
+kill_dataserver (void)
{
- g_print ("(Killing old version of Wombat...)\n");
+ g_print ("(Killing old version of evolution-data-server...)\n");
- system (KILL_PROCESS_CMD " -9 lt-evolution-wombat 2> /dev/null");
- system (KILL_PROCESS_CMD " -9 evolution-wombat 2> /dev/null");
+ system (KILL_PROCESS_CMD " -9 lt-evolution-data-server 2> /dev/null");
+ system (KILL_PROCESS_CMD " -9 evolution-data-server 2> /dev/null");
system (KILL_PROCESS_CMD " -9 lt-evolution-alarm-notify 2> /dev/null");
system (KILL_PROCESS_CMD " -9 evolution-alarm-notify 2> /dev/null");
}
static void
-kill_old_wombat (void)
+kill_old_dataserver (void)
{
GNOME_Evolution_DataServer_InterfaceCheck iface;
CORBA_Environment ev;
@@ -187,22 +187,22 @@ kill_old_wombat (void)
iface = bonobo_activation_activate_from_id ("OAFIID:GNOME_Evolution_DataServer_InterfaceCheck", 0, NULL, &ev);
if (BONOBO_EX (&ev) || iface == CORBA_OBJECT_NIL) {
- kill_wombat ();
+ kill_dataserver ();
CORBA_exception_free (&ev);
return;
}
version = GNOME_Evolution_DataServer_InterfaceCheck__get_interfaceVersion (iface, &ev);
if (BONOBO_EX (&ev)) {
- kill_wombat ();
+ kill_dataserver ();
CORBA_Object_release (iface, &ev);
CORBA_exception_free (&ev);
return;
}
- if (strcmp (version, VERSION) != 0) {
+ if (strcmp (version, DATASERVER_VERSION) != 0) {
CORBA_free (version);
- kill_wombat ();
+ kill_dataserver ();
CORBA_Object_release (iface, &ev);
CORBA_exception_free (&ev);
return;
@@ -352,7 +352,7 @@ idle_cb (void *data)
gboolean displayed_any;
#ifdef KILL_PROCESS_CMD
- kill_old_wombat ();
+ kill_old_dataserver ();
#endif
CORBA_exception_init (&ev);