pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/sylpheed - Update to sylpheed-2.5.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f80aa185cfac
branches: trunk
changeset: 543966:f80aa185cfac
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Jun 29 11:38:32 2008 +0000
description:
- Update to sylpheed-2.5.0.
- Add patch from Fedora which makes the gtkspell option build again, with
the enchant-backed gtkspell.
- Add DESTDIR support, from mail/sylpheed-devel
Changes from 2.4.8
* New features
o The vertical 3-paned view mode was added.
o The feature to save SSL peer certificate was added.
o The option 'Treat HTML only message as attachment' was added.
o The feature to confirm missing attachments was added.
o The feature to confirm recipients before sending was added.
* Feature improvements
o To: header is also searched by quick search in Sent/Draft/Queue folders.
o 'Edit/Quick search' menu was added.
o Spaces in address and server entries on account preferences dialog are now
automatically removed when applied.
o The compose window now remembers the maximized state.
o The focus will not move from the text view to the summary view with
'Next/Prev' keyboard operation now.
o The alert dialog is displayed now when PGP signing/encryption failed.
* Bugfixes
o The bug that caused busy loop when initial connection was immediately
refused was fixed.
o The bug that the quote description dialog never appeared again after closing it with the close button was fixed.
o The new/unread status display on quick search filtered mode was fixed.
o The windres command will not be enabled on non-win32 platforms now.
o The address completion was fixed.
o Win32: --attach option was fixed.
o The sylpheed.desktop file was fixed.
o A crash bug was fixed.
o Content-Transfer-Encoding header with comments was supported.
o UTF-8 locale strings with suffix '.utf8' were supported.
o The 8KB restriction of template body size was removed.
diffstat:
mail/sylpheed/DESCR | 2 +-
mail/sylpheed/Makefile | 18 ++++----
mail/sylpheed/PLIST | 6 ++-
mail/sylpheed/distinfo | 10 ++-
mail/sylpheed/options.mk | 4 +-
mail/sylpheed/patches/patch-aa | 85 ++++++++++++++++++++++++++++++++++++++++++
mail/sylpheed/patches/patch-ab | 12 +++++
7 files changed, 120 insertions(+), 17 deletions(-)
diffs (212 lines):
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/DESCR
--- a/mail/sylpheed/DESCR Sun Jun 29 11:36:01 2008 +0000
+++ b/mail/sylpheed/DESCR Sun Jun 29 11:38:32 2008 +0000
@@ -1,4 +1,4 @@
-Sylpheed is an e-mail client (and news reader) based on GTK+, running on
+Sylpheed is an e-mail client (and news reader) based on GTK+ v2, running on
X Window System, and aiming for
* Quick response
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/Makefile
--- a/mail/sylpheed/Makefile Sun Jun 29 11:36:01 2008 +0000
+++ b/mail/sylpheed/Makefile Sun Jun 29 11:38:32 2008 +0000
@@ -1,21 +1,21 @@
-# $NetBSD: Makefile,v 1.112 2008/03/30 14:47:35 darcy Exp $
+# $NetBSD: Makefile,v 1.113 2008/06/29 11:38:32 tnn Exp $
-DISTNAME= sylpheed-2.4.8
-PKGREVISION= 1
+DISTNAME= sylpheed-2.5.0
CATEGORIES= mail news x11
-MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v2.4/
+MASTER_SITES= http://sylpheed.sraoss.jp/sylpheed/v2.5/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= chris%NetBSD.org@localhost
HOMEPAGE= http://sylpheed.sraoss.jp/en/
COMMENT= X based e-mail and netnews client
-CONFLICTS= sylpheed-claws-[0-9]* sylpheed-gtk2-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+CONFLICTS= sylpheed-claws-[0-9]*
+USE_DIRS+= xdg-1.4
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
-USE_TOOLS+= gmake msgfmt pkg-config
-USE_LANGUAGES+= c c++
+USE_TOOLS+= gmake msgfmt pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-nls
@@ -29,8 +29,8 @@
CONF_FILES= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${FILESDIR}/mime.types ${EGDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${FILESDIR}/mime.types ${DESTDIR}${EGDIR}
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/PLIST
--- a/mail/sylpheed/PLIST Sun Jun 29 11:36:01 2008 +0000
+++ b/mail/sylpheed/PLIST Sun Jun 29 11:38:32 2008 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.15 2007/04/25 17:21:11 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.16 2008/06/29 11:38:32 tnn Exp $
bin/sylpheed
+share/applications/sylpheed.desktop
share/examples/sylpheed/mime.types
share/locale/be/LC_MESSAGES/sylpheed.mo
share/locale/bg/LC_MESSAGES/sylpheed.mo
@@ -31,6 +32,7 @@
share/locale/vi/LC_MESSAGES/sylpheed.mo
share/locale/zh_CN/LC_MESSAGES/sylpheed.mo
share/locale/zh_TW/LC_MESSAGES/sylpheed.mo
+share/pixmaps/sylpheed.png
share/sylpheed/faq/de/sylpheed-faq-1.html
share/sylpheed/faq/de/sylpheed-faq-2.html
share/sylpheed/faq/de/sylpheed-faq-3.html
@@ -108,4 +110,6 @@
@dirrm share/sylpheed/faq/de
@dirrm share/sylpheed/faq
@dirrm share/sylpheed
+@comment in xdg-dirs: @dirrm share/pixmaps
@dirrm share/examples/sylpheed
+@comment in xdg-dirs: @dirrm share/applications
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/distinfo
--- a/mail/sylpheed/distinfo Sun Jun 29 11:36:01 2008 +0000
+++ b/mail/sylpheed/distinfo Sun Jun 29 11:38:32 2008 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.62 2008/01/03 22:38:41 xtraeme Exp $
+$NetBSD: distinfo,v 1.63 2008/06/29 11:38:32 tnn Exp $
-SHA1 (sylpheed-2.4.8.tar.bz2) = 49a1f4eaa1fd8adce1f0e812abea5058dcb8dcec
-RMD160 (sylpheed-2.4.8.tar.bz2) = 69d6fc05e394b666e78d96cc83ccd302f3de4ceb
-Size (sylpheed-2.4.8.tar.bz2) = 2759841 bytes
+SHA1 (sylpheed-2.5.0.tar.bz2) = d6384669b720c361d1761bbcc5d426e69a1d2bd4
+RMD160 (sylpheed-2.5.0.tar.bz2) = 7514a6b49b4cc399c7926dd4a011bce9566e5971
+Size (sylpheed-2.5.0.tar.bz2) = 2762950 bytes
+SHA1 (patch-aa) = 30305efb899b511b0b3aff50377c7d1b9d6176a8
+SHA1 (patch-ab) = 465f69e8cee24da06089e24eefd3963908aa04be
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/options.mk
--- a/mail/sylpheed/options.mk Sun Jun 29 11:36:01 2008 +0000
+++ b/mail/sylpheed/options.mk Sun Jun 29 11:38:32 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2008/05/30 19:22:46 tnn Exp $
+# $NetBSD: options.mk,v 1.5 2008/06/29 11:38:32 tnn Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.sylpheed
-PKG_SUPPORTED_OPTIONS= jpilot ldap inet6 gpgme # gtkspell
+PKG_SUPPORTED_OPTIONS= jpilot ldap inet6 gpgme gtkspell
PKG_SUGGESTED_OPTIONS= inet6 gpgme
.include "../../mk/bsd.options.mk"
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sylpheed/patches/patch-aa Sun Jun 29 11:38:32 2008 +0000
@@ -0,0 +1,85 @@
+$NetBSD: patch-aa,v 1.5 2008/06/29 11:38:32 tnn Exp $
+
+--- src/compose.c.orig 2008-05-16 11:23:12.000000000 +0200
++++ src/compose.c
+@@ -69,7 +69,7 @@
+ #if USE_GTKSPELL
+ # include <gtk/gtkradiomenuitem.h>
+ # include <gtkspell/gtkspell.h>
+-# include <aspell.h>
++# include <enchant/enchant.h>
+ #endif
+
+ #include <stdio.h>
+@@ -5295,6 +5295,7 @@ static Compose *compose_create(PrefsAcco
+ #ifdef USE_GTKSPELL
+ compose->check_spell = prefs_common.check_spell;
+ compose->spell_lang = g_strdup(prefs_common.spell_lang);
++ compose->spell_dict_list = NULL;
+ compose->spell_menu = spell_menu;
+ #endif /* USE_GTKSPELL */
+
+@@ -5734,26 +5735,30 @@ static void compose_set_out_encoding(Com
+ #if USE_GTKSPELL
+ static void compose_set_spell_lang_menu(Compose *compose)
+ {
+- AspellConfig *config;
+- AspellDictInfoList *dlist;
+- AspellDictInfoEnumeration *dels;
+- const AspellDictInfo *entry;
++ EnchantBroker* eb;
+ GSList *dict_list = NULL, *menu_list = NULL, *cur;
+ GtkWidget *menu;
+ gboolean lang_set = FALSE;
+
+- config = new_aspell_config();
+- dlist = get_aspell_dict_info_list(config);
+- delete_aspell_config(config);
+-
+- dels = aspell_dict_info_list_elements(dlist);
+- while ((entry = aspell_dict_info_enumeration_next(dels)) != 0) {
+- dict_list = g_slist_append(dict_list, (gchar *)entry->name);
+- if (compose->spell_lang != NULL &&
+- g_ascii_strcasecmp(compose->spell_lang, entry->name) == 0)
+- lang_set = TRUE;
++ void enchDictDescCb (const char * const lang_tag,
++ const char * const provider_name,
++ const char * const provider_desc,
++ const char * const provider_file,
++ void * user_data)
++ {
++ dict_list = g_slist_append(dict_list, g_strdup((gchar*)lang_tag));
++ }
++
++ eb = enchant_broker_init();
++ enchant_broker_list_dicts (eb, enchDictDescCb, &dict_list);
++ compose->spell_dict_list = dict_list;
++ enchant_broker_free(eb);
++
++ for (cur = dict_list; cur!=NULL; cur = cur->next) {
++ if (compose->spell_lang != NULL &&
++ g_ascii_strcasecmp(compose->spell_lang, cur->data) == 0)
++ lang_set = TRUE;
+ }
+- delete_aspell_dict_info_enumeration(dels);
+
+ menu = gtk_menu_new();
+
+@@ -5913,6 +5918,7 @@ static void compose_destroy(Compose *com
+ AttachInfo *ainfo;
+ GtkTextBuffer *buffer;
+ GtkClipboard *clipboard;
++ GSList *cur;
+
+ compose_list = g_list_remove(compose_list, compose);
+
+@@ -5924,6 +5930,9 @@ static void compose_destroy(Compose *com
+ address_completion_end(compose->window);
+
+ #if USE_GTKSPELL
++ for (cur = compose->spell_dict_list; cur!=NULL; cur = cur->next) {
++ g_free((gchar*)cur->data);
++ }
+ g_free(compose->spell_lang);
+ #endif
+
diff -r 20a6d8720b83 -r f80aa185cfac mail/sylpheed/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sylpheed/patches/patch-ab Sun Jun 29 11:38:32 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.3 2008/06/29 11:38:32 tnn Exp $
+
+--- src/compose.h.orig 2008-05-08 10:37:28.000000000 +0200
++++ src/compose.h
+@@ -135,6 +135,7 @@ struct _Compose
+ #if USE_GTKSPELL
+ GtkWidget *spell_menu;
+ gchar *spell_lang;
++ GSList *spell_dict_list;
+ gboolean check_spell;
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index