toolchain paired with stable repos and new respin of the whole lib32 repo

This commit is contained in:
Giuseppe 2011-05-21 15:53:04 +00:00
parent 22a2b8de55
commit 6c82ff193d
129 changed files with 2422 additions and 9427 deletions

View File

@ -7,9 +7,9 @@
pkgname=binutils-multilib pkgname=binutils-multilib
_pkgname=binutils _pkgname=binutils
pkgver=2.20.1 pkgver=2.21
pkgrel=2 pkgrel=2
_date=20100908 _date=20110421
pkgdesc="A set of programs to assemble and manipulate binary and object files for multilib" pkgdesc="A set of programs to assemble and manipulate binary and object files for multilib"
arch=('x86_64') arch=('x86_64')
url="http://www.gnu.org/software/binutils/" url="http://www.gnu.org/software/binutils/"
@ -20,34 +20,45 @@ depends=('glibc>=2.12-1' 'zlib')
makedepends=('gcc-multilib') # Make sure we compile this with gcc-multilib makedepends=('gcc-multilib') # Make sure we compile this with gcc-multilib
options=('!libtool' '!distcc' '!ccache') options=('!libtool' '!distcc' '!ccache')
install=binutils.install install=binutils.install
source=(http://chakra-project.org/sources/${_pkgname}/${_pkgname}-${pkgver}_${_date}.tar.bz2) source=(http://chakra-project.org/sources/${_pkgname}/${_pkgname}-${pkgver}_${_date}.tar.bz2
md5sums=('c653cd51d2c23129cb010ac8c9ce0582') binutils-2.21-strip-segfault.patch)
md5sums=('efba28e707bd0149e0a2bdddb9ee08b3'
'98e8dfaf1c0ededa586823ebfb27825a')
build() { build() {
cd ${srcdir} cd ${srcdir}/binutils
mkdir build && cd build # http://sourceware.org/bugzilla/show_bug.cgi?id=12632
patch -Np1 -i $srcdir/binutils-2.21-strip-segfault.patch
CC="gcc -L`pwd`/bfd/.libs/" cd ${srcdir}
if [ "${CARCH}" = "x86_64" ]; then mkdir binutils-build && cd binutils-build
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-64-bit-bfd
else ${srcdir}/binutils/configure --prefix=/usr \
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-ld=default --enable-gold \
fi --enable-plugins --enable-threads \
# fix man files install path --enable-shared \
sed -i -e "s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share:" ${srcdir}/build/Makefile || return 1 --enable-64-bit-bfd --enable-multilib
# fix info files install path
sed -i -e "s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share:" ${srcdir}/build/Makefile || return 1
# This checks the host environment and makes sure all the necessary tools are available to compile Binutils. # This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
make configure-host || return 1 make configure-host
make tooldir=${pkgdir}/usr || return 1 make tooldir=${pkgdir}/usr
}
check() {
cd ${srcdir}/binutils-build
# do not abort on errors - manually check log files
make -k -j1 check || true
} }
package() { package() {
cd ${srcdir}/build cd ${srcdir}/binutils-build
make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install make prefix=${pkgdir}/usr tooldir=${pkgdir}/usr install
install -m644 ${srcdir}/include/libiberty.h ${pkgdir}/usr/include
# Add some useful headers
install -m644 ${srcdir}/binutils/include/libiberty.h ${pkgdir}/usr/include
install -m644 ${srcdir}/binutils/include/demangle.h ${pkgdir}/usr/include
# Rebuild libiberty.a with -fPIC # Rebuild libiberty.a with -fPIC
make -C libiberty clean make -C libiberty clean
@ -60,11 +71,13 @@ package() {
make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd
install -m644 bfd/libbfd.a ${pkgdir}/usr/lib install -m644 bfd/libbfd.a ${pkgdir}/usr/lib
# Remove Windows/Novell specific man pages
rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}* rm -f ${pkgdir}/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}*
# Remove these symlinks, with binutils prereleases they are not ABI stable. # Remove these symlinks, they are not ABI stable.
# Programs should compile static to the .a file. # Programs should compile static to the .a file.
rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
} }

View File

