diff --git a/network/mail/sylpheed/actions.py b/network/mail/sylpheed/actions.py new file mode 100644 index 0000000000..9e7daad701 --- /dev/null +++ b/network/mail/sylpheed/actions.py @@ -0,0 +1,39 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +docdir = '/%s/%s' % (get.docDIR(), get.srcNAME()) + +def setup(): + pisitools.dosed("sylpheed.desktop", "Icon=sylpheed", "Icon=sylpheed-128x128") + autotools.configure("--enable-ldap \ + --enable-compface \ + --disable-updatecheck \ + --disable-updatecheckplugin \ + --disable-static \ + --with-manualdir=%s \ + --with-faqdir=%s" % (docdir, docdir)) + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodir("/usr/share/pixmaps") + pisitools.insinto("/usr/share/pixmaps", "*.png") + + pisitools.insinto("/usr/share/applications", "sylpheed.desktop") + pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS*", "README*", "TODO*", "PLUGIN.txt", "ABOUT-NLS") + + pisitools.dodir("/usr/lib/sylpheed/plugins") + pisitools.insinto("/usr/lib/sylpheed/plugins", "plugin/attachment_tool/.libs/attachment_tool.so") + + for lang in ["en", "de", "es", "fr", "it", "ja"]: + pisitools.domove("/usr/share/doc/sylpheed/%s" % lang, "/usr/share/doc/sylpheed/html/") diff --git a/network/mail/sylpheed/files/add-xdg-support.patch b/network/mail/sylpheed/files/add-xdg-support.patch new file mode 100644 index 0000000000..f376abddf6 --- /dev/null +++ b/network/mail/sylpheed/files/add-xdg-support.patch @@ -0,0 +1,81 @@ +Index: sylpheed-3.1.1/libsylph/procmime.c +=================================================================== +--- sylpheed-3.1.1.orig/libsylph/procmime.c ++++ sylpheed-3.1.1/libsylph/procmime.c +@@ -1685,74 +1685,13 @@ static GList *procmime_parse_mailcap(con + + gint procmime_execute_open_file(const gchar *file, const gchar *mime_type) + { +- gchar *mime_type_ = NULL; +- GList *cur; +- MailCap *mailcap; + gchar *cmdline; + gint ret = -1; +- static gboolean mailcap_list_init = FALSE; + + g_return_val_if_fail(file != NULL, -1); + +- if (!mime_type || +- g_ascii_strcasecmp(mime_type, "application/octet-stream") == 0) { +- gchar *tmp; +- tmp = procmime_get_mime_type(file); +- if (!tmp) +- return -1; +- mime_type_ = g_ascii_strdown(tmp, -1); +- g_free(tmp); +- } else +- mime_type_ = g_ascii_strdown(mime_type, -1); +- +- if (!mailcap_list_init && !mailcap_list) { +- GList *list; +- gchar *path; +- +- path = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, "mailcap", +- NULL); +- mailcap_list = procmime_parse_mailcap(path); +- g_free(path); +-#ifdef G_OS_WIN32 +- path = g_strconcat(get_startup_dir(), G_DIR_SEPARATOR_S "etc" +- G_DIR_SEPARATOR_S "mailcap", NULL); +- list = procmime_parse_mailcap(path); +- g_free(path); +-#else +- if (!mailcap_list) { +- path = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S, +- ".mailcap", NULL); +- mailcap_list = procmime_parse_mailcap(path); +- g_free(path); +- } +- list = procmime_parse_mailcap(SYSCONFDIR "/mailcap"); +- if (!list) +- list = procmime_parse_mailcap("/etc/mailcap"); +-#endif +- mailcap_list = g_list_concat(mailcap_list, list); +- +- mailcap_list_init = TRUE; +- } +- +- for (cur = mailcap_list; cur != NULL; cur = cur->next) { +- mailcap = (MailCap *)cur->data; +- +- if (!g_pattern_match_simple(mailcap->mime_type, mime_type_)) +- continue; +- if (mailcap->needs_terminal) +- continue; +- +- if (str_find_format_times(mailcap->cmdline_fmt, 's') == 1) +- cmdline = g_strdup_printf(mailcap->cmdline_fmt, file); +- else +- cmdline = g_strconcat(mailcap->cmdline_fmt, " \"", file, +- "\"", NULL); +- ret = execute_command_line(cmdline, TRUE); +- g_free(cmdline); +- break; +- } +- +- g_free(mime_type_); ++ cmdline = g_strdup_printf("/usr/bin/xdg-open '%s'", file); ++ ret = execute_command_line(cmdline, TRUE); + + return ret; + } diff --git a/network/mail/sylpheed/files/sendmail_accelerator.patch b/network/mail/sylpheed/files/sendmail_accelerator.patch new file mode 100644 index 0000000000..202bec7251 --- /dev/null +++ b/network/mail/sylpheed/files/sendmail_accelerator.patch @@ -0,0 +1,11 @@ +--- sylpheed-3.1.1/src/compose.c 2011-03-16 06:04:50.000000000 +0200 ++++ sylpheed-3.1.0/src/compose.c 2011-01-07 08:35:22.000000000 +0200 +@@ -576,7 +576,7 @@ + static GtkItemFactoryEntry compose_entries[] = + { + {N_("/_File"), NULL, NULL, 0, ""}, +- {N_("/_File/_Send"), "E", ++ {N_("/_File/_Send"), "Return", + compose_send_cb, 0, NULL}, + {N_("/_File/Send _later"), "S", + compose_send_later_cb, 0, NULL}, diff --git a/network/mail/sylpheed/pspec.xml b/network/mail/sylpheed/pspec.xml new file mode 100644 index 0000000000..56d805678f --- /dev/null +++ b/network/mail/sylpheed/pspec.xml @@ -0,0 +1,122 @@ + + + + + sylpheed + http://sylpheed.sraoss.jp/en/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + sylpheed-128x128 + app:gui + A lightweight email client and newsreader + Sylpheed is a simple and lightweight but featureful and easy-to-use e-mail client. + http://sylpheed.sraoss.jp/sylpheed/v3.5/sylpheed-3.5.1.tar.bz2 + + shared-mime-info + gtk2-devel + gpgme-devel + openldap-client + compface-devel + gtkspell-devel + enchant-devel + pango-devel + cairo-devel + atk-devel + fontconfig-devel + libgpg-error-devel + gdk-pixbuf-devel + + + sendmail_accelerator.patch + + + add-xdg-support.patch + + + + + sylpheed-docs + data:doc + Documentation files for sylpheed + + sylpheed + + + /usr/share/doc/sylpheed/html + + + + + sylpheed + + shared-mime-info + gtk2 + gpgme + openldap-client + compface + gtkspell + enchant + pango + cairo + atk + fontconfig + gdk-pixbuf + dbus + glib2 + openssl + freetype + dbus-glib + + + /usr/bin + /usr/share/doc/sylpheed + /usr/share/locale + /usr/lib + /usr/share/pixmaps + /usr/share/applications + + + + + sylpheed-devel + library + Development files for sylpheed + + /usr/include/sylpheed + + + + + + 2017-01-28 + 3.5.1 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2015-02-13 + 3.4.2 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-01-13 + 3.3.0 + Version Bump + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-09-03 + 3.2.0 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + diff --git a/network/mail/sylpheed/translations.xml b/network/mail/sylpheed/translations.xml new file mode 100644 index 0000000000..93f5c054d9 --- /dev/null +++ b/network/mail/sylpheed/translations.xml @@ -0,0 +1,21 @@ + + + + sylpheed + Hafif ve hızlı bir e-posta ve haber okuyucu + Szybki klient poczty bazujący na GTK+ + GTK+ tabanlı, X-Window Sistemi üzerinde çalışan bir e-posta ve haber istemcisi. + Szybki klient poczty z przyjaznym, intuicyjnym interfejsem użytkownika. + + + + sylpheed-devel + sylpheed için geliştirme dosyaları + Pliki nagłówkowe sylpheed + + + + sylpheed-docs + sylpheed için belgelendirme dosyaları + + diff --git a/pisi-index.xml b/pisi-index.xml index 2dafcbadbc..f1595c104e 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -115134,6 +115134,129 @@ complete albums that you have purchased from Amazon. + + + sylpheed + http://sylpheed.sraoss.jp/en/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:gui + network.mail + A lightweight email client and newsreader + Hafif ve hızlı bir e-posta ve haber okuyucu + Szybki klient poczty bazujący na GTK+ + Sylpheed is a simple and lightweight but featureful and easy-to-use e-mail client. + GTK+ tabanlı, X-Window Sistemi üzerinde çalışan bir e-posta ve haber istemcisi. + Szybki klient poczty z przyjaznym, intuicyjnym interfejsem użytkownika. + sylpheed-128x128 + http://sylpheed.sraoss.jp/sylpheed/v3.5/sylpheed-3.5.1.tar.bz2 + + shared-mime-info + gtk2-devel + gpgme-devel + openldap-client + compface-devel + gtkspell-devel + enchant-devel + pango-devel + cairo-devel + atk-devel + fontconfig-devel + libgpg-error-devel + gdk-pixbuf-devel + + + sendmail_accelerator.patch + add-xdg-support.patch + + network/mail/sylpheed/pspec.xml + + + sylpheed-docs + Documentation files for sylpheed + sylpheed için belgelendirme dosyaları + data:doc + + sylpheed + + + /usr/share/doc/sylpheed/html + + + + sylpheed + + shared-mime-info + gtk2 + gpgme + openldap-client + compface + gtkspell + enchant + pango + cairo + atk + fontconfig + gdk-pixbuf + dbus + glib2 + openssl + freetype + dbus-glib + + + /usr/bin + /usr/share/doc/sylpheed + /usr/share/locale + /usr/lib + /usr/share/pixmaps + /usr/share/applications + + + + sylpheed-devel + Development files for sylpheed + sylpheed için geliştirme dosyaları + Pliki nagłówkowe sylpheed + library + + /usr/include/sylpheed + + + + + 2017-01-28 + 3.5.1 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2015-02-13 + 3.4.2 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2014-01-13 + 3.3.0 + Version Bump + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-09-03 + 3.2.0 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + libpcap diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index fe999d8117..49dc96c0cc 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -36b22d9787a0ed39c09f36965f61c22ec1131c37 \ No newline at end of file +84c2efb5fac8b519bb8a4498c8d6adc16baaee88 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index b4c2e42488..036131869c 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 26135f33a7..6866e1a519 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -2d261216f9d809f64243311da052951898f9ceff \ No newline at end of file +7a01c21978f1f59c78cd30766f8265beda66a0f0 \ No newline at end of file