You are not logged in.
We use the same pkgbuild like arch32.
# $Id: PKGBUILD,v 1.5 2005/08/25 17:34:53 jgc Exp $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=gtk-doc
pkgver=1.4
pkgrel=1
pkgdesc="Used to document the public API of libraries"
depends=('jade' 'pkgconfig' 'perl' 'libxslt' 'libxml2' 'docbook-xsl' 'docbook-xml')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
md5sums=('44d1cdce88c2eb4ccb962998ad0c0d1a')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
sed -i 's|http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl|/usr/share/xml/docbook/html/chunk.xsl|'
$startdir/pkg/usr/share/gtk-doc/data/gtk-doc.xsl
}
All files are beeing created and installed well into $startdir/pkg but a whole folder will be removed:
usr/share/gtk-doc/
usr/share/gtk-doc/data/
usr/share/gtk-doc/data/devhelp.xsl
usr/share/gtk-doc/data/gtk-doc.dcl
usr/share/gtk-doc/data/gtk-doc.dsl
usr/share/gtk-doc/data/gtk-doc.make
usr/share/gtk-doc/data/gtk-doc.xsl
usr/share/gtk-doc/data/gtkdoc-common.pl
usr/share/gtk-doc/data/home.png
usr/share/gtk-doc/data/left.png
usr/share/gtk-doc/data/right.png
usr/share/gtk-doc/data/style.css
usr/share/gtk-doc/data/up.png
usr/share/gtk-doc/data/version-greater-or-equal.xsl
All these files are beeing removed by whether a broken Makefile/install.sh or by a wrong working pacman step after the build is complete.
Who can help me? We need this pkg it for gnome-vfs.
Offline
Under Arch32 the same. The complete directory gtk-doc will be removed.
Before creating the package (directly after the build, before pacman will begin starting to create the package (in other words: before the last "}" in the pkgbuild)) the directory is there (i have made an break in there, to be sure) and after that, the directory is removed, so pacman don't put it into the package.....
I think this is an pacman issue, so can anyone move this thread to "pacman & package upgrade issue"?? Thx.
Daniel
Offline
It's a makepkg issue. From /usr/bin/makepkg :
# remove info/doc files
cd $startdir
rm -rf pkg/usr/info pkg/usr/share/info
rm -rf pkg/usr/doc pkg/usr/share/doc
rm -rf pkg/{usr,opt/gnome}/share/gtk-doc
I would suggest to rename the directory, say to /usr/share/gtkdoc.
Offline
Ok. When we change the folder name will the application still find the files? Can we use a --docdir=foo option in configure step?
Maybe we should bring them back into the right folder with a simple "mv /usr/share/gtkdoc /usr/share/gtk-doc" using a gtk-doc.install script?
Offline
As for the arch32 gtk-doc package, I guess that it was built with a previous version of makepkg.
Ok. When we change the folder name will the application still find the files? Can we use a --docdir=foo option in configure step?
Probably not.
Maybe we should bring them back into the right folder with a simple "mv /usr/share/gtkdoc /usr/share/gtk-doc" using a gtk-doc.install script?
IMO, the best solution would be a gtk-doc.install that would create a symlink upon installation and removing it upon uninstallation. That way, pacman will remain in control of the files (e.g. pacman -Qo, pacman -R).
Offline
Shell I open a bugreport for gtk-doc and point to this thread?
Offline
Sure. Maybe the dev will come up a better solution.
Offline