@ -0,0 +1,96 @@
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 15c4f95..b64f3d0 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -1,6 +1,6 @@
/* objcopy.c -- copy object file from input to output, optionally massaging it.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -2024,6 +2024,7 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target,
struct stat buf;
int stat_status = 0;
bfd_boolean del = TRUE;
+ bfd_boolean ok_object;
/* Create an output file for this member. */
output_name = concat (dir, "/",
@@ -2061,44 +2062,42 @@ copy_archive (bfd *ibfd, bfd *obfd, const char *output_target,
l->obfd = NULL;
list = l;
- if (bfd_check_format (this_element, bfd_object))
+ ok_object = bfd_check_format (this_element, bfd_object);
+ if (!ok_object)
+ bfd_nonfatal_message (NULL, this_element, NULL,
+ _("Unable to recognise the format of file"));
+
+ /* PR binutils/3110: Cope with archives
+ containing multiple target types. */
+ if (force_output_target || !ok_object)
+ output_bfd = bfd_openw (output_name, output_target);
+ else
+ output_bfd = bfd_openw (output_name, bfd_get_target (this_element));
+
+ if (output_bfd == NULL)
{
- /* PR binutils/3110: Cope with archives
- containing multiple target types. */
- if (force_output_target)
- output_bfd = bfd_openw (output_name, output_target);
- else
- output_bfd = bfd_openw (output_name, bfd_get_target (this_element));
+ bfd_nonfatal_message (output_name, NULL, NULL, NULL);
+ status = 1;
+ return;
+ }
+
+ if (ok_object)
+ {
+ del = !copy_object (this_element, output_bfd, input_arch);
- if (output_bfd == NULL)
+ if (del && bfd_get_arch (this_element) == bfd_arch_unknown)
+ /* Try again as an unknown object file. */
+ ok_object = FALSE;
+ else if (!bfd_close (output_bfd))
{
bfd_nonfatal_message (output_name, NULL, NULL, NULL);
+ /* Error in new object file. Don't change archive. */
status = 1;
- return;
}
-
- del = ! copy_object (this_element, output_bfd, input_arch);
-
- if (! del
- || bfd_get_arch (this_element) != bfd_arch_unknown)
- {
- if (!bfd_close (output_bfd))
- {
- bfd_nonfatal_message (output_name, NULL, NULL, NULL);
- /* Error in new object file. Don't change archive. */
- status = 1;
- }
- }
- else
- goto copy_unknown_element;
}
- else
- {
- bfd_nonfatal_message (NULL, this_element, NULL,
- _("Unable to recognise the format of file"));
- output_bfd = bfd_openw (output_name, output_target);
-copy_unknown_element:
+ if (!ok_object)
+ {
del = !copy_unknown_object (this_element, output_bfd);
if (!bfd_close_all_done (output_bfd))
{
--
1.6.5.GIT

View File

@ -0,0 +1,16 @@
infodir=usr/share/info
filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info)
post_upgrade() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}

View File

@ -8,30 +8,30 @@
pkgbase='gcc-multilib' pkgbase='gcc-multilib'
pkgname=('gcc-multilib' 'gcc-libs-multilib' 'lib32-gcc-libs' 'gcc-fortran-multilib' 'gcc-objc-multilib' 'gcc-ada-multilib') pkgname=('gcc-multilib' 'gcc-libs-multilib' 'lib32-gcc-libs' 'gcc-fortran-multilib' 'gcc-objc-multilib' 'gcc-ada-multilib')
pkgver=4.5.2 pkgver=4.5.3
pkgrel=1 pkgrel=2
#_snapshot=4.5-20100610 #_snapshot=4.5-20100610
_libstdcppmanver=4.5.2 # Note: check source directory name when updating this _libstdcppmanver=4.5.2 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection for multilib" pkgdesc="The GNU Compiler Collection for multilib"
arch=('x86_64') arch=('x86_64')
license=('GPL' 'LGPL' 'custom') license=('GPL' 'LGPL' 'custom')
url="http://gcc.gnu.org" url="http://gcc.gnu.org"
makedepends=('binutils-multilib>=2.20.1' 'libmpc>=0.8.2-1' 'cloog-ppl>=0.15.9-2' 'elfutils' 'gcc-ada-multilib' makedepends=('binutils-multilib>=2.20.2' 'libmpc>=0.8.2-1' 'cloog-ppl>=0.15.9-2' 'elfutils' 'gcc-ada-multilib'
'glibc>=2.11.1-2' 'lib32-glibc>=2.12.1') 'glibc>=2.11.1-2' 'lib32-glibc>=2.12.1')
options=('!libtool' '!emptydirs') options=('!libtool' '!emptydirs')
source=(http://gcc.fyxm.net/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc,ada,testsuite}-${pkgver}.tar.bz2 source=(http://gcc.fyxm.net/releases/gcc-${pkgver}/gcc-{ada,core,fortran,g++,objc,testsuite}-${pkgver}.tar.bz2
#ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,testsuite}-${_snapshot}.tar.bz2 #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc,ada,testsuite}-${_snapshot}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api-${_libstdcppmanver}.man.tar.bz2 ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api-${_libstdcppmanver}.man.tar.bz2
gcc_pure64.patch gcc_pure64.patch
gcc-hash-style-both.patch) gcc-hash-style-both.patch)
md5sums=('aa9e36bec080452372bfba793428ee82' md5sums=('318aa27364afc9e0109027007fada947' # gcc-ada-4.5.3.tar.bz2
'9821f1c61e43755866861485ff364e90' '98be5094b5b5a7b9087494291bc7f522' # gcc-core-4.5.3.tar.bz2
'8cc545fda70085c78076d79e0e23962a' '351fda9e20552357bb8f64e74d2f19f1' # gcc-fortran-4.5.3.tar.bz2
'3561c6585e9062105cc3591a8c39d7dc' '2c78bf1d5f08a0b116f280de88d3ffe7' # gcc-g++-4.5.3.tar.bz2
'ee24023972f337fbc22202d6d219a727' '9bb53e37e589515ba55979a19be9c036' # gcc-objc-4.5.3.tar.bz2
'29ae615438aba0bd3384b94bac54c235' 'e7b2eeb71a001a88f0c8435a40c10073' # gcc-testsuite-4.5.3.tar.bz2
'2776eab5ebb7f9cc62dd2199a3a24382' '2776eab5ebb7f9cc62dd2199a3a24382'
'22cec272f9cc2801d3cd348feaca888b' '4030ee1c08dd1e843c0225b772360e76'
'6fd395bacbd7b6e47c7b74854b478363') '6fd395bacbd7b6e47c7b74854b478363')
@ -85,7 +85,7 @@ build() {
package_gcc-libs-multilib() package_gcc-libs-multilib()
{ {
pkgdesc="Runtime libraries shipped by GCC for multilib" pkgdesc="Runtime libraries shipped by GCC for multilib"
depends=('glibc>=2.11.1-2' "lib32-gcc-libs=$pkgver-$pkgrel") depends=('glibc>=2.12.2' "lib32-gcc-libs=$pkgver-$pkgrel")
provides=("gcc-libs=$pkgver-$pkgrel") provides=("gcc-libs=$pkgver-$pkgrel")
conflicts=('gcc-libs') conflicts=('gcc-libs')
install=gcc-libs.install install=gcc-libs.install
@ -116,7 +116,7 @@ package_gcc-libs-multilib()
package_lib32-gcc-libs() package_lib32-gcc-libs()
{ {
pkgdesc="Runtime libraries shipped by GCC (32-bit)" pkgdesc="Runtime libraries shipped by GCC (32-bit)"
depends=('lib32-glibc>=2.12.1' "gcc-libs") depends=('lib32-glibc>=2.12.2' "gcc-libs")
cd gcc-build cd gcc-build
make -j1 -C $CHOST/32/libgcc DESTDIR=${pkgdir} install-shared make -j1 -C $CHOST/32/libgcc DESTDIR=${pkgdir} install-shared

View File

@ -1,11 +1,13 @@
diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
--- gcc-4.2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400 --- gcc-4.2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400
+++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 17:04:05.000000000 -0400 +++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 17:04:05.000000000 -0400
@@ -49,7 +49,7 @@ @@ -49,8 +49,8 @@
When the -shared link option is used a final link is not being
done. */ done. */
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" -#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" -#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
+#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2" +#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
#undef LINK_SPEC #undef LINK_SPEC

36
lib32-acl/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
pkgname=lib32-acl
pkgver=2.2.49
pkgrel=2
pkgdesc="Access control list libraries (32-bit)"
arch=('x86_64')
url="http://savannah.nongnu.org/projects/acl"
license=('LGPL')
depends=('lib32-attr' 'acl')
makedepends=('gcc-multilib')
options=('!libtool')
source=(http://mirrors.zerg.biz/nongnu/acl/acl-${pkgver}.src.tar.gz)
sha256sums=('b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5')
build() {
cd "${srcdir}/acl-${pkgver}"
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
export INSTALL_USER=root INSTALL_GROUP=root
./configure --prefix=/usr --libdir=/usr/lib32 --libexecdir=/usr/lib32
make
}
package() {
cd "${srcdir}/acl-${pkgver}"
make DIST_ROOT="${pkgdir}" install install-lib install-dev
rm -rf ${pkgdir}/usr/{bin,include,share}
}

View File

@ -6,7 +6,7 @@
_pkgbasename=alsa-lib _pkgbasename=alsa-lib
pkgname=lib32-${_pkgbasename} pkgname=lib32-${_pkgbasename}
pkgver=1.0.24.1 pkgver=1.0.24.1
pkgrel=1 pkgrel=2
pkgdesc="An alternative implementation of Linux sound support (32 bit)" pkgdesc="An alternative implementation of Linux sound support (32 bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.alsa-project.org" url="http://www.alsa-project.org"

View File

@ -6,7 +6,7 @@
_pkgbasename=alsa-oss _pkgbasename=alsa-oss
pkgname=lib32-${_pkgbasename} pkgname=lib32-${_pkgbasename}
pkgver=1.0.17 pkgver=1.0.17
pkgrel=2 pkgrel=3
pkgdesc="OSS compatibility library (32 bit)" pkgdesc="OSS compatibility library (32 bit)"
arch=(x86_64) arch=(x86_64)
license=('GPL') license=('GPL')

View File

@ -7,7 +7,7 @@
_pkgbasename=alsa-plugins _pkgbasename=alsa-plugins
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.24 pkgver=1.0.24
pkgrel=1 pkgrel=2
pkgdesc="Extra alsa plugins (32-bit)" pkgdesc="Extra alsa plugins (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://www.alsa-project.org" url="http://www.alsa-project.org"

View File

@ -6,7 +6,7 @@
_pkgbasename=atk _pkgbasename=atk
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.32.0 pkgver=1.32.0
pkgrel=1 pkgrel=3
pkgdesc="A library providing a set of interfaces for accessibility (32-bit)" pkgdesc="A library providing a set of interfaces for accessibility (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('LGPL') license=('LGPL')

View File

@ -6,7 +6,7 @@
_pkgbasename=attr _pkgbasename=attr
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.4.44 pkgver=2.4.44
pkgrel=1 pkgrel=2
pkgdesc="Extended attribute support library for ACL support (32-bit)" pkgdesc="Extended attribute support library for ACL support (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://oss.sgi.com/projects/xfs/" url="http://oss.sgi.com/projects/xfs/"

View File

@ -6,7 +6,7 @@
_pkgbasename=audiofile _pkgbasename=audiofile
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=0.2.7 pkgver=0.2.7
pkgrel=1 pkgrel=2
pkgdesc="Silicon Graphics Audio File Library (32-bit)" pkgdesc="Silicon Graphics Audio File Library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.68k.org/~michael/audiofile/" url="http://www.68k.org/~michael/audiofile/"

View File

@ -6,7 +6,7 @@
_pkgbasename=cairo _pkgbasename=cairo
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.10.2 pkgver=1.10.2
pkgrel=1 pkgrel=2
pkgdesc="Cairo vector graphics library (32-bit)" pkgdesc="Cairo vector graphics library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://cairographics.org/" url="http://cairographics.org/"

View File

@ -6,7 +6,7 @@
_pkgsourcename=catalyst-utils _pkgsourcename=catalyst-utils
pkgname=lib32-$_pkgsourcename pkgname=lib32-$_pkgsourcename
pkgver=11.3 pkgver=11.3
pkgrel=1 pkgrel=2
pkgdesc="AMD/ATI catalyst driver utilities and libraries. (32-bit)" pkgdesc="AMD/ATI catalyst driver utilities and libraries. (32-bit)"
url="http://www.ati.amd.com" url="http://www.ati.amd.com"
arch=(x86_64) arch=(x86_64)

View File

@ -6,7 +6,7 @@
_pkgbasename=curl _pkgbasename=curl
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=7.21.3 pkgver=7.21.3
pkgrel=1 pkgrel=2
pkgdesc="An URL retrieval utility and library (32-bit)" pkgdesc="An URL retrieval utility and library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://curl.haxx.se" url="http://curl.haxx.se"

View File

@ -6,7 +6,7 @@
_pkgbasename=db _pkgbasename=db
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=4.8.26 pkgver=4.8.26
pkgrel=1 pkgrel=2
pkgdesc="The Berkeley DB embedded database system (32-bit)" pkgdesc="The Berkeley DB embedded database system (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html" url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"

View File

@ -6,7 +6,7 @@
pkgname=lib32-dbus-core pkgname=lib32-dbus-core
_pkgbasename=dbus-core _pkgbasename=dbus-core
pkgver=1.4.0 pkgver=1.4.0
pkgrel=1 pkgrel=2
pkgdesc="Freedesktop.org message bus system (32-bit)" pkgdesc="Freedesktop.org message bus system (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.freedesktop.org/Software/dbus" url="http://www.freedesktop.org/Software/dbus"

View File

@ -7,7 +7,7 @@ _pkgbasename=dbus-glib
pkgname=lib32-${_pkgbasename} pkgname=lib32-${_pkgbasename}
pkgver=0.92 pkgver=0.92
pkgrel=2 pkgrel=3
pkgdesc="GLib bindings for DBUS (32-bit)" pkgdesc="GLib bindings for DBUS (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('GPL') license=('GPL')

View File

@ -6,7 +6,7 @@
_pkgbasename=e2fsprogs _pkgbasename=e2fsprogs
pkgname=lib32-e2fsprogs pkgname=lib32-e2fsprogs
pkgver=1.41.11 pkgver=1.41.11
pkgrel=1 pkgrel=2
pkgdesc="Ext2 filesystem libraries (32-bit)" pkgdesc="Ext2 filesystem libraries (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('GPL' 'LGPL' 'MIT') license=('GPL' 'LGPL' 'MIT')

View File

@ -6,7 +6,7 @@
_pkgbasename=expat _pkgbasename=expat
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.0.1 pkgver=2.0.1
pkgrel=1 pkgrel=2
pkgdesc="An XML Parser library written in C (32 bit)" pkgdesc="An XML Parser library written in C (32 bit)"
arch=('x86_64') arch=('x86_64')
url="http://expat.sourceforge.net/" url="http://expat.sourceforge.net/"

View File

@ -6,7 +6,7 @@
_pkgbasename=flac _pkgbasename=flac
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.2.1 pkgver=1.2.1
pkgrel=1 pkgrel=2
pkgdesc="Free Lossless Audio Codec (32-bit)" pkgdesc="Free Lossless Audio Codec (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://flac.sourceforge.net/" url="http://flac.sourceforge.net/"

View File

@ -6,7 +6,7 @@
_pkgbasename=fontconfig _pkgbasename=fontconfig
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.8.0 pkgver=2.8.0
pkgrel=1 pkgrel=2
pkgdesc="A library for configuring and customizing font access (32-bit)" pkgdesc="A library for configuring and customizing font access (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://www.fontconfig.org/release/" url="http://www.fontconfig.org/release/"

View File

@ -6,7 +6,7 @@
_pkgbasename=freetype2 _pkgbasename=freetype2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.4.3 pkgver=2.4.3
pkgrel=1 pkgrel=2
pkgdesc="TrueType font rendering library (32-bit)" pkgdesc="TrueType font rendering library (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('GPL') license=('GPL')

View File

@ -6,7 +6,7 @@
_pkgbasename=gdk-pixbuf2 _pkgbasename=gdk-pixbuf2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.22.1 pkgver=2.22.1
pkgrel=1 pkgrel=2
pkgdesc="An image loading library for gtk2 (32-bit)" pkgdesc="An image loading library for gtk2 (32-bit)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.gtk.org/" url="http://www.gtk.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=giflib _pkgbasename=giflib
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=4.1.6 pkgver=4.1.6
pkgrel=1 pkgrel=2
pkgdesc="A library for reading and writing gif images (32-bit)" pkgdesc="A library for reading and writing gif images (32-bit)"
url="http://sourceforge.net/projects/giflib/" url="http://sourceforge.net/projects/giflib/"
arch=('x86_64') arch=('x86_64')

View File

@ -5,8 +5,8 @@
_pkgbasename=glib2 _pkgbasename=glib2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.26.1 pkgver=2.28.6
pkgrel=1 pkgrel=2
pkgdesc="Common C routines used by GTK+ 2.4 and other libs (32-bit)" pkgdesc="Common C routines used by GTK+ 2.4 and other libs (32-bit)"
url="http://www.gtk.org/" url="http://www.gtk.org/"
arch=('x86_64') arch=('x86_64')
@ -14,8 +14,8 @@ license=('LGPL')
depends=('lib32-pcre' 'lib32-zlib' 'lib32-dbus-core' $_pkgbasename) depends=('lib32-pcre' 'lib32-zlib' 'lib32-dbus-core' $_pkgbasename)
makedepends=('gcc-multilib') makedepends=('gcc-multilib')
options=('!libtool' '!docs') options=('!libtool' '!docs')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${pkgver}.tar.bz2) source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-${pkgver}.tar.bz2)
sha256sums=('7a74ff12b6b9dee1f2d0e520b56b68b621920c4f4250bdf23468e515625c28d5') sha256sums=('557fb7c39d21b9359fbac51fd6b0b883bc97a2561c0166eef993a4078312f578')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -8,9 +8,9 @@
_pkgbasename=glibc _pkgbasename=glibc
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.12.1 pkgver=2.13
pkgrel=2 pkgrel=2
_glibcdate=20101025 _glibcdate=20110117
pkgdesc="GNU C Library for multilib" pkgdesc="GNU C Library for multilib"
arch=('x86_64') arch=('x86_64')
url="http://www.gnu.org/software/libc" url="http://www.gnu.org/software/libc"
@ -23,14 +23,18 @@ source=(http://mirrors.kernel.org/archlinux/other/glibc/${_pkgbasename}-${pkgver
glibc-2.10-bz4781.patch glibc-2.10-bz4781.patch
glibc-__i686.patch glibc-__i686.patch
glibc-2.12.1-static-shared-getpagesize.patch glibc-2.12.1-static-shared-getpagesize.patch
#glibc-2.12.2-ignore-origin-of-privileged-program.patch glibc-2.12.2-ignore-origin-of-privileged-program.patch
glibc-2.13-prelink.patch
glibc-2.13-futex.patch
lib32-glibc.conf) lib32-glibc.conf)
md5sums=('b12192eff7306f2a6e919641b847e7cf' md5sums=('b7b17d9c6b5b71b5e5322e04ca63c190'
'4dadb9203b69a3210d53514bb46f41c3' '4dadb9203b69a3210d53514bb46f41c3'
'0c5540efc51c0b93996c51b57a8540ae' '0c5540efc51c0b93996c51b57a8540ae'
'40cd342e21f71f5e49e32622b25acc52' '40cd342e21f71f5e49e32622b25acc52'
'597057bfd593d434ed1929596868f11d' 'a3ac6f318d680347bb6e2805d42b73b2'
#'b042647ea7d6f22ad319e12e796bd13e' 'b042647ea7d6f22ad319e12e796bd13e'
'24dfab6fd244f3773523412588ecc52c'
'7d0154b7e17ea218c9fa953599d24cc4'
'6e052f1cb693d5d3203f50f9d4e8c33b') '6e052f1cb693d5d3203f50f9d4e8c33b')
build() { build() {
@ -52,7 +56,14 @@ build() {
# http://www.exploit-db.com/exploits/15274/ # http://www.exploit-db.com/exploits/15274/
# http://sourceware.org/git/?p=glibc.git;a=patch;h=d14e6b09 (only fedora branch...) # http://sourceware.org/git/?p=glibc.git;a=patch;h=d14e6b09 (only fedora branch...)
#patch -Np1 -i ${srcdir}/glibc-2.12.2-ignore-origin-of-privileged-program.patch patch -Np1 -i ${srcdir}/glibc-2.12.2-ignore-origin-of-privileged-program.patch
# http://sourceware.org/bugzilla/show_bug.cgi?id=12489
# http://sourceware.org/git/?p=glibc.git;a=commit;h=25b3aada (only fedora branch...)
patch -Np1 -i ${srcdir}/glibc-2.13-prelink.patch
# http://sourceware.org/bugzilla/show_bug.cgi?id=12403
patch -Np1 -i ${srcdir}/glibc-2.13-futex.patch
cd ${srcdir} cd ${srcdir}
mkdir glibc-build mkdir glibc-build
@ -74,7 +85,7 @@ build() {
--enable-bind-now --without-gd \ --enable-bind-now --without-gd \
--without-cvs --disable-profile \ --without-cvs --disable-profile \
--disable-multi-arch i686-unknown-linux-gnu --disable-multi-arch i686-unknown-linux-gnu
make make
# some errors are expected - manually check log files # some errors are expected - manually check log files
@ -116,3 +127,4 @@ package() {
# Symlink /usr/lib32/locale to /usr/lib/locale # Symlink /usr/lib32/locale to /usr/lib/locale
ln -s ../lib/locale "$pkgdir/usr/lib32/locale" ln -s ../lib/locale "$pkgdir/usr/lib32/locale"
} }

View File

@ -8,4 +8,4 @@
+#if 0 && defined __ASSUME_AT_PAGESIZE +#if 0 && defined __ASSUME_AT_PAGESIZE
assert (GLRO(dl_pagesize) != 0); assert (GLRO(dl_pagesize) != 0);
return GLRO(dl_pagesize); return GLRO(dl_pagesize);
#else #else

View File

@ -0,0 +1,26 @@
From d14e6b09d60d52cc12f0396c3106b14e1bd0fe8f Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@redhat.com>
Date: Thu, 9 Dec 2010 15:00:59 +0100
Subject: [PATCH 1/1] Ignore origin of privileged program
---
ChangeLog | 5 +++++
elf/dl-object.c | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/elf/dl-object.c b/elf/dl-object.c
index 22a1635..7674d49 100644
--- a/elf/dl-object.c
+++ b/elf/dl-object.c
@@ -214,6 +214,9 @@ _dl_new_object (char *realname, const char *libname, int type,
out:
new->l_origin = origin;
}
+ else if (INTUSE(__libc_enable_secure) && type == lt_executable)
+ /* The origin of a privileged program cannot be trusted. */
+ new->l_origin = (char *) -1;
return new;
}
--
1.7.2

View File

@ -0,0 +1,31 @@
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
+++ a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
@@ -210,7 +210,7 @@ pthread_rwlock_timedrdlock:
cfi_restore(%r12)
retq
-#ifdef __ASSUME_PRIVATE_FUTEX
+#ifdef __ASSUME_FUTEX_CLOCK_REALTIME
cfi_adjust_cfa_offset(16)
cfi_rel_offset(%r12, 8)
cfi_rel_offset(%r13, 0)
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
+++ a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
@@ -192,7 +192,7 @@ pthread_rwlock_timedwrlock:
7: movq %rdx, %rax
-#ifndef __ASSUME_PRIVATE_FUTEX
+#ifndef __ASSUME_FUTEX_CLOCK_REALTIME
addq $16, %rsp
cfi_adjust_cfa_offset(-16)
popq %r14
@@ -207,7 +207,7 @@ pthread_rwlock_timedwrlock:
cfi_restore(%r12)
retq
-#ifdef __ASSUME_PRIVATE_FUTEX
+#ifdef __ASSUME_FUTEX_CLOCK_REALTIME
cfi_adjust_cfa_offset(16)
cfi_rel_offset(%r12, 8)
cfi_rel_offset(%r13, 0)

View File

@ -0,0 +1,26 @@
diff --git a/elf/rtld.c b/elf/rtld.c
index 9a560b3..201c9cf 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2168,6 +2168,10 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n",
we need it in the memory handling later. */
GLRO(dl_initial_searchlist) = *GL(dl_ns)[LM_ID_BASE]._ns_main_searchlist;
+ /* Remember the last search directory added at startup, now that
+ malloc will no longer be the one from dl-minimal.c. */
+ GLRO(dl_init_all_dirs) = GL(dl_all_dirs);
+
if (prelinked)
{
if (main_map->l_info [ADDRIDX (DT_GNU_CONFLICT)] != NULL)
@@ -2288,10 +2292,6 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n",
lossage);
}
- /* Remember the last search directory added at startup, now that
- malloc will no longer be the one from dl-minimal.c. */
- GLRO(dl_init_all_dirs) = GL(dl_all_dirs);
-
if (! prelinked && rtld_multiple_ref)
{
/* There was an explicit ref to the dynamic linker as a shared lib.

View File

@ -6,7 +6,7 @@
_pkgbasename=gnutls _pkgbasename=gnutls
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.8.6 pkgver=2.8.6
pkgrel=1 pkgrel=2
pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)" pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('GPL3' 'LGPL') license=('GPL3' 'LGPL')

View File

@ -5,8 +5,8 @@
_pkgbasename=gtk2 _pkgbasename=gtk2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.22.0 pkgver=2.22.1
pkgrel=1 pkgrel=2
pkgdesc="The GTK+ Toolkit (v2) (32-bit)" pkgdesc="The GTK+ Toolkit (v2) (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.gtk.org/" url="http://www.gtk.org/"
@ -20,7 +20,7 @@ license=('LGPL')
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.22/gtk+-${pkgver}.tar.bz2 source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.22/gtk+-${pkgver}.tar.bz2
xid-collision-debug.patch xid-collision-debug.patch
gtk-modules-32.patch) gtk-modules-32.patch)
sha256sums=('d9522c80d4b8a954f7474e32bd5a99ba3051996f1c4681426db5f79a1c1b4602' sha256sums=('965bc124f0d25087c4cb2a64cbfd7e4f896e05be8d560fbba68dd8685ba24d07'
'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558' 'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
'2effb13404442ae266d4c663347e88cd1ca19e9a83b452da1743bac16af9c7b0') '2effb13404442ae266d4c663347e88cd1ca19e9a83b452da1743bac16af9c7b0')

View File

@ -5,8 +5,8 @@
_pkgbasename=heimdal _pkgbasename=heimdal
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.3.2 pkgver=1.3.3
pkgrel=1 pkgrel=2
pkgdesc="Implementation of Kerberos V5 libraries (32-bit)" pkgdesc="Implementation of Kerberos V5 libraries (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.h5l.org/" url="http://www.h5l.org/"
@ -22,7 +22,7 @@ source=(http://www.h5l.org/dist/src/${_pkgbasename}-${pkgver}.tar.gz
012_all_heimdal-berkdb.patch 012_all_heimdal-berkdb.patch
013_all_heimdal-pthread-lib.patch 013_all_heimdal-pthread-lib.patch
014_all_heimdal-path.patch) 014_all_heimdal-path.patch)
md5sums=('69d7c4fc1a448f8feda1b478dad48fd0' md5sums=('963c09f1b14c41660be70b55fae9f163'
'98e28f11f906c967aac22d6184102c9e' '98e28f11f906c967aac22d6184102c9e'
'6d5571bdedba2e2423b90bccdbac2c0a' '6d5571bdedba2e2423b90bccdbac2c0a'
'2feec3924ee5230b54175b4d4000c872' '2feec3924ee5230b54175b4d4000c872'

View File

@ -6,8 +6,8 @@
_pkgbasename=jack _pkgbasename=jack
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
_longname=jack-audio-connection-kit _longname=jack-audio-connection-kit
pkgver=0.118.0 pkgver=0.120.1
pkgrel=1 pkgrel=2
pkgdesc="A low-latency audio server (32-bit)" pkgdesc="A low-latency audio server (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('GPL' 'LGPL') license=('GPL' 'LGPL')
@ -16,7 +16,7 @@ makedepends=(gcc-multilib)
url="http://jackaudio.org/" url="http://jackaudio.org/"
options=('!libtool') options=('!libtool')
source=(http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz) source=(http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz)
md5sums=('d58e29a55f285d54e75134cec8e02a10') md5sums=('e45bab906be64e4e2752cbd855a8efd5')
build() { build() {
cd ${srcdir}/${_longname}-${pkgver} cd ${srcdir}/${_longname}-${pkgver}

View File

@ -6,7 +6,7 @@
_pkgbasename=lcms _pkgbasename=lcms
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.19 pkgver=1.19
pkgrel=1 pkgrel=2
pkgdesc="Lightweight color management development library/engine (32-bit)" pkgdesc="Lightweight color management development library/engine (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')

View File

@ -6,7 +6,7 @@
_pkgbasename=libasyncns _pkgbasename=libasyncns
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=0.8 pkgver=0.8
pkgrel=1 pkgrel=2
pkgdesc="A C library for Linux/Unix for executing name service queries asynchronously (32-bit)" pkgdesc="A C library for Linux/Unix for executing name service queries asynchronously (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://0pointer.de/lennart/projects/libasyncns" url="http://0pointer.de/lennart/projects/libasyncns"

View File

@ -6,7 +6,7 @@
_pkgbasename=libcap _pkgbasename=libcap
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.19 pkgver=2.19
pkgrel=1 pkgrel=2
pkgdesc="POSIX 1003.1e capabilities (32-bit)" pkgdesc="POSIX 1003.1e capabilities (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/" url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libcups _pkgbasename=libcups
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.4.5 pkgver=1.4.5
pkgrel=1 pkgrel=2
pkgdesc="The CUPS Printing System - client libraries (32-bit)" pkgdesc="The CUPS Printing System - client libraries (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('GPL') license=('GPL')

View File

@ -6,7 +6,7 @@
_pkgbasename=libdrm _pkgbasename=libdrm
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.4.23 pkgver=2.4.23
pkgrel=1 pkgrel=2
pkgdesc="Userspace interface to kernel DRM services (32-bit)" pkgdesc="Userspace interface to kernel DRM services (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')

View File

@ -6,7 +6,7 @@
_pkgbasename=libgcrypt _pkgbasename=libgcrypt
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.4.6 pkgver=1.4.6
pkgrel=1 pkgrel=2
pkgdesc="a general purpose crypto library based on the code used (32-bit)" pkgdesc="a general purpose crypto library based on the code used (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://www.gnupg.org" url="http://www.gnupg.org"

View File

@ -6,7 +6,7 @@
_pkgbasename=libglade _pkgbasename=libglade
pkgname=lib32-libglade pkgname=lib32-libglade
pkgver=2.6.4 pkgver=2.6.4
pkgrel=1 pkgrel=2
pkgdesc="Allows you to load glade interface files in a program at runtime (32-bit)" pkgdesc="Allows you to load glade interface files in a program at runtime (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('LGPL') license=('LGPL')

View File

@ -6,7 +6,7 @@
_pkgbasename=libgpg-error _pkgbasename=libgpg-error
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.7 pkgver=1.7
pkgrel=1 pkgrel=2
pkgdesc="Support library for libgcrypt (32-bit)" pkgdesc="Support library for libgcrypt (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://www.gnupg.org" url="http://www.gnupg.org"

View File

@ -6,7 +6,7 @@
_pkgbasename=libice _pkgbasename=libice
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.7 pkgver=1.0.7
pkgrel=1 pkgrel=2
pkgdesc="X11 Inter-Client Exchange library (32-bit)" pkgdesc="X11 Inter-Client Exchange library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -7,7 +7,7 @@ _pkgbasename=libjpeg
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=8.0.2 pkgver=8.0.2
_pkgver=8b _pkgver=8b
pkgrel=1 pkgrel=2
pkgdesc="Library of JPEG support functions (32-bit)" pkgdesc="Library of JPEG support functions (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.ijg.org/" url="http://www.ijg.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libjpeg _pkgbasename=libjpeg
pkgname=lib32-${_pkgbasename}6 pkgname=lib32-${_pkgbasename}6
pkgver=6b pkgver=6b
pkgrel=2 pkgrel=3
_pkgrel32=6 _pkgrel32=6
pkgdesc="An older version of a library of JPEG support functions (32-bit)" pkgdesc="An older version of a library of JPEG support functions (32-bit)"
url="ftp://ftp.uu.net/graphics/jpeg/" url="ftp://ftp.uu.net/graphics/jpeg/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libldap _pkgbasename=libldap
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.4.23 pkgver=2.4.23
pkgrel=1 pkgrel=2
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries (32-bit)" pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')

View File

@ -6,7 +6,7 @@
_pkgbasename=libmikmod _pkgbasename=libmikmod
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=3.1.12 pkgver=3.1.12
pkgrel=1 pkgrel=2
pkgdesc="A portable sound library" pkgdesc="A portable sound library"
license=('GPL' 'LGPL') license=('GPL' 'LGPL')
url="http://sourceforge.net/projects/mikmod/" url="http://sourceforge.net/projects/mikmod/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libmng _pkgbasename=libmng
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.10 pkgver=1.0.10
pkgrel=1 pkgrel=2
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files (32-bit)" pkgdesc="A collection of routines used to create and manipulate MNG format graphics files (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.libmng.com/" url="http://www.libmng.com/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libogg _pkgbasename=libogg
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.4 pkgver=1.2.2
pkgrel=1 pkgrel=2
pkgdesc="Ogg bitstream and framing library (32-bit)" pkgdesc="Ogg bitstream and framing library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.xiph.org/ogg/" url="http://www.xiph.org/ogg/"
@ -15,7 +15,7 @@ depends=('lib32-glibc' $_pkgbasename)
makedepends=(gcc-multilib) makedepends=(gcc-multilib)
options=('!libtool') options=('!libtool')
source=(http://downloads.xiph.org/releases/ogg/$_pkgbasename-$pkgver.tar.gz) source=(http://downloads.xiph.org/releases/ogg/$_pkgbasename-$pkgver.tar.gz)
md5sums=('10200ec22543841d9d1c23e0aed4e5e9') md5sums=('5a9fcabc9a1b7c6f1cd75ddc78f36c56')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -7,7 +7,7 @@ _pkgbasename=libpng
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.4.4 pkgver=1.4.4
_apngver=1.4.4 _apngver=1.4.4
pkgrel=1 pkgrel=2
pkgdesc="A collection of routines used to create PNG format graphics files (32-bit)" pkgdesc="A collection of routines used to create PNG format graphics files (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.libpng.org/pub/png/libpng.html" url="http://www.libpng.org/pub/png/libpng.html"

View File

@ -6,7 +6,7 @@
_pkgbasename=libpng _pkgbasename=libpng
pkgname=lib32-libpng12 pkgname=lib32-libpng12
pkgver=1.2.44 pkgver=1.2.44
pkgrel=1 pkgrel=2
pkgdesc="A collection of routines used to create PNG format graphics files (32-bit)" pkgdesc="A collection of routines used to create PNG format graphics files (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.libpng.org/pub/png/libpng.html" url="http://www.libpng.org/pub/png/libpng.html"

View File

@ -7,7 +7,7 @@ _pkgbasename=libpulse
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgdesc="A featureful, general-purpose sound server (32-bit client libraries)" pkgdesc="A featureful, general-purpose sound server (32-bit client libraries)"
pkgver=0.9.22 pkgver=0.9.22
pkgrel=1 pkgrel=2
arch=(x86_64) arch=(x86_64)
url="http://pulseaudio.org/" url="http://pulseaudio.org/"
license=(GPL LGPL) license=(GPL LGPL)

View File

@ -6,7 +6,7 @@
_pkgbasename=libsamplerate _pkgbasename=libsamplerate
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=0.1.7 pkgver=0.1.7
pkgrel=1 pkgrel=2
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio (32-bit)" pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.mega-nerd.com/SRC/index.html" url="http://www.mega-nerd.com/SRC/index.html"

View File

@ -5,8 +5,8 @@
_pkgbasename=libsm _pkgbasename=libsm
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.1 pkgver=1.2.0
pkgrel=1 pkgrel=3
pkgdesc="X11 Session Management library (32-bit)" pkgdesc="X11 Session Management library (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')
@ -15,7 +15,7 @@ depends=('lib32-libice' 'lib32-util-linux-ng' $_pkgbasename)
makedepends=('xorg-util-macros' 'xtrans' 'gcc-multilib') makedepends=('xorg-util-macros' 'xtrans' 'gcc-multilib')
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libSM-${pkgver}.tar.bz2)
md5sums=('6889a455496aaaa65b1fa05fc518d179') sha1sums=('f78bc72f0b3ec26cbf980f84f014422ba854544d')
build() { build() {
cd "${srcdir}/libSM-${pkgver}" cd "${srcdir}/libSM-${pkgver}"

View File

@ -5,17 +5,17 @@
_pkgbasename=libsndfile _pkgbasename=libsndfile
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.21 pkgver=1.0.24
pkgrel=1 pkgrel=2
pkgdesc="A C library for reading and writing files containing sampled sound (32-bit)" pkgdesc="A C library for reading and writing files containing sampled sound (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.mega-nerd.com/libsndfile" url="http://www.mega-nerd.com/libsndfile"
license=('LGPL') license=('LGPL')
depends=('lib32-flac>=1.2.1' 'lib32-libvorbis' $_pkgbasename) depends=('lib32-flac' 'lib32-libvorbis' $_pkgbasename)
makedepends=('lib32-alsa-lib' 'gcc-multilib') makedepends=('lib32-alsa-lib' 'gcc-multilib')
options=('!libtool') options=('!libtool')
source=(http://www.mega-nerd.com/libsndfile/files/${_pkgbasename}-${pkgver}.tar.gz) source=(http://www.mega-nerd.com/libsndfile/files/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('880a40ec636ab2185b97f8927299b292') md5sums=('8f823c30c1d8d44830db6ab845d6679e')
build() { build() {
cd "${srcdir}/${_pkgbasename}-${pkgver}" cd "${srcdir}/${_pkgbasename}-${pkgver}"

View File

@ -5,7 +5,7 @@
pkgname=lib32-libstdc++5 pkgname=lib32-libstdc++5
pkgver=3.3.6 pkgver=3.3.6
pkgrel=1 pkgrel=2
pkgdesc="Legacy GNU Standard C++ library version 3 (32 bit)" pkgdesc="Legacy GNU Standard C++ library version 3 (32 bit)"
arch=(x86_64) arch=(x86_64)
url="http://gcc.gnu.org" url="http://gcc.gnu.org"

View File

@ -6,7 +6,7 @@
_pkgbasename=libtiff _pkgbasename=libtiff
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=3.9.4 pkgver=3.9.4
pkgrel=1 pkgrel=2
pkgdesc="Library for manipulation of TIFF images (32-bit)" pkgdesc="Library for manipulation of TIFF images (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.remotesensing.org/libtiff/" url="http://www.remotesensing.org/libtiff/"

View File

@ -0,0 +1,34 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
pkgname=lib32-libusb-compat
pkgver=0.1.3
pkgrel=2
pkgdesc="Library to enable user space application programs to communicate with USB devices (32-bit)"
arch=('x86_64')
depends=('lib32-libusb' 'libusb-compat')
makedepends=('gcc-multilib')
url="http://libusb.sourceforge.net/"
license=('LGPL')
source=(http://downloads.sourceforge.net/libusb/libusb-compat-0.1/libusb-compat-$pkgver/libusb-compat-${pkgver}.tar.bz2)
options=('!libtool')
md5sums=('570ac2ea085b80d1f74ddc7c6a93c0eb')
build() {
cd ${srcdir}/libusb-compat-${pkgver}
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/libusb-compat-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/{bin,include}
}

35
lib32-libusb/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
pkgname=lib32-libusb
pkgver=1.0.8
pkgrel=2
pkgdesc="Library to enable user space application programs to communicate with USB devices. (32-bit)"
arch=('x86_64')
url="http://libusb.sourceforge.net/"
license=('LGPL')
depends=('lib32-glibc' 'libusb')
makedepends=('gcc-multilib')
source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
options=(!libtool)
md5sums=('37d34e6eaa69a4b645a19ff4ca63ceef')
build() {
cd "${srcdir}/libusb-${pkgver}"
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package () {
cd "${srcdir}/libusb-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf ${pkgdir}/usr/include
}

View File

@ -6,7 +6,7 @@
_pkgbasename=libvorbis _pkgbasename=libvorbis
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.3.1 pkgver=1.3.1
pkgrel=1 pkgrel=2
pkgdesc="Vorbis codec library (32-bit)" pkgdesc="Vorbis codec library (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')

View File

@ -6,7 +6,7 @@
_pkgbasename=libx11 _pkgbasename=libx11
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.3.99.902 pkgver=1.3.99.902
pkgrel=1 pkgrel=2
pkgdesc="X11 client-side library (32-bit)" pkgdesc="X11 client-side library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxau _pkgbasename=libxau
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.5 pkgver=1.0.6
pkgrel=3 pkgrel=2
pkgdesc="X11 authorisation library" pkgdesc="X11 authorisation library"
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"
arch=(x86_64) arch=(x86_64)
@ -15,7 +15,7 @@ makedepends=('pkgconfig' 'xproto>=7.0.15' 'gcc-multilib')
license=('custom') license=('custom')
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2)
md5sums=('993b3185c629e4b89401fca072dcb663') sha1sums=('0e1ab449f98026e4599f6e0d7491810d36c8fe4d')
build() { build() {
cd "${srcdir}/libXau-${pkgver}" cd "${srcdir}/libXau-${pkgver}"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxaw _pkgbasename=libxaw
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.7 pkgver=1.0.9
pkgrel=1 pkgrel=2
pkgdesc="X11 Athena Widget library (32 bit)" pkgdesc="X11 Athena Widget library (32 bit)"
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')
@ -15,7 +15,7 @@ depends=('lib32-libxmu' 'lib32-libxpm' "$_pkgbasename>=$pkgver")
makedepends=('xorg-util-macros' 'gcc-multilib') makedepends=('xorg-util-macros' 'gcc-multilib')
options=('!libtool') options=('!libtool')
source=(http://xorg.freedesktop.org/releases/individual/lib/libXaw-${pkgver}.tar.bz2) source=(http://xorg.freedesktop.org/releases/individual/lib/libXaw-${pkgver}.tar.bz2)
md5sums=('815e74de989ccda684e2baf8d12cf519') sha1sums=('5f8fc1b10316f31d4c6fa1d938b2297ff5bd2da5')
build() { build() {
cd "${srcdir}/libXaw-${pkgver}" cd "${srcdir}/libXaw-${pkgver}"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxcb _pkgbasename=libxcb
pkgname=lib32-libxcb pkgname=lib32-libxcb
pkgver=1.7 pkgver=1.7
pkgrel=1 pkgrel=2
pkgdesc="X11 client-side library" pkgdesc="X11 client-side library"
arch=(x86_64) arch=(x86_64)
url="http://xcb.freedesktop.org/" url="http://xcb.freedesktop.org/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxcomposite _pkgbasename=libxcomposite
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=0.4.2 pkgver=0.4.3
pkgrel=1 pkgrel=2
pkgdesc="X11 Composite extension library (32-bit)" pkgdesc="X11 Composite extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"
@ -15,7 +15,7 @@ depends=('lib32-libxfixes' 'lib32-libxext' 'compositeproto' $_pkgbasename)
makedepends=('xorg-util-macros' gcc-multilib) makedepends=('xorg-util-macros' gcc-multilib)
options=(!libtool) options=(!libtool)
source=(${url}/releases/individual/lib/libXcomposite-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXcomposite-${pkgver}.tar.bz2)
md5sums=('e38dc98509149083f6c31b49b484e63c') sha1sums=('081b26b556d55e20d7956c80a2ea2854962aecec')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxcursor _pkgbasename=libxcursor
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.10 pkgver=1.1.11
pkgrel=1 pkgrel=2
pkgdesc="X cursor management library (32-bit)" pkgdesc="X cursor management library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"
@ -15,7 +15,7 @@ depends=('lib32-libxfixes' 'lib32-libxrender' $_pkgbasename)
makedepends=('xorg-util-macros' gcc-multilib) makedepends=('xorg-util-macros' gcc-multilib)
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2)
md5sums=('7dcdad1c10daea872cb3355af414b2ca') sha1sums=('35491bd17cbcdda712e1a064c67ccbc523e2702c')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxdamage _pkgbasename=libxdamage
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.3 pkgver=1.1.3
pkgrel=1 pkgrel=2
pkgdesc="X11 damaged region extension library (32-bit)" pkgdesc="X11 damaged region extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxdmcp _pkgbasename=libxdmcp
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.3 pkgver=1.0.3
pkgrel=1 pkgrel=2
pkgdesc="X11 Display Manager Control Protocol library (32-bit)" pkgdesc="X11 Display Manager Control Protocol library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxext _pkgbasename=libxext
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.2.0 pkgver=1.2.0
pkgrel=1 pkgrel=2
pkgdesc="X11 miscellaneous extensions library (32-bit)" pkgdesc="X11 miscellaneous extensions library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxfixes _pkgbasename=libxfixes
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=4.0.5 pkgver=4.0.5
pkgrel=1 pkgrel=2
pkgdesc="X11 miscellaneous 'fixes' extension library (32-bit)" pkgdesc="X11 miscellaneous 'fixes' extension library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxft _pkgbasename=libxft
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.1.14 pkgver=2.2.0
pkgrel=1 pkgrel=2
pkgdesc="FreeType-based font drawing library for X (32-bit)" pkgdesc="FreeType-based font drawing library for X (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')
@ -15,7 +15,7 @@ depends=('lib32-fontconfig' 'lib32-libxrender')
makedepends=('gcc-multilib') makedepends=('gcc-multilib')
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXft-${pkgver}.tar.bz2)
md5sums=('254e62a233491e0e1251636536163e20') sha1sums=('ed29784259f4e26df78141035560ae8a7c62e83f')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxi _pkgbasename=libxi
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.3.2 pkgver=1.3.2
pkgrel=1 pkgrel=3
pkgdesc="X11 Input extension library (32-bit)" pkgdesc="X11 Input extension library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://xorg.freedesktop.org" url="http://xorg.freedesktop.org"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxinerama _pkgbasename=libxinerama
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1 pkgver=1.1
pkgrel=1 pkgrel=2
pkgdesc="X11 Xinerama extension library (32-bit)" pkgdesc="X11 Xinerama extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxml2 _pkgbasename=libxml2
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=2.7.8 pkgver=2.7.8
pkgrel=1 pkgrel=2
pkgdesc="XML parsing library, version 2 (32-bit)" pkgdesc="XML parsing library, version 2 (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')
@ -27,10 +27,10 @@ build() {
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/${_pkgbasename}-${pkgver}" cd "${srcdir}/${_pkgbasename}-${pkgver}"
# patch -Np1 -i "${srcdir}/shared_library_versionning.patch" patch -Np1 -i "${srcdir}/shared_library_versionning.patch"
# patch -Np1 -i "${srcdir}/largefile64.patch" || return 1 # patch -Np1 -i "${srcdir}/largefile64.patch" || return 1
autoreconf -fi autoreconf -fi
./configure --prefix=/usr --with-threads --with-history --libdir=/usr/lib32 ./configure --prefix=/usr --with-threads --with-history --libdir=/usr/lib32 --without-python
make make
} }

View File

@ -5,8 +5,8 @@
_pkgbasename=libxmu _pkgbasename=libxmu
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.5 pkgver=1.1.0
pkgrel=1 pkgrel=2
pkgdesc="X11 miscellaneous micro-utility library (32-bit)" pkgdesc="X11 miscellaneous micro-utility library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"
@ -15,7 +15,7 @@ makedepends=('xorg-util-macros' 'gcc-multilib')
license=('custom') license=('custom')
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2)
md5sums=('fc4d66be7a1a1eb474954728415e46d6') sha1sums=('81876a0848070bfc4476a2538fc16898eb6d96cd')
build() { build() {
cd "${srcdir}/libXmu-${pkgver}" cd "${srcdir}/libXmu-${pkgver}"
@ -23,8 +23,10 @@ build() {
export CC="gcc -m32" export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --sysconfdir=/etc --disable-static \ ./configure --prefix=/usr \
--libdir=/usr/lib32 --sysconfdir=/etc \
--disable-static \
--libdir=/usr/lib32
make make
} }

View File

@ -6,7 +6,7 @@
_pkgbasename=libxpm _pkgbasename=libxpm
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=3.5.9 pkgver=3.5.9
pkgrel=1 pkgrel=2
pkgdesc="X11 pixmap library (32-bit)" pkgdesc="X11 pixmap library (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')

View File

@ -5,8 +5,8 @@
_pkgbasename=libxrandr _pkgbasename=libxrandr
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.3.0 pkgver=1.3.1
pkgrel=1 pkgrel=2
pkgdesc="X11 RandR extension library (32-bit)" pkgdesc="X11 RandR extension library (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')
@ -15,7 +15,7 @@ depends=('lib32-libxext' 'lib32-libxrender' 'randrproto' $_pkgbasename)
makedepends=('xorg-util-macros' gcc-multilib) makedepends=('xorg-util-macros' gcc-multilib)
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2)
md5sums=('68eb59c3b7524db6ffd78746ee893d1d') sha1sums=('8e89622b0656cb2eb22c1f3c646c797dc648ead5')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxrender _pkgbasename=libxrender
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=0.9.6 pkgver=0.9.6
pkgrel=1 pkgrel=2
pkgdesc="X Rendering Extension client library (32-bit)" pkgdesc="X Rendering Extension client library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxslt _pkgbasename=libxslt
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.26 pkgver=1.1.26
pkgrel=1 pkgrel=2
pkgdesc="XML stylesheet transformation library (32-bit)" pkgdesc="XML stylesheet transformation library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://xmlsoft.org/XSLT/" url="http://xmlsoft.org/XSLT/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxss _pkgbasename=libxss
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.2.0 pkgver=1.2.1
pkgrel=1 pkgrel=2
pkgdesc="X11 Screen Saver extension library (32-bit)" pkgdesc="X11 Screen Saver extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')
@ -15,7 +15,7 @@ depends=('lib32-libxext' 'scrnsaverproto' $_pkgbasename)
makedepends=('xorg-util-macros' gcc-multilib) makedepends=('xorg-util-macros' gcc-multilib)
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXScrnSaver-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXScrnSaver-${pkgver}.tar.bz2)
sha1sums=('ea2935eb67efa77fd90372337f2d782a8ef74cea') sha1sums=('3c29e2222fd68e26e408234c51c6d8b2edf6ab19')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxt _pkgbasename=libxt
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.8 pkgver=1.0.8
pkgrel=1 pkgrel=2
pkgdesc="X11 toolkit intrinsics library (32-bit)" pkgdesc="X11 toolkit intrinsics library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxtst _pkgbasename=libxtst
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.0 pkgver=1.2.0
pkgrel=1 pkgrel=2
pkgdesc="X11 Testing -- Resource extension library (32-bit)" pkgdesc="X11 Testing -- Resource extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"
@ -15,7 +15,7 @@ depends=('lib32-libxext' 'lib32-libxi' 'recordproto' 'inputproto' $_pkgbasename)
makedepends=('gcc-multilib' 'xorg-util-macros') makedepends=('gcc-multilib' 'xorg-util-macros')
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.bz2)
md5sums=('dd6f3e20b87310187121539f9605d977') sha1sums=('9fb06ed599caf7f9e7115cbbfadf02b47c17aa72')
build() { build() {
cd "${srcdir}/libXtst-${pkgver}" cd "${srcdir}/libXtst-${pkgver}"

View File

@ -6,7 +6,7 @@
_pkgbasename=libxv _pkgbasename=libxv
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.6 pkgver=1.0.6
pkgrel=1 pkgrel=2
pkgdesc="X11 Video extension library (32-bit)" pkgdesc="X11 Video extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
license=('custom') license=('custom')

View File

@ -6,7 +6,7 @@
_pkgbasename=libxvmc _pkgbasename=libxvmc
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.0.6 pkgver=1.0.6
pkgrel=1 pkgrel=2
pkgdesc="X11 Video Motion Compensation extension library (32-bit)" pkgdesc="X11 Video Motion Compensation extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxxf86dga _pkgbasename=libxxf86dga
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.1 pkgver=1.1.2
pkgrel=1 pkgrel=2
pkgdesc="X11 Direct Graphics Access extension library (32-bit)" pkgdesc="X11 Direct Graphics Access extension library (32-bit)"
arch=(x86_64) arch=(x86_64)
url="http://xorg.freedesktop.org/" url="http://xorg.freedesktop.org/"
@ -15,7 +15,7 @@ depends=('lib32-libxext' 'xf86dgaproto' $_pkgbasename)
makedepends=('xorg-util-macros' gcc-multilib) makedepends=('xorg-util-macros' gcc-multilib)
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXxf86dga-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXxf86dga-${pkgver}.tar.bz2)
md5sums=('368837d3d7a4d3b4f70be48383e3544e') sha1sums=('333a9f5c61eba896f420969561606551174645cd')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -5,8 +5,8 @@
_pkgbasename=libxxf86vm _pkgbasename=libxxf86vm
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.1.0 pkgver=1.1.1
pkgrel=1 pkgrel=2
pkgdesc="X11 XFree86 video mode extension library (32-bit)" pkgdesc="X11 XFree86 video mode extension library (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')
@ -15,7 +15,7 @@ depends=('lib32-libxext' 'xf86vidmodeproto' $_pkgbasename)
makedepends=('xorg-util-macros' gcc-multilib) makedepends=('xorg-util-macros' gcc-multilib)
options=('!libtool') options=('!libtool')
source=(${url}/releases/individual/lib/libXxf86vm-${pkgver}.tar.bz2) source=(${url}/releases/individual/lib/libXxf86vm-${pkgver}.tar.bz2)
md5sums=('b431ad7084e1055fef99a9115237edd8') sha1sums=('2ff2d2b3c60a5c5c0cc4e0a18492d3b7168a03af')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

View File

@ -4,98 +4,141 @@
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org> # maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
pkgbase=lib32-mesa pkgbase=lib32-mesa
pkgname=('lib32-mesa' 'lib32-libgl' 'lib32-ati-dri' 'lib32-intel-dri' 'lib32-unichrome-dri' 'lib32-mach64-dri' 'lib32-mga-dri' 'lib32-r128-dri' 'lib32-savage-dri' 'lib32-sis-dri' 'lib32-tdfx-dri' 'lib32-nouveau-dri') pkgname=('lib32-mesa' 'lib32-libgl' 'lib32-libgles' 'lib32-libegl' 'lib32-ati-dri' 'lib32-intel-dri' 'lib32-unichrome-dri' 'lib32-mach64-dri' 'lib32-mga-dri' 'lib32-r128-dri' 'lib32-savage-dri'
pkgver=7.10 'lib32-sis-dri' 'lib32-tdfx-dri' 'lib32-nouveau-dri')
pkgver=7.10.2
pkgrel=2 pkgrel=2
arch=(x86_64) arch=(x86_64)
makedepends=('glproto>=1.4.12' 'pkgconfig' 'lib32-libdrm>=2.4.22' 'lib32-libxxf86vm>=1.1.0' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' 'lib32-libx11>=1.3.5' 'lib32-libxt>=1.0.8' makedepends=('glproto>=1.4.12' 'pkgconfig' 'lib32-libdrm>=2.4.23' 'lib32-libxxf86vm>=1.1.0' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' 'lib32-libx11>=1.3.5' 'lib32-libxt>=1.0.8'
'lib32-gcc-libs>=4.5' 'dri2proto=2.3' 'lib32-talloc' 'python2' 'libxml2' 'gcc-multilib' 'imake') 'lib32-gcc-libs>=4.5' 'dri2proto=2.3' 'python2' 'libxml2' 'gcc-multilib' imake 'lib32-udev')
url="http://mesa3d.sourceforge.net" url="http://mesa3d.sourceforge.net"
license=('custom') license=('custom')
source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2 source=("ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2" nouveau-fix-header.patch)
ftp://ftp.freedesktop.org/pub/mesa/demos/8.0.1/mesa-demos-8.0.1.tar.bz2) md5sums=('f5de82852f1243f42cc004039e10b771' '67c87b77cc2236b52a3b47dad3fbb5d4')
md5sums=('33fb94eccc02cbb4d8d1365615e38e46'
'320c2a4b6edc6faba35d9cb1e2a30bf4')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"
export CXX="g++ -m32" export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
# python2 build fixes
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')
sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" "${srcdir}/Mesa-${pkgver}"/configs/{default,autoconf.in}
sed -i -e "s|python|python2|" "${srcdir}/Mesa-${pkgver}"/src/gallium/auxiliary/Makefile
cd "${srcdir}/Mesa-${pkgver}" cd "${srcdir}/Mesa-${pkgver}"
patch -Np1 -i "${srcdir}/nouveau-fix-header.patch"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--with-dri-driverdir=/usr/lib32/xorg/modules/dri \ --with-dri-driverdir=/usr/lib32/xorg/modules/dri \
--disable-egl \
--enable-gallium-radeon \ --enable-gallium-radeon \
--enable-gallium-r600 \
--enable-gallium-nouveau \ --enable-gallium-nouveau \
--enable-gallium-swrast \
--enable-glx-tls \ --enable-glx-tls \
--with-driver=dri \ --with-driver=dri \
--enable-xcb \ --enable-xcb \
--with-state-trackers=dri,glx \ --with-state-trackers=dri,glx \
--disable-glut \ --disable-glut \
--enable-gles1 \
--enable-gles2 \
--enable-egl \
--disable-gallium-egl \
--enable-32-bit \ --enable-32-bit \
--libdir=/usr/lib32 --libdir=/usr/lib32
make make
} }
package_lib32-libgl() { package_lib32-libgl() {
depends=('lib32-libdrm>=2.4.22' 'lib32-libxxf86vm>=1.1.0' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' depends=('lib32-libdrm>=2.4.23' 'lib32-libxxf86vm>=1.1.0' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' 'lib32-gcc-libs>=4.5' 'libgl')
'lib32-gcc-libs>=4.5' "libgl")
pkgdesc="Mesa 3-D graphics library and DRI software rasterizer (32-bit)" pkgdesc="Mesa 3-D graphics library and DRI software rasterizer (32-bit)"
cd "${srcdir}/Mesa-${pkgver}" cd "${srcdir}/Mesa-${pkgver}"
install -m755 -d "${pkgdir}/usr/lib32" install -m755 -d "${pkgdir}/usr/lib32"
install -m755 -d "${pkgdir}/usr/lib32/xorg/modules/extensions" install -m755 -d "${pkgdir}/usr/lib32/xorg/modules/extensions"
bin/minstall lib32/libGL.so* "${pkgdir}/usr/lib32/" bin/minstall lib32/libGL.so* "${pkgdir}/usr/lib32/"
cd src/mesa/drivers/dri make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-swrast DESTDIR="${pkgdir}" install
make -C swrast DESTDIR="${pkgdir}" install
ln -s swrastg_dri.so "${pkgdir}/usr/lib32/xorg/modules/dri/swrast_dri.so"
ln -s libglx.xorg "${pkgdir}/usr/lib32/xorg/modules/extensions/libglx.so" ln -s libglx.xorg "${pkgdir}/usr/lib32/xorg/modules/extensions/libglx.so"
rm -rf "${pkgdir}"/usr/{include,share,bin} rm -rf "${pkgdir}"/usr/{include,share,bin}
install -m755 -d "${pkgdir}/usr/share/licenses/libgl" install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
ln -s libgl "$pkgdir/usr/share/licenses/libgl/$pkgname" ln -s libgl "$pkgdir/usr/share/licenses/libgl/lib32-libgl"
}
package_lib32-libgles() {
depends=('libgles')
pkgdesc="Mesa GLES libraries (32-bit)"
cd "${srcdir}/Mesa-${pkgver}"
install -m755 -d "${pkgdir}/usr/lib32"
install -m755 -d "${pkgdir}/usr/lib32/pkgconfig"
bin/minstall lib32/libGLESv* "${pkgdir}/usr/lib32/"
bin/minstall src/mapi/es1api/glesv1_cm.pc "${pkgdir}/usr/lib32/pkgconfig/"
bin/minstall src/mapi/es2api/glesv2.pc "${pkgdir}/usr/lib32/pkgconfig/"
install -m755 -d "${pkgdir}/usr/share/licenses/libgles"
ln -s libgles "$pkgdir/usr/share/licenses/libgles/lib32-libgles"
}
package_lib32-libegl() {
depends=('lib32-udev' 'libegl')
pkgdesc="Mesa libEGL libraries (32-bit)"
cd "${srcdir}/Mesa-${pkgver}"
install -m755 -d "${pkgdir}/usr/lib32"
install -m755 -d "${pkgdir}/usr/lib32/egl"
install -m755 -d "${pkgdir}/usr/lib32/pkgconfig"
bin/minstall lib32/libEGL.so* "${pkgdir}/usr/lib32/"
bin/minstall lib32/egl/* "${pkgdir}/usr/lib32/egl/"
bin/minstall src/egl/main/egl.pc "${pkgdir}/usr/lib32/pkgconfig/"
install -m755 -d "${pkgdir}/usr/share/licenses/libegl"
ln -s libgles "$pkgdir/usr/share/licenses/libegl/lib32-libegl"
} }
package_lib32-mesa() { package_lib32-mesa() {
depends=('lib32-libgl' 'lib32-libx11>=1.3.5' 'lib32-libxt>=1.0.8' 'dri2proto=2.3' 'lib32-libdrm>=2.4.22' 'glproto>=1.4.12' "mesa") depends=('lib32-libgl' 'lib32-libx11>=1.3.5' 'lib32-libxt>=1.0.8' 'mesa')
pkgdesc="Mesa 3-D graphics libraries and include files (32-bit)" pkgdesc="Mesa 3-D graphics libraries and include files (32-bit)"
cd "${srcdir}/Mesa-${pkgver}" cd "${srcdir}/Mesa-${pkgver}"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
cd "${srcdir}/mesa-demos-8.0.1/src/xdemos"
install -m755 -d "${pkgdir}/usr/bin"
$CC glxinfo.c -I${pkgdir}/usr/include -L${pkgdir}/usr/lib32 -lX11 -lGL -o "${pkgdir}/usr/bin/glxinfo32"
rm -f "${pkgdir}/usr/lib32/libGL.so"* rm -f "${pkgdir}/usr/lib32/libGL.so"*
rm -rf "${pkgdir}/usr/lib32/xorg" rm -f "${pkgdir}/usr/lib32/libGLESv"*
rm -rf "${pkgdir}"/usr/{include,share} rm -f "${pkgdir}/usr/lib32/libEGL"*
rm -rf "${pkgdir}/usr/lib32/egl"
rm -f ${pkgdir}/usr/lib32/pkgconfig/{glesv1_cm.pc,glesv2.pc,egl.pc}
rm -rf "$pkgdir"/{usr/include,usr/lib32/xorg}
install -m755 -d "${pkgdir}/usr/share/licenses/mesa" install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
ln -s mesa "$pkgdir/usr/share/licenses/mesa/$pkgname" ln -s mesa "$pkgdir/usr/share/licenses/mesa/lib32-mesa"
} }
package_lib32-ati-dri() { package_lib32-ati-dri() {
depends=("lib32-libgl=${pkgver}") depends=("lib32-libgl=${pkgver}")
pkgdesc="Mesa DRI + Gallium3D r300 drivers for AMD/ATI Radeon (32-bit)" pkgdesc="Mesa DRI + Gallium3D for r300 and later chipsets drivers for AMD/ATI Radeon (32-bit)"
conflicts=('xf86-video-ati<6.9.0-6') conflicts=('xf86-video-ati<6.9.0-6')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C radeon DESTDIR="${pkgdir}" install make -C radeon DESTDIR="${pkgdir}" install
make -C r200 DESTDIR="${pkgdir}" install make -C r200 DESTDIR="${pkgdir}" install
# classic mesa driver for R300 r300_dri.so
#make -C r300 DESTDIR="${pkgdir}" install <------- depricated # DRI drivers for r300 and r600 are removed
# gallium3D driver for R300 r300_dri.so # gallium3D driver for R300 and R600 r300_dri.so/r600_dri.so
make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install if [ "${_git}" = "true" ]; then
make -C r600 DESTDIR="${pkgdir}" install make -C ${srcdir}/mesa-*/src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install
make -C ${srcdir}/mesa-*/src/gallium/targets/dri-r600 DESTDIR="${pkgdir}" install
else
make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install
make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-r600 DESTDIR="${pkgdir}" install
fi
} }
package_lib32-intel-dri() { package_lib32-intel-dri() {
@ -103,6 +146,7 @@ package_lib32-intel-dri() {
pkgdesc="Mesa DRI drivers for Intel (32-bit)" pkgdesc="Mesa DRI drivers for Intel (32-bit)"
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C i810 DESTDIR="${pkgdir}" install make -C i810 DESTDIR="${pkgdir}" install
make -C i915 DESTDIR="${pkgdir}" install make -C i915 DESTDIR="${pkgdir}" install
make -C i965 DESTDIR="${pkgdir}" install make -C i965 DESTDIR="${pkgdir}" install
@ -113,6 +157,7 @@ package_lib32-unichrome-dri() {
pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome (32-bit)" pkgdesc="Mesa DRI drivers for S3 Graphics/VIA Unichrome (32-bit)"
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C unichrome DESTDIR="${pkgdir}" install make -C unichrome DESTDIR="${pkgdir}" install
} }
@ -122,6 +167,7 @@ package_lib32-mach64-dri() {
conflicts=('xf86-video-mach64<6.8.2') conflicts=('xf86-video-mach64<6.8.2')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C mach64 DESTDIR="${pkgdir}" install make -C mach64 DESTDIR="${pkgdir}" install
} }
@ -131,6 +177,7 @@ package_lib32-mga-dri() {
conflicts=('xf86-video-mga<1.4.11') conflicts=('xf86-video-mga<1.4.11')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C mga DESTDIR="${pkgdir}" install make -C mga DESTDIR="${pkgdir}" install
} }
@ -140,6 +187,7 @@ package_lib32-r128-dri() {
conflicts=('xf86-video-r128<6.8.1') conflicts=('xf86-video-r128<6.8.1')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C r128 DESTDIR="${pkgdir}" install make -C r128 DESTDIR="${pkgdir}" install
} }
@ -149,6 +197,7 @@ package_lib32-savage-dri() {
conflicts=('xf86-video-savage<2.3.1') conflicts=('xf86-video-savage<2.3.1')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C savage DESTDIR="${pkgdir}" install make -C savage DESTDIR="${pkgdir}" install
} }
@ -158,6 +207,7 @@ package_lib32-sis-dri() {
conflicts=('xf86-video-sis<0.10.2') conflicts=('xf86-video-sis<0.10.2')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C sis DESTDIR="${pkgdir}" install make -C sis DESTDIR="${pkgdir}" install
} }
@ -167,6 +217,7 @@ package_lib32-tdfx-dri() {
conflicts=('xf86-video-tdfx<1.4.3') conflicts=('xf86-video-tdfx<1.4.3')
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
make -C tdfx DESTDIR="${pkgdir}" install make -C tdfx DESTDIR="${pkgdir}" install
} }
@ -175,9 +226,9 @@ package_lib32-nouveau-dri() {
pkgdesc="Mesa classic DRI + Gallium3D drivers for Nouveau (32-bit)" pkgdesc="Mesa classic DRI + Gallium3D drivers for Nouveau (32-bit)"
cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri" cd "${srcdir}/Mesa-${pkgver}/src/mesa/drivers/dri"
# classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so # classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so
make -C nouveau DESTDIR="${pkgdir}" install make -C nouveau DESTDIR="${pkgdir}" install
# gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so # gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so
# make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
} }

