mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-21 18:45:51 +01:00
Added custom ebuild for gajim (OTR branch) and required library (libasyncns
bindings), added patch for sylpheed 2.7.x, to introduce menu key on folder list.
This commit is contained in:
6
mail-client/sylpheed/Manifest
Normal file
6
mail-client/sylpheed/Manifest
Normal file
@@ -0,0 +1,6 @@
|
||||
AUX sylpheed-2.4-firefox.diff 612 RMD160 67c11c67c4c4b506215780a28d462f729d28fd21 SHA1 499d8de33f4daf252efeadb362ebceb52217b648 SHA256 cc9b955cb5f6b0276265caff123a13345439ee5a5ca6ab49303f5e141ba359d8
|
||||
AUX sylpheed-2.5-enchant.diff 657 RMD160 60a9f01e855283860606ff39d7efceab24f94f22 SHA1 8c2a0b08ab739dc35d57edcbb6a3a29f5c25f6b0 SHA256 b47b4829cfe20215c6daf3a80a2b3ba1afbf529ca3212986246316e9655fefab
|
||||
AUX sylpheed-2.7-menu_key.diff 861 RMD160 95bd944fddcfb1ac39793c472c69a57e2f234c7a SHA1 2a109d668638dca054ff17a56423bcb3d0c8291c SHA256 8c2f157789ecc5b7a29ae7a77c98db552d1f5e153175270e52a3be6a672e76dc
|
||||
AUX sylpheed-2.7-shared-mime-info.diff 1537 RMD160 281d4e57483ec5a4ea47b0449b2da643d9ec1393 SHA1 d828c1aa80cccc4c6ca00daf21b35fc1fbee6889 SHA256 9cf57d8e0750df6ef11a3107c119295fa1cc721e029be3fb4777e004b2174428
|
||||
DIST sylpheed-2.7.1.tar.bz2 2903079 RMD160 270607ebb48c2a2426472ddfa352021db634d0f7 SHA1 79013505355a9d359bbb3147f1916499abe1ab0e SHA256 8bb6457db4e2eea1877b487d9ac8513546372db9a6a2e4271d11229f4af84e23
|
||||
EBUILD sylpheed-2.7.1-r99.ebuild 1608 RMD160 f9f1b1f32645658fe7dabf4bda8b5d8ee5179037 SHA1 592fb856427e30313c35f8a041ce293723e167af SHA256 92e165839fc586dee9ffe60c6fa3d50781a6ee1dfdad6ef40e59beefe0d0c171
|
||||
12
mail-client/sylpheed/files/sylpheed-2.4-firefox.diff
Normal file
12
mail-client/sylpheed/files/sylpheed-2.4-firefox.diff
Normal 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
|
||||
17
mail-client/sylpheed/files/sylpheed-2.5-enchant.diff
Normal file
17
mail-client/sylpheed/files/sylpheed-2.5-enchant.diff
Normal file
@@ -0,0 +1,17 @@
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- configure.in (revision 2022)
|
||||
+++ configure.in (working copy)
|
||||
@@ -266,11 +266,7 @@
|
||||
AC_MSG_RESULT(yes)
|
||||
CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gtkspell-2.0`"
|
||||
LIBS="$LIBS `$PKG_CONFIG --libs gtkspell-2.0`"
|
||||
- if $PKG_CONFIG --atleast-version 2.0.13 gtkspell-2.0 ; then
|
||||
- AC_DEFINE(USE_ENCHANT, 1, Use Enchant with GtkSpell)
|
||||
- elif $PKG_CONFIG --atleast-version 2.0.12 gtkspell-2.0 ; then
|
||||
- LIBS="$LIBS -laspell"
|
||||
- fi
|
||||
+ AC_DEFINE(USE_ENCHANT, 1, Use Enchant with GtkSpell)
|
||||
AC_DEFINE(USE_GTKSPELL, 1, Use GtkSpell in editor)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
32
mail-client/sylpheed/files/sylpheed-2.7-menu_key.diff
Normal file
32
mail-client/sylpheed/files/sylpheed-2.7-menu_key.diff
Normal file
@@ -0,0 +1,32 @@
|
||||
--- sylpheed-2.7.1_orig/src/folderview.c 2009-06-15 06:35:28.000000000 +0200
|
||||
+++ sylpheed-2.7.1/src/folderview.c 2010-07-23 21:53:07.000000000 +0200
|
||||
@@ -1634,8 +1634,9 @@
|
||||
|
||||
if (!event) return FALSE;
|
||||
|
||||
- if (event->button != 3)
|
||||
- return FALSE;
|
||||
+ // Show context menu
|
||||
+ //if (event->button != 3)
|
||||
+ // return FALSE;
|
||||
|
||||
if (!gtk_tree_selection_get_selected
|
||||
(folderview->selection, NULL, &iter))
|
||||
@@ -1879,6 +1880,17 @@
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
+ case GDK_Menu:
|
||||
+ // Show context menu
|
||||
+ if (folderview->selected) {
|
||||
+ selected = gtk_tree_row_reference_get_path
|
||||
+ (folderview->selected);
|
||||
+ gtk_tree_selection_select_path(folderview->selection, selected);
|
||||
+ folderview_menu_popup(folderview, event);
|
||||
+ gtk_tree_path_free(selected);
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+ break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
Index: libsylph/procmime.c
|
||||
===================================================================
|
||||
--- libsylph/procmime.c (revision 2195)
|
||||
+++ libsylph/procmime.c (working copy)
|
||||
@@ -1483,6 +1483,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) {
|
||||
debug_print("mime.types not found\n");
|
||||
return NULL;
|
||||
@@ -1535,7 +1538,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++;
|
||||
@@ -1548,7 +1551,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
|
||||
@@ -1560,7 +1563,7 @@
|
||||
fclose(fp);
|
||||
|
||||
if (!list)
|
||||
- g_warning("Can't read mime.types\n");
|
||||
+ g_warning("Can't read %s\n", file);
|
||||
|
||||
return list;
|
||||
}
|
||||
Index: libsylph/Makefile.am
|
||||
===================================================================
|
||||
--- libsylph/Makefile.am (revision 2195)
|
||||
+++ libsylph/Makefile.am (working copy)
|
||||
@@ -2,7 +2,8 @@
|
||||
AM_CPPFLAGS = \
|
||||
-DG_LOG_DOMAIN=\"LibSylph\" \
|
||||
-DSYSCONFDIR=\""$(sysconfdir)"\" \
|
||||
- -DLOCALEDIR=\""$(localedir)"\"
|
||||
+ -DLOCALEDIR=\""$(localedir)"\" \
|
||||
+ -DDATADIR=\""$(datadir)"\"
|
||||
|
||||
INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir) -I$(includedir)
|
||||
|
||||
74
mail-client/sylpheed/sylpheed-2.7.1-r99.ebuild
Normal file
74
mail-client/sylpheed/sylpheed-2.7.1-r99.ebuild
Normal file
@@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed/sylpheed-2.7.1.ebuild,v 1.2 2010/03/13 16:03:24 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 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
|
||||
COMMON_DEPEND=">=x11-libs/gtk+-2.4
|
||||
nls? ( >=sys-devel/gettext-0.12.1 )
|
||||
crypt? ( >=app-crypt/gpgme-1 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pda? ( app-pda/jpilot )
|
||||
spell? ( app-text/gtkspell )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/pkgconfig
|
||||
xface? ( >=media-libs/compface-1.4 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-misc/mime-types
|
||||
net-misc/curl
|
||||
x11-misc/shared-mime-info"
|
||||
|
||||
AT_M4DIR="ac"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.[457]-*.diff
|
||||
|
||||
use crypt || cp ac/missing/gpgme.m4 ac
|
||||
|
||||
eautoreconf
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
local htmldir=/usr/share/doc/${PF}/html
|
||||
|
||||
econf \
|
||||
$(use_enable crypt gpgme) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable ldap) \
|
||||
$(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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user