You are not logged in.
Pages: 1
I've slapped together a little app that will display an icon in the Tray, or Notification Area, when there are available updates to install on your machine. A libnotify tooltip will also be displayed if you have the proper environment setup.
I've also uploaded the PKGBUILD to AUR
http://aur.archlinux.org/packages.php?d … =1&ID=7583
Let me know what you think.
Offline
This is actually very cool! Will try it when I come home
Offline
It looks cool but I'm unsure as to how to install ...
Offline
It looks cool but I'm unsure as to how to install ...
The easiest way to install a program from the AUR would be to install one of the convenience tools available, such as yaourt, or aurbuild. Personally, I use yaourt as a pacman replacement. So to install this package with yaourt, you need only do:
# yaourt -S pacmon-svn
Similarly, with aurbuild:
# aurbuild -s pacmon-svn
Offline
Thanks! I'll give it a try.
Offline
if you don't use gnome-python-extras for anything besides trayicon support, you might want to use the gtk 2.10 statusicon to get rid of gnome dependencies which make this uninteresting for me.
btw: python is not neccessary in the depends, since it's a dependency for pygtk anyway.
Offline
if you don't use gnome-python-extras for anything besides trayicon support, you might want to use the gtk 2.10 statusicon to get rid of gnome dependencies which make this uninteresting for me.
Hmm, I wasn't aware of this. I'll look into migrating to that.
Offline
Hum ... I'm missing something ...
I downloaded and installed aurbuild by doing
Installation:
python setup.py install --root=/path/to/root/
with --root=/root
But then when I run aurbuild -s pacmon-svn I get an error:
bash: aurbuild: command not found
Now I realize that since the software installed in the /root directory the command would fail from outside so I went to the /root/usr/bin to run the file from there, using : python aurbuild ~/tmp/pacmon-svn
and then the error is:
Traceback (most recent call last):
File "aurbuild", line 24, in ?
import Aurbuild.pacman
ImportError: No module named Aurbuild.pacman
My suspicion in that the installation of aurbuild is not done as indicated in the README file or am I missing something?
Any ideas?
Offline
Why not use makepkg?
I am a gated community.
Offline
Why not use makepkg?
Yes.. I believe he is not aware of the correct way to install software on an Arch system.
Ralvez, you are trying to install the software manually, and circumventing all the nice work people have put into these simple packaging systems. See this url for the correct way to install something from AUR:
Offline
Hum ... I'm missing something ...
I downloaded and installed aurbuild by doingInstallation: python setup.py install --root=/path/to/root/
with --root=/root
But then when I run aurbuild -s pacmon-svn I get an error:
bash: aurbuild: command not foundNow I realize that since the software installed in the /root directory the command would fail from outside so I went to the /root/usr/bin to run the file from there, using : python aurbuild ~/tmp/pacmon-svn
and then the error is:Traceback (most recent call last): File "aurbuild", line 24, in ? import Aurbuild.pacman ImportError: No module named Aurbuild.pacman
My suspicion in that the installation of aurbuild is not done as indicated in the README file or am I missing something?
Any ideas?
I meant /path/to/root as in path to your root directory not the actual /root directory
python setup.py install --root=/
BTW: if you do get it working you need to run aurbuild -s aurbuild so it can be kept track of by pacman.
Offline
if you don't use gnome-python-extras for anything besides trayicon support, you might want to use the gtk 2.10 statusicon to get rid of gnome dependencies which make this uninteresting for me.
Ok, I've successfully migrated the project over to gtk.StatusIcon, so there are no longer any Gnome dependencies! However, you will need to jump through a few hoops to get the libnotify popups working.
In order to suppport popups on a gtk.StatusIcon, I had to use python-notify ver 0.1.1, which depends on libnotify 0.4.3. However, only libnotify-0.4.2 is available in the Arch repo, so you will need to edit the PKGBUILD in ABS to build and install version 0.4.3.
You will also need to build a newer version of python-notify than what is available on the AUR. Currently, there is a PKGBUILD for version 0.1.0, but I had to modify the PKBUILD for it to correctly build ver 0.1.1, as I belive there is a problem with the package. Specifically, I needed to add a "make clean" before the "make" step in the PKGBUILD, otherwise, the pkg would be built without support for gtk.Statusicon
Here's the PKGBUILD for python-notify-0.1.1
# Maintainer: Mario Danic <mario>
pkgname=python-notify
pkgver=0.1.1
pkgrel=1
pkgdesc="Python bindings for libnotify"
url="http://www.galago-project.org/"
options=('NOLIBTOOL')
license="GPL"
depends=('pygtk>=2.4.0' 'libnotify>=0.4.3')
source=(http://www.galago-project.org/files/releases/source/notify-python/notify-python-$pkgver.tar.gz)
md5sums=('8f0ef0939cc8edd2efd896ce5ba80cf4')
build() {
cd $startdir/src/notify-python-$pkgver
./configure --prefix=/usr
make clean || return 1
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline
Pages: 1