View File

@ -0,0 +1,86 @@
From 5c102dd94f435e97507213fbd128e50dd15f5f54 Mon Sep 17 00:00:00 2001
From: Ben Skeggs <bskeggs@redhat.com>
Date: Mon, 20 Dec 2010 03:39:36 +0000
Subject: nouveau: fix includes for latest libdrm
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
---
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
index ab480ca..747b084 100644
--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
+++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
@@ -10,7 +10,7 @@
#include "nouveau/nouveau_grobj.h"
#include "nouveau/nouveau_notifier.h"
#include "nouveau/nouveau_resource.h"
-#include "nouveau/nouveau_pushbuf.h"
+#include "nouveau/nv04_pushbuf.h"
#ifndef NV04_PFIFO_MAX_PACKET_LEN
#define NV04_PFIFO_MAX_PACKET_LEN 2047
diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c
index ce48022..a99df76 100644
--- a/src/gallium/drivers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -22,7 +22,7 @@
#define __NOUVEAU_PUSH_H__
#include <stdint.h>
-#include "nouveau/nouveau_pushbuf.h"
+#include "nouveau/nv04_pushbuf.h"
#include "nv50_context.h"
#include "nv50_resource.h"
#include "pipe/p_defines.h"
diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c
index e0e65e7..e2fadd3 100644
--- a/src/gallium/drivers/nvfx/nv04_2d.c
+++ b/src/gallium/drivers/nvfx/nv04_2d.c
@@ -34,11 +34,11 @@
#include <stdio.h>
#include <stdint.h>
#include <nouveau/nouveau_device.h>
-#include <nouveau/nouveau_pushbuf.h>
#include <nouveau/nouveau_channel.h>
#include <nouveau/nouveau_bo.h>
#include <nouveau/nouveau_notifier.h>
#include <nouveau/nouveau_grobj.h>
+#include <nouveau/nv04_pushbuf.h>
#include "nv04_2d.h"
#include "nouveau/nv_object.xml.h"
diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c
index 597664e..339b317 100644
--- a/src/gallium/drivers/nvfx/nvfx_vbo.c
+++ b/src/gallium/drivers/nvfx/nvfx_vbo.c
@@ -9,8 +9,7 @@
#include "nvfx_resource.h"
#include "nouveau/nouveau_channel.h"
-
-#include "nouveau/nouveau_pushbuf.h"
+#include "nouveau/nv04_pushbuf.h"
static inline unsigned
util_guess_unique_indices_count(unsigned mode, unsigned indices)
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h
index 8036b18..c5ac128 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h
@@ -38,7 +38,6 @@
#include <assert.h>
#include "nouveau_device.h"
-#include "nouveau_pushbuf.h"
#include "nouveau_grobj.h"
#include "nouveau_channel.h"
#include "nouveau_bo.h"
@@ -46,6 +45,7 @@
#include "nouveau_screen.h"
#include "nouveau_state.h"
#include "nouveau_surface.h"
+#include "nv04_pushbuf.h"
#define DRIVER_DATE "20091015"
#define DRIVER_AUTHOR "Nouveau"
--
cgit v0.8.3-6-g21f6

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
_pkgbasename=mpg123 _pkgbasename=mpg123
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.12.5 pkgver=1.12.5
pkgrel=1 pkgrel=2
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3 (32-bit)" pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3 (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://sourceforge.net/projects/mpg123" url="http://sourceforge.net/projects/mpg123"

