aboutsummaryrefslogtreecommitdiffstats
path: root/wombat
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-04-17 03:26:57 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-04-17 03:26:57 +0800
commitfc3bb06c5079fb2a8c0cd550211976f745ba3d86 (patch)
tree7740fd06b776ca5f74334e5a2370a1346bfaac1e /wombat
parent75f8b00ea05e5485530fb4a74af7e9afdf5345ae (diff)
downloadgsoc2013-evolution-fc3bb06c5079fb2a8c0cd550211976f745ba3d86.tar.gz
gsoc2013-evolution-fc3bb06c5079fb2a8c0cd550211976f745ba3d86.tar.zst
gsoc2013-evolution-fc3bb06c5079fb2a8c0cd550211976f745ba3d86.zip
Removed spurious calendar directories from the include path. Added
2000-04-16 Federico Mena Quintero <federico@helixcode.com> * Makefile.am (INCLUDES): Removed spurious calendar directories from the include path. Added "wombat" log domain for glib. (wombat_LDADD): Link libpcs.a instead of the old shared library. * wombat.c: cal-factory.h is an internal include file. * wombat.c (setup_pcs): We should NOT share a CORBA_environment across all functions! Use our own CORBA_environment. (init_bonobo): Use our own CORBA_environment. Free the exception after initializing GOAD, and present some error messages if necessary. (Should g_message()s for exceptional situations be marked for translation?). svn path=/trunk/; revision=2462
Diffstat (limited to 'wombat')
-rw-r--r--wombat/ChangeLog14
-rw-r--r--wombat/Makefile.am9
-rw-r--r--wombat/wombat.c29
3 files changed, 38 insertions, 14 deletions
diff --git a/wombat/ChangeLog b/wombat/ChangeLog
index a93b270091..3a0d938fb6 100644
--- a/wombat/ChangeLog
+++ b/wombat/ChangeLog
@@ -1,3 +1,17 @@
+2000-04-16 Federico Mena Quintero <federico@helixcode.com>
+
+ * Makefile.am (INCLUDES): Removed spurious calendar directories
+ from the include path. Added "wombat" log domain for glib.
+ (wombat_LDADD): Link libpcs.a instead of the old shared library.
+
+ * wombat.c: cal-factory.h is an internal include file. * wombat.c
+ (setup_pcs): We should NOT share a CORBA_environment across all
+ functions! Use our own CORBA_environment.
+ (init_bonobo): Use our own CORBA_environment. Free the exception
+ after initializing GOAD, and present some error messages if
+ necessary. (Should g_message()s for exceptional situations be
+ marked for translation?).
+
2000-04-15 Ettore Perazzoli <ettore@helixcode.com>
* Makefile.am (INCLUDES): Added
diff --git a/wombat/Makefile.am b/wombat/Makefile.am
index 2282981673..f4bbf1a87c 100644
--- a/wombat/Makefile.am
+++ b/wombat/Makefile.am
@@ -1,13 +1,12 @@
INCLUDES = \
$(EXTRA_GNOME_CFLAGS) \
$(GNOME_INCLUDEDIR) \
+ -DG_LOG_DOMAIN=\"wombat\" \
-I$(top_srcdir)/e-util \
-I$(top_srcdir) \
-I$(top_srcdir)/addressbook/backend/pas \
-I$(top_builddir)/addressbook/backend/pas \
- -I$(top_srcdir)/calendar/pcs \
- -I$(top_builddir)/calendar/pcs \
- -I$(top_srcdir)/calendar/cal-util \
+ -I$(top_srcdir)/calendar \
-DEVOLUTION_VERSION=\""$(VERSION)"\" \
-DEVOLUTION_LOCALEDIR=\""$(datadir)/locale"\"
@@ -22,9 +21,9 @@ wombat_LDADD = \
$(BONOBO_VFS_GNOME_LIBS) \
$(top_builddir)/addressbook/backend/pas/libpas.la \
$(top_builddir)/addressbook/backend/ebook/libebook.la \
- $(top_builddir)/calendar/pcs/libpcs.la \
+ $(top_builddir)/calendar/pcs/libpcs.a \
$(top_builddir)/libical/src/libical/libical.la \
- $(top_builddir)/calendar/cal-util/libcalutil.la \
+ $(top_builddir)/calendar/cal-util/libcal-util.la \
$(top_builddir)/libversit/libversit.la \
$(top_builddir)/e-util/libeutil.la \
-lgnomevfs \
diff --git a/wombat/wombat.c b/wombat/wombat.c
index 24cae9713c..1d703e3833 100644
--- a/wombat/wombat.c
+++ b/wombat/wombat.c
@@ -1,6 +1,6 @@
-/*
- * Author:
- * Nat Friedman (nat@helixcode.com)
+/* Wombat personal information server - main file
+ *
+ * Author: Nat Friedman <nat@helixcode.com>
*
* Copyright 2000, Helix Code, Inc.
*/
@@ -14,10 +14,8 @@
#endif
#include <libgnomevfs/gnome-vfs-init.h>
#include <libgnorba/gnorba.h>
-#include <cal-factory.h>
-#include <calobj.h>
+#include "calendar/pcs/cal-factory.h"
-CORBA_Environment ev;
CORBA_ORB orb;
static void
@@ -43,8 +41,9 @@ static void
setup_pcs (int argc, char **argv)
{
CalFactory *factory;
- int result;
CORBA_Object object;
+ CORBA_Environment ev;
+ int result;
factory = cal_factory_new ();
@@ -103,16 +102,28 @@ setup_vfs (int argc, char **argv)
static void
init_bonobo (int argc, char **argv)
{
+ CORBA_Environment ev;
+
CORBA_exception_init (&ev);
gnome_CORBA_init_with_popt_table (
"Personal Addressbook Server", "0.0",
&argc, argv, NULL, 0, NULL, GNORBA_INIT_SERVER_FUNC, &ev);
+ if (ev._major != CORBA_NO_EXCEPTION) {
+ g_message ("init_bonobo(): could not initialize GOAD");
+ CORBA_exception_free (&ev);
+ exit (1);
+ }
+
+ CORBA_exception_free (&ev);
+
orb = gnome_CORBA_ORB ();
- if (bonobo_init (orb, NULL, NULL) == FALSE)
- g_error (_("Could not initialize Bonobo"));
+ if (!bonobo_init (orb, NULL, NULL)) {
+ g_message ("init_bonobo(): could not initialize Bonobo");
+ exit (1);
+ }
}
int
ommit/x11-drivers?h=mate-1.18&id=45fbc1cd5320ed310038ccef8373985509892ff4'>Add a new xorg module, to use with USE_XORG: xorg-macros. This modulezeising2013-03-121-5/+1 * Explicit disable KMS support. Because the ati driver only check if libdrm iskwm2013-03-111-0/+2 * Mark deprecated and set expiration date.zeising2013-03-111-5/+3 * Mark deprecated and set removal date.zeising2013-03-101-0/+3 * Remove xf86-video-intel29 here as well.zeising2013-02-221-1/+0 * Remove expired port.zeising2013-02-214-52/+0 * - Fix all cases of 'No newline at end of file' in ports treeak2013-02-011-1/+1 * Bring back to the futur the deprecation datebapt2013-01-271-6/+2 * Mark deprecated and set an expiration date one month for now. This port haszeising2013-01-161-0/+2 * Readd vmware and voodoo video drivers which got lost in the OptionNG conversion.kwm2013-01-121-1/+3 * Convert x11@ owned ports to OptionsNG. Thanks go to bapt@ for review and helpkwm2013-01-062-100/+96 * . incorporate an upstream patch to fix wrong read Protocol and Devicebsam2012-11-072-5/+13 * - Reassign nork@ ports to the heaptabthorpe2012-08-161-1/+1 * Fix the build of xorg related ports when the base system is compiled withzeising2012-07-301-0/+4 * - Update to 0.15.0scheidell2012-06-188-26/+26 * Teach the KMS intel driver how the KMS i915 kernel module in head is named.kwm2012-06-072-1/+13 * Convert to new options frameworkbapt2012-05-311-7/+8 * Fix pkglistkevlo2012-05-182-4/+1 * Unbreak by upgrading to 0.9.mi2012-05-072-9/+3 * - Mark BROKEN: bad plistpav2012-05-031-0/+2 * - Fix patchingpav2012-05-036-410/+0 * Fix patching by removing a obsolete patch.kwm2012-04-221-11/+0 * - Please welcome Xorg 7.5.2miwi2012-04-22103-190/+382 * Mark as deprecated and set expiration to 2012-05-10 for ports that are mark a...bapt2012-04-101-0/+3 * - Unbreak portscheidell2012-03-1311-435/+132 * Remove whitespace after b.p.m to help reduce false postives when searching fo...eadler2012-02-082-2/+0 * - Add WWWmiwi2012-02-041-0/+2 * In the rc.d scripts, change assignments to rcvar to use thedougb2012-01-141-1/+1 * Update to 6.14.3eadler2012-01-132-3/+3 * Both of these ports have been BROKEN for nearly a year; it is time to get rid...eadler2012-01-089-66/+0 * - These two ports will soon be deleted so remove them from the meta port.eadler2012-01-081-2/+0 * - Connect xf86-video-intel29 to the buildpav2011-11-181-0/+1 * - Remove WITH_FBSD10_FIX, is no longer neededmiwi2011-11-0949-49/+0 * - Fix build on FreeBSD 10.0miwi2011-10-2949-5/+49 * Remove more tags from pkg-descr files fo the form:dougb2011-10-243-9/+0 * - Return my ports back to the pool. I was unable to make any fixes tostas2011-10-241-1/+1 * Update to 6.14.2.kwm2011-07-193-46/+3 * Add a patch to UMS supportkwm2011-03-272-0/+43 * - Update to 6.14.1miwi2011-03-254-59/+3 * - Get Rid MD5 supportmiwi2011-03-1933-34/+0 * Remove patch that is causing trouble for users of specific ATI cards.kwm2011-03-092-12/+1 * Replace a custom ARCH check in Mk/bsd.xorg.mk for xf86-video-sunffb withkwm2011-03-012-1/+1 * - Restore BROKEN does not buildmiwi2011-02-284-0/+8 * - Fix fetchmiwi2011-02-272-1/+1 * Update distinfo to unbreak build.kwm2011-02-261-3/+2 * - Add some missing patchesmiwi2011-02-263-0/+67 * - Connect xf86-video-ati613 to the buildmiwi2011-02-261-0/+1 * - Bump PORTREVISION after xorg updatemiwi2011-02-261-7/+2 * - Bump PORTREVISION after xorg updatemiwi2011-02-261-1/+0 * - Please welcome Xorg 7.5.1miwi2011-02-26130-580/+202 * Update from 11.0.1 to 11.0.3 as the former crashes under the modern Xorgmi2011-01-072-4/+3 * - Update to 6.13.2pgollucci2010-12-284-8/+8 * Sync to new bsd.autotools.mkade2010-12-042-2/+2 * Punt autoconf267->autoconf268ade2010-10-161-1/+1 * Round one migration of ports from automake{19,110} to automake111ade2010-10-061-2/+2 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-2/+2 * Update to 11.0.1.jsa2010-08-133-4/+6 * Update to 12.6.9.jsa2010-08-132-4/+5 * - Mark BROKEN on 6.X: does not compilepav2010-07-241-0/+4 * - Unbreak with Xorg 1.7Xmiwi2010-07-103-24/+412 * Update from 0.1 to 0.2.osa2010-07-022-8/+7 * Mark ignore, useless without uep(4).osa2010-06-171-1/+8 * Add X.Org xf86-input-egalax driver, version 0.1.osa2010-06-025-0/+34 * Update to 1.2.1 in order to unbreak the build with X.org 7.5.marius2010-05-312-5/+4 * - Mark BROKEN on 6.X: does not compilepav2010-05-261-1/+7 * - Mark BROKEN on 6.X/amd64: does not compilepav2010-05-241-1/+7 * - Mark BROKEN: does not compilepav2010-05-243-0/+6 * - Mark BROKEN: does not compilepav2010-05-131-0/+2 * Pull in patch from git to fix BIOS read on 650 and 760rnoland2010-05-102-0/+12 * - Update to 2.1.17miwi2010-05-102-5/+5 * - Fix build on 6.Xmiwi2010-05-0734-33/+236 * - Fix build on 6.Xmiwi2010-05-0712-11/+84 * - Update to 12.6.7 (which also fix build on new xorg)miwi2010-05-062-5/+11 * Pull patches from git to fix build on newer Xorg.rnoland2010-05-042-1/+71 * Update to 1.4.1 (fix build with newer Xorg)rnoland2010-05-042-5/+4 * Pull patch from git to allow building with newer Xorg.rnoland2010-05-042-1/+76 * Add another patch to fix unresolved symbols.rnoland2010-05-042-1/+81 * - Update to Xorg 7.5miwi2010-05-01120-263/+1202 * - Add port for xf86-video-rdc, X.Org driver forstas2010-04-155-0/+36 * - Remove all broken Drivermiwi2010-03-271-9/+7 * x11-drivers/xf86-input-calcomp Unmaintained upstream. Notify x11 Maintainers...miwi2010-03-2749-403/+0 * Begin the process of deprecating sysutils/rc_subr bydougb2010-03-271-1/+1 * - Chase libpci shlib bumpfluffy2010-03-121-2/+2 * Chase xorg-server update and bump driver PORTREVISIONS.rnoland2010-02-0769-57/+69 * Limited Update to Mesa3D 7.6.1 and libdrm 2.4.17.nork2010-02-071-0/+4 * 2010-01-08 x11-toolkits/gtkada-gps: has been broken for 3 monthsmiwi2010-01-285-37/+0 * Fix the bsd.port.(pre|post).mk inclusion that was incorrectly removederwin2010-01-161-1/+3 * - USB module does not build on 8.x, turn it off by default in this case.pgollucci2010-01-151-7/+10 * Re-add accidentally removed line and fix PLISTgarga2009-12-221-0/+1 * Update to 0.2.904 to fix it on amd64garga2009-12-212-6/+4 * Revert to 1.1.2 for xorg big upgrade.nork2009-12-202-4/+4 * Update to 1.2.1.nork2009-12-202-4/+4 * This port has been broken for 3+ months, thuspav2009-12-081-0/+2 * Remove xf86-video-ati from CONFLICTS, and bump PORTREVISION.nork2009-12-051-2/+2 * Update to 1.3.0.nork2009-12-052-5/+5 * Go ahead and bump to 6.12.4.rnoland2009-12-024-10/+8 * Build for ia64 to satisfy the xorg-drivers dependencies.marcel2009-11-111-1/+1 * Update to 2009.11.01 based on 1.3.0.nork2009-11-013-19/+10 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-5/+4 * Update to 2009.08.08.nork2009-08-082-4/+4 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-032-2/+2 * Update to newer snapshot.rnoland2009-08-024-12/+38 * Update to 2009.07.26.nork2009-07-262-4/+4 * Update to 2009.07.01.nork2009-07-012-4/+4 * Mark BROKEN: does not build.erwin2009-06-211-0/+2 * Remove x11-drivers/xf86-video-vga as it has been marked BROKEN for overerwin2009-06-145-35/+0 * Update o 2009.06.07.nork2009-06-072-5/+5 * Fix dependency on glproto to enable DRI.nork2009-06-051-2/+2 * Update to 2009.06.05.nork2009-06-042-4/+4 * Mark BROKEN on 8.x: does not build.erwin2009-05-291-0/+4 * Mark as not for sparc64 (does not install, and not called for bylinimon2009-05-291-0/+2 * Update to 1.1.2rnoland2009-05-292-4/+4 * Update to 1.1.1rnoland2009-05-222-5/+4 * - Update to 20090514.9656762 to reflect libdrm updatemiwi2009-05-162-9/+8 * . add glproto as a dependency, so packages are got compiled without DRI support;bsam2009-05-141-2/+2 * Update to 2.7.1rnoland2009-05-134-8/+8 * Update to 2009.05.09 based on 1.2.5.nork2009-05-094-11/+28 * Fix pkg-plist. It isn't obeying prefix for includes... This should bernoland2009-05-082-0/+2 * Update to 1.7.1rnoland2009-05-082-5/+4 * Update to 1.4.10rnoland2009-05-082-4/+4 * Update to 6.8.1rnoland2009-05-082-5/+4 * Update to 2.7.0rnoland2009-05-086-12/+10 * Update to 1.3.0rnoland2009-05-082-5/+4 * Update to 1.4.1rnoland2009-05-083-6/+4 * Update to 2.2.2rnoland2009-05-082-7/+4 * Chase xserver update with driver port bumps.rnoland2009-05-0863-38/+63 * Update to 1.1.0rnoland2009-04-264-5/+20 * Update to 1.2.5.20090412, which is same version of xf86-video-radeonhd 1.2.5.nork2009-04-123-29/+12 * Update the nouveau snapshot and remove BROKEN now that libdrm hasrnoland2009-04-112-10/+34 * - Fix build with xorg-server 1.6pav2009-04-102-1/+7 * Update to 1.2.5rnoland2009-04-102-5/+4 * Update to 6.12.2rnoland2009-04-084-10/+8 * Restore native PS/2 support.jkim2009-04-082-11/+18 * Update to 2.1.13rnoland2009-04-084-50/+4 * Chase the Xorg server update and bump ports that depend on it.rnoland2009-04-0447-14/+47 * Update Xorg server to 1.6.0rnoland2009-04-0435-46/+71 * Keep the code from turning off the FPU - cures excessive traps thatmarius2009-04-012-0/+27 * As xf86-video-intel is marked only for amd64 and i386 also onlymarius2009-04-011-1/+4 * Update to 6.12.1rnoland2009-03-194-8/+8 * - Mark BROKEN: does not compilepav2009-03-172-0/+4 * Update to 6.12.0rnoland2009-03-144-8/+8 * The nv driver was somewhat brain-damaged, it was detecting most allrnoland2009-03-023-1/+46