ditto
authorJP Rosevear <jpr@ximian.com>
Tue, 4 Nov 2003 19:47:21 +0000 (19:47 +0000)
committerJP Rosevear <jpr@src.gnome.org>
Tue, 4 Nov 2003 19:47:21 +0000 (19:47 +0000)
2003-11-04  JP Rosevear <jpr@ximian.com>

* src/GNOME_Evolution_DataServerNOLDAP.server.in.in: ditto

* src/GNOME_Evolution_DataServerLDAP.server.in.in: update to point
to the right binary

* libedataserver/Makefile.am: install pkg-config file

ChangeLog
TODO
addressbook/idl/addressbook.idl [deleted file]
libedataserver/Makefile.am
src/GNOME_Evolution_DataServerLDAP.server.in.in
src/GNOME_Evolution_DataServerNOLDAP.server.in.in

index a9217e2..b2462aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-11-04  JP Rosevear <jpr@ximian.com>
+
+       * src/GNOME_Evolution_DataServerNOLDAP.server.in.in: ditto
+
+       * src/GNOME_Evolution_DataServerLDAP.server.in.in: update to point
+       to the right binary
+
+       * libedataserver/Makefile.am: install pkg-config file
+
 2003-11-04  Hans Petter Jansson  <hpj@ximian.com>
 
        * src/GNOME_Evolution_DataServerNOLDAP.server.in.in:
diff --git a/TODO b/TODO
index 565fac9..6886922 100644 (file)
--- a/TODO
+++ b/TODO
@@ -7,4 +7,5 @@
 -ensure authors
 -G_STRLOC for errors
 -remove remaining gal usage
--figure out where to install libical
\ No newline at end of file
+-figure out where to install libical
+-have backends link separately
\ No newline at end of file
diff --git a/addressbook/idl/addressbook.idl b/addressbook/idl/addressbook.idl
deleted file mode 100644 (file)
index 193d124..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- *
- * Author:
- *   Nat Friedman (nat@ximian.com)
- *
- * Copyright 2000, Ximian, Inc.
- */
-
-#include <Bonobo.idl>
-
-module GNOME {
-module Evolution {
-module Addressbook {
-       typedef string ContactId;
-       typedef string VCard;
-       typedef sequence<VCard> VCardList;
-       typedef sequence<ContactId> ContactIdList;
-       typedef sequence<string> stringlist;
-
-       enum BookChangeType {
-               ContactAdded,
-               ContactModified,
-               ContactDeleted
-       };
-
-       struct BookChangeItem {
-               BookChangeType changeType;
-               VCard vcard;
-       };
-
-       typedef sequence<BookChangeItem> BookChangeList;
-
-       enum CallStatus {
-               Success,
-               RepositoryOffline,
-               PermissionDenied,
-               ContactNotFound,
-               ContactIdAlreadyExists,
-               AuthenticationFailed,
-               AuthenticationRequired,
-               UnsupportedField,
-               UnsupportedAuthenticationMethod,
-               TLSNotAvailable,
-               NoSuchBook,
-               BookRemoved,
-
-               /* These can be returned for successful searches, but
-                  indicate the result set was truncated */
-               SearchSizeLimitExceeded,
-               SearchTimeLimitExceeded,
-
-               InvalidQuery,
-               QueryRefused,
-
-               CouldNotCancel,
-               
-               OtherError
-       };
-
-       /* 
-        * A book view is a live view of a book.  It's either a view
-        * of all the contacts in the book or a view of a query.  When
-        * created, it will get a series of notifyContactsAdded calls
-        * for all objects in the initial set.  After that, it will
-        * get added, removed, or changed signals whenever the book
-        * changes (if it affects the set of viewed contacts.)
-        */
-       interface BookViewListener : Bonobo::Unknown {
-               oneway void notifyContactsAdded    (in VCardList vcards);
-               oneway void notifyContactsRemoved  (in ContactIdList ids);
-               oneway void notifyContactsChanged  (in VCardList vcards);
-               oneway void notifySequenceComplete (in CallStatus status);
-               oneway void notifyProgress         (in string message, in short percent);
-       };
-       
-       interface BookView : Bonobo::Unknown {
-               oneway void start ();
-               oneway void stop ();
-       };
-
-       interface Book : Bonobo::Unknown {
-
-               /*
-                * Opening/creating addressbooks.
-                */
-               oneway void open (in boolean only_if_exists);
-
-               /*
-                * Removing addressbooks.
-                */
-               oneway void remove ();
-
-               /*
-                * Fetching contacts in the addresbook.
-                */
-               oneway void getContact (in ContactId id);
-
-               oneway void authenticateUser (in string user, in string passwd,
-                                             in string authMethod);
-
-               /*
-                * Adding and deleting contacts in the book.
-                */
-               oneway void addContact    (in VCard vcard);
-               oneway void removeContacts (in ContactIdList Id);
-               
-               /*
-                * Modifying contacts in the addressbook.
-                */
-               oneway void modifyContact (in VCard vcard);
-               
-               /*
-                * These two functions return a book view to the book
-                * listener.  This is for people who want a live view
-                * of the addressbook.
-                */
-               oneway void getBookView (in BookViewListener listener, in string query,
-                                        in stringlist requested_fields, in long max_results);
-
-               oneway void getChanges  (in string change_id);
-
-               oneway void getContactList (in string query);
-
-               oneway void getSupportedFields ();
-
-               /*
-                * This function returns a list of strings
-                * representing the auth methods (e.g. SASL mechs)
-                * that a backend/server supports.
-                *
-                * Some examples are:
-                *
-                * "ldap/simple-email|By email Address"
-                * "sasl/CRAM-MD5|CRAM-MD5(SASL)"
-                *
-                * The format should be:
-                *
-                * <class>/<type>|<i18nized string>
-                *
-                * "i18nized string" is shown in the UI, and should be
-                * a user friendly representation of the auth method.
-                *
-                * in the case of SASL auth mechs, the text trailing
-                * the '/' should be the proper name of the mechanism,
-                * as it will be passed unchanged to the backend auth
-                * function (eg. ldap_sasl_bind)
-                */
-               oneway void getSupportedAuthMethods ();
-
-               string getStaticCapabilities ();
-
-               string getName ();
-
-               /* cancels the currently running operation, whatever
-                  it is. */
-               CallStatus cancelOperation ();
-       };
-
-       interface BookListener : Bonobo::Unknown {
-
-               oneway void notifyContactCreated       (in CallStatus status, in ContactId Id);
-               oneway void notifyContactsRemoved      (in CallStatus status);
-               oneway void notifyContactModified      (in CallStatus status);
-               oneway void notifyProgress             (in string status_message, in short precent);
-               oneway void notifyBookOpened           (in CallStatus status);
-               oneway void notifyBookRemoved          (in CallStatus status);
-               oneway void notifyViewRequested        (in CallStatus status, in BookView view);
-               oneway void notifyChangesRequested     (in CallStatus status, in BookChangeList changes);
-               oneway void notifyContactRequested     (in CallStatus status, in VCard vcard);
-               oneway void notifyContactListRequested (in CallStatus status, in stringlist contacts);
-               oneway void notifySupportedFields      (in CallStatus status, in stringlist fields);
-               oneway void notifyAuthenticationResult (in CallStatus status);
-               oneway void notifySupportedAuthMethods (in CallStatus status, in stringlist auth_methods);
-
-               oneway void notifyWritable (in boolean writable);
-       };
-
-       interface BookFactory : Bonobo::Unknown {
-               exception ProtocolNotSupported {};
-
-               Book getBook (in string uri, in BookListener listener)
-                       raises (ProtocolNotSupported);
-       };
-};
-};
-};
index a118a6d..6ea20fd 100644 (file)
@@ -56,4 +56,10 @@ libedataserverinclude_HEADERS =              \
        e-uid.h                         \
        e-url.h                         \
        e-xml-hash-utils.h              \
