aboutsummaryrefslogtreecommitdiffstats
path: root/wombat
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-10-03 06:37:58 +0800
committerChris Toshok <toshok@src.gnome.org>2001-10-03 06:37:58 +0800
commit3cfa7824a8c01c979621965131319a8073f064ed (patch)
treef0122526440c03314853eae56835a9f6d1ff9513 /wombat
parent1747072ed0c4fee3bbfa2e0d96035cd35b201d70 (diff)
downloadgsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.tar
gsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.tar.gz
gsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.tar.bz2
gsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.tar.lz
gsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.tar.xz
gsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.tar.zst
gsoc2013-evolution-3cfa7824a8c01c979621965131319a8073f064ed.zip
add addressbook:supported_protocols containing just the file protocol.
2001-10-02 Chris Toshok <toshok@ximian.com> * GNOME_Evolution_WombatNOLDAP.oaf.in: add addressbook:supported_protocols containing just the file protocol. * GNOME_Evolution_WombatLDAP.oaf.in: add addressbook:supported_protocols containing both ldap and file. * Makefile.am (OAF_IN_FILE): we have to possible files now, since the addressbook looks up factories by corba interface and the protocols supported by the factory (as listed in the .oaf file.) * .cvsignore: ignore GNOME_Evolution_Wombat.oaf.in, since it's generated now. svn path=/trunk/; revision=13356
Diffstat (limited to 'wombat')
-rw-r--r--wombat/.cvsignore1
-rw-r--r--wombat/ChangeLog15
-rw-r--r--wombat/GNOME_Evolution_WombatLDAP.oaf.in55
-rw-r--r--wombat/GNOME_Evolution_WombatNOLDAP.oaf.in (renamed from wombat/GNOME_Evolution_Wombat.oaf.in)4
-rw-r--r--wombat/Makefile.am12
5 files changed, 86 insertions, 1 deletions
diff --git a/wombat/.cvsignore b/wombat/.cvsignore
index 7e93f6ace1..8f01d12584 100644
--- a/wombat/.cvsignore
+++ b/wombat/.cvsignore
@@ -12,3 +12,4 @@ wombat.h
wombat
wombat.pure
GNOME_Evolution_Wombat.oaf
+GNOME_Evolution_Wombat.oaf.in
diff --git a/wombat/ChangeLog b/wombat/ChangeLog
index 478c8a93db..1daa19d3bc 100644
--- a/wombat/ChangeLog
+++ b/wombat/ChangeLog
@@ -1,3 +1,18 @@
+2001-10-02 Chris Toshok <toshok@ximian.com>
+
+ * GNOME_Evolution_WombatNOLDAP.oaf.in: add
+ addressbook:supported_protocols containing just the file protocol.
+
+ * GNOME_Evolution_WombatLDAP.oaf.in: add
+ addressbook:supported_protocols containing both ldap and file.
+
+ * Makefile.am (OAF_IN_FILE): we have to possible files now, since
+ the addressbook looks up factories by corba interface and the
+ protocols supported by the factory (as listed in the .oaf file.)
+
+ * .cvsignore: ignore GNOME_Evolution_Wombat.oaf.in, since it's
+ generated now.
+
2001-09-26 Chris Toshok <toshok@ximian.com>
* wombat.c (setup_pas): add OAFIID parameter to the call to the
diff --git a/wombat/GNOME_Evolution_WombatLDAP.oaf.in b/wombat/GNOME_Evolution_WombatLDAP.oaf.in
new file mode 100644
index 0000000000..6413a5b720
--- /dev/null
+++ b/wombat/GNOME_Evolution_WombatLDAP.oaf.in
@@ -0,0 +1,55 @@
+<oaf_info>
+
+<oaf_server iid="OAFIID:GNOME_Evolution_Wombat_ServerFactory"
+ type="exe"
+ location="wombat">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/Evolution/BookFactory:1.0"/>
+ <item value="IDL:Bonobo/Unknown:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ _value="The Personal Addressbook Server"/>
+
+ <oaf_attribute name="addressbook:supported_protocols" type="stringv">
+ <item value="ldap"/>
+ <item value="file"/>
+ </oaf_attribute>
+</oaf_server>
+
+<oaf_server iid="OAFIID:GNOME_Evolution_Wombat_CalendarFactory"
+ type="exe"
+ location="wombat">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/Evolution/Calendar/CalFactory:1.0"/>
+ <item value="IDL:Bonobo/Unknown:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ _value="The Personal Calendar Server; calendar factory"/>
+
+</oaf_server>
+
+<oaf_server iid="OAFIID:Bonobo_Moniker_wombat_Factory" type="exe" location="wombat">
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/GenericFactory:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="name" type="string" value="XML Database Moniker factory"/>
+</oaf_server>
+
+<oaf_server iid="OAFIID:Bonobo_Moniker_wombat" type="factory"
+ location="OAFIID:Bonobo_Moniker_wombat_Factory">
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Bonobo/Moniker:1.0"/>
+ <item value="IDL:Bonobo/Unknown:1.0"/>
+ </oaf_attribute>
+ <oaf_attribute name="name" type="string" value="wombat Moniker"/>
+ <oaf_attribute name="bonobo:moniker" type="stringv">
+ <item value="wombat:"/>
+ </oaf_attribute>
+</oaf_server>
+
+</oaf_info>
diff --git a/wombat/GNOME_Evolution_Wombat.oaf.in b/wombat/GNOME_Evolution_WombatNOLDAP.oaf.in
index d863204a35..60f897a98f 100644
--- a/wombat/GNOME_Evolution_Wombat.oaf.in
+++ b/wombat/GNOME_Evolution_WombatNOLDAP.oaf.in
@@ -11,6 +11,10 @@
<oaf_attribute name="description" type="string"
_value="The Personal Addressbook Server"/>
+
+ <oaf_attribute name="addressbook:supported_protocols" type="stringv">
+ <item value="file"/>
+ </oaf_attribute>
</oaf_server>
<oaf_server iid="OAFIID:GNOME_Evolution_Wombat_CalendarFactory"
diff --git a/wombat/Makefile.am b/wombat/Makefile.am
index be09560e64..648d199d30 100644
--- a/wombat/Makefile.am
+++ b/wombat/Makefile.am
@@ -43,13 +43,23 @@ wombat_LDADD = \
oafdir = $(datadir)/oaf
+if ENABLE_LDAP
+OAF_IN_FILE=GNOME_Evolution_WombatLDAP.oaf.in
+else
+OAF_IN_FILE=GNOME_Evolution_WombatNOLDAP.oaf.in
+endif
+
+GNOME_Evolution_Wombat.oaf.in: $(OAF_IN_FILE)
+ cp $< $@
+
oaf_in_files = GNOME_Evolution_Wombat.oaf.in
oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)
@XML_I18N_MERGE_OAF_RULE@
-EXTRA_DIST = $(oaf_DATA) $(oaf_in_files) wombat.idl
+EXTRA_DIST = $(oaf_DATA) $(oaf_in_files) wombat.idl \
+ GNOME_Evolution_WombatLDAP.oaf.in GNOME_Evolution_WombatNOLDAP.oaf.in
if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@