1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-05 13:24:17 +01:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
AUX sylpheed-1.0-namespace.diff 469 RMD160 53b94f4dd57a05e45cb849cfdf85d6d2c56815af SHA1 2c72ea30bf151b32528dd32c59514af1b08c5b79 SHA256 b69cb581466387bbeeec8974fb8db73ab5060da37da8b0793c7c0560fa8b6897
MD5 f61096b312b38b3482c888702632f999 files/sylpheed-1.0-namespace.diff 469
RMD160 53b94f4dd57a05e45cb849cfdf85d6d2c56815af files/sylpheed-1.0-namespace.diff 469
SHA256 b69cb581466387bbeeec8974fb8db73ab5060da37da8b0793c7c0560fa8b6897 files/sylpheed-1.0-namespace.diff 469
AUX sylpheed-1.0-procmime.diff 1041 RMD160 fb2fbbf485bde9b04a3c9bd25f73ffac4b39d04f SHA1 acb91b47683f99507b457af12cd293a1fb212ee2 SHA256 d161cc446380f6bfacb9160a40ba200793f9b330ea628eece01f2577636b8e22
MD5 ff1e6b6893175ecf49f217329ab880cd files/sylpheed-1.0-procmime.diff 1041
RMD160 fb2fbbf485bde9b04a3c9bd25f73ffac4b39d04f files/sylpheed-1.0-procmime.diff 1041
SHA256 d161cc446380f6bfacb9160a40ba200793f9b330ea628eece01f2577636b8e22 files/sylpheed-1.0-procmime.diff 1041
AUX sylpheed-2.1-shared-mime-info.diff 1637 RMD160 8439c41dbd570dfc37f7a0c268a47c1d263c6dcc SHA1 851f35dd097a26fc245a43117f95839c01f1ff1d SHA256 f1a8ee5c6597a8b31eb8abfdcd5775a56d0c2b4f1fe180abf9c04805d067ea72
MD5 01498a2c484618f1d4c663eac986c55e files/sylpheed-2.1-shared-mime-info.diff 1637
RMD160 8439c41dbd570dfc37f7a0c268a47c1d263c6dcc files/sylpheed-2.1-shared-mime-info.diff 1637
SHA256 f1a8ee5c6597a8b31eb8abfdcd5775a56d0c2b4f1fe180abf9c04805d067ea72 files/sylpheed-2.1-shared-mime-info.diff 1637
AUX sylpheed-2.2-replace-aspell-with-enchant.diff 3197 RMD160 4ddb9215a1c1f95ce00c71884309594403426089 SHA1 0caa97f42a7698b98af47826320a3fb9695298e3 SHA256 69dff1c6b72d83459e3e89b27ceacea4acd5fa9cb6f5a63293593decd9a73277
MD5 0f4074345f62ede519f0b65730e4b762 files/sylpheed-2.2-replace-aspell-with-enchant.diff 3197
RMD160 4ddb9215a1c1f95ce00c71884309594403426089 files/sylpheed-2.2-replace-aspell-with-enchant.diff 3197
SHA256 69dff1c6b72d83459e3e89b27ceacea4acd5fa9cb6f5a63293593decd9a73277 files/sylpheed-2.2-replace-aspell-with-enchant.diff 3197
AUX sylpheed-2.4-firefox.diff 612 RMD160 67c11c67c4c4b506215780a28d462f729d28fd21 SHA1 499d8de33f4daf252efeadb362ebceb52217b648 SHA256 cc9b955cb5f6b0276265caff123a13345439ee5a5ca6ab49303f5e141ba359d8
MD5 fc1e34a1f4b7245c479aee0d895d40a2 files/sylpheed-2.4-firefox.diff 612
RMD160 67c11c67c4c4b506215780a28d462f729d28fd21 files/sylpheed-2.4-firefox.diff 612
SHA256 cc9b955cb5f6b0276265caff123a13345439ee5a5ca6ab49303f5e141ba359d8 files/sylpheed-2.4-firefox.diff 612
DIST sylpheed-1.0.6.tar.gz 3532006 RMD160 be2dad0ea9ff2fafdf16efae4d22a903c2665f68 SHA1 580ac9417e0034c64e0e4ed69afe64d955a3ead8 SHA256 a35c0f49f7c595ea98b94fb7e1b1ca6f64e46e485e8b4eeb50fb9c10c050aef8
DIST sylpheed-2.4.2.tar.bz2 2726890 RMD160 12f740c12b6811629ff90761a2820de0f55d907e SHA1 01b5272b680f9badb04500023449e4abebe4915d SHA256 056318815de84ac38c0ff8efaae2d964d0750988a19982d69162e477019eba19
EBUILD sylpheed-1.0.6.ebuild 1453 RMD160 3ba019ae039410016ea79c920116cb1c6737030c SHA1 48794e7c14b6358883e370b8f49eeceb8950d263 SHA256 670ad539b1c32b425aa847a704226f28cd8421d42b1e3634d64b8a8c20017c22
MD5 370ae3c3e2ef4b834549f515186907d6 sylpheed-1.0.6.ebuild 1453
RMD160 3ba019ae039410016ea79c920116cb1c6737030c sylpheed-1.0.6.ebuild 1453
SHA256 670ad539b1c32b425aa847a704226f28cd8421d42b1e3634d64b8a8c20017c22 sylpheed-1.0.6.ebuild 1453
EBUILD sylpheed-2.4.2.ebuild 1551 RMD160 002fa10b5a3fcf908fe5c064fd601e35b090db31 SHA1 22b7d7e52790642977e7f385c4e2333fd241483f SHA256 70fda5832e62b15fb2f126ba8867fcbe83c7d0be29e5ee2e52d3629e19cd9260
MD5 2e2274021bf1581a24fc5756c328f3bd sylpheed-2.4.2.ebuild 1551
RMD160 002fa10b5a3fcf908fe5c064fd601e35b090db31 sylpheed-2.4.2.ebuild 1551
SHA256 70fda5832e62b15fb2f126ba8867fcbe83c7d0be29e5ee2e52d3629e19cd9260 sylpheed-2.4.2.ebuild 1551
MISC metadata.xml 229 RMD160 e7b8af58013b68717b38eb3a9caa66a4dd9ade19 SHA1 9b1ae8fd78b5f31fd556e38a0eaec1fbb48a2a5b SHA256 011cdd7759602b24f43dfcc25055ff2d87d7c4ad18fef9fa49a6e0b47e5d3326
MD5 ef6023a73b31bf0ffdc6b566841160aa metadata.xml 229
RMD160 e7b8af58013b68717b38eb3a9caa66a4dd9ade19 metadata.xml 229
SHA256 011cdd7759602b24f43dfcc25055ff2d87d7c4ad18fef9fa49a6e0b47e5d3326 metadata.xml 229
MD5 806aa8dfd6b939868647433666c0b73f files/digest-sylpheed-1.0.6 247
RMD160 3d0a0d96dfb03793861bf60778fd22f74ad7f7c8 files/digest-sylpheed-1.0.6 247
SHA256 e309b9b7c0b8f3998cbc4d68759c7ba6a7d76bd1385cb0f5e36a071f904d37ef files/digest-sylpheed-1.0.6 247
MD5 8c9d71db3efb4625165370e927000b2d files/digest-sylpheed-2.4.2 250
RMD160 88d1d873b097b8beda1d5b8becb65eb1a4eed23f files/digest-sylpheed-2.4.2 250
SHA256 f062eace4ebcebc02ea7941d5854036504243bd0e908c4148bf996be8e69eca1 files/digest-sylpheed-2.4.2 250

