head	1.4;
access;
symbols
	pkgsrc-2013Q2:1.4.0.10
	pkgsrc-2013Q2-base:1.4
	pkgsrc-2012Q4:1.4.0.8
	pkgsrc-2012Q4-base:1.4
	pkgsrc-2011Q4:1.4.0.6
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q2:1.4.0.4
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2009Q4:1.4.0.2
	pkgsrc-2009Q4-base:1.4
	pkgsrc-2009Q3:1.3.0.16
	pkgsrc-2009Q3-base:1.3
	pkgsrc-2009Q2:1.3.0.14
	pkgsrc-2009Q2-base:1.3
	pkgsrc-2009Q1:1.3.0.12
	pkgsrc-2009Q1-base:1.3
	pkgsrc-2008Q4:1.3.0.10
	pkgsrc-2008Q4-base:1.3
	pkgsrc-2008Q3:1.3.0.8
	pkgsrc-2008Q3-base:1.3
	cube-native-xorg:1.3.0.6
	cube-native-xorg-base:1.3
	pkgsrc-2008Q2:1.3.0.4
	pkgsrc-2008Q2-base:1.3
	cwrapper:1.3.0.2
	pkgsrc-2008Q1:1.2.0.14
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.12
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.10
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.8
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.6
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.4
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.2
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.1.0.4
	pkgsrc-2006Q2-base:1.1
	pkgsrc-2006Q1:1.1.0.2
	pkgsrc-2006Q1-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2009.11.10.20.33.38;	author markd;	state dead;
branches;
next	1.3;

1.3
date	2008.05.21.16.13.46;	author gdt;	state Exp;
branches;
next	1.2;

1.2
date	2006.09.05.00.55.32;	author gdt;	state dead;
branches;
next	1.1;

1.1
date	2006.01.04.20.28.01;	author gdt;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Update mail-notification to 5.4

pkgsrc changes: patch to use gmime24

Changes since 5.3:
* The regression which caused some read IMAP messages to be reported as
  unread has been fixed.
* And more, see the NEWS file.
Changes since 5.2:
* A crash affecting IMAP, Maildir and POP3 mailboxes has been fixed.
* A crash affecting Evolution mailboxes on 64-bit systems has been fixed.
* And more, see the NEWS file.
Changes since 5.1:
* Default configuration values were not registered.
Changes since 5.0:
* A number of minor issues have been fixed. Most notably, the message
  count is now drawn properly.
* And more, see the NEWS file.
@
text
@$NetBSD: patch-ab,v 1.3 2008/05/21 16:13:46 gdt Exp $

This patch is from upstream, at
  http://launchpadlibrarian.net/11684452/mail-notification-5.0-eelfix.diff
referenced from
  https://bugs.launchpad.net/mail-notification/+bug/180400

