summaryrefslogtreecommitdiff
path: root/network/newsbeuter
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2012-04-29 20:05:02 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:03 -0500
commitfe390a6c4f11d385832d17efa0302d65710c3db2 (patch)
tree49369924ea181e1a968539cc7093167fd3f39c75 /network/newsbeuter
parent19484706bc5e9f99fb96d7c9676cb319b6e427ee (diff)
downloadslackbuilds-fe390a6c4f11d385832d17efa0302d65710c3db2.tar.gz
network/newsbeuter: Updated for version 2.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/newsbeuter')
-rw-r--r--network/newsbeuter/README13
-rw-r--r--network/newsbeuter/newsbeuter.SlackBuild4
-rw-r--r--network/newsbeuter/newsbeuter.info8
-rw-r--r--network/newsbeuter/slack-desc12
-rw-r--r--network/newsbeuter/unistd.diff48
5 files changed, 68 insertions, 17 deletions
diff --git a/network/newsbeuter/README b/network/newsbeuter/README
index 79250004cf..d71083b155 100644
--- a/network/newsbeuter/README
+++ b/network/newsbeuter/README
@@ -1,7 +1,8 @@
-Newsbeuter is an RSS feedreader. RSS is a widely-used XML format
-to transmit, publish, and syndicate articles (e.g. news or blogs).
-Newsbeuter is designed to be used on text terminals on Unix-like
-systems. This package also includes podbeuter, a manager for
-downloading podcasts using RSS feeds.
+Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
+Newsbeuter's configurability and features make it a good choice for
+users that want a fast feed reader controlled by the keyboard.
+Newsbeuter can sync with Google Reader and TinyTinyRSS, and can
+download podcasts distributed through RSS feeds.
+
+Requires stfl and json-c (both available as SlackBuilds).
-This requires stfl.
diff --git a/network/newsbeuter/newsbeuter.SlackBuild b/network/newsbeuter/newsbeuter.SlackBuild
index deabba0834..423f2b3456 100644
--- a/network/newsbeuter/newsbeuter.SlackBuild
+++ b/network/newsbeuter/newsbeuter.SlackBuild
@@ -6,7 +6,7 @@
# Released under the WTFPL
PRGNAM=newsbeuter
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,6 +50,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 --verbose < $CWD/unistd.diff
+
CXXFLAGS="$SLKCFLAGS" \
make \
prefix=/usr \
diff --git a/network/newsbeuter/newsbeuter.info b/network/newsbeuter/newsbeuter.info
index 25cd6300f9..e44273e001 100644
--- a/network/newsbeuter/newsbeuter.info
+++ b/network/newsbeuter/newsbeuter.info
@@ -1,10 +1,10 @@
PRGNAM="newsbeuter"
-VERSION="2.4"
+VERSION="2.5"
HOMEPAGE="http://www.newsbeuter.org/"
-DOWNLOAD="http://www.newsbeuter.org/downloads/newsbeuter-2.4.tar.gz"
-MD5SUM="67fd0d44a55e10ed1ba15b197262a35f"
+DOWNLOAD="http://www.newsbeuter.org/downloads/newsbeuter-2.5.tar.gz"
+MD5SUM="bb8cd3f2a3693de4c16be28c869a1f75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="bosth@alumni.sfu.ca"
-APPROVED="rworkman,Niels Horn"
+APPROVED="dsomero"
diff --git a/network/newsbeuter/slack-desc b/network/newsbeuter/slack-desc
index 368db5f5f5..ba5ed3d5d3 100644
--- a/network/newsbeuter/slack-desc
+++ b/network/newsbeuter/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
newsbeuter: Newsbeuter (RSS feedreader)
newsbeuter:
-newsbeuter: Newsbeuter is an RSS feedreader. RSS is a number of widely-used
-newsbeuter: XML formats to transmit, publish and syndicate articles, for
-newsbeuter: example news or blog articles. Newsbeuter is designed to be used
-newsbeuter: on text terminals on Unix or Unix-like systems such as Linux,
-newsbeuter: BSD or Mac OS X.
+newsbeuter: Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
+newsbeuter: Newsbeuter's configurability and features make it a good choice for
+newsbeuter: users that want a fast feed reader controlled by the keyboard.
+newsbeuter: Newsbeuter can sync with Google Reader and TinyTinyRSS, and can
+newsbeuter: download podcasts distributed through RSS feeds.
newsbeuter:
-newsbeuter: Homepage: http://www.newsbeuter.org/
newsbeuter:
+newsbeuter: Homepage: http://www.newsbeuter.org/
newsbeuter:
diff --git a/network/newsbeuter/unistd.diff b/network/newsbeuter/unistd.diff
new file mode 100644
index 0000000000..c8c81d034e
--- /dev/null
+++ b/network/newsbeuter/unistd.diff
@@ -0,0 +1,48 @@
+diff -Naur newsbeuter-2.5.orig/src/controller.cpp newsbeuter-2.5/src/controller.cpp
+--- newsbeuter-2.5.orig/src/controller.cpp 2012-01-06 06:41:13.000000000 -0800
++++ newsbeuter-2.5/src/controller.cpp 2012-04-15 00:21:24.642248190 -0700
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <config.h>
+ #include <view.h>
+ #include <controller.h>
+diff -Naur newsbeuter-2.5.orig/src/google_api.cpp newsbeuter-2.5/src/google_api.cpp
+--- newsbeuter-2.5.orig/src/google_api.cpp 2012-01-06 06:41:13.000000000 -0800
++++ newsbeuter-2.5/src/google_api.cpp 2012-04-15 00:21:43.357248631 -0700
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <vector>
+ #include <cstring>
+ #include <iostream>
+diff -Naur newsbeuter-2.5.orig/src/pb_controller.cpp newsbeuter-2.5/src/pb_controller.cpp
+--- newsbeuter-2.5.orig/src/pb_controller.cpp 2012-01-06 06:41:13.000000000 -0800
++++ newsbeuter-2.5/src/pb_controller.cpp 2012-04-15 00:22:24.230249617 -0700
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <pb_controller.h>
+ #include <pb_view.h>
+ #include <poddlthread.h>
+diff -Naur newsbeuter-2.5.orig/src/queueloader.cpp newsbeuter-2.5/src/queueloader.cpp
+--- newsbeuter-2.5.orig/src/queueloader.cpp 2012-01-06 06:41:13.000000000 -0800
++++ newsbeuter-2.5/src/queueloader.cpp 2012-04-15 00:30:41.627260915 -0700
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <stflpp.h>
+ #include <utils.h>
+ #include <queueloader.h>
+diff -Naur newsbeuter-2.5.orig/src/reloadthread.cpp newsbeuter-2.5/src/reloadthread.cpp
+--- newsbeuter-2.5.orig/src/reloadthread.cpp 2012-01-06 06:41:13.000000000 -0800
++++ newsbeuter-2.5/src/reloadthread.cpp 2012-04-15 00:21:18.934248123 -0700
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <reloadthread.h>
+ #include <logger.h>
+
+diff -Naur newsbeuter-2.5.orig/src/utils.cpp newsbeuter-2.5/src/utils.cpp
+--- newsbeuter-2.5.orig/src/utils.cpp 2012-01-06 06:41:13.000000000 -0800
++++ newsbeuter-2.5/src/utils.cpp 2012-04-15 00:20:23.038246866 -0700
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <utils.h>
+ #include <logger.h>
+ #include <config.h>