View File

@@ -0,0 +1,3 @@
MD5 8bc978f173dc2c5a298b6bf59ede3891 sylpheed-1.0.6.tar.gz 3532006
RMD160 be2dad0ea9ff2fafdf16efae4d22a903c2665f68 sylpheed-1.0.6.tar.gz 3532006
SHA256 a35c0f49f7c595ea98b94fb7e1b1ca6f64e46e485e8b4eeb50fb9c10c050aef8 sylpheed-1.0.6.tar.gz 3532006

View File

@@ -0,0 +1,3 @@
MD5 ac0aeeebc320f445beb36ff443ea903a sylpheed-2.4.2.tar.bz2 2726890
RMD160 12f740c12b6811629ff90761a2820de0f55d907e sylpheed-2.4.2.tar.bz2 2726890
SHA256 056318815de84ac38c0ff8efaae2d964d0750988a19982d69162e477019eba19 sylpheed-2.4.2.tar.bz2 2726890

View File

@@ -0,0 +1,14 @@
--- sylpheed-1.0.6/src/imap.c.orig 2005-12-31 12:59:37.000000000 +0100
+++ sylpheed-1.0.6/src/imap.c 2005-12-31 13:01:27.000000000 +0100
@@ -2327,6 +2327,11 @@
folder->ns_others != NULL ||
folder->ns_shared != NULL)
return;
+
+ if (!imap_has_capability(session, "NAMESPACE")) {
+ imap_get_namespace_by_list(session, folder);
+ return;
+ }
if (imap_cmd_namespace(session, &ns_str) != IMAP_SUCCESS) {
log_warning(_("can't get namespace\n"));

View File

@@ -0,0 +1,39 @@
--- sylpheed-1.0.6/src/procmime.c.orig 2005-12-31 13:05:55.000000000 +0100
+++ sylpheed-1.0.6/src/procmime.c 2005-12-31 13:06:54.000000000 +0100
@@ -962,6 +962,9 @@
g_free(dir);
mime_type_list = g_list_concat(mime_type_list, list);
+ list = procmime_get_mime_type_list("/usr/share/mime/globs");
+ mime_type_list = g_list_concat(mime_type_list, list);
+
if (!mime_type_list) {
g_warning("mime.types not found\n");
return NULL;
@@ -1014,7 +1017,7 @@
g_strstrip(buf);
p = buf;
- while (*p && !isspace(*p)) p++;
+ while (*p && !isspace(*p) && (*p != ':')) p++;
if (*p) {
*p = '\0';
p++;
@@ -1027,7 +1030,7 @@
mime_type->type = g_strdup(buf);
mime_type->sub_type = g_strdup(delim + 1);
- while (*p && isspace(*p)) p++;
+ while (*p && (isspace(*p) || (*p == '*') || (*p == '.'))) p++;
if (*p)
mime_type->extension = g_strdup(p);
else
@@ -1039,7 +1042,7 @@
fclose(fp);
if (!list)
- g_warning("Can't read mime.types\n");
+ g_warning("Can't read %s\n", file);
return list;
}

View File

@@ -0,0 +1,53 @@
diff -urN sylpheed-2.1.3.orig/libsylph/Makefile.am sylpheed-2.1.3/libsylph/Makefile.am
--- sylpheed-2.1.3.orig/libsylph/Makefile.am 2005-09-08 16:24:49.000000000 +0900
+++ sylpheed-2.1.3/libsylph/Makefile.am 2005-10-02 20:56:56.940000000 +0900
@@ -1,7 +1,8 @@
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"LibSylph\" \
- -DSYSCONFDIR=\""$(sysconfdir)"\"
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DDATADIR=\""$(datadir)"\"
INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir) -I$(includedir)
diff -urN sylpheed-2.1.3.orig/libsylph/procmime.c sylpheed-2.1.3/libsylph/procmime.c
--- sylpheed-2.1.3.orig/libsylph/procmime.c 2005-09-22 20:18:02.000000000 +0900
+++ sylpheed-2.1.3/libsylph/procmime.c 2005-10-02 20:57:55.920000000 +0900
@@ -1051,6 +1051,9 @@
g_free(dir);
mime_type_list = g_list_concat(mime_type_list, list);
+ list = procmime_get_mime_type_list(DATADIR "/mime/globs");
+ mime_type_list = g_list_concat(mime_type_list, list);
+
if (!mime_type_list) {
g_warning("mime.types not found\n");
return NULL;
@@ -1103,7 +1106,7 @@
g_strstrip(buf);
p = buf;
- while (*p && !g_ascii_isspace(*p)) p++;
+ while (*p && !g_ascii_isspace(*p) && *p != ':') p++;
if (*p) {
*p = '\0';
p++;
@@ -1116,7 +1119,7 @@
mime_type->type = g_strdup(buf);
mime_type->sub_type = g_strdup(delim + 1);
- while (*p && g_ascii_isspace(*p)) p++;
+ while (*p && (g_ascii_isspace(*p) || *p == '*' || *p == '.')) p++;
if (*p)
mime_type->extension = g_strdup(p);
else
@@ -1128,7 +1131,7 @@
fclose(fp);
if (!list)
- g_warning("Can't read mime.types\n");
+ g_warning("Can't read %s\n", file);
return list;
}

View File

@@ -0,0 +1,102 @@
diff -ur sylpheed-2.2.0.orig/src/compose.c sylpheed-2.2.0/src/compose.c
--- sylpheed-2.2.0.orig/src/compose.c 2006-02-07 11:53:05.000000000 +0900
+++ sylpheed-2.2.0/src/compose.c 2006-02-15 23:40:01.000000000 +0900
@@ -64,7 +64,7 @@
#if USE_GTKSPELL
# include <gtk/gtkradiomenuitem.h>
# include <gtkspell/gtkspell.h>
-# include <aspell.h>
+# include <enchant/enchant.h>
#endif
#include <stdio.h>
@@ -459,6 +459,9 @@
GtkWidget *widget);
static void compose_set_spell_lang_cb (GtkWidget *widget,
gpointer data);
+static void compose_list_dicts_cb (const char *lang_tag,
+ const char *provider_name, const char *provider_desc,
+ const char *provider_file, void *user_data);
#endif
static void compose_attach_drag_received_cb (GtkWidget *widget,
@@ -4874,33 +4877,34 @@
}
#if USE_GTKSPELL
+static void compose_list_dicts_cb(const char *lang_tag,
+ const char *provider_name, const char *provider_desc,
+ const char *provider_file, void *user_data)
+{
+ GQueue *queue = (GQueue *)user_data;
+
+ if (g_queue_index(queue, (gconstpointer)lang_tag) == -1) {
+ g_queue_push_tail(queue, g_strdup(lang_tag));
+ }
+}
+
static void compose_set_spell_lang_menu(Compose *compose)
{
- AspellConfig *config;
- AspellDictInfoList *dlist;
- AspellDictInfoEnumeration *dels;
- const AspellDictInfo *entry;
+ EnchantBroker *broker;
+ GQueue *langs;
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;
- }
- delete_aspell_dict_info_enumeration(dels);
+ broker = enchant_broker_init();
+ langs = g_queue_new();
+ enchant_broker_list_dicts(broker, compose_list_dicts_cb, langs);
+ enchant_broker_free(broker);
menu = gtk_menu_new();
- for (cur = dict_list; cur != NULL; cur = cur->next) {
- gchar *dict = (gchar *)cur->data;
+ while (g_queue_get_length(langs) > 0) {
+ gchar *dict = g_queue_pop_head(langs);
GtkWidget *item;
if (dict == NULL) continue;
@@ -4910,13 +4914,16 @@
(GTK_RADIO_MENU_ITEM(item));
if (compose->spell_lang != NULL &&
g_ascii_strcasecmp(compose->spell_lang, dict) == 0)
+ {
gtk_check_menu_item_set_active
(GTK_CHECK_MENU_ITEM(item), TRUE);
+ lang_set = TRUE;
+ }
gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
g_signal_connect(G_OBJECT(item), "activate",
G_CALLBACK(compose_set_spell_lang_cb),
compose);
- g_object_set_data(G_OBJECT(item), "spell-lang", dict);
+ g_object_set_data_full(G_OBJECT(item), "spell-lang", dict, g_free);
gtk_widget_show(item);
if (!lang_set && g_ascii_strcasecmp("en", dict) == 0)
@@ -4924,6 +4931,8 @@
(GTK_CHECK_MENU_ITEM(item), TRUE);
}
+ g_queue_free(langs);
+
gtk_widget_show(menu);
gtk_menu_item_set_submenu(GTK_MENU_ITEM(compose->spell_menu), menu);
}

View File

@@ -0,0 +1,12 @@
diff -Naur sylpheed-2.4.1.orig/libsylph/defs.h sylpheed-2.4.1/libsylph/defs.h
--- sylpheed-2.4.1.orig/libsylph/defs.h 2006-09-22 11:58:56.000000000 +0900
+++ sylpheed-2.4.1/libsylph/defs.h 2007-05-07 17:25:18.000000000 +0900
@@ -92,7 +92,7 @@
/* #define DEFAULT_INC_PATH "/usr/bin/imget" */
/* #define DEFAULT_INC_PROGRAM "imget" */
#define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t -i"
-#define DEFAULT_BROWSER_CMD "mozilla-firefox -remote 'openURL(%s,new-window)'"
+#define DEFAULT_BROWSER_CMD "firefox -remote 'openURL(%s,new-window)'"
#ifdef _PATH_MAILDIR
# define DEFAULT_SPOOL_PATH _PATH_MAILDIR

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>gryf@elysium.pl</email>
<name>Roman Dobosz</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,69 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed/sylpheed-1.0.6.ebuild,v 1.8 2005/11/16 13:30:24 hattya Exp $
inherit eutils
IUSE="crypt gnome ipv6 ldap nls pda ssl xface"
DESCRIPTION="A lightweight email client and newsreader"
HOMEPAGE="http://sylpheed.good-day.net/"
SRC_URI="http://sylpheed.good-day.net/${PN}/v${PV%.*}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
SLOT="0"
PROVIDE="virtual/sylpheed"
DEPEND=">=x11-libs/gtk+-1.2*
!amd64? ( nls? ( >=sys-devel/gettext-0.12.1 ) )
crypt? ( >=app-crypt/gpgme-0.4.5 )
ldap? ( >=net-nds/openldap-2.0.11 )
pda? ( app-pda/jpilot )
ssl? ( dev-libs/openssl )
xface? ( >=media-libs/compface-1.4 )"
RDEPEND="${DEPEND}
app-misc/mime-types
x11-misc/shared-mime-info"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-1.0-namespace.diff
epatch ${FILESDIR}/${PN}-1.0-procmime.diff
}
src_compile() {
econf \
`use_enable nls` \
`use_enable ssl` \
`use_enable crypt gpgme` \
`use_enable pda jpilot` \
`use_enable ldap` \
`use_enable ipv6` \
`use_enable xface compface` \
|| die
emake || die
}
src_install() {
einstall
dodir /usr/share/pixmaps
insinto /usr/share/pixmaps
doins *.png
insinto /usr/share/applications
doins sylpheed.desktop
dodoc AUTHORS COPYING ChangeLog* INSTALL* NEWS* README* TODO*
}

