summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-03-05 14:02:31 +0000
committerEray Aslan <eras@gentoo.org>2012-03-05 14:02:31 +0000
commitb1ab0680c18875d6e5723080a1be8f5bd7f73c69 (patch)
treef7381fd2ab52efc6e64077bd1799249f831a600a /net-mail
parentRevision bump to force rebuild against -r3 of libixp wrt #393299 (diff)
downloadgentoo-2-b1ab0680c18875d6e5723080a1be8f5bd7f73c69.tar.gz
gentoo-2-b1ab0680c18875d6e5723080a1be8f5bd7f73c69.tar.bz2
gentoo-2-b1ab0680c18875d6e5723080a1be8f5bd7f73c69.zip
version bump
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/gnubiff/ChangeLog8
-rw-r--r--net-mail/gnubiff/files/gnubiff-2.2.15-fix-nls.patch14
-rw-r--r--net-mail/gnubiff/files/gnubiff-2.2.15-gold.patch17
-rw-r--r--net-mail/gnubiff/gnubiff-2.2.15.ebuild48
4 files changed, 86 insertions, 1 deletions
diff --git a/net-mail/gnubiff/ChangeLog b/net-mail/gnubiff/ChangeLog
index 34f2fa815d11..773093a2db7f 100644
--- a/net-mail/gnubiff/ChangeLog
+++ b/net-mail/gnubiff/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/gnubiff
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/ChangeLog,v 1.38 2012/01/16 17:17:10 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/ChangeLog,v 1.39 2012/03/05 14:02:30 eras Exp $
+
+*gnubiff-2.2.15 (05 Mar 2012)
+
+ 05 Mar 2012; Eray Aslan <eras@gentoo.org> +gnubiff-2.2.15.ebuild,
+ +files/gnubiff-2.2.15-fix-nls.patch, +files/gnubiff-2.2.15-gold.patch:
+ version bump
*gnubiff-2.2.13-r3 (16 Jan 2012)
diff --git a/net-mail/gnubiff/files/gnubiff-2.2.15-fix-nls.patch b/net-mail/gnubiff/files/gnubiff-2.2.15-fix-nls.patch
new file mode 100644
index 000000000000..db83cde41676
--- /dev/null
+++ b/net-mail/gnubiff/files/gnubiff-2.2.15-fix-nls.patch
@@ -0,0 +1,14 @@
+--- src/nls.h 2009-01-01 16:45:39.000000000 -0800
++++ src/nls.h 2010-10-01 17:13:03.595458860 -0700
+@@ -49,11 +49,6 @@
+ #else
+ # define _(String) (String)
+ # define N_(String) (String)
+-# define textdomain(String) (String)
+-# define gettext(String) (String)
+-# define dgettext(Domain,String) (String)
+-# define dcgettext(Domain,String,Type) (String)
+-# define bindtextdomain(Domain,Directory) (Domain)
+ #endif
+
+ #endif
diff --git a/net-mail/gnubiff/files/gnubiff-2.2.15-gold.patch b/net-mail/gnubiff/files/gnubiff-2.2.15-gold.patch
new file mode 100644
index 000000000000..fa31316671fd
--- /dev/null
+++ b/net-mail/gnubiff/files/gnubiff-2.2.15-gold.patch
@@ -0,0 +1,17 @@
+Author: Eray Aslan <eras@gentoo.org>
+Date: Sat Jun 4 19:54:16 2011 +0000
+
+ do not underlink - needed for gold
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -117,6 +117,9 @@ AC_CHECK_LIB(ssl, AES_encrypt, AC_DEFINE_UNQUOTED(HAVE_AES, 1,
+ Define to 1 if AES encryption is available), [
+ AC_CHECK_LIB(crypto, AES_encrypt, AC_DEFINE_UNQUOTED(HAVE_AES, 1))])
+
++dnl needed for gold
++AC_CHECK_LIB([X11],[XSync])
++
+ dnl GLIB, GTK, ...
+ GTK_REQUIRED="gtk+-2.0 >= 2.6"
+ GDK_PIXBUF_REQUIRED="gdk-pixbuf-2.0 >= 2.4"
diff --git a/net-mail/gnubiff/gnubiff-2.2.15.ebuild b/net-mail/gnubiff/gnubiff-2.2.15.ebuild
new file mode 100644
index 000000000000..642e4b78346e
--- /dev/null
+++ b/net-mail/gnubiff/gnubiff-2.2.15.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/gnubiff-2.2.15.ebuild,v 1.1 2012/03/05 14:02:31 eras Exp $
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="A mail notification program"
+HOMEPAGE="http://gnubiff.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug fam gnome nls password"
+
+RDEPEND=">=x11-libs/gtk+-3:3
+ >=gnome-base/libglade-2.3
+ dev-libs/popt
+ password? ( dev-libs/openssl )
+ fam? ( virtual/fam )
+ gnome? ( >=gnome-base/gnome-panel-3.0 )
+ x11-proto/xproto
+ x11-libs/libX11
+ x11-libs/pango
+ x11-libs/gdk-pixbuf"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README THANKS TODO"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-fix-nls.patch \
+ "${FILESDIR}"/${P}-gold.patch
+ eautoreconf
+}
+
+src_configure() {
+ # note: --disable-gnome is to avoid deprecated gnome-panel-2.x
+ econf \
+ $(use_enable debug) \
+ $(use_enable gnome) \
+ $(use_enable nls) \
+ $(use_enable fam) \
+ $(use_with password) \
+ $(use_with password password-string ${RANDOM}${RANDOM}${RANDOM}${RANDOM})
+}