You are not logged in.
Im trying to make a PKGBUILD for guake,. The package is created correctly but everytime i run "guake" i get a erro saying: gconf error: Have you installed guake.schemas properly?
Heres my PKBGUILD:
pkgname=guake-svn
pkgver=90
pkgrel=1
pkgdesc="drop-down terminal for the GNOME desktop"
url="http://guake-gnome-vte.sourceforge.net/"
depends=('gnome-desktop' 'gnome-common' 'intltool' 'autoconf' 'python>=2.5' 'gconf' 'libxinerama')
makedepends=('subversion')
source=()
md5sums=()
arch=('i686' 'x86_64')
license=('GPL')
conflicts=('guake')
provides=('guake')
#install=guake.install
_svntrunk=https://guake-gnome-vte.svn.sourceforge.net/svnroot/guake-gnome-vte/trunk/
_svnmod=guake-gnome-vte
build() {
cd $startdir/src
mkdir -p ~/.subversion; touch ~/.subversion/servers
msg "Connecting to the SVN server...."
svn co $_svntrunk $_svnmod -r $pkgver
[ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
cp -r ./$_svnmod ./$_svnmod-build
cd ./$_svnmod-build/
msg "SVN checkout done or server timeout"
msg "Starting make..."
./autogen.sh --prefix=/usr
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/guake.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
}
Whats wrong?
Offline
You need to use gconfpkg to install the schemas. To do this, you need a .install file. Here's a PKGBUILD and guake.install that seem to work for me.
PKGBUILD (slight difference from yours - note the install= line and --sysconfdir=/etc as a configure argument)
pkgname=guake-svn
pkgver=90
pkgrel=1
pkgdesc="drop-down terminal for the GNOME desktop"
url="http://guake-gnome-vte.sourceforge.net/"
depends=('gnome-desktop' 'gnome-common' 'intltool' 'autoconf' 'python>=2.5' 'gconf' 'libxinerama')
makedepends=('subversion')
source=()
md5sums=()
arch=('i686' 'x86_64')
license=('GPL')
conflicts=('guake')
provides=('guake')
install=guake.install
_svntrunk=https://guake-gnome-vte.svn.sourceforge.net/svnroot/guake-gnome-vte/trunk/
_svnmod=guake-gnome-vte
build() {
cd $startdir/src
mkdir -p ~/.subversion; touch ~/.subversion/servers
msg "Connecting to the SVN server...."
svn co $_svntrunk $_svnmod -r $pkgver
[ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
cp -r ./$_svnmod ./$_svnmod-build
cd ./$_svnmod-build/
msg "SVN checkout done or server timeout"
msg "Starting make..."
./autogen.sh --prefix=/usr --sysconfdir=/etc
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/guake.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
rm -rf ${startdir}/pkg/etc/gconf
}
guake.install
# arg 1: the new package version
post_install() {
gconfpkg --install guake
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
gconfpkg --install guake
}
# arg 1: the old package version
pre_remove() {
gconfpkg --uninstall guake
}
op=$1
shift
$op $
Offline
I'd say, have a look at Gnome-related PKGBUILDs and especially their .install files.
edit: yeah, right. guess who's late ;]
Last edited by byte (2007-09-27 03:49:09)
1000
Offline
edit: yeah, right. guess who's late ;]
lol. sorry byte. I didn't know the answer myself, so I started by looking inside the gconf package with pacman -Ql gconf | grep bin and playing with the bins. Lots of times when I see users with problems I use it as an opportunity to learn something, and then I get carried away and write .install files for people when they could look it up themselves. XD
Offline
Hi,
Thank you for the reply. Guake is running now, but i still have a problem and some questions:
I can run guake now, but when i press F12 key the guake terminal dont shows up. Do you got this problem too?
Why did you used the --sysconfig option and how you figured that you had to use it?
Offline
I used --sysconfig because the schema was appearing in $startdir/pkg/usr/etc/gconf/schemas instead of $startdir/pkg/etc/gconf/schemas. I knew to use it due to experience - I've seen this enough times to know what ./configure wanted. I added the flag, tested, and it worked, so yay!
In my short test of guake I also found that F12 didn't pop up the console. I didn't look into it though, so I don't have any suggestions.
Offline
Working package:
http://aur.archlinux.org/packages.php?d … 1&ID=13183
Offline