View File

@ -5,18 +5,16 @@
_pkgbasename=ncurses _pkgbasename=ncurses
pkgname=lib32-${_pkgbasename} pkgname=lib32-${_pkgbasename}
pkgver=5.7 pkgver=5.9
pkgrel=1 pkgrel=2
pkgdesc="System V Release 4.0 curses emulation library (32-bit)" pkgdesc="System V Release 4.0 curses emulation library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.gnu.org/software/ncurses/" url="http://www.gnu.org/software/ncurses/"
license=('MIT') license=('MIT')
depends=('lib32-glibc' ${_pkgbasename}) depends=('lib32-glibc' ${_pkgbasename})
makedepends=("gcc-multilib") makedepends=("gcc-multilib")
source=(ftp://ftp.gnu.org/pub/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz source=(ftp://ftp.gnu.org/pub/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
set_field_buffer.patch) md5sums=('8cb9c412e5f2d96bc6f459aa8c6282a1')
md5sums=('cce05daf61a64501ef6cd8da1f727ec6'
'04c8d6d95140a29d72c0eb685a2eeffd')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"
@ -26,9 +24,6 @@ build() {
cd ${srcdir}/ cd ${srcdir}/
mkdir ncurses{,w}-build mkdir ncurses{,w}-build
# http://permalink.gmane.org/gmane.comp.lib.ncurses.bugs/3559
patch -Np1 -i ${srcdir}/set_field_buffer.patch
cd ${srcdir}/ncursesw-build cd ${srcdir}/ncursesw-build
../${_pkgbasename}-${pkgver}/configure --prefix=/usr --mandir=/usr/share/man \ ../${_pkgbasename}-${pkgver}/configure --prefix=/usr --mandir=/usr/share/man \
--with-shared --with-normal --without-debug --without-ada \ --with-shared --with-normal --without-debug --without-ada \
@ -39,7 +34,7 @@ build() {
cd ${srcdir}/ncurses-build cd ${srcdir}/ncurses-build
# [ $CARCH = "x86_64" ] && CONFIGFLAG="--with-chtype=long" # [ $CARCH = "x86_64" ] && CONFIGFLAG="--with-chtype=long"
../${_pkgbasename}-${pkgver}/configure --prefix=/usr \ ../${_pkgbasename}-${pkgver}/configure --prefix=/usr \
--with-shared --with-normal --without-debug --without-ada \ --with-shared --with-normal --without-debug --without-ada --without-gpm \
--with-install-prefix=${pkgdir} $CONFIGFLAG --libdir=/usr/lib32 --with-install-prefix=${pkgdir} $CONFIGFLAG --libdir=/usr/lib32
make make
} }

View File

@ -6,7 +6,7 @@
_pkgbasename=nspr _pkgbasename=nspr
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=4.8.7 pkgver=4.8.7
pkgrel=1 pkgrel=2
pkgdesc="Netscape Portable Runtime (32-bit)" pkgdesc="Netscape Portable Runtime (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.mozilla.org/projects/nspr/" url="http://www.mozilla.org/projects/nspr/"

View File

@ -6,7 +6,7 @@
_pkgbasename=nss _pkgbasename=nss
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=3.12.9 pkgver=3.12.9
pkgrel=1 pkgrel=2
pkgdesc="Mozilla's Netscape Security Services Library that implements PKI support (32-bit)" pkgdesc="Mozilla's Netscape Security Services Library that implements PKI support (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.mozilla.org/projects/security/pki/nss/" url="http://www.mozilla.org/projects/security/pki/nss/"

View File

@ -5,58 +5,61 @@
_pkgbasename=nvidia-utils _pkgbasename=nvidia-utils
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=260.19.44 pkgver=270.41.19
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)" pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
depends=('lib32-libxvmc' $_pkgbasename) depends=('lib32-libxvmc' 'lib32-zlib' 'lib32-gcc-libs' $_pkgbasename)
conflicts=('lib32-libgl') conflicts=('lib32-libgl')
provides=('lib32-libgl=7.9.0') provides=('lib32-libgl=7.10.2')
license=('custom') license=('custom')
options=('!strip') options=('!strip')
_arch='x86' _filearch='x86'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}" _pkg="NVIDIA-Linux-${_filearch}-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") source=("ftp://download.nvidia.com/XFree86/Linux-${_filearch}/${pkgver}/${_pkg}.run")
md5sums=('c99b0710a43db3aafb4f27408194e910') md5sums=('c167e32702f56599bd600add97943312')
build() { build() {
cd $srcdir cd $srcdir
sh ${_pkg}.run --extract-only sh ${_pkg}.run --extract-only
} }
package() { package() {
cd $srcdir/${_pkg} cd $srcdir/${_pkg}
# OpenGL library # OpenGL library
install -D -m755 libGL.so.$pkgver $pkgdir/usr/lib32/libGL.so.$pkgver install -D -m755 libGL.so.$pkgver $pkgdir/usr/lib32/libGL.so.$pkgver
# OpenGL core library # OpenGL core library
install -D -m755 libnvidia-glcore.so.$pkgver $pkgdir/usr/lib32/libnvidia-glcore.so.$pkgver install -D -m755 libnvidia-glcore.so.$pkgver $pkgdir/usr/lib32/libnvidia-glcore.so.$pkgver
# XvMC # XvMC
install -D -m644 libXvMCNVIDIA.a $pkgdir/usr/lib32/libXvMCNVIDIA.a install -D -m644 libXvMCNVIDIA.a $pkgdir/usr/lib32/libXvMCNVIDIA.a
install -D -m755 libXvMCNVIDIA.so.$pkgver $pkgdir/usr/lib32/libXvMCNVIDIA.so.$pkgver install -D -m755 libXvMCNVIDIA.so.$pkgver $pkgdir/usr/lib32/libXvMCNVIDIA.so.$pkgver
# VDPAU # VDPAU
install -D -m755 libvdpau_nvidia.so.$pkgver $pkgdir/usr/lib32/vdpau/libvdpau_nvidia.so.$pkgver install -D -m755 libvdpau_nvidia.so.$pkgver $pkgdir/usr/lib32/vdpau/libvdpau_nvidia.so.$pkgver
# CUDA # CUDA
install -D -m755 libcuda.so.$pkgver $pkgdir/usr/lib32/libcuda.so.$pkgver install -D -m755 libcuda.so.$pkgver $pkgdir/usr/lib32/libcuda.so.$pkgver
install -D -m755 libnvcuvid.so.$pkgver $pkgdir/usr/lib32/libnvcuvid.so.$pkgver install -D -m755 libnvcuvid.so.$pkgver $pkgdir/usr/lib32/libnvcuvid.so.$pkgver
# nvidia-tls library # nvidia-tls library
install -D -m755 tls/libnvidia-tls.so.$pkgver $pkgdir/usr/lib32/libnvidia-tls.so.$pkgver install -D -m755 tls/libnvidia-tls.so.$pkgver $pkgdir/usr/lib32/libnvidia-tls.so.$pkgver
# OpenCL # OpenCL
install -D -m755 libnvidia-compiler.so.$pkgver $pkgdir/usr/lib32/libnvidia-compiler.so.$pkgver install -D -m755 libnvidia-compiler.so.$pkgver $pkgdir/usr/lib32/libnvidia-compiler.so.$pkgver
install -D -m755 libOpenCL.so.1.0.0 $pkgdir/usr/lib32/libOpenCL.so.1.0.0 install -D -m755 libOpenCL.so.1.0.0 $pkgdir/usr/lib32/libOpenCL.so.1.0.0
# create soname links install -D -m755 libnvidia-cfg.so.$pkgver $pkgdir/usr/lib32/libnvidia-cfg.so.$pkgver
for _lib in $(find $pkgdir -name '*.so*'); do install -D -m755 libnvidia-ml.so.$pkgver $pkgdir/usr/lib32/libnvidia-ml.so.$pkgver
_soname="$(dirname ${_lib})/$(readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
if [ ! -e "${_soname}" ]; then # create soname links
ln -s "$(basename ${_lib})" "${_soname}" for _lib in $(find $pkgdir -name '*.so*'); do
ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}" _soname="$(dirname ${_lib})/$(readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
fi if [ ! -e "${_soname}" ]; then
done ln -s "$(basename ${_lib})" "${_soname}"
ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}"
fi
done
rm -rf "${pkgdir}"/usr/{include,share,bin} rm -rf "${pkgdir}"/usr/{include,share,bin}
mkdir -p "$pkgdir/usr/share/licenses" mkdir -p "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
} }

