summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/gnubiff
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/gnubiff')
-rw-r--r--net-mail/gnubiff/Manifest1
-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/files/gnubiff-2.2.15-underlink.patch12
-rw-r--r--net-mail/gnubiff/gnubiff-2.2.15-r2.ebuild51
-rw-r--r--net-mail/gnubiff/metadata.xml11
6 files changed, 106 insertions, 0 deletions
diff --git a/net-mail/gnubiff/Manifest b/net-mail/gnubiff/Manifest
new file mode 100644
index 000000000000..cee6a6c5147e
--- /dev/null
+++ b/net-mail/gnubiff/Manifest
@@ -0,0 +1 @@
+DIST gnubiff-2.2.15.tar.gz 851638 SHA256 1565af4084f1f6335ab4df412e60bca14591cc2ca35db60d950972b7240f80d9 SHA512 592a9934f34cec65869bef6bb7a488fd1a44515d513e47b440a36ef15ff9c44dbedb33c27e375ac6cc9590d9a0f02b315307913059f3d7e44ee64a87d95f52c4 WHIRLPOOL ac04fdb2aab577cc93df5aeef82ea3a93200728d6fbc0bdd3172dda011aad5507b6b448515dda1b1d855b2074891afb7ac983f5bfafbd6af2d31d7a5d72c8274
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/files/gnubiff-2.2.15-underlink.patch b/net-mail/gnubiff/files/gnubiff-2.2.15-underlink.patch
new file mode 100644
index 000000000000..a3f8ee9c75d8
--- /dev/null
+++ b/net-mail/gnubiff/files/gnubiff-2.2.15-underlink.patch
@@ -0,0 +1,12 @@
+Bug #456302
+--- configure.ac 2013-02-15 13:15:01.306855243 +0200
++++ configure.ac 2013-02-15 13:20:07.921188143 +0200
+@@ -120,6 +120,8 @@
+ dnl needed for gold
+ AC_CHECK_LIB([X11],[XSync])
+
++AC_CHECK_LIB([gthread-2.0],[g_thread_init])
++
+ dnl GLIB, GTK, ...
+ GTK_REQUIRED="gtk+-3.0 >= 3.0.0"
+ GMODULE_REQUIRED="gmodule-export-2.0 >= 2.4"
diff --git a/net-mail/gnubiff/gnubiff-2.2.15-r2.ebuild b/net-mail/gnubiff/gnubiff-2.2.15-r2.ebuild
new file mode 100644
index 000000000000..63e2f340fb1d
--- /dev/null
+++ b/net-mail/gnubiff/gnubiff-2.2.15-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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 nls password"
+
+RDEPEND="
+ >=x11-libs/gtk+-3:3
+ >=gnome-base/libglade-2.3
+ dev-libs/popt
+ password? ( dev-libs/openssl )
+ fam? ( virtual/fam )
+ x11-proto/xproto
+ x11-libs/libX11
+ x11-libs/pango
+ x11-libs/gdk-pixbuf
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+DOCS="AUTHORS ChangeLog NEWS README THANKS TODO"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-fix-nls.patch \
+ "${FILESDIR}"/${P}-gold.patch \
+ "${FILESDIR}"/${P}-underlink.patch
+ eautoreconf
+}
+
+src_configure() {
+ # note: --disable-gnome is to avoid deprecated gnome-panel-2.x
+ econf \
+ --disable-gnome \
+ $(use_enable debug) \
+ $(use_enable nls) \
+ $(use_enable fam) \
+ $(use_with password) \
+ $(use_with password password-string ${RANDOM}${RANDOM}${RANDOM}${RANDOM})
+}
diff --git a/net-mail/gnubiff/metadata.xml b/net-mail/gnubiff/metadata.xml
new file mode 100644
index 000000000000..2c860c575d34
--- /dev/null
+++ b/net-mail/gnubiff/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-mail</herd>
+ <use>
+ <flag name="password">Enable save passwords to connect mail servers in user space</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gnubiff</remote-id>
+ </upstream>
+</pkgmetadata>