You are not logged in.
Hi, I'm a new arch user coming from debian and gentoo. I tried to create the package for the new stable version of brasero but I got the following errors
No directories in update-desktop-database search path could be processed and updated.
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/simone/Desktop/brasero/src/brasero-0.6.0/data'
make: *** [install-recursive] Error 1
This is the PKGBUILD I used:
pkgname=brasero
pkgver=0.6.0
pkgrel=1
pkgdesc=""
url="http://www.gnome.org/projects/brasero/"
license="GPL"
depends=()
arch="i686"
install=()
source="http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/brasero-0.6.0.tar.bz2"
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Can someone tell me what's wrong with the PKGBUILD file? Thanks a lot!
P.S. Sorry for my my english
Last edited by simo8491 (2007-07-16 09:45:40)
Offline
Below are the pkgbuild + .install from the 0.5.2 version in community, as you can see building brasero is a lot more complicated than it looks at first.
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=brasero
pkgver=0.5.2
pkgrel=5
pkgdesc="A disc burning application for Gnome"
arch=('i686' 'x86_64')
url="http://www.gnome.org/projects/brasero"
license="GPL"
depends=('totem-plparser' 'nautilus-cd-burner' 'gstreamer0.10-gconf' 'libnotify' \
'libburn' 'libisofs')
makedepends=('intltool' 'libburn' 'libisofs')
install=brasero.install
source=(http://ftp.gnome.org/pub/gnome/sources/brasero/0.5/brasero-$pkgver.tar.bz2)
md5sums=('2c23c4faa958c63b0e5b18c24420682c')
build() {
cd $startdir/src/brasero-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-search --disable-caches #--disable-schemas-install
make || return 1
make DESTDIR=$startdir/pkg install
}
post_install() {
cat << EOM
>> To enable libburn backend you need to activate it in GConf:
>> /apps/brasero/config/libburn_burn
>> /apps/brasero/config/libburn_iso
EOM
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
/usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/brasero.schemas >/dev/null
echo "update desktop mime database..."
update-desktop-database -q
}
post_upgrade() {
post_install $1
}
pre_remove() {
if [ -f /etc/gconf/schemas/brasero.schemas ]; then
schemas=(/etc/gconf/schemas/brasero.schemas)
elif [ -f /opt/gnome/etc/gconf/schemas/brasero.schemas ]; then
schemas=(/opt/gnome/etc/gconf/schemas/brasero.schemas)
else
schemas=(`pacman -Ql brasero | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
fi
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
/usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
}
post_remove() {
echo "update desktop mime database..."
update-desktop-database -q
}
op=$1
shift
$op $*
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You are better of modeling yours on the one available on community.
I did it with mine and it is working just fine. All you basically need to change is the version number.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Thank you, I forgot that there was the install file! I will try changing the version number as you said. Thank you again
Offline