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 /x11-plugins/wmail
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 'x11-plugins/wmail')
-rw-r--r--x11-plugins/wmail/Manifest1
-rw-r--r--x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch12
-rw-r--r--x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch26
-rw-r--r--x11-plugins/wmail/metadata.xml5
-rw-r--r--x11-plugins/wmail/wmail-2.0-r3.ebuild45
5 files changed, 89 insertions, 0 deletions
diff --git a/x11-plugins/wmail/Manifest b/x11-plugins/wmail/Manifest
new file mode 100644
index 000000000000..cf268db718f8
--- /dev/null
+++ b/x11-plugins/wmail/Manifest
@@ -0,0 +1 @@
+DIST wmail-2.0.tar.gz 46468 RMD160 5901792368a309734c80333dd14dcee427151d8d SHA1 1495c8188122a4f29d1b0db7ad4a6ee27a5156db SHA256 edcf77bf6a638b96dbd78efe4802d260a68385ab2deb6d6774e325ea0cd3d245
diff --git a/x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch b/x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch
new file mode 100644
index 000000000000..c39329286a57
--- /dev/null
+++ b/x11-plugins/wmail/files/wmail-2.0.maildir-parse-from.patch
@@ -0,0 +1,12 @@
+--- src/wmail.c 2007-01-26 19:17:08.000000000 +0100
++++ src/wmail.c.new 2007-01-26 19:17:02.000000000 +0100
+@@ -871,6 +871,9 @@
+ InsertName( ParseFromField( buf+6 ), checksum,
+ isNewMail ? FLAG_INITIAL : FLAG_READ );
+
++ // got name, address: do not parse the rest of email
++ break;
++
+ //++numMails;
+ }
+ }
diff --git a/x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch b/x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch
new file mode 100644
index 000000000000..b9202b36d3f4
--- /dev/null
+++ b/x11-plugins/wmail/files/wmail-2.0.support-libdockapp-0.5.0.patch
@@ -0,0 +1,26 @@
+--- configure 2002-08-12 22:59:48.000000000 +0200
++++ configure 2004-08-31 15:42:52.979115744 +0200
+@@ -2386,8 +2386,8 @@
+ fi
+
+ echo $ac_n "checking for DAInitialize in -ldockapp""... $ac_c" 1>&6
+-echo "configure:2390: checking for DAInitialize in -ldockapp" >&5
+-ac_lib_var=`echo dockapp'_'DAInitialize | sed 'y%./+-%__p_%'`
++echo "configure:2390: checking for DAOpenDisplay in -ldockapp" >&5
++ac_lib_var=`echo dockapp'_'DAOpenDisplay | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+@@ -2399,10 +2399,10 @@
+ /* Override any gcc2 internal prototype to avoid an error. */
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+-char DAInitialize();
++char DAOpenDisplay();
+
+ int main() {
+-DAInitialize()
++DAOpenDisplay()
+ ; return 0; }
+ EOF
+ if { (eval echo configure:2409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
diff --git a/x11-plugins/wmail/metadata.xml b/x11-plugins/wmail/metadata.xml
new file mode 100644
index 000000000000..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmail/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-dock</herd>
+</pkgmetadata>
diff --git a/x11-plugins/wmail/wmail-2.0-r3.ebuild b/x11-plugins/wmail/wmail-2.0-r3.ebuild
new file mode 100644
index 000000000000..af6b97791298
--- /dev/null
+++ b/x11-plugins/wmail/wmail-2.0-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="Window Maker dock application showing incoming mail"
+HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/70"
+SRC_URI="http://www.minet.uni-jena.de/~topical/sveng/wmail/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libdockapp"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.1.4-r1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}.support-libdockapp-0.5.0.patch
+
+ # make from parsing in maildir format faster, thanks
+ # to Stanislav Kuchar
+ epatch "${FILESDIR}"/${P}.maildir-parse-from.patch
+
+ # fix LDFLAGS ordering, see bug #248620
+ sed -i 's/$(LIBS) -o $@ $^/-o $@ $^ $(LIBS)/' "${S}/src/Makefile.in"
+
+ # Honour Gentoo LDFLAGS, see bug #337407
+ sed -i 's/-o $@ $^ $(LIBS)/$(LDFLAGS) -o $@ $^ $(LIBS)/' "${S}/src/Makefile.in"
+}
+
+src_compile() {
+ econf --enable-delt-xpms || die "econf failed."
+ emake || die "emake failed."
+}
+
+src_install() {
+ dobin src/wmail
+ dodoc README wmailrc-sample
+}