-       md5-utils.h
\ No newline at end of file
+       md5-utils.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libedataserver-1.0.pc
+
+EXTRA_DIST =                           \
+       $(pkgconfig_DATA:.pc=.pc.in)
index f19dddf..a5c6f99 100644 (file)
@@ -2,7 +2,7 @@
 
 <oaf_server iid="OAFIID:GNOME_Evolution_Wombat_ServerFactory"
             type="exe"
-            location="@LIBEXECDIR@/evolution-wombat">
+            location="@LIBEXECDIR@/evolution-data-server">
 
        <oaf_attribute name="repo_ids" type="stringv">
                <item value="IDL:GNOME/Evolution/BookFactory:1.0"/>
@@ -21,7 +21,7 @@
 
 <oaf_server iid="OAFIID:GNOME_Evolution_Wombat_CalendarFactory"
             type="exe"
-            location="@LIBEXECDIR@/evolution-wombat">
+            location="@LIBEXECDIR@/evolution-data-server">
 
        <oaf_attribute name="repo_ids" type="stringv">
                <item value="IDL:GNOME/Evolution/Calendar/CalFactory:1.0"/>
@@ -39,7 +39,7 @@
 
 <oaf_server iid="OAFIID:GNOME_Evolution_Wombat_InterfaceCheck"
             type="exe"
-            location="@LIBEXECDIR@/evolution-wombat">
+            location="@LIBEXECDIR@/evolution-data-server">
 
        <oaf_attribute name="repo_ids" type="stringv">
                <item value="IDL:GNOME/Evolution/WombatInterfaceCheck:1.0"/>
index 35b4671..ab2c86e 100644 (file)
@@ -38,7 +38,7 @@
 
 <oaf_server iid="OAFIID:GNOME_Evolution_Wombat_InterfaceCheck"
             type="exe"
-            location="@LIBEXECDIR@/evolution-wombat">
+            location="@LIBEXECDIR@/evolution-data-server">
 
        <oaf_attribute name="repo_ids" type="stringv">
                <item value="IDL:GNOME/Evolution/WombatInterfaceCheck:1.0"/>