--- src/mn-maildir-mailbox-backend.c.orig	2008-01-04 17:03:57.000000000 +0100
+++ src/mn-maildir-mailbox-backend.c	2008-01-31 20:47:10.000000000 +0100
@@@@ -161,7 +161,7 @@@@
       {
 	char *filename;
 
-	filename = eel_uri_get_basename(info_uri);
+	filename = mn_vfs_uri_get_basename(info_uri);
 	if (filename)
 	  {
 	    if (filename[0] != '.')
--- src/mn-mh-mailbox-backend.c.orig	2008-01-04 17:03:57.000000000 +0100
+++ src/mn-mh-mailbox-backend.c	2008-01-31 20:46:49.000000000 +0100
@@@@ -191,7 +191,7 @@@@
       {
 	char *filename;
 
-	filename = eel_uri_get_basename(info_uri);
+	filename = mn_vfs_uri_get_basename(info_uri);
 	if (filename)
 	  {
 	    if (! strcmp(filename, SEQUENCES_FILE) || mn_str_isnumeric(filename))
--- src/mn-sylpheed-mailbox-backend.c.orig	2008-01-04 17:03:58.000000000 +0100
+++ src/mn-sylpheed-mailbox-backend.c	2008-01-31 20:46:57.000000000 +0100
@@@@ -180,7 +180,7 @@@@
       {
 	char *filename;
 
-	filename = eel_uri_get_basename(info_uri);
+	filename = mn_vfs_uri_get_basename(info_uri);
 	if (filename)
 	  {
 	    /*
--- src/mn-vfs.c.orig	2008-01-04 16:40:15.000000000 +0100
+++ src/mn-vfs.c	2008-01-31 20:45:31.000000000 +0100
@@@@ -335,3 +335,21 @@@@
   g_set_error(err, 0, 0, "%s", gnome_vfs_result_to_string(result));
   return FALSE;
 }
+
+char *
+mn_vfs_uri_get_basename (const char *text_uri)
+{
+  GnomeVFSURI *uri;
+  char *name;
+
+  g_return_val_if_fail(text_uri != NULL, NULL);
+
+  uri = gnome_vfs_uri_new(text_uri);
+  if (! uri)
+    return NULL;
+
+  name = gnome_vfs_uri_extract_short_name(uri);
+  gnome_vfs_uri_unref(uri);
+
+  return name;
+}
--- src/mn-vfs.h.orig	2008-01-04 16:40:16.000000000 +0100
+++ src/mn-vfs.h	2008-01-31 20:45:42.000000000 +0100
@@@@ -54,4 +54,6 @@@@
 
 gboolean mn_vfs_result_to_g_error (GnomeVFSResult result, GError **err);
 
+char *mn_vfs_uri_get_basename (const char *text_uri);
+
 #endif /* _MN_VFS_H */
@


1.3
log
@Add patch from upstream to work around API instability of eel.
@
text
@d1 1
a1 1
$NetBSD$
@


1.2
log
@Update to 3.0.

notable pkgsrc-relevant changes:

  * Since support for non-system sound events has been removed from
    GNOME 2.14, the mail-notification.soundlist file is no longer
    installed

  * desktop file forced to share/applications from etc/xdg/autostart
    (see below)

Other changes:

	[various translations updated]

	* Evolution changes:
		* Evolution crashed when a message without Subject or
		  From header was received: fixed
		* Mail Notification could crash when removing an
		  Evolution mailbox: fixed

	* Core changes:
		* An alternate, compact mail summary has been added
		* A "Display seen messages" option has been added
		* The status icon can now be displayed permanently
		* The "Delay between mail checks" option is now
		  mailbox-specific
		* The properties dialog has been reorganized
		* The main window has been removed
		* The status icon is now activated with a single click
		  (http://bugzilla.gnome.org/show_bug.cgi?id=148829)
		* The GTK+ bugs
		  (http://bugzilla.gnome.org/show_bug.cgi?id=321886)
		  which caused occasional crashes have been worked
		  around
		* If the MAIL environment variable is not defined or
		  invalid, the system mailbox is now looked up in
		  /var/spool/mail/username and /var/mail/username
		  (based on a patch from Benoît Rouits)
		* Since ~/.gnome2/mail-notification/mailboxes.xml may
		  contain sensitive information, it is now saved with
		  permissions set to 0600 (useful for systems where
		  home directories have lax permissions)
		* The "cannot enable immediate notification" error
		  dialog has been removed
		* The --list-features command line option has been
		  removed (feature information is now displayed in the
		  output of the --version option)
		* The message handling performance has been improved
		* If there are no mailboxes on startup, the properties
		  dialog is now displayed
		* The "Start Mail Notification on GNOME login" option
		  no longer worked with GNOME >= 2.14 and has been
		  removed: a .desktop file is now installed in the xdg
		  autostart directory instead
		* The mail reader setting has been removed; the mail
		  reader configured in GNOME (Desktop -> Preferences
		  -> Preferred Applications) will now be used
		* The tooltip width is now limited to the screen width
		* When coupled with a patched GNOME Panel (as shipped
		  by FreeBSD and Debian, for instance), the status
		  icon now supports panel transparency (patch
		  forwarded by Bernat Tallaferro)

	* mbox, Maildir, POP3, IMAP, Evolution and Sylpheed changes:
		* Messages are now classified as unseen and seen; seen
		  messages can be ignored by unchecking the "Display
		  seen mail" option

	* mbox changes:
		* Compressed mailboxes (gzip and bzip2) are now
		  handled transparently, and support immediate
		  notification

	* POP3, IMAP and Gmail changes:
		* A regression which allowed mail checks to overlap
		  has been fixed

	* POP3 and IMAP changes:
		* If the server advertises the STLS/STARTTLS
		  capability but replies ERR/BAD when the
		  STLS/STARTTLS command is issued, Mail Notification
		  now logs out instead of proceeding
		* If multiple mailboxes have the same type, hostname,
		  port, connection type and username, Mail
		  Notification will now detect that the mailboxes
		  share the same account and will only prompt for the
		  password once per session (when the password is not
		  entered in the properties dialog, that is)

	* POP3 changes:
		* Non-UTF-8 server responses are now accepted

	* IMAP changes:
		* Non-ASCII server responses are now accepted (these
		  responses violate RFC 3501, but we follow the RFC
		  793 robustness principle "be liberal in what you
		  accept"); fixes connection problems with
		  internationalized Exchange servers, which violate
		  RFC 3501 by sending non-ASCII characters in their
		  greeting message
		* Empty continuation responses are now allowed (fixes
		  authentication with some SASL mechanisms)
		* Play nice with uncompliant servers by using
		  BODY.PEEK rather than BODY, so that they do not set
		  the \Seen flag (patch from Jacob Berkman)
		* The IDLE mode is now cycled every 29 minutes, as
		  advised by RFC 2177

	* Evolution changes:
		* Support for the Evolution 2.4 and 2.6 branches has
		  been added; untested support for the Evolution
		  2.7/2.8 branch has been added; the Evolution source
		  tree is no longer needed for Evolution >= 2.4

	* Sylpheed changes:
		* With the help of a Sylpheed patch, Mail Notification
		  can now reliably avoid race conditions which could
		  occur when Sylpheed was running (see the
		  --enable-sylpheed-locking discussion in the INSTALL
		  file)

	* New translations:
		* Czech (Pav Lucistnik)
		* Brazilian Portuguese (Claudio André)
		* Dutch (Marcel J. Zwiebel)
		* Japanese (Hiroshi Hasebe)
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.1 2006/01/04 20:28:01 gdt Exp $
d3 67
a69 4
--- src/mn-mailboxes.c.orig	2005-08-09 16:01:57.000000000 -0400
+++ src/mn-mailboxes.c
@@@@ -26,6 +26,7 @@@@
 #line 25 "mn-mailboxes.gob"
d71 3
a73 5
 #include "config.h"
+#include <errno.h>
 #include <unistd.h>
 #include <stdarg.h>
 #include <glib/gi18n.h>
@


1.1
log
@Take maintainership (at suggestion of previous maintainer, jmmv@@).

Update to 2.0 (minor changes and bugfixes omitted):

2.0					August 9, 2005

	* Core changes:
		* Evolution support has been added [not in pkgsrc]
		* Mailboxes can now be assigned a custom name
		* For greater flexibility, mailboxes configuration is
		  now stored in ~/.gnome2/mail-notification/mailboxes.xml
		  (previously, it was stored in the GConf database)
		* If a mailbox requires authentication and the
		  necessary credentials are not provided in the
		  mailbox properties dialog, Mail Notification now
		  lets GNOME prompt the user for the credentials
		* The Mail Notification item is now also listed in the
		  GNOME >= 2.10 Preferences menu
		* The third-party libegg code has been updated

	* mbox, MH, Maildir and Sylpheed changes:
		* Immediate notification did not work properly with
		  fast kernel notifiers (kqueue, inotify, dnotify,
		  ...): fixed
		* Unseekable files are now supported
		* The location of the system mailbox is now resolved
		  at runtime rather than when the mailbox is added
		  (eases sharing the Mail Notification settings across
		  multiple computers)

	* mbox changes:
		* When immediate notification is not available, the
		  mailbox is now also checked when its size or ctime
		  changes (previously, it was only checked if its
		  mtime had changed)

	* Sylpheed changes:
		* Mail Notification now tries to avoid race conditions
		  which may occur while Sylpheed is being used

	* POP3 and IMAP changes:
		* When the authentication mechanism option is set to
		  "autodetect", Mail Notification will now try to
		  authenticate using each server-supported SASL
		  mechanism

	* POP3 changes:
		* The TOP optional command is now supported. This
		  solves some issues with POP3 servers (for instance,
		  pop.gmail.com) which incorrectly archive mails that
		  have been accessed using the RETR command.

	* IMAP changes:
		* If, while idling, the server abruptly drops the
		  connection, Mail Notification now reconnects rather
		  than considering it an error
		* When idling, Mail Notification now only wakes up if
		  it receives a response indicating that the mailbox
		  might have changed
		* By default, Mail Notification now avoids using the
		  IDLE extension if the remote server software is
		  known to have a broken IDLE implementation
		* UTF-8 mailbox names are now converted to modified
		  UTF-7, as required by RFC 3501

	* Gmail changes:
		* Functionality has been restored after the Gmail web
		  site was modified; to prevent future disruptions and
		  simplify the source code, the Gmail Atom feed
		  (https://mail.google.com/mail/feed/atom) is now used

1.1					March 6, 2005

	* The mail summary dialog has been replaced by a main window,
	  for controlling Mail Notification when the status icon is
	  hidden
@
text
@d1 1
a1 1
$NetBSD$
@

