You are not logged in.
It's the first time I deal with a gconf-enabled program, and I'd like to take some advise. There are two problems: One is that translation don't get installed at all, and the other is a little bit more serious, the install runs into a infinite loop or something when either I install or uninstall the package. When installing doing ctrl-C after a while installs the schemas, but still a infinite loop isn't something everybody likes (as funny as it's to do for(;; ) printf("a"); ), the same thing happens when uninstalling only that the schema doesn't get uninstalled when I stop the thing by ctrl-c-ing it. BTW, the thing works great besides thos "little" troubles. Here are both the pkgbuild and the install I borrowed from some other post in the forum. I'd like you to help me here...
PKGBUILD:
pkgname=epilicious
pkgver=0.10
pkgrel=1
pkgdesc="Extension for Epiphany that lets you sincronize your bookmarks with del.icio.us"
url="http://therning.org/magnus/computer/epilicious/"
license="gpl"
depends=('python-feedparser' 'python-elementtree' 'gconf')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
install=epilicious.install
source=("http://therning.org/magnus_files/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('ca7a361f1fc7ea04be2337ec7f8b6aad')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/opt/gnome/lib/epiphany/2.16/extensions/
mkdir -p $startdir/pkg/opt/gnome/share/gconf/schemas/
mkdir -p $startdir/pkg/usr/share/locale
make DESTINATION=$startdir/pkg/opt/gnome/lib/epiphany/2.16/extensions/ GCONF_DATA_DIR=$startdir/pkg/opt/gnome/share/gconf/schemas/ GCONF_INSTALL_SCHEMAS=n LOCALE_INSTALL_LANGS=y LOCALE_DIR=$startdir/pkg/usr/share/locale install
cp epilicious.schemas $startdir/pkg/opt/gnome/share/gconf/schemas/
}
And epilicious.install:
pre_install() {
/bin/true
}
post_install() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
update-desktop-database -q
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}
post_remove() {
update-desktop-database -q
}
op=$1
shift
$op $*
Offline
The $pkgname variable in the install script has no value.
Offline