summaryrefslogtreecommitdiff
path: root/network/gwibber
diff options
context:
space:
mode:
Diffstat (limited to 'network/gwibber')
-rw-r--r--network/gwibber/README11
-rw-r--r--network/gwibber/doinst.sh4
-rw-r--r--network/gwibber/gwibber.SlackBuild67
-rw-r--r--network/gwibber/gwibber.info10
-rw-r--r--network/gwibber/known-issues.txt28
-rw-r--r--network/gwibber/slack-desc19
6 files changed, 139 insertions, 0 deletions
diff --git a/network/gwibber/README b/network/gwibber/README
new file mode 100644
index 0000000000..a761021819
--- /dev/null
+++ b/network/gwibber/README
@@ -0,0 +1,11 @@
+Gwibber is an open source microblogging client for GNOME developed
+with Python and GTK. It supports Twitter, Jaiku, Identi.ca,
+Facebook, Flickr, Digg, and RSS.
+
+Requires: pysetuptools, gnome-python, notify-python, pywebkitgtk,
+simplejson, egenix-mx-base, python-distutils-extra, feedparser, pyxdg,
+and Mako.
+
+Optional: sexy-python.
+
+See known-issues.txt for known problems.
diff --git a/network/gwibber/doinst.sh b/network/gwibber/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /dev/null
+++ b/network/gwibber/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/network/gwibber/gwibber.SlackBuild b/network/gwibber/gwibber.SlackBuild
new file mode 100644
index 0000000000..e2dcb8db99
--- /dev/null
+++ b/network/gwibber/gwibber.SlackBuild
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# Slackware build script for gwibber
+
+# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+
+PRGNAM=gwibber
+VERSION=${VERSION:-1.2.0_bzr346}
+SRCVER=$(echo $VERSION | sed 's/\_/~/')
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/${PRGNAM}_$SRCVER.orig.tar.gz
+cd $PRGNAM-$SRCVER
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# Fix desktop icon location.
+sed -i "/^Icon/s|=.*|=/usr/share/pixmaps/$PRGNAM.svg|" $PRGNAM.desktop{,.in}
+echo "Terminal=false" >> $PRGNAM.desktop.in
+echo "StartupNotify=false" >> $PRGNAM.desktop.in
+
+python setup.py install --root=$PKG --prefix=/usr
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+)
+
+mkdir -p $PKG/usr/man/man1
+install -m 0644 $PRGNAM.1 $PKG/usr/man/man1
+gzip -9 $PKG/usr/man/man?/*.?
+
+# Remove empty directory.
+find $PKG -depth -type d -empty -exec rm -rf {} \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING INSTALL README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/known-issues.txt > $PKG/usr/doc/$PRGNAM-$VERSION/known-issues.txt
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/gwibber/gwibber.info b/network/gwibber/gwibber.info
new file mode 100644
index 0000000000..794f5d9e77
--- /dev/null
+++ b/network/gwibber/gwibber.info
@@ -0,0 +1,10 @@
+PRGNAM="gwibber"
+VERSION="1.2.0_bzr346"
+HOMEPAGE="https://launchpad.net/gwibber"
+DOWNLOAD="https://launchpad.net/ubuntu/karmic/+source/gwibber/1.2.0~bzr346-0ubuntu3/+files/gwibber_1.2.0~bzr346.orig.tar.gz"
+MD5SUM="bb17b7382a00ce0ebc02ffc92c4250f4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Larry Hajali"
+EMAIL="larryhaja[at]gmail[dot]com"
+APPROVED="michiel"
diff --git a/network/gwibber/known-issues.txt b/network/gwibber/known-issues.txt
new file mode 100644
index 0000000000..91057167a2
--- /dev/null
+++ b/network/gwibber/known-issues.txt
@@ -0,0 +1,28 @@
+Know issue: When using gwibber, links that are opened in an external
+browser may not open. Running gwibber from the command line will most
+likely give you a similar error like the following.
+
+Traceback (most recent call last):
+ File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 757, in <lambda>
+ actHelpOnline.connect("activate", lambda *a: gintegration.load_url("https://answers.launchpad.net/gwibber"))
+ File "/usr/lib/python2.6/site-packages/gwibber/gintegration.py", line 57, in load_url
+ def load_url(url): gnome.url_show(url)
+glib.GError: There was an error launching the default action command associated with this location.
+
+This is most likely a link to a nonexistent firefox directory that hasn't
+been updated by GConf upon firefox upgrades. You can verify this by running:
+
+gconftool-2 -g /desktop/gnome/url-handlers/https/command
+
+This command should return something like:
+
+/usr/lib/firefox-3.5.2/firefox "%s"
+
+You can use the symlink to firefox instead, as to avoid future issues
+with firefox upgrades. To use the symlinks run the following commands.
+Change commands for lib64 where appropriate.
+
+gconftool-2 -s -t string /desktop/gnome/url-handlers/https/command '/usr/lib/firefox/firefox "%s"'
+gconftool-2 -s -t string /desktop/gnome/url-handlers/http/command '/usr/lib/firefox/firefox "%s"'
+gconftool-2 -s -t string /desktop/gnome/url-handlers/ftp/command '/usr/lib/firefox/firefox "%s"'
+gconftool-2 -s -t string /desktop/gnome/url-handlers/chrome/command '/usr/lib/firefox/firefox "%s"'
diff --git a/network/gwibber/slack-desc b/network/gwibber/slack-desc
new file mode 100644
index 0000000000..ade232063a
--- /dev/null
+++ b/network/gwibber/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gwibber: gwibber (Open source microblogging client)
+gwibber:
+gwibber: Gwibber is an open source microblogging client for GNOME developed
+gwibber: with Python and GTK. It supports Twitter, Jaiku, Identi.ca, Facebook,
+gwibber: Flickr, Digg, and RSS.
+gwibber:
+gwibber: Homepage: https://launchpad.net/gwibber
+gwibber:
+gwibber:
+gwibber:
+gwibber: