You are not logged in.
Pages: 1
I adopted this package recently since I needed the the memory leak fixes in cairo-git which fix leaks in awesome-git and it looks like there is some improvement. It is my first pkgbuild though. Im wondering if any awesome-git users who should have this leak can also test this with me.
cairo-git
# Contributor: ST.x <seynthan DOT tx AT gmail DOT com>
pkgname=cairo-git
_realname=cairo
pkgver=20081211
pkgrel=1
pkgdesc="Cairo vector graphics library"
license="GPL"
arch=(i686 x86_64)
options=('!libtool')
url="http://cairographics.org/"
depends=('libpng>=1.2.33' 'libxrender' 'fontconfig>=2.6.0' 'pixman>=0.12.0' 'xcb-util>=0.3.1')
makedepends=('git' 'autoconf' 'automake' 'libtool' 'pkgconfig')
provides=('cairo=1.8.4')
conflicts=("$_realname")
replaces=('cairo-cvs')
source=()
md5sums=()
_gitroot="git://anongit.freedesktop.org/git/cairo"
_gitname="cairo"
build() {
cd $startdir/src
msg "Connecting to git.cairographics.org GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
cd $startdir/src/$_gitname-build
#sed -i -e "s:1.7:1.10:g" configure.in
./autogen.sh --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --enable-xcb --disable-static || return 1
make || return 1
make DESTDIR=${startdir}/pkg install
rm -rf ${startdir}/pkg/usr/share/gtk-doc
rm -rf ${startdir}/src/${_gitname}-build
}
Last edited by ST.x (2008-12-10 15:17:58)
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
maybe it is a good thing too build pixman from git first:
http://aur.archlinux.org/packages.php?ID=22133
# Contributor: aboe76 AT gmail DOT com>
pkgname=pixman-git
_realname=pixman
pkgver=20081210
pkgrel=1
pkgdesc="Pixman library"
license="GPL"
arch=(i686 x86_64)
options=('!libtool')
url="http://xorg.freedesktop.org"
depends=('glibc')
makedepends=('git' 'autoconf' 'automake' 'libtool' 'pkgconfig')
provides=('pixman=0.12.0')
conflicts=("$_realname")
replaces=('pixman-cvs')
source=()
md5sums=()
_gitroot="git://anongit.freedesktop.org/git/pixman"
_gitname="pixman"
build() {
cd $startdir/src
msg "Connecting to git.cairographics.org GIT server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
cd $startdir/src/$_gitname-build
#sed -i -e "s:1.7:1.10:g" configure.in
./autogen.sh --prefix=/usr --disable-static || return 1
make || return 1
make DESTDIR=${startdir}/pkg install
rm -rf ${startdir}/pkg/usr/share/gtk-doc
rm -rf ${startdir}/src/${_gitname}-build
}
Last edited by aboe (2008-12-10 21:24:38)
Offline
Alright im using that as well now, thanks.
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
Thanks for the PKGBUILD! seems that cairo-git fixes the leak issue.
Offline
Also an awesome-git user. Cudos on the cairo-git pkg, I had considered doing the same. Glad someone less lazy than me did it.
Both pkgs seem to work well.
PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.
Offline
The recent Cairo 1.8.6 release is also fine to use it seems as the fix from git should be in there. I'll continue to keep this package in case it's needed later.
ARCH64 | XMonad | Configs | myAURpkgs | ArchWiki Contribs | Screenies
Offline
Pages: 1