Go to file
Chris Toshok 9b7cc54d6f fix memory leaks.
2002-04-18  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-ldap.c (get_ldap_library_info): fix
	memory leaks.

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: remove the
	Addressbook_ConfigControl stuff to LDAP_ConfigControl.

	* gui/component/Makefile.am (evolution_addressbook_SOURCES):
	remove addressbook-config.* and add ldap-config.*
	(glade_DATA): same.
	(evolution_addressbook_LDADD): add LDAP_LIBS.

	* gui/component/addressbook-component.c (owner_set_cb):
	addressbook_config_register_factory =>
	ldap_config_register_factory.

	* gui/component/addressbook.c (book_open_cb): remove source->type
	check - they're always LDAP.
	(load_uri_cb): same.

	* gui/component/addressbook-storage.c (ldap_unparse_ssl): new
	function.
	(ldap_parse_ssl): new function.
	(addressbook_storage_init_source_uri): use a more flexible scheme
	to build up the uri's, and add in the ssl parameter.
	(load_source_data): fill in source->ssl, and remove source->type
	assignment.
	(addressbook_source_copy): copy source->ssl, and remove
	source->type copy.
	(create_ldap_folder): addressbook_create_new_source =>
	ldap_config_create_new_source.

	* gui/component/addressbook-storage.h: remove
	AddressbookSourceType (it was always LDAP), and add
	AddressbookLDAPSSLType.

svn path=/trunk/; revision=16524
2002-04-18 21:26:48 +00:00
addressbook fix memory leaks. 2002-04-18 21:26:48 +00:00
art Replace with an antialiased version 2002-04-17 22:03:11 +00:00
calendar show the settings 2002-04-18 19:00:25 +00:00
camel If we get a failure, make sure we set an exception. 2002-04-18 08:15:51 +00:00
composer Unref the priv->tooltips object here. 2002-04-17 02:16:58 +00:00
data Install the man page. 2001-12-13 00:38:19 +00:00
default_user Added vfolders.xml containing default initial vfolders - important vfolder 2001-12-09 22:41:52 +00:00
devel-docs
doc more fixes for libversit.la -> libversit.a 2002-03-19 20:30:52 +00:00
e-util New wrapper around gethostbyaddr_r if the system has it, else a whole new 2002-04-17 01:17:24 +00:00
executive-summary Fixing the license text. 2001-10-27 16:59:46 +00:00
filter The score "is" rule should have a value of "is" and not "less-than". 2002-04-18 20:08:17 +00:00
help Remove bogus EXTRA_DIST with sgmldocs.make. Problem pointed out by Richard 2002-04-04 13:33:01 +00:00
importers Remove refs to drafts_folder_name and sent_folder_name in the corba 2002-04-04 20:03:41 +00:00
libibex Final cleanup for the CFLAGS and LIBS in the Makefiles. 2002-01-27 17:21:36 +00:00
libical Darwin/OS portability from Max Horn <max@quendi.de> 2002-04-01 16:27:06 +00:00
libversit only include if USE_STRTBL is defined. (deleteStrItem): same. (hashStr): 2002-04-01 20:38:38 +00:00
libwombat Final cleanup for the CFLAGS and LIBS in the Makefiles. 2002-01-27 17:21:36 +00:00
macros Distribute gnome-pilot.m4. 2002-03-10 15:35:38 +00:00
mail use default paper name in case of wrong translation 2002-04-18 20:38:06 +00:00
my-evolution Add view_info arg but don't do anything with it. 2002-04-09 15:06:10 +00:00
notes Final cleanup for the CFLAGS and LIBS in the Makefiles. 2002-01-27 17:21:36 +00:00
omf-install Don't put $(srcdir) in the file path twice. 2001-09-04 15:10:38 +00:00
po begin of cs translation 2002-04-18 14:38:23 +00:00
shell emit show_settings signal (corba_class_init): assign epv method 2002-04-18 18:57:45 +00:00
sounds add $(sounds_DATA) 2002-02-24 21:08:03 +00:00
tests More fixing of the license texts. 2001-10-27 23:36:16 +00:00
tools Change the OAFIID for the GtkHTML editor to have :1.1 at the end. 2002-03-24 23:25:47 +00:00
ui Fix bad xml. 2002-04-09 15:08:03 +00:00
views Offer the new By Follow Up Flag view. 2002-02-15 20:14:35 +00:00
widgets handle toggle and radio items (make_item): the item is now passed in from 2002-04-18 15:37:57 +00:00
wombat Re-Add $(WOMBAT_LIBS) so wombat actually links. 2002-04-04 22:33:29 +00:00
.cvsignore Removed .oafinfo files -- they are obsolete. Moved pixmaps from 2001-03-15 03:46:54 +00:00
acconfig.h Add checks for gethostbyaddr_r 2002-04-17 01:16:20 +00:00
AUTHORS Add Larry and Radek. 2001-10-30 00:08:34 +00:00
autogen.sh
ChangeLog Require GAL 0.19.99.13. 2002-04-18 02:20:19 +00:00
configure.in Require GAL 0.19.99.13. 2002-04-18 02:20:19 +00:00
COPYING
COPYING-DOCS
HACKING
INSTALL
MAINTAINERS Ximianize. Also update the README a bit and mention the OAF stable branch. 2001-01-12 16:35:54 +00:00
Makefile.am added sounds. 2002-02-09 00:51:53 +00:00
NEWS Use 1 instead of zero as the minimum value for the repetitions spin button 2002-01-25 19:02:19 +00:00
README SOUP stuff 2002-01-16 17:55:48 +00:00
stamp.h.in

Evolution is the integrated mail, calendar and address book
distributed suite from Ximian, Inc.

See http://www.ximian.com/apps/evolution.php3 for more information.

Note that Evolution is still beta. This means it may delete all of
your mail if you give it the chance.

If you are using Evolution, you should subscribe to the Evolution
mailing list. If you are interested in hacking on it, you should
subscribe to the Evolution Hackers mailing list. Send mail to
"evolution-request@ximian.com" or
"evolution-hackers-request@ximian.com" with the word "subscribe" in
the body of the message. If you are planning to work on any part of
Evolution, please send mail to the mailing list first, to avoid
duplicated effort (and to make sure that you aren't basing your work
on interfaces that are expected to change).

There are mailing list archives available at
http://lists.ximian.com/archives/public/evolution/     and
http://lists.ximian.com/archives/public/evolution-hackers/

There is also an #evolution IRC channel on irc.gnome.org.


IF IT DOESN'T WORK
------------------

Did you read the "How to build" section below?

If the configure script complains that you don't have a library that
you know you have installed, it usually means either that you've
installed things into multiple prefixes (see the bits on GNOME_PATH
below) or (if you're on Linux) that you installed the "foo" package
but forgot the "foo-devel" or "foo-dev" packages.


HOW TO BUILD EVOLUTION
----------------------

	*** READ THIS BEFORE YOU START BUILDING ANYTHING! ***

Evolution depends on a large number of unreleased and rapidly-changing
libraries. Some of these libraries in turn depend on other unreleased
and rapidly-changing libraries.

Building Evolution is HARD, and it's going to stay hard until all of
the libraries it depends on stabilize, and there's nothing we can do
to make it any easier until then.


GENERAL PRINCIPLES
------------------

First you have to decide whether you want to install Evolution (and
its dependencies) into the same prefix as the rest of your GNOME
install, or into a new prefix. Installing everything into the same
prefix as the rest of your GNOME install will make it much easier to
build and run programs, and easier to switch between using packages
and building it yourself, but it may also make it harder to uninstall
later.

If you want to install into the same prefix as the rest of GNOME,
type:

	gnome-config --prefix
	gnome-config --sysconfdir

and remember the answers, and pass them to "configure" or "autogen.sh"
when building the other packages you need. For example:

	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib

    --localstatedir is needed to make the docs integrate with scrollkeeper
    and needs to point to the directory containing the scrollkeeper indices
    which are in: gnome-config --localstatedir

If you build in another prefix instead, you will need to set the
GNOME_PATH environment variable (and ACLOCAL_FLAGS as well if building
from CVS) to include the prefix you install into. For example:

        export GNOME_PATH=/usr/local
	export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"

(Assuming your shell is bash, and you installed into /usr/local.) You
need to set GNOME_PATH both during compiling AND when you run
evolution. Remember also that if you're installing into an odd prefix
such as /evolution, that you also need to make sure to put
${prefix}/bin in your PATH and ${prefix}/lib in your LD_LIBRARY_PATH.


DEPENDENCIES
------------

The following required libraries are available in GNOME CVS, under the
given names.  Most (but not all) of them are also available as
tarballs on ftp.gnome.org.  The (*)ed packages are available in Ximian
GNOME ( http://www.ximian.com/desktop/ ).  Other packages may be
available from the Ximian GNOME evolution preview mirror.

If installing from packages, remember that you need both the runtime
and -devel packages for each library.

 - xml-i18n-tools - latest from xml-i18n-tools-stable-1-x branch in
   GNOME CVS (0.8.2 is too old)

 - scrollkeeper - 0.1.4 or later (*)

 - gnome-xml - 1.8.10 or later in the 1.0 series, but not from the 2.0
   series (If you get this from GNOME CVS, use the tag "LIB_XML_1_BRANCH".)
   (*)

 - gnome-print - 0.25 or later (*)

 - gdk-pixbuf - 0.9.0 or later (*)

 - ORBit - 0.5.8 or later (*) (If you get this from GNOME CVS, use the
   tag "orbit-stable-0-5".)

 - oaf - 0.6.2 or later (If you get this from GNOME CVS, use the tag
   "oaf-stable-0-6")

   *** If you are using oaf from CVS, you should use the flag
   *** "--disable-more-warnings" when configure, or it may fail to
   *** build.

 - gnome-vfs - 1.0.0 or later (If you get this from GNOME CVS, use
   the tag "gnome-vfs-1-0")

   *** If you are using gnome-vfs from CVS, you should use the flag
   *** "--disable-more-warnings" when configuring, or it may fail to
   *** build.

 - libglade - 0.14 or later

 - bonobo - 1.0.3 or later

   *** Note that bonobo must be installed with the same --prefix as
   *** either gnome-libs or evolution for the Makefiles to work
   *** properly.

 - gal (GNOME Application Library) - 0.18.1 or later

 - gtkhtml - later than 0.16.1

 - SOUP: later than 0.6.99

Other non-GNOME Dependencies:

 - Berkeley's libdb - 3.1.17

   db3 is available from http://www.sleepycat.com. Make sure to get
   3.1.17, it isn't the latest version.


COMPILING BERKELEY DB
---------------------

If you don't have 3.1.17 installed on your system or Evolution doesn't
detect it for some reason, here is a way to get Evolution to link to
it without messing up your system installation.

<0A> * Get the Sleepycat tarball from:

<0A><><A0><A0><A0> http://www.sleepycat.com/update/3.1.17/db-3.1.17.tar.gz

<0A> * Install the content somewhere _other_ than the evolution source tree.
<0A><><A0>  e.g: NOT evolution/db-3.1.17

<0A> * Compile according to instructions, but installing into some custom
<0A><><A0> prefix, for example:

<0A><><A0><A0><A0> ../dist/configure --prefix=/home/user/berkeleydb-3.1.17

<0A> * Autogen Evolution specifying that it has to look for the DB
<0A><><A0> library there, for example:

<0A><><A0><A0><A0> ./autogen.sh --prefix=/opt/gnome
<0A><><A0><A0><A0> --with-db3-includes=/home/user/berkeleydb-3.1.17/include
<0A><><A0><A0><A0> --with-db3-libs=/home/user/berkeleydb-3.1.17/lib


COMPILING PALM PILOT SUPPORT
----------------------------

If you want support for PalmPilot syncing (currently experimental so
please back up your pilot) you will also need to do the following:

1) pilot-link 0.9.5
http://www.pilot-link.org

2) gnome-pilot 0.1.61
http://www.eskil.org/gnome-pilot/

3) evolution
In your evolution source directory do ./autogen.sh --prefix=<evo-prefix> 
--with-pisock=<pilot-link-prefix> --enable-pilot-conduits=yes
make
make install


SSL SUPPORT
-----------

If you want SSL support (and someday S/MIME), you will also need libnspr4 and
libnss3 which can be found at http://www.mozilla.org.

Once you have libnspr4 and libnss3 (and their respective includes) installed,
in your evolution source directory do:
./autogen.sh --prefix=<evo-prefix> --with-nspr-includes=<nspr-includes-prefix>
--with-nspr-libs=<nspr-libs-prefix> --with-nss-includes=<nss-includes-prefix>
--with-nss-libs=<nss-libs-prefix>

You'll need to `cp ~/.mozilla/default/*.db ~/evolution` on you've
installed Evolution in order to get a functional SSL-enabled
Evolution.

WARNING: Evolution also comes with OpenSSL support
(--with-openssl-libs and --with-openssl-includes), but it's not very
well tested, and quite unstable at this point.  It is recommended that
you use the NSPR-based SSL support instead.


NEWSGROUP (NNTP) SUPPORT
------------------------

Experimental support for NNTP is enabled if you use the --enable-nntp
configure option, but it's currently unmaintained and highly unstable
and experimental.