summaryrefslogtreecommitdiff
path: root/x11-misc/bbmail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/bbmail
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/bbmail')
-rw-r--r--x11-misc/bbmail/Manifest8
-rw-r--r--x11-misc/bbmail/bbmail-0.9.3-r1.ebuild39
-rw-r--r--x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch45
-rw-r--r--x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch89
-rw-r--r--x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch8
-rw-r--r--x11-misc/bbmail/metadata.xml11
6 files changed, 200 insertions, 0 deletions
diff --git a/x11-misc/bbmail/Manifest b/x11-misc/bbmail/Manifest
new file mode 100644
index 000000000000..a37c157362dd
--- /dev/null
+++ b/x11-misc/bbmail/Manifest
@@ -0,0 +1,8 @@
+AUX bbmail-0.9.3-gcc4.3.patch 1419 SHA256 f3bcc52541f0ee98fb6bff47e920e8a82c94805321dec876e550b01ad7a78c53 SHA512 03ad33beedd9138d8c7d7e276133745bc4117709053d07cf961f0ace59ec64b5013e15591b4205f6073bbb7f8a6e166423dbc0996efaad07e146bece4f30c656 WHIRLPOOL f09b2f294387b2f079d8e1d7d11c3f29dea7fdf1a873448fec5efe9a9c086d79cb51f3ce1a92ca9bf26e4f7ab03a8165809d863831a124d6ff1a01b572d43bfc
+AUX bbmail-0.9.3-gcc4.4.patch 2776 SHA256 d1496056e06ef1772e1f250f305bbff08f8c35492864ac48ea1c5687444e69e0 SHA512 b9e822b518df2f2dab6fd734ece1fdb51f2c3b9c36d6d358f6e1e6709df06c2947923aef963047c809b8d1d9d0e5ef8b4e36fde700a5395183a54c55424eece1 WHIRLPOOL 1be9f2cec612ade8d6afd7c18fa6f3b901d15181104f1df185bb319683231715c315982988ef111038c0316427cd43c38192407dc8df5deb4c0b27a23b368358
+AUX bbmail-0.9.3-shebang.patch 276 SHA256 ba7afa87e10dcc984ccdcec9b268eb5b2a7778ec1e19bd4e5b067d152d52d48e SHA512 3d84c579f461e97f542a1e21fe365c4fa86731dd9af0e4cdfcbe9bfa83c8b0e10f3a18b67515e35046f218c3b704838115d4695b84c8f2b879a90c89d97d8752 WHIRLPOOL 102a751f0bde5cffc8352273a9f5009807e8e5d46926ebc128dd9c856d03c1ad13195e4395ed9848709330e2ff38acd28b8fdf004156f5c27b0ea186e6a7a9bc
+DIST bbmail-0.9.3.tar.gz 186433 SHA256 e992f83d758215e3331f7bfcb5431b6cc8988bc542907de1bca6fe3c8ae9233e SHA512 2c0e22092e08d247edf170e22054b6d108ebf84d3f606ab8e9f1af28154bf4bff26828b5ca55622563eb2cb468d88046d5859b79c0f272895c8785becd69c860 WHIRLPOOL d05117813173c21caa9a147b30ebb72a952d9ed7bc30ffdc22870e66bdcd389b6cf1f1e42543abda6df91af9f13d65fae625a7a702bc7e707efdd1a246bd7b8a
+EBUILD bbmail-0.9.3-r1.ebuild 680 SHA256 2e2de3efa5be3d0b03ac94be19d9e1c10d4a85b759f15c979654542ac7c69fa2 SHA512 c42902719949b4748db7fb10ffc67c8d82fe2ad568e73908dfdab8e2b62a8c53df40bf36b254b81c12f7ab70c13978c30c4cc695983e959f8d645f0645bb9121 WHIRLPOOL 7859f9494275afa4b4dc8078cf8c231e06d4ed9ec4f1f9bef92c1d0838615ff53c844c560c0646d0b48c8f16e049afb4bc13553be90d1f26572fc7b5653da563
+MISC ChangeLog 2735 SHA256 f02f5015b60579835a4dcaa1d72e3bf356b93ec593fa5cc88bd38eb8a9cb39b8 SHA512 721714c94ed681c0b31aea979a707b7e29459d71627edb7f63498f4dd0604b0c09cd8bc4822bf38dd51e42ca170f5c3bd35a29aad3277279bf417ed80c945993 WHIRLPOOL c3187a85f22248abf9d1efefc1ef419c5a36877125e18b60d2aee961833fd809a0759132249409df8a08a69762c77ac364335fd9b0a8a74079ccd438d2b1ec2c
+MISC ChangeLog-2015 3312 SHA256 5bc0f29a56f28dbef8630e870400362b6c40b1f7cf50c20ea213e21db650eaf6 SHA512 117ae4dd989edad0f1454ef721a1173ca667dc5fdd9052045a8abfa2056a628046021d39bd41d1a041592be7a4a6b09ede7ab751e81bec3e4a11c05b40204826 WHIRLPOOL 52e74c061e311af3988508df7e6fd9bc7ef77ae40dedf7b563031fcce11b80b36f3f3ac8a77352eef967728a9e768c4a7b40ec195ba1ba2614c481cfc55a4151
+MISC metadata.xml 324 SHA256 2ce2875da1158a585d9c643998ece0e32005a6df6b229e6922c30c15b920c705 SHA512 a22b46d17d0c950a42a5fa84a7e8fbae3530f4f9f9a14be3a016284254e5cc35026863843fb165e408130e9a3adc66083e44be9aa239b9f02eefb9098824ba3e WHIRLPOOL 8860d7fc53a6e7f08d8b4f2316c2e795c6c98bbee9de8a455ba903db8e9e7f7ec5fe337b4f06375d668717add74bb310ecdd4cd3f776a50640470140d2a5a758
diff --git a/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild
new file mode 100644
index 000000000000..effec90b00f1
--- /dev/null
+++ b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="blackbox mail notification"
+HOMEPAGE="https://sourceforge.net/projects/bbtools"
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ x11-wm/blackbox
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc4.3.patch
+ "${FILESDIR}"/${P}-gcc4.4.patch
+ "${FILESDIR}"/${P}-shebang.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install () {
+ default
+ dobin scripts/bbmailparsefm.pl
+}
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch
new file mode 100644
index 000000000000..f8ccc217db81
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.3.patch
@@ -0,0 +1,45 @@
+Reason: Fix compile with gcc 4.3 and glibc 2.8.
+Upstream: Sent, https://sourceforge.net/tracker/index.php?func=detail&aid=2116825&group_id=54703&atid=474517
+--- bbmail-0.9.3.orig/src/baseresource.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/baseresource.cpp 2008-09-17 22:44:16.000000000 +0200
+@@ -20,6 +20,7 @@
+ //
+
+ #include <string>
++#include <cstring>
+ #include "baseresource.h"
+ #include <stdio.h>
+ #include "Menu.hh"
+--- bbmail-0.9.3.orig/src/bbmail.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/bbmail.cpp 2008-09-17 22:43:49.000000000 +0200
+@@ -22,6 +22,8 @@
+ #include "bbmail.h"
+ #include "config.h"
+ #include <string>
++#include <cstring>
++
+
+ extern "C" {
+ #include <utime.h>
+--- bbmail-0.9.3.orig/src/main.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/main.cpp 2008-09-17 22:42:09.000000000 +0200
+@@ -23,6 +23,8 @@
+ #include "main.h"
+ #include "config.h"
+
++#include <cstring>
++
+ Configuration::Configuration(int iargc, char **iargv)
+ {
+ withdrawn = false;
+--- bbmail-0.9.3.orig/src/resource.cpp 2008-09-17 22:39:58.000000000 +0200
++++ bbmail-0.9.3/src/resource.cpp 2008-09-17 22:44:36.000000000 +0200
+@@ -23,6 +23,8 @@
+ #include "resource.h"
+ #include "blackboxstyle.h"
+
++#include <cstring>
++
+ Resource::Resource(ToolWindow *toolwindow, const std::string &rc_file):
+ BaseResource(*toolwindow, toolwindow->getCurrentScreen(), rc_file),
+ spoolfile(0),
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch
new file mode 100644
index 000000000000..d0f93d921d97
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-gcc4.4.patch
@@ -0,0 +1,89 @@
+diff -ur bbmail-0.9.3.orig/configure.ac bbmail-0.9.3/configure.ac
+--- bbmail-0.9.3.orig/configure.ac 2007-12-03 23:04:11.000000000 +0200
++++ bbmail-0.9.3/configure.ac 2009-07-30 19:24:12.000000000 +0300
+@@ -9,13 +9,11 @@
+ AC_DEFUN(AC_SET_DEBUG,
+ [
+ test "$CXXFLAGS" = "" && CXXFLAGS="-g -Wall -DDEBUG"
+- test "$LDFLAGS" = "" && LDFLAGS=""
+ ])
+
+ AC_DEFUN(AC_SET_NODEBUG,
+ [
+- test "$CXXFLAGS" = "" && CXXFLAGS="-O2 -Wall"
+- test "$LDFLAGS" = "" && LDFLAGS="-s"
++ test "$CXXFLAGS" = "" && CXXFLAGS="-Wall"
+ ])
+
+
+@@ -46,9 +44,9 @@
+
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
+-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
++LIBS="$X_LIBS $X_PRE_LIBS"
+ dnl Checks for X libraries.
+-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
++AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11",
+ AC_MSG_ERROR(XOpenDisplay not found in -lX11))
+
+ dnl Checks for Xextension
+diff -ur bbmail-0.9.3.orig/src/bbmail.cpp bbmail-0.9.3/src/bbmail.cpp
+--- bbmail-0.9.3.orig/src/bbmail.cpp 2007-12-03 23:08:26.000000000 +0200
++++ bbmail-0.9.3/src/bbmail.cpp 2009-07-30 19:20:10.000000000 +0300
+@@ -19,6 +19,8 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstdio>
++
+ #include "bbmail.h"
+ #include "config.h"
+ #include <string>
+diff -ur bbmail-0.9.3.orig/src/mailboxmenu.cpp bbmail-0.9.3/src/mailboxmenu.cpp
+--- bbmail-0.9.3.orig/src/mailboxmenu.cpp 2005-02-01 00:03:37.000000000 +0200
++++ bbmail-0.9.3/src/mailboxmenu.cpp 2009-07-30 19:20:39.000000000 +0300
+@@ -19,6 +19,9 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+ //
++
++#include <cstdio>
++
+ #include "mailboxmenu.h"
+
+ MailboxMenu::MailboxMenu(ToolWindow *toolwindow) :
+diff -ur bbmail-0.9.3.orig/src/main.cpp bbmail-0.9.3/src/main.cpp
+--- bbmail-0.9.3.orig/src/main.cpp 2006-01-20 23:28:08.000000000 +0200
++++ bbmail-0.9.3/src/main.cpp 2009-07-30 19:19:49.000000000 +0300
+@@ -19,6 +19,8 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstdio>
++
+ #include "bbmail.h"
+ #include "main.h"
+ #include "config.h"
+diff -ur bbmail-0.9.3.orig/src/Makefile.am bbmail-0.9.3/src/Makefile.am
+--- bbmail-0.9.3.orig/src/Makefile.am 2005-09-06 23:57:42.000000000 +0300
++++ bbmail-0.9.3/src/Makefile.am 2009-07-30 19:24:39.000000000 +0300
+@@ -10,5 +10,4 @@
+ spoollist.cpp spoollist.h \
+ mailboxmenu.cpp mailboxmenu.h \
+ blackboxstyle.h
+-bbmail_LDADD = @X_LIBS@
+-
++bbmail_LDADD = @LIBS@
+diff -ur bbmail-0.9.3.orig/src/resource.cpp bbmail-0.9.3/src/resource.cpp
+--- bbmail-0.9.3.orig/src/resource.cpp 2007-08-28 19:47:19.000000000 +0300
++++ bbmail-0.9.3/src/resource.cpp 2009-07-30 19:20:00.000000000 +0300
+@@ -19,6 +19,8 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+
++#include <cstdio>
++
+ #include "bbmail.h"
+ #include "resource.h"
+ #include "blackboxstyle.h"
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch
new file mode 100644
index 000000000000..98ceae80e1a3
--- /dev/null
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch
@@ -0,0 +1,8 @@
+--- a/scripts/bbmailparsefm.pl 2002-10-17 21:33:21.000000000 +0300
++++ b/scripts/bbmailparsefm.pl 2017-02-14 19:49:11.371106962 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/env perl
+ #
+ # Quickie script to parse fetchmail -c output
+ # (IMAP proto) for use with bbmail
diff --git a/x11-misc/bbmail/metadata.xml b/x11-misc/bbmail/metadata.xml
new file mode 100644
index 000000000000..9c0a7fefd168
--- /dev/null
+++ b/x11-misc/bbmail/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+ Mail notification for Blackbox.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">bbtools</remote-id>
+ </upstream>
+</pkgmetadata>