View File

@@ -0,0 +1,72 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed/sylpheed-2.4.1.ebuild,v 1.2 2007/05/12 15:04:04 hattya Exp $
inherit autotools eutils
IUSE="crypt ipv6 ldap nls pda spell ssl xface"
DESCRIPTION="A lightweight email client and newsreader"
HOMEPAGE="http://sylpheed.sraoss.jp/"
SRC_URI="http://sylpheed.sraoss.jp/${PN}/v${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
DEPEND=">=x11-libs/gtk+-2.4
nls? ( >=sys-devel/gettext-0.12.1 )
crypt? ( >=app-crypt/gpgme-0.4.5 )
ldap? ( >=net-nds/openldap-2.0.11 )
pda? ( app-pda/jpilot )
spell? ( app-text/gtkspell )
ssl? ( dev-libs/openssl )
xface? ( >=media-libs/compface-1.4 )"
RDEPEND="${DEPEND}
app-misc/mime-types
x11-misc/shared-mime-info"
AT_M4DIR="ac"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.*.diff
use crypt || cp ac/missing/gpgme.m4 ac
eautomake
}
src_compile() {
local htmldir=/usr/share/doc/${PF}/html
econf \
$(use_enable crypt gpgme) \
$(use_enable ipv6) \
$(use_enable ldap) \
$(use_enable nls) \
$(use_enable pda jpilot) \
$(use_enable spell gtkspell) \
$(use_enable ssl) \
$(use_enable xface compface) \
--with-manualdir=${htmldir}/manual \
--with-faqdir=${htmldir}/faq \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog* NEWS* README* TODO*
doicon *.png
domenu *.desktop
}