View File

@ -6,7 +6,7 @@
_pkgbasename=openal _pkgbasename=openal
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.12.854 pkgver=1.12.854
pkgrel=1 pkgrel=2
pkgdesc="OpenAL audio library for use with opengl (32-bit)" pkgdesc="OpenAL audio library for use with opengl (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://www.openal.org/" url="http://www.openal.org/"

View File

@ -8,7 +8,7 @@ pkgname=lib32-$_pkgbasename
_ver=1.0.0d _ver=1.0.0d
# use a pacman compatible version scheme # use a pacman compatible version scheme
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1 pkgrel=3
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)' pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)'
arch=('x86_64') arch=('x86_64')
url='https://www.openssl.org' url='https://www.openssl.org'

View File

@ -6,7 +6,7 @@
_pkgbasename=pango _pkgbasename=pango
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.28.3 pkgver=1.28.3
pkgrel=1 pkgrel=2
pkgdesc="A library for layout and rendering of text (32-bit)" pkgdesc="A library for layout and rendering of text (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('LGPL') license=('LGPL')

View File

@ -6,7 +6,7 @@
_pkgbasename=pcre _pkgbasename=pcre
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=8.11 pkgver=8.11
pkgrel=1 pkgrel=2
pkgdesc="A library that implements Perl 5-style regular expressions (32-bit)" pkgdesc="A library that implements Perl 5-style regular expressions (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://pcre.sourceforge.net" url="http://pcre.sourceforge.net"

View File

@ -6,7 +6,7 @@
_pkgbasename=pixman _pkgbasename=pixman
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=0.20.0 pkgver=0.20.0
pkgrel=1 pkgrel=2
pkgdesc="Pixman library (32-bit)" pkgdesc="Pixman library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://xorg.freedesktop.org" url="http://xorg.freedesktop.org"

Some files were not shown because too many files have changed in this diff Show More