diff options
Diffstat (limited to 'multilib')
-rw-r--r-- | multilib/lib32-gmp/538dfce27f41.patch | 38 | ||||
-rw-r--r-- | multilib/lib32-gmp/PKGBUILD | 50 | ||||
-rw-r--r-- | multilib/lib32-gnutls/PKGBUILD | 42 | ||||
-rw-r--r-- | multilib/lib32-libidn/PKGBUILD | 26 | ||||
-rw-r--r-- | multilib/lib32-libxcb/PKGBUILD | 13 | ||||
-rw-r--r-- | multilib/lib32-nettle/PKGBUILD | 47 | ||||
-rw-r--r-- | multilib/lib32-openssl/PKGBUILD | 6 | ||||
-rw-r--r-- | multilib/lib32-p11-kit/PKGBUILD | 36 | ||||
-rw-r--r-- | multilib/lib32-sqlite3/PKGBUILD | 6 |
9 files changed, 249 insertions, 15 deletions
diff --git a/multilib/lib32-gmp/538dfce27f41.patch b/multilib/lib32-gmp/538dfce27f41.patch new file mode 100644 index 000000000..2e0a1af50 --- /dev/null +++ b/multilib/lib32-gmp/538dfce27f41.patch @@ -0,0 +1,38 @@ + +# HG changeset patch +# User Torbjorn Granlund <tege@gmplib.org> +# Date 1310730221 -7200 +# Node ID 538dfce27f410b910d5e2f011119269e224d16a3 +# Parent 03ed209dd7efd4f4fff0ce297bb3a8f7e7ba2366 +(mpn_dcpi1_bdiv_q): Get mpn_sub_1 size argument right. + +diff -r 03ed209dd7ef -r 538dfce27f41 mpn/generic/dcpi1_bdiv_q.c +--- a/mpn/generic/dcpi1_bdiv_q.c Thu Jun 16 12:22:24 2011 +0200 ++++ b/mpn/generic/dcpi1_bdiv_q.c Fri Jul 15 13:43:41 2011 +0200 +@@ -7,7 +7,7 @@ + SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST + GUARANTEED THAT THEY WILL CHANGE OR DISAPPEAR IN A FUTURE GMP RELEASE. + +-Copyright 2006, 2007, 2009, 2010 Free Software Foundation, Inc. ++Copyright 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. + + This file is part of the GNU MP Library. + +@@ -28,7 +28,6 @@ + #include "gmp-impl.h" + + +- + mp_size_t + mpn_dcpi1_bdiv_q_n_itch (mp_size_t n) + { +@@ -130,7 +129,7 @@ + qn = nn - qn; + while (qn > dn) + { +- mpn_sub_1 (np + dn, np + dn, qn, cy); ++ mpn_sub_1 (np + dn, np + dn, qn - dn, cy); + cy = mpn_dcpi1_bdiv_qr_n (qp, np, dp, dn, dinv, tp); + qp += dn; + np += dn; + diff --git a/multilib/lib32-gmp/PKGBUILD b/multilib/lib32-gmp/PKGBUILD new file mode 100644 index 000000000..e6e82e060 --- /dev/null +++ b/multilib/lib32-gmp/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: josephgbr <rafael.f.f1@gmail.com> + +_pkgbasename=gmp +pkgname=lib32-$_pkgbasename +pkgver=5.0.2 +pkgrel=6 +pkgdesc="A free library for arbitrary precision arithmetic (32-bit)" +arch=('x86_64') +url="http://gmplib.org/" +depends=('lib32-gcc-libs' $_pkgbasename) +makedepends=(gcc-multilib) +license=('LGPL3') +options=(!libtool) +source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2 + 538dfce27f41.patch) +md5sums=('0bbaedc82fb30315b06b1588b9077cd3' + 'a769be9c41618ca9c35d83375e7097d0') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + patch -Np1 -i $srcdir/538dfce27f41.patch + + export ABI=32 + ./configure \ + --prefix=/usr --infodir=/usr/share/info \ + --enable-cxx --libdir=/usr/lib32 \ + --includedir=/usr/lib32/gmp + + #Put gmp.h in the same folder as gmpxx.h + sed -i 's/$(exec_prefix)\/include/$\(includedir\)/' Makefile + + make +} + +check() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{include,share,bin} +} diff --git a/multilib/lib32-gnutls/PKGBUILD b/multilib/lib32-gnutls/PKGBUILD new file mode 100644 index 000000000..7cc6e57ca --- /dev/null +++ b/multilib/lib32-gnutls/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: Christoph Vigano <mail at cvigano dot de> +# Contributor: Biru Ionut <ionut@archlinux.ro> +# Contributor: Pierre Schmitz <pierre@archlinux.de> +# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi> +_pkgbasename=gnutls +pkgname=lib32-$_pkgbasename +pkgver=3.0.12 +pkgrel=1 +pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)" +arch=('x86_64') +license=('GPL3' 'LGPL') +url="http://www.gnu.org/software/gnutls/" +options=('!libtool' '!makeflags') +depends=('lib32-zlib' 'lib32-nettle>=2.4' 'lib32-p11-kit' $_pkgbasename) +makedepends=('gcc-multilib' 'lib32-libidn') +source=(ftp://ftp.gnu.org/gnu/gnutls/${_pkgbasename}-${pkgver}.tar.xz) +md5sums=('685fe5c00786c04b39e9aac362fa0cac') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd ${srcdir}/${_pkgbasename}-${pkgver} + + # build fails without --disable-hardware-acceleration because of assembler errors + ./configure --prefix=/usr --libdir=/usr/lib32 \ + --with-zlib \ + --disable-static \ + --disable-guile \ + --disable-valgrind-tests --disable-hardware-acceleration + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + find $pkgdir + + rm -rf "${pkgdir}"/usr/{bin,include,share} +} diff --git a/multilib/lib32-libidn/PKGBUILD b/multilib/lib32-libidn/PKGBUILD new file mode 100644 index 000000000..2f08a81f9 --- /dev/null +++ b/multilib/lib32-libidn/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +_pkgbasename=libidn +pkgname=lib32-$_pkgbasename +pkgver=1.22 +pkgrel=2 +pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (32 bit)" +url="http://www.gnu.org/software/libidn/" +arch=('x86_64') +license=('GPL3' 'LGPL') +depends=('lib32-glibc' "$_pkgbasename>=$pkgver") +makedepends=('gcc-multilib') +options=('!libtool') +source=(http://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz) +md5sums=('893a1df0cf3b28b72d248382eaeaca71') + +build() { + cd ${srcdir}/${_pkgbasename}-${pkgver} + ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32' + make +} + +package() { + cd ${srcdir}/${_pkgbasename}-${pkgver} + make DESTDIR=${pkgdir} install + rm -rf ${pkgdir}/usr/{bin,include,share} +} diff --git a/multilib/lib32-libxcb/PKGBUILD b/multilib/lib32-libxcb/PKGBUILD index fb15b6e01..8e68f1911 100644 --- a/multilib/lib32-libxcb/PKGBUILD +++ b/multilib/lib32-libxcb/PKGBUILD @@ -1,18 +1,17 @@ -# $Id: PKGBUILD 26635 2010-09-15 22:45:22Z bluewind $ +# $Id: PKGBUILD 62579 2012-01-21 16:17:25Z ibiru $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> _pkgbasename=libxcb pkgname=lib32-$_pkgbasename pkgver=1.7 -pkgrel=2 +pkgrel=3 pkgdesc="X11 client-side library (32-bit)" arch=(x86_64) url="http://xcb.freedesktop.org/" depends=('xcb-proto>=1.6' 'lib32-libxdmcp' 'lib32-libxau' $_pkgbasename) -makedepends=('pkgconfig' 'libxslt' 'python' 'gcc-multilib' +makedepends=('pkgconfig' 'libxslt' 'python2' 'gcc-multilib' 'autoconf') -conflicts=('libx11<1.1.99.2') options=('!libtool') license=('custom') source=(${url}/dist/${_pkgbasename}-${pkgver}.tar.bz2 @@ -27,11 +26,7 @@ build() { export CC="gcc -m32" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - libtoolize --force --copy - aclocal - autoconf - automake --add-missing - ./configure --prefix=/usr --enable-xinput --libdir=/usr/lib32 + PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --enable-xinput --libdir=/usr/lib32 make } diff --git a/multilib/lib32-nettle/PKGBUILD b/multilib/lib32-nettle/PKGBUILD new file mode 100644 index 000000000..ebcc7f858 --- /dev/null +++ b/multilib/lib32-nettle/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: Christoph Vigano <mail@cvigano.de> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: bender02 at gmx dot com + +_pkgbasename=nettle +pkgname=lib32-$_pkgbasename +pkgver=2.4 +pkgrel=3 +pkgdesc="A low-level cryptographic library (32-bit)" +arch=('i686' 'x86_64') +url="http://www.lysator.liu.se/~nisse/nettle/" +license=('GPL2') +depends=('lib32-gmp' $_pkgbasename) +makedepends=(gcc-multilib) +source=(ftp://ftp.gnu.org/gnu/nettle/$_pkgbasename-$pkgver.tar.gz) +md5sums=('450be8c4886d46c09f49f568ad6fa013') + +build() { + cd "$srcdir/$_pkgbasename-$pkgver" + + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + ./configure --prefix=/usr --libdir=/usr/lib32 \ + --enable-shared \ + --disable-static # <-- seems not working now + make +} + +check() { + cd "$srcdir/$_pkgbasename-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$_pkgbasename-$pkgver" + make DESTDIR="$pkgdir/" install + + find $pkgdir + + # remove static libs + rm -f ${pkgdir}/usr/lib32/{libhogweed,libnettle}.a + + rm -rf "${pkgdir}"/usr/{include,share,bin} +} diff --git a/multilib/lib32-openssl/PKGBUILD b/multilib/lib32-openssl/PKGBUILD index 5b2ea447e..ac6843135 100644 --- a/multilib/lib32-openssl/PKGBUILD +++ b/multilib/lib32-openssl/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 61855 2012-01-09 09:55:54Z bluewind $ +# $Id: PKGBUILD 62560 2012-01-21 10:57:52Z bluewind $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> _pkgbasename=openssl pkgname=lib32-$_pkgbasename -_ver=1.0.0f +_ver=1.0.0g # use a pacman compatible version scheme pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} pkgrel=1 @@ -17,7 +17,7 @@ options=('!makeflags') source=("https://www.openssl.org/source/${_pkgbasename}-${_ver}.tar.gz" 'no-rpath.patch' 'ca-dir.patch') -md5sums=('e358705fb4a8827b5e9224a73f442025' +md5sums=('07ecbe4324f140d157478637d6beccf1' 'dc78d3d06baffc16217519242ce92478' '3bf51be3a1bbd262be46dc619f92aa90') diff --git a/multilib/lib32-p11-kit/PKGBUILD b/multilib/lib32-p11-kit/PKGBUILD new file mode 100644 index 000000000..b9963e719 --- /dev/null +++ b/multilib/lib32-p11-kit/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: Christoph Vigano <mail@cvigano.de> + +_pkgbasename=p11-kit +pkgname=lib32-$_pkgbasename +pkgver=0.9 +pkgrel=3 +pkgdesc="Library to work with PKCS#11 modules (32-bit)" +arch=(i686 x86_64) +url="http://p11-glue.freedesktop.org" +license=('BSD') +depends=(lib32-glibc $_pkgbasename) +options=(!libtool) +source=($url/releases/$_pkgbasename-$pkgver.tar.gz) +md5sums=('029aa2a3a103e7eb81b4aa731b93539e') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + cd "$srcdir/$_pkgbasename-$pkgver" + + ./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc \ + --with-module-path=/usr/lib32/pkcs11 + make +} + +package() { + cd "$srcdir/$_pkgbasename-$pkgver" + make DESTDIR="$pkgdir" install + rm -rf "${pkgdir}"/etc + rm -rf "${pkgdir}"/usr/{bin,include,share} + install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING +} + +# vim:set ts=2 sw=2 et: diff --git a/multilib/lib32-sqlite3/PKGBUILD b/multilib/lib32-sqlite3/PKGBUILD index ea647b6b6..0b22d64ca 100644 --- a/multilib/lib32-sqlite3/PKGBUILD +++ b/multilib/lib32-sqlite3/PKGBUILD @@ -4,8 +4,8 @@ _pkgbasename=sqlite3 pkgname=lib32-sqlite3 -_amalgamationver=3070900 -pkgver=3.7.9 +_amalgamationver=3071000 +pkgver=3.7.10 pkgrel=1 pkgdesc="A C library that implements an SQL database engine (32-bit)" arch=('x86_64') @@ -15,7 +15,7 @@ depends=(lib32-glibc $_pkgbasename) makedepends=('tcl' 'gcc-multilib' 'lib32-readline') source=(http://www.sqlite.org/sqlite-src-${_amalgamationver}.zip) options=(!libtool) -md5sums=('b2646c5a0c0b5bc6b8f0b67fc318bab3') +md5sums=('16da2e08ce2233556965cdf20d614bd9') build() { export CC="gcc -m32" |