You are not logged in.
Hi,
I think gnome-nanny is totally missing from every source in Archlinux, so could someone please add it to AUR?
Thanks ![]()
Offline
I also wish to use it. But just now tried to build. Build without problem, using python2, re-write the init script. However, when running, still have a lot of problem. So, I give it up.
Offline
pkgname=nanny
pkgver=2.29.4
pkgrel=1
pkgdesc="Provides an easy way to control what your kids are doing in the computer."
arch=('i686' 'x86_64')
url='http://projects.gnome.org/nanny/'
license=GPLv2
depends=('gnome>=2.28' 'glib2' 'python2' 'twisted' 'gconf' 'python-gtop' 'libglade'
'python-imaging' 'twisted-web2' 'gtk-engine-murrine')
makedepends='make'
optdepends="Nanny Blacklist:Nanny.nbl is a Dans Guardian BlackList formated in Nanny's style."
source="http://ftp.gnome.org/pub/GNOME/sources/nanny/${pkgver%.*}/nanny-${pkgver}.tar.gz"
sha256sums=('8dbd5946a46bf507e075946ff0930cdc31fe3b09f4fdd1af0840fb1447246952')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export PYTHON=`which python2` || return 1
./configure --bindir=/usr/bin/ --prefix=/usr --exec-prefix=/usr
make || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install || return 1
}I don't use gnome, so I built using the -d flag(no dep check) in makepkg and it built well, but of course it wont run without gnome.
Tell me if it builds and runs well for you. I'll add it in AUR then.
@allencch
the problem probably is that the py scripts require python<=2.7 to run, but the scripts have their env set to python which refers to pyhton3 in any updated arch system.
EDIT: The software isn't developed anymore. Last release was in 2010. I should ave seen that before. ![]()
And there's a mint-nanny package in AUR.
Last edited by debdj (2012-06-29 09:41:54)
Offline
@debdj
I solved the problem of python by changing all the scripts to python2 using sed. And because of this, I didn't use twisted-web2, because it gnome-nanny is depending on twisted-web. And during configure, there is no problem for the twisted-web.
mint-nanny does not support "Nanny.nbl" file, it is time consuming to block the domain by entering them manually.
Maybe squid and dansguardian can do what I want. But I haven't tried yet.
Offline
I solved the problem of python by changing all the scripts to python2 using sed.
..so.. did it work?
Offline
..so.. did it work?
It doesn't work, there are some exceptional error about D-Bus whe running nanny-admin-console after the twisted daemon running.
Offline