[Evolution-hackers] Bogofilter junk plugin patch

2005-12-20 Thread Mikhail Zabaluev
Hello,

I've massaged my Bogofilter junk plugin into a patch for inclusion in
the Evolution source tree, attached below.
The plugin is included in the experimental list.
Index: configure.in
===
RCS file: /cvs/gnome/evolution/configure.in,v
retrieving revision 1.864
diff -u -r1.864 configure.in
--- configure.in	19 Dec 2005 11:23:08 -	1.864
+++ configure.in	19 Dec 2005 12:44:52 -
@@ -101,6 +101,7 @@
 NO_UNDEFINED='-no-undefined'
 SOEXT='.dll'
 SA_JUNK_PLUGIN=''
+BF_JUNK_PLUGIN=''
 DL_LIB=''
 SOFTOKN3_LIB=''
 HAL_REQUIREMENT=''
@@ -109,6 +110,7 @@
 NO_UNDEFINED=''
 SOEXT='.so'
 SA_JUNK_PLUGIN=sa-junk-plugin
+BF_JUNK_PLUGIN=bf-junk-plugin
 DL_LIB='-ldl'
 SOFTOKN3_LIB='-lsoftokn3'
 HAL_REQUIREMENT='hal'
@@ -1403,8 +1405,8 @@
 all_plugins_standard=$plugins_standard
 
 plugins_experimental_always=backup-restore folder-unsubscribe mail-to-meeting mail-remote prefer-plain save-attachments
-plugins_experimental=$plugins_experimental $IPOD_SYNC
-all_plugins_experimental=$plugins_experimental_always ipod-sync
+plugins_experimental=$plugins_experimental $IPOD_SYNC $BF_JUNK_PLUGIN
+all_plugins_experimental=$plugins_experimental_always bf-junk-plugin ipod-sync
 
 case x$enable_plugins in
 xno)
@@ -1701,6 +1703,7 @@
 plugins/groupwise-features/Makefile
 plugins/mail-account-disable/Makefile
 plugins/sa-junk-plugin/Makefile
+plugins/bf-junk-plugin/Makefile
 plugins/ipod-sync/Makefile
 plugins/publish-calendar/Makefile
 smime/Makefile
Index: po/POTFILES.in
===
RCS file: /cvs/gnome/evolution/po/POTFILES.in,v
retrieving revision 1.291
diff -u -r1.291 POTFILES.in
--- po/POTFILES.in	18 Dec 2005 12:31:19 -	1.291
+++ po/POTFILES.in	19 Dec 2005 12:44:56 -
@@ -274,6 +274,7 @@
 plugins/backup-restore/org-gnome-backup-restore.xml
 plugins/bbdb/bbdb.c
 plugins/bbdb/org-gnome-evolution-bbdb.eplug.xml
+plugins/bf-junk-plugin/org-gnome-bf-junk-plugin.eplug.xml
 plugins/calendar-file/org-gnome-calendar-file.eplug.xml
 plugins/calendar-http/calendar-http.c
 plugins/calendar-http/org-gnome-calendar-http.eplug.xml
Index: plugins/bf-junk-plugin/ChangeLog
===
RCS file: plugins/bf-junk-plugin/ChangeLog
diff -N plugins/bf-junk-plugin/ChangeLog
--- /dev/null	1 Jan 1970 00:00:00 -
+++ plugins/bf-junk-plugin/ChangeLog	1 Jan 1970 00:00:00 -
@@ -0,0 +1,10 @@
+2005-12-18  Mikhail Zabaluev [EMAIL PROTECTED]
+
+* Makefile.am, org-gnome-bf-junk-plugin.eplug.xml:
+Adapted for inclusion in the Evolution source tree.
+
+2005-11-22  Mikhail Zabaluev [EMAIL PROTECTED]
+
+* README: Added reference to Spam Trainer.
+
+* README: Reflect on the fix for bug #313096 that made it to Evolution 2.5.2.
Index: plugins/bf-junk-plugin/Makefile.am
===
RCS file: plugins/bf-junk-plugin/Makefile.am
diff -N plugins/bf-junk-plugin/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -
+++ plugins/bf-junk-plugin/Makefile.am	1 Jan 1970 00:00:00 -
@@ -0,0 +1,20 @@
+INCLUDES =		\
+	-I$(top_srcdir)	\
+	$(EVOLUTION_MAIL_CFLAGS)
+
[EMAIL PROTECTED]@
+
+plugin_DATA = org-gnome-bf-junk-plugin.eplug
+plugin_LTLIBRARIES = liborg-gnome-bf-junk-plugin.la
+
+liborg_gnome_bf_junk_plugin_la_SOURCES = bf-junk-filter.c
+liborg_gnome_bf_junk_plugin_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
+
+BUILT_SOURCES = $(plugin_DATA) $(error_DATA)
+
+CLEANFILES = $(BUILT_SOURCES)
+
+EXTRA_DIST = \
+	org-gnome-bf-junk-plugin.eplug.xml
+
+
Index: plugins/bf-junk-plugin/README
===
RCS file: plugins/bf-junk-plugin/README
diff -N plugins/bf-junk-plugin/README
--- /dev/null	1 Jan 1970 00:00:00 -
+++ plugins/bf-junk-plugin/README	1 Jan 1970 00:00:00 -
@@ -0,0 +1,34 @@
+Bogofilter plugin for Evolution
+
+This plugin implements junk filtering for the Evolution mailer,
+provided by the bogofilter utility. Bogofilter (http://www.bogofilter.org)
+if a fast and nimble mail filter using a so-called Bayesian technique to
+classify junk and non-junk email.
+
+CAVEATS:
+
+For Evolution versions before 2.5.2, the definition file for the stock
+junk filter plugin, 'org-gnome-sa-junk-plugin.eplug', must be removed
+from the plugin directory to avoid conflict with any alternate junk plugin.
+Simply disabling the SA plugin in the configuration won't help.
+This is due to a flaw in the loading code for this hook type
+(see GNOME bug #313096).
+
+To be able to classify emails as spam, bogofilter needs to have some
+messages in its ham (non-spam) wordlist. This presents something of a
+chicken-and-egg problem for Evolution, because it can feed messages
+to the junk filter for learning as non-junk only after these messages have been
+classified as junk and moved into a junk folder. Thus, if you haven't got a
+pre

Re: [Evolution-hackers] building evolution-data-server against the already installed libdb

2006-03-05 Thread Mikhail Zabaluev
В Пнд, 27/02/2006 в 17:49 -0500, Mikhail Teterin пишет:
 I'm trying to convince the maintainers of the evolution-data-server
 FreeBSD port (http://freshports.org/databases/evolution-data-server)
 to build the software against the db4-version installed by the separate
 port of SleepyCat's db4 (http://freshports.org/databases/db43).
 
 I'm using the thus built evolution (against db-4.3.29) to type this
 message, but they remain hesitant, because of the past problems they
 encountered trying to build evolution using the already installed db3
 instead of the version then-bundled with evolution.
 
 I'm guessing, you used to have modified version of db3, which allowed it
 to work, where the standard version did not. Is there anything like
 that in the db4.1 version bundled with e-d-s 1.4.2.1, or can we safely
 use any reasonably recent version of db4?
 
 Moreover, perhaps, you can be convinced to stop the bundling of db4
 completely and turn it into just another pre-requisite?

I used to compile e-d-s 1.4 along an external db4.3, by applying a
simple patch. It didn't seem to cause any problems.
So, what's the purpose of bundling an obsolete version of Berkeley DB
inside the project?
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] strtok camel from evolution-data-server

2006-07-06 Thread Mikhail Zabaluev
В Чтв, 06/07/2006 в 21:23 +0200, Philip Van Hoof пишет:
 Tinymail depends on Camel. Camel gets shipped with e-d-s. Tinymail
 doesn't use *any* of the other e-d-s softwares, libraries nor its data.

I don't see a problem; you can always split the e-d-s install into
several packages. For RPM this is just about trivial (mind your
dependencies though), and I believe it's the same for deb.
I do such splits, e.g. when individual libraries or plugins in the
installation list have outstanding dependencies.

 Hacks like packaging tricks:
 
 
 I AM NOT going to require packaging tricks. Packaging tricks are hacks.

Packaging is a normal practice as long as you do it correctly.

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Evolution: Taking forward...

2008-10-13 Thread Mikhail Zabaluev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Srinivasa Ragavan wrote:
 Hello guys,
 
 We have had a set of problems that we are carrying around for some time like :
 
   * Copyright assignments, which is not the best way looking for the 
 future of Evolution. It sucks and sort of limits contributions to Evolution 
 and we wanted to drop it.
   * The current licensing incompatibility issues of Evolution with 
 Samba4/libmapi (GPLv3). Evolution needs to link with libmapi/samba4 for the 
 new mapi based connector being developed for Exchange 2007.
  
 So here is the plan :
 
   * Drop Evolution copyright assignments and make it really easy to 
 contribute to Evolution
   * Move Evolution licensing to  LGPL v2 and LGPL v3 to let us re-use 
 the code more easily around the platform.  This also moves us closer to 
 Thunderbird's MPL/LGPL model. 
 
 We think this is good for Evolution and (of course) we continue to invest in 
 Evolution. We are also working to ensure we have the rights to re-license all 
 of the code. We will do the licensing/header changes as we audit the code 
 ownership situation.
 
 It would be really helpful if you can post a public/explicit mail with 
 permissions to do it, or code pointers - if you think you wrote a piece of 
 Evolution code  object.

You're free to convert the license to my Bogofilter plugin code, as well
as any other patches I've committed to Evolution, to LGPL v2 or v3.
I appreciate your efforts.

Mikhail Zabaluev
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI8zUlITXggnds20gRAgkDAJ9NMGV46ezPc3HeRNEG4eT3aFi7MQCfTbAc
wqxFJaCD4NJU/szKbmyuASw=
=KaCA
-END PGP SIGNATURE-
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers