Commit 9b0a7942 authored by Jan Mette's avatar Jan Mette

--no commit message

--no commit message
parent c06ecf1c
# $Id: PKGBUILD 59376 2009-11-22 21:18:19Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# Contributor: damir <damir@archlinux.org>
# Contributor: Konstantinos Pachnis <kpachnis@mes-direct.com>
pkgname=cmake
pkgver=2.8.0
pkgrel=1
pkgdesc="A cross-platform open-source make system"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.cmake.org"
depends=('expat' 'curl' 'gcc-libs' 'shared-mime-info')
makedepends=('qt')
optdepends=('qt: cmake-gui')
install=cmake.install
source=("http://www.cmake.org/files/v2.8/$pkgname-$pkgver.tar.gz")
md5sums=('3b3679b8a6afaedc38a8c15dd7ff4fcf')
build() {
cd $srcdir/$pkgname-$pkgver
./bootstrap --prefix=/usr \
--mandir=/share/man \
--docdir=/share/doc/cmake \
--system-libs \
--qt-gui \
--parallel=2
make || return 1
make DESTDIR=$pkgdir install
vimpath="$pkgdir/usr/share/vim/vim72"
install -D -m644 Docs/cmake-indent.vim $vimpath/indent/cmake-indent.vim
install -D -m644 Docs/cmake-syntax.vim $vimpath/syntax/cmake-syntax.vim
install -D -m644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el
install -D -m644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/Copyright.txt
}
post_install() {
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
2010-02-09 Eric Belanger <eric@archlinux.org>
* curl 7.20.0-1
* Upstream update
2009-11-04 Eric Belanger <eric@archlinux.org>
* curl 7.19.7-1
* Upstream update
2009-10-03 Robson Peixoto <robsonpeixoto@gmail.com>
* curl 7.19.6-2
* Compile with ca-path like Debian and Gentoo
2009-08-12 Eric Belanger <eric@archlinux.org>
* curl 7.19.6-1
* Upstream update
2009-05-18 Eric Belanger <eric@archlinux.org>
* curl 7.19.5-1
* Upstream update
2009-03-03 Eric Belanger <eric@archlinux.org>
* curl 7.19.4-1
* Upstream update
2009-01-21 Eric Belanger <eric@archlinux.org>
* curl 7.19.3-1
* Upstream update
2008-11-14 Eric Belanger <eric@archlinux.org>
* curl 7.19.2-1
* Upstream update
2008-11-08 Eric Belanger <eric@archlinux.org>
* curl 7.19.1-1
* Upstream update
2008-09-20 Eric Belanger <eric@archlinux.org>
* curl 7.19.0-1
* Upstream update
2008-06-04 Eric Belanger <eric@archlinux.org>
* curl 7.18.2-1
* Upstream update
* Switched to the CA Root Certificates provided by the ca-certificates package (close FS#10569)
* Removed bundled certificates
* Removed perl-libwww makedepends
2008-04-30 Eric Belanger <eric@archlinux.org>
* curl 7.18.1-2
* Added CA Root Certificates (close FS#10129)
* Added perl-libwww makedepends
2008-03-31 Eric Belanger <eric@archlinux.org>
* curl 7.18.1-1
* Upstream update
* Added ChangeLog
# $Id: PKGBUILD 67948 2010-02-09 21:53:33Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
pkgname=curl
pkgver=7.20.0
pkgrel=1
pkgdesc="An URL retrival utility and library"
arch=('i686' 'x86_64')
url="http://curl.haxx.se"
license=('MIT')
depends=('zlib' 'openssl>=0.9.8b' 'bash' 'ca-certificates')
options=('!libtool')
source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3dda78c4a808d9a779dc3a2ae81b47d8')
sha1sums=('89215fc4c4cd1e42134d6117255c401372e628de')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--with-random=/dev/urandom \
--prefix=/usr \
--mandir=/usr/share/man \
--disable-dependency-tracking \
--enable-ipv6 \
--disable-ldaps \
--disable-ldap \
--enable-manual \
--enable-versioned-symbols \
--with-ca-path=/etc/ssl/certs \
--without-libidn || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
install -D -m644 docs/libcurl/libcurl.m4 "${pkgdir}/usr/share/aclocal/libcurl.m4" || return 1
}
# $Id: PKGBUILD 65116 2010-01-24 13:19:39Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libxml2
pkgver=2.7.6
pkgrel=2
pkgdesc="XML parsing library, version 2"
arch=(i686 x86_64)
license=('custom')
depends=('zlib>=1.2.3.3' 'readline>=6.0' 'ncurses>=5.7')
makedepends=('python')
options=('!libtool')
url="http://www.xmlsoft.org/"
source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
largefile64.patch zlib.patch)
md5sums=('7740a8ec23878a2f50120e1faa2730f2'
'5ad4915665608ebfa5b89f7908467a72'
'0365d5397164b8739219e56e5ca069d1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/largefile64.patch" || return 1
patch -p1 -i "${srcdir}/zlib.patch" || return 1
./configure --prefix=/usr --with-threads --with-history || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
--- libxml2-2.6.32.dfsg.orig/libxml.h
+++ libxml2-2.6.32.dfsg/libxml.h
@@ -13,6 +13,9 @@
#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
#endif
+#ifndef _LARGEFILE64_SOURCE
+#define _LARGEFILE64_SOURCE
+#endif
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif
From a7e79f28689c574e0bbef17f4cb3da00249181ff Mon Sep 17 00:00:00 2001
From: Mark Adler <madler@alumni.caltech.edu>
Date: Tue, 19 Jan 2010 15:28:48 +0000
Subject: libxml violates the zlib interface and crashes
* xmlIO.c: remove an abuse of zlib API and use a clean interface
available in zlib >= 1.2.3
---
diff --git a/xmlIO.c b/xmlIO.c
index c03ac43..8fc00e3 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2518,6 +2518,9 @@ __xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc) {
#ifdef HAVE_ZLIB_H
if ((xmlInputCallbackTable[i].opencallback == xmlGzfileOpen) &&
(strcmp(URI, "-") != 0)) {
+#if defined(ZLIB_VERNUM) && ZLIB_VERNUM >= 0x1230
+ ret->compressed = !gzdirect(context);
+#else
if (((z_stream *)context)->avail_in > 4) {
char *cptr, buff4[4];
cptr = (char *) ((z_stream *)context)->next_in;
@@ -2529,6 +2532,7 @@ __xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc) {
gzrewind(context);
}
}
+#endif
}
#endif
}
--
cgit v0.8.3.1
# $Id: PKGBUILD 67312 2010-02-06 08:33:20Z eric $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=shared-mime-info
pkgver=0.71
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libxml2>=2.7.3' 'glib2>=2.22.2')
makedepends=('intltool' 'pkgconfig')
install=shared-mime-info.install
url="http://freedesktop.org/Software/shared-mime-info"
source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2 pbm.patch)
md5sums=('0a90508234d415f761a79fbffdff74f4' '39fcc08fbd33145684ba97f1f64644c2')
sha1sums=('6f3d3379662857646b0c5b95d5d26e47c0b6250a' '1e8f1cf027e0ce4b5a88f0e36f4bab3ff2d320a5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/pbm.patch" || return 1
./configure --prefix=/usr --disable-update-mimedb || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
diff -Naur shared-mime-info-0.70-orig/freedesktop.org.xml shared-mime-info-0.70/freedesktop.org.xml
--- shared-mime-info-0.70-orig/freedesktop.org.xml 2010-02-06 02:39:24.000000000 -0500
+++ shared-mime-info-0.70/freedesktop.org.xml 2010-02-06 02:48:01.000000000 -0500
@@ -17025,12 +17025,10 @@
<magic priority="50">
<match value="P1" type="string" offset="0">
<match value="0x0a" type="byte" offset="2">
- <match value="#" type="string" offset="3"/>
</match>
</match>
<match value="P4" type="string" offset="0">
<match value="0x0a" type="byte" offset="2">
- <match value="#" type="string" offset="3"/>
</match>
</match>
</magic>
@@ -17074,12 +17072,10 @@
<magic priority="50">
<match value="P2" type="string" offset="0">
<match value="0x0a" type="byte" offset="2">
- <match value="#" type="string" offset="3"/>
</match>
</match>
<match value="P5" type="string" offset="0">
<match value="0x0a" type="byte" offset="2">
- <match value="#" type="string" offset="3"/>
</match>
</match>
</magic>
@@ -17123,12 +17119,10 @@
<magic priority="50">
<match value="P3" type="string" offset="0">
<match value="0x0a" type="byte" offset="2">
- <match value="#" type="string" offset="3"/>
</match>
</match>
<match value="P6" type="string" offset="0">
<match value="0x0a" type="byte" offset="2">
- <match value="#" type="string" offset="3"/>
</match>
</match>
</magic>
@@ -23926,4 +23920,4 @@
</treemagic>
</mime-type>
-</mime-info>
\ No newline at end of file
+</mime-info>
post_install() {
update-mime-database usr/share/mime > /dev/null 2>&1
}
post_upgrade() {
post_install
}
post_remove() {
if [ -d usr/share/mime ]; then
rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
rmdir --ignore-fail-on-non-empty usr/share/mime
fi
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment