You are not logged in.
Hello can someone to make PKGBUILD for rss-aware here is page of project
http://freelanzer.com/rss-aware/index.html
thanks.
Offline
I would be happy to, except it looks like a lot of it is Ubuntu-specfic, and it also states to install the script to your home directory, which is horrible practice when making PKGBUILDs. Of course, I could always change the script a little and move it to /usr/bin or something.
What do you think?
Offline
Well notify-osd is in AUR. Maybe add it as a dependency?
Offline
I think too it will be better to move on /usr/bin , script look nice perfect for openbox envioment
Offline
Offline
Looks like it requires libindicator (not notify-osd), which is part of the Ayatana project. "Ugly" would be a good word to describe this on multiple levels.
This is as far as I go: http://gist.github.com/574670
Offline
A couple of things to mention before it should be uploaded to the AUR:
* Someone needs to package python-appindicator
* Tell me if I am missing a dependency. I ran through them rather quickly
* And of course, tell me if something screws up.
PKGBUILD:
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
pkgname=rss-aware
pkgver=2235
_pkgver=20100909
pkgrel=1
pkgdesc="A program written in python that uses notify-osd to notify you about updates to a website using its rss feed and appindicator to let you access that post"
arch=('any')
url=http://freelanzer.com/rss-aware/index.html
license=('GPL')
depends=('pygtk' 'python-feedparser' 'python-notify' 'pygobject' 'python-appindicator')
source=(http://freelanzer.com/${pkgname}/${pkgname}-${_pkgver}-${pkgver}.zip rss-aware.patch)
md5sums=('bdc73332e11b0c47f01c009ce952c574' '60a7d6441ce20eb76220b42daeeb5cb5')
build() {
cd "$srcdir/${pkgname}-${_pkgver}-${pkgver}"
}
package() {
cd "$srcdir/${pkgname}-${_pkgver}-${pkgver}"
patch -p1 rss-aware.py < $srcdir/rss-aware.patch
install -Dm755 rssaware32.png "$pkgdir/usr/share/$pkgname/rssaware32.png"
install -Dm644 $pkgname.py "$pkgdir/usr/bin/$pkgname"
touch $pkgdir/usr/share/rss-aware/rssfeeds.txt
echo replace me with a url > $pkgdir/usr/share/rss-aware/rssfeeds.txt
}
rss-aware.patch:
--- rss-aware.py 2010-09-09 20:57:26.000000000 -0500
+++ rss-aware2.py 2010-09-09 20:13:19.520061411 -0500
@@ -48,7 +48,7 @@
#change me to how often you want me to check
refreshtime = 900
#location of the rss-aware folder
-rss_aware_path = os.path.expanduser("~/.rss-aware/")
+rss_aware_path = os.path("/usr/share/rss-aware/")
curdir = os.getcwd()
# create a menu
menu = gtk.Menu()
@@ -60,7 +60,7 @@
#send a notification
pynotify.init(rssFeed)
- imageURI = 'file://' + os.path.expanduser("~/.rss-aware/") + '/rssaware32.png'
+ imageURI = 'file://' + os.path("/usr/share/rss-aware/") + '/rssaware32.png'
# title info image
n = pynotify.Notification(rssFeed, postTitle, imageURI)
n.set_hint_string("x-canonical-append","")# this mergers same site posts but affects the second site making it not show :( why?
Last edited by cesura (2010-09-11 01:56:22)
Offline
Looks like it requires libindicator (not notify-osd), which is part of the Ayatana project. "Ugly" would be a good word to describe this on multiple levels.
This is as far as I go: http://gist.github.com/574670
Okay...you win I forgot a TON!
Use his ^^
EDIT: falconindy, you seem to have forgotten the:
rss_aware_path = os.path("~/.rss-aware/")
line.
[OT]My clock is a day behind. [/OT]
Last edited by cesura (2010-09-11 02:00:06)
Offline
No I didn't . Leaving rss_aware_path in the home directory means you don't need to be root to add feeds, and they're set per user.
Oh, I see.
echo "------------------------------------------"
echo "Add feed URLS to ~/.rss-aware/rssfeeds.txt"
echo "------------------------------------------"
Last edited by cesura (2010-09-11 02:48:08)
Offline