From 0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 16 Aug 2012 00:02:36 +0000 Subject: Thu Aug 16 00:02:36 UTC 2012 --- community-testing/arm-elf-gcc-base/PKGBUILD | 61 +++++++++++++++++ community-testing/avr-gcc/PKGBUILD | 72 ++++++++++++++++++++ .../evas_generic_loaders-svn/PKGBUILD | 6 +- community-testing/gambas2/PKGBUILD | 69 ++++++------------- community-testing/gambas3/PKGBUILD | 5 +- community-testing/libextractor/PKGBUILD | 4 +- community-testing/mingw32-gcc/PKGBUILD | 78 ++++++++++++++++++++++ .../mingw32-gcc/gcc-1-mingw-float.patch | 18 +++++ community-testing/pdf2djvu/PKGBUILD | 6 +- community-testing/sage-mathematics/PKGBUILD | 11 ++- 10 files changed, 262 insertions(+), 68 deletions(-) create mode 100644 community-testing/arm-elf-gcc-base/PKGBUILD create mode 100644 community-testing/avr-gcc/PKGBUILD create mode 100644 community-testing/mingw32-gcc/PKGBUILD create mode 100644 community-testing/mingw32-gcc/gcc-1-mingw-float.patch (limited to 'community-testing') diff --git a/community-testing/arm-elf-gcc-base/PKGBUILD b/community-testing/arm-elf-gcc-base/PKGBUILD new file mode 100644 index 000000000..4946b78ae --- /dev/null +++ b/community-testing/arm-elf-gcc-base/PKGBUILD @@ -0,0 +1,61 @@ +# $Id: PKGBUILD 75111 2012-08-14 08:27:41Z allan $ +# Maintainer: Sergej Pupykin + +pkgname=arm-elf-gcc-base +pkgver=4.7.0 +pkgrel=2 +pkgdesc="The GNU Compiler Collection" +arch=(i686 x86_64) +license=('GPL' 'LGPL') +url="http://gcc.gnu.org" +depends=('arm-elf-binutils' 'libmpc' 'libelf') +options=(!libtool !emptydirs zipman docs !strip) +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) +md5sums=('2a0f1d99fda235c29d40b561f81d9a77') + +build() { + cd $srcdir/gcc-$pkgver + + export CFLAGS="-O2 -pipe" + export CXXFLAGS="-O2 -pipe" + + rm -rf build + mkdir build + cd build + + ../configure --prefix=/usr \ + --target=arm-elf \ + --enable-obsolete \ + --host=$CHOST \ + --build=$CHOST \ + --enable-shared --disable-nls --enable-languages=c --enable-multilib \ + --with-local-prefix=/usr/lib/arm-elf \ + --with-as=/usr/bin/arm-elf-as --with-ld=/usr/bin/arm-elf-ld \ + --enable-softfloat \ + --with-float=soft \ + --with-newlib \ + --with-sysroot=/usr/$CHOST/arm-elf + + make all-gcc all-target-libgcc +} + +package() { + cd $srcdir/gcc-$pkgver/build + + export CFLAGS="-O2 -pipe" + export CXXFLAGS="-O2 -pipe" + + make DESTDIR=$pkgdir install-gcc install-target-libgcc + + rm -f $pkgdir/usr/share/man/man7/fsf-funding.7* + rm -f $pkgdir/usr/share/man/man7/gfdl.7* + rm -f $pkgdir/usr/share/man/man7/gpl.7* + rm -rf $pkgdir/usr/share/info + + cp -r $pkgdir/usr/libexec/* $pkgdir/usr/lib/ + rm -rf $pkgdir/usr/libexec + + # strip it manually + strip $pkgdir/usr/bin/* 2>/dev/null || true + find $pkgdir/usr/lib -type f -exec arm-elf-strip --strip-debug --strip-unneeded {} \; 2>/dev/null || true +} diff --git a/community-testing/avr-gcc/PKGBUILD b/community-testing/avr-gcc/PKGBUILD new file mode 100644 index 000000000..8e0e7cf79 --- /dev/null +++ b/community-testing/avr-gcc/PKGBUILD @@ -0,0 +1,72 @@ +# $Id: PKGBUILD 75112 2012-08-14 08:28:11Z allan $ +# Maintainer: schuay +# Contributor: Brad Fanella +# Contributor: Corrado Primier +# Contributor: danst0 + +# Build order: avr-binutils -> avr-gcc -> avr-libc + +pkgname=avr-gcc +_pkgname=gcc +pkgver=4.7.1 +pkgrel=2 +pkgdesc="The GNU AVR Compiler Collection" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'custom') +url="http://gcc.gnu.org/" +depends=('avr-binutils>=2.22-3' 'cloog' 'ppl' 'gcc-libs>=4.7.0' 'libmpc') +provides=("gcc-avr=$pkgver") +replaces=('gcc-avr') +options=('!libtool' '!emptydirs' '!libtool' '!strip') +source=(http://ftp.gnu.org/gnu/gcc/${_pkgname}-${pkgver}/gcc-${pkgver}.tar.bz2) + +_basedir=${srcdir}/${_pkgname}-${pkgver} + +build() { + # default CFLAGS lead to issues later on when configure + # calls avr-gcc with -march set. + export CFLAGS="-O2 -pipe" + export CXXFLAGS="-O2 -pipe" + + cd ${_basedir} + + # Do not install libiberty + sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in + + echo ${pkgver} > gcc/BASE-VER + + cd ${srcdir} + mkdir gcc-build && cd gcc-build + + ${_basedir}/configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-languages=c,c++ \ + --disable-libssp \ + --disable-nls \ + --target=avr \ + --with-as=/usr/bin/avr-as \ + --with-ld=/usr/bin/avr-ld \ + --with-gnu-as \ + --with-gnu-ld + + make +} + +package() { + cd ${srcdir}/gcc-build + + make -j1 DESTDIR=${pkgdir} install + + # Install Runtime Library Exception + install -Dm644 ${_basedir}/COPYING.RUNTIME \ + ${pkgdir}/usr/share/licenses/${pkgname}/RUNTIME.LIBRARY.EXCEPTION + + rm -rf ${pkgdir}/usr/share/man/man7 + rm -rf ${pkgdir}/usr/share/info +} + +md5sums=('933e6f15f51c031060af64a9e14149ff') diff --git a/community-testing/evas_generic_loaders-svn/PKGBUILD b/community-testing/evas_generic_loaders-svn/PKGBUILD index 73305f49d..fa635d97f 100644 --- a/community-testing/evas_generic_loaders-svn/PKGBUILD +++ b/community-testing/evas_generic_loaders-svn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 72911 2012-06-24 19:23:41Z foutrelis $ +# $Id: PKGBUILD 75177 2012-08-14 20:07:40Z dreisner $ # Maintainer: Daniel Wallace # Contributor: Ronald van Haren pkgname=evas_generic_loaders-svn -pkgver=72171 +pkgver=75109 pkgrel=2 pkgdesc="Additional generic loaders for Evas" arch=('i686' 'x86_64') @@ -15,7 +15,6 @@ makedepends=('subversion') conflicts=('evas_generic_loaders') provides=('evas_generic_loaders') options=('!libtool' '!emptydirs') -md5sums=() _svntrunk="http://svn.enlightenment.org/svn/e/trunk/evas_generic_loaders" _svnmod="evas_generic_loaders" @@ -49,5 +48,4 @@ package() { "$pkgdir/usr/share/licenses/$pkgname/COPYING" rm -r "$srcdir/$_svnmod-build" - } diff --git a/community-testing/gambas2/PKGBUILD b/community-testing/gambas2/PKGBUILD index 4fa7a1821..0c75e0d4d 100644 --- a/community-testing/gambas2/PKGBUILD +++ b/community-testing/gambas2/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72912 2012-06-24 19:23:54Z foutrelis $ +# $Id: PKGBUILD 75178 2012-08-14 20:07:53Z dreisner $ # Maintainer : Laurent Carlier # Contributor: Biru Ionut # Contributor: Andrea Scarpino @@ -12,7 +12,7 @@ pkgname=('gambas2-meta' 'gambas2-runtime' 'gambas2-devel' 'gambas2-ide' 'gambas2 'gambas2-gb-db' 'gambas2-gb-db-firebird' 'gambas2-gb-db-form' 'gambas2-gb-db-mysql' 'gambas2-gb-db-odbc' 'gambas2-gb-db-postgresql' 'gambas2-gb-db-sqlite2' 'gambas2-gb-db-sqlite3' 'gambas2-gb-desktop' 'gambas2-gb-form' 'gambas2-gb-form-dialog' 'gambas2-gb-form-mdi' - 'gambas2-gb-gtk' 'gambas2-gb-gtk-ext' 'gambas2-gb-gtk-svg' 'gambas2-gb-gui' + 'gambas2-gb-gtk' 'gambas2-gb-gtk-ext' 'gambas2-gb-gtk-svg' 'gambas2-gb-image' 'gambas2-gb-info' 'gambas2-gb-net' 'gambas2-gb-net-curl' 'gambas2-gb-net-smtp' 'gambas2-gb-opengl' 'gambas2-gb-option' 'gambas2-gb-pcre' 'gambas2-gb-pdf' 'gambas2-gb-qt' 'gambas2-gb-qt-ext' 'gambas2-gb-qt-opengl' @@ -20,7 +20,7 @@ pkgname=('gambas2-meta' 'gambas2-runtime' 'gambas2-devel' 'gambas2-ide' 'gambas2 'gambas2-gb-sdl-sound' 'gambas2-gb-settings' 'gambas2-gb-v4l' 'gambas2-gb-vb' 'gambas2-gb-web' 'gambas2-gb-xml' 'gambas2-gb-xml-rpc' 'gambas2-gb-xml-xslt') pkgver=2.24.0 -pkgrel=2 +pkgrel=6 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64') url="http://gambas.sourceforge.net" @@ -40,7 +40,8 @@ source=(http://downloads.sourceforge.net/gambas/$pkgbase-$pkgver.tar.bz2 md5sums=('b59072b6f57b681d586cc84c02333690' '9dda03a1bbfb7e7ba8b6a4ae91b6752b' '870ff5b4b33cd75aa9c290539e6fdd5d' - 'ab5667175c4945282d2f40a35d0e9e5b') + 'ab5667175c4945282d2f40a35d0e9e5b' + '5eb70afe712c0f8667a700df4d9a6735') _gbfiles="${srcdir}/$pkgbase-$pkgver/main/gbc" _buildgbcomp() { @@ -88,7 +89,7 @@ package_gambas2-meta() { 'gambas2-gb-db' 'gambas2-gb-db-firebird' 'gambas2-gb-db-form' 'gambas2-gb-db-mysql' 'gambas2-gb-db-odbc' 'gambas2-gb-db-postgresql' 'gambas2-gb-db-sqlite2' 'gambas2-gb-db-sqlite3' 'gambas2-gb-desktop' 'gambas2-gb-form' 'gambas2-gb-form-dialog' 'gambas2-gb-form-mdi' - 'gambas2-gb-gtk' 'gambas2-gb-gtk-ext' 'gambas2-gb-gtk-svg' 'gambas2-gb-gui' + 'gambas2-gb-gtk' 'gambas2-gb-gtk-ext' 'gambas2-gb-gtk-svg' 'gambas2-gb-image' 'gambas2-gb-info' 'gambas2-gb-net' 'gambas2-gb-net-curl' 'gambas2-gb-net-smtp' 'gambas2-gb-opengl' 'gambas2-gb-option' 'gambas2-gb-pcre' 'gambas2-gb-pdf' 'gambas2-gb-qt' 'gambas2-gb-qt-ext' 'gambas2-gb-qt-opengl' @@ -101,6 +102,8 @@ package_gambas2-meta() { package_gambas2-runtime() { depends=('libffi' 'xdg-utils') pkgdesc="Gambas2 runtime environment" + provides=('gambas2-gb-gui') + conflicts=('gambas2-gb-gui') install=gambas2-runtime.install cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -116,8 +119,16 @@ package_gambas2-runtime() { ${pkgdir}/usr/lib/gambas2 ln -s gbx2 ${pkgdir}/usr/bin/gbr2 ${srcdir}/${pkgbase}-${pkgver}/main/gbc/gbi2 -r ${pkgdir}/usr gb - rm -f ${pkgdir}/usr/lib/gambas2/gb.{so*,la} + cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt + make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install + + cd ${srcdir}/${pkgbase}-${pkgver}/main/lib/gui + make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install + + rm ${pkgdir}/usr/lib/gambas2/gb.{qt.*,so*,la} + rm ${pkgdir}/usr/share/gambas2/info/gb.qt* + ## needed for postinst with xdg-utils install -d -m755 ${pkgdir}/usr/share/gambas2/mime install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/main/mime/* \ @@ -192,7 +203,7 @@ package_gambas2-examples() { 'gambas2-gb-db-firebird' 'gambas2-gb-db-form' 'gambas2-gb-db-mysql' 'gambas2-gb-db-odbc' 'gambas2-gb-db-postgresql' 'gambas2-gb-db-sqlite2' 'gambas2-gb-db-sqlite3' 'gambas2-gb-desktop' 'gambas2-gb-form-dialog' 'gambas2-gb-form-mdi' - 'gambas2-gb-gtk-ext' 'gambas2-gb-gtk-svg' 'gambas2-gb-gui' + 'gambas2-gb-gtk-ext' 'gambas2-gb-gtk-svg' 'gambas2-gb-image' 'gambas2-gb-info' 'gambas2-gb-net' 'gambas2-gb-net-curl' 'gambas2-gb-net-smtp' 'gambas2-gb-opengl' 'gambas2-gb-option' 'gambas2-gb-pcre' 'gambas2-gb-pdf' 'gambas2-gb-qt-ext' 'gambas2-gb-qt-opengl' @@ -200,7 +211,6 @@ package_gambas2-examples() { 'gambas2-gb-sdl-sound' 'gambas2-gb-settings' 'gambas2-gb-v4l' 'gambas2-gb-vb' 'gambas2-gb-web' 'gambas2-gb-xml-rpc' 'gambas2-gb-xml-xslt') pkgdesc="Gambas2 examples" -# arch=('any') cd ${srcdir}/${pkgbase}-${pkgver} make XDG_UTILS='' DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install @@ -212,7 +222,6 @@ package_gambas2-examples() { package_gambas2-help() { depends=() pkgdesc="Gambas2 help files" -# arch=('any') cd ${srcdir}/${pkgbase}-${pkgver}/help make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install @@ -225,7 +234,6 @@ package_gambas2-script() { depends=('gambas2-devel') pkgdesc="Gambas2 scripter and server programs support" install=gambas2-script.install -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -259,7 +267,6 @@ package_gambas2-script() { package_gambas2-gb-chart() { depends=('gambas2-gb-form') pkgdesc="Gambas2 chart component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -332,7 +339,6 @@ package_gambas2-gb-db-firebird() { package_gambas2-gb-db-form() { depends=('gambas2-gb-db' 'gambas2-gb-form') pkgdesc="Gambas2 database form component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -426,9 +432,8 @@ package_gambas2-gb-desktop() { } package_gambas2-gb-form() { - depends=('gambas2-gb-gui') + depends=('gambas2-runtime') pkgdesc="Gambas2 form component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -456,7 +461,6 @@ package_gambas2-gb-form() { package_gambas2-gb-form-dialog() { depends=('gambas2-gb-form') pkgdesc="Gambas2 form dialog component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -485,7 +489,6 @@ package_gambas2-gb-form-dialog() { package_gambas2-gb-form-mdi() { depends=('gambas2-gb-form') pkgdesc="Gambas2 form MDI component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -576,31 +579,6 @@ package_gambas2-gb-gtk-svg() { ## } -package_gambas2-gb-gui() { - depends=('gambas2-gb-qt' 'gambas2-gb-gtk') - pkgdesc="Gambas2 automatic gui toolkit chooser" - - ## workaround for splitting - cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx - make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install - mkdir -p ${pkgdir}/usr/share/gambas2/info - cd ${srcdir}/${pkgbase}-${pkgver}/main/lib/draw - make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install - ${srcdir}/${pkgbase}-${pkgver}/main/gbc/gbi2 -r ${pkgdir}/usr gb - cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt - make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install - ## - - cd ${srcdir}/${pkgbase}-${pkgver}/main/lib/gui - make DESTDIR="${pkgdir}" GBFILES="${_gbfiles}" install - - ## cleanup the workaround - rm ${pkgdir}/usr/share/gambas2/info/{gb.{info,list},gb.qt*} - rm ${pkgdir}/usr/lib/gambas2/{gb.draw*,gb.qt*,gb.{so*,la}} - rm -rf ${pkgdir}/usr/bin - ## -} - package_gambas2-gb-image() { depends=('gambas2-runtime') pkgdesc="Gambas2 image processing component" @@ -612,7 +590,6 @@ package_gambas2-gb-image() { package_gambas2-gb-info() { depends=('gambas2-runtime') pkgdesc="Gambas2 info component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -773,7 +750,6 @@ package_gambas2-gb-qt-kde-html() { package_gambas2-gb-report() { depends=('gambas2-runtime' 'gambas2-gb-form') pkgdesc="Gambas2 report component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -820,7 +796,6 @@ package_gambas2-gb-sdl-sound() { package_gambas2-gb-settings() { depends=('gambas2-runtime') pkgdesc="Gambas2 settings management component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -857,7 +832,6 @@ package_gambas2-gb-vb() { package_gambas2-gb-web() { depends=('gambas2-runtime') pkgdesc="Gambas2 CGI component" -# arch=('any') ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main/gbx @@ -947,8 +921,3 @@ package_gambas2-gb-xml-xslt() { rm -rf ${pkgdir}/usr/bin ## } -md5sums=('b59072b6f57b681d586cc84c02333690' - '9dda03a1bbfb7e7ba8b6a4ae91b6752b' - '870ff5b4b33cd75aa9c290539e6fdd5d' - 'ab5667175c4945282d2f40a35d0e9e5b' - '5eb70afe712c0f8667a700df4d9a6735') diff --git a/community-testing/gambas3/PKGBUILD b/community-testing/gambas3/PKGBUILD index 4a990ca65..9a993cc01 100644 --- a/community-testing/gambas3/PKGBUILD +++ b/community-testing/gambas3/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74513 2012-07-29 21:15:40Z ebelanger $ +# $Id: PKGBUILD 75179 2012-08-14 20:08:01Z dreisner $ # Maintainer: Laurent Carlier # Contributor : sebikul @@ -15,7 +15,7 @@ pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gamba 'gambas3-gb-signal' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') pkgver=3.2.1 -pkgrel=3 +pkgrel=5 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64') url="http://gambas.sourceforge.net/" @@ -48,6 +48,7 @@ package_gambas3-runtime() { pkgdesc="Runtime environment" conflicts=('gambas3-gb-gui') replaces=('gambas3-gb-gui') + provides=("gambas3-gb-gui=${pkgver}") install=gambas3-runtime.install cd ${srcdir}/${pkgbase}-${pkgver}/main/gbc diff --git a/community-testing/libextractor/PKGBUILD b/community-testing/libextractor/PKGBUILD index 23cc9ccf9..98df3d66d 100644 --- a/community-testing/libextractor/PKGBUILD +++ b/community-testing/libextractor/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74731 2012-08-02 15:23:53Z andrea $ +# $Id: PKGBUILD 75180 2012-08-14 20:08:07Z dreisner $ # Maintainer: Sergej Pupykin # Contributor: damir pkgname=libextractor pkgver=0.6.3 -pkgrel=6 +pkgrel=7 pkgdesc="A library used to extract meta-data from files of arbitrary type" arch=("i686" "x86_64") license=('GPL') diff --git a/community-testing/mingw32-gcc/PKGBUILD b/community-testing/mingw32-gcc/PKGBUILD new file mode 100644 index 000000000..f20bf03b5 --- /dev/null +++ b/community-testing/mingw32-gcc/PKGBUILD @@ -0,0 +1,78 @@ +# $Id: PKGBUILD 75113 2012-08-14 08:28:16Z allan $ +# Maintainer: Sergej Pupykin +# Maintainer: Ondrej Jirman + +pkgname=mingw32-gcc +pkgver=4.7.0 +pkgrel=2 +_uprel=1 +arch=(i686 x86_64) +pkgdesc="A C and C++ cross-compilers for building Windows executables on Linux" +depends=('mingw32-pthreads' 'mingw32-runtime' 'mingw32-binutils' 'mingw32-w32api' + 'libmpc' 'elfutils' 'gmp') +replaces=('mingw32-gcc-base') +provides=('mingw32-gcc-base') +options=(!strip) +url="http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version4/" +license=(GPL LGPL) +source=(gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma::http://downloads.sourceforge.net/project/mingw/MinGW/Base/gcc/Version4/gcc-$pkgver-${_uprel}/gcc-$pkgver-${_uprel}-mingw32-src.tar.lzma + gcc-1-mingw-float.patch) +md5sums=('9a4ecdacdc6dc83a4a43ef0693e2295d' + '2407123c35c0aa92ee5ffc27decca9a7') + +build() +{ + [ $NOEXTRACT -eq 1 ] || tar xjf gcc-$pkgver-${_uprel}-mingw32-src/gcc-$pkgver.tar.bz2 + + patch -d $srcdir/gcc-$pkgver -Np1 < $srcdir/gcc-1-mingw-float.patch + + mkdir -p $srcdir/build + cd $srcdir/build + + unset CFLAGS CXXFLAGS + + chmod ugo+x $srcdir/gcc-$pkgver/configure + chmod ugo+x $srcdir/gcc-$pkgver/move-if-change + + msg "gcc" + [ -f Makefile ] || $srcdir/gcc-$pkgver/configure \ + --target=i486-mingw32 \ + --host=$CHOST \ + --build=$CHOST \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --with-bugurl=https://bugs.archlinux.org/ \ + --enable-languages=c,c++ \ + --enable-shared \ + --enable-sjlj-exceptions \ + --enable-hash-synchronization \ + --disable-nls \ + --disable-libssp \ + --enable-libgomp + + make + make install DESTDIR=$pkgdir + + msg "libgcc" + make -j1 -C i486-mingw32/libgcc DESTDIR=${pkgdir} libgcc_eh.a install + + msg "libstdc++" + make -j1 -C i486-mingw32/libstdc++-v3 DESTDIR=${pkgdir} install + + msg "fixes" + cd $pkgdir/usr/i486-mingw32/lib + mkdir -p $pkgdir/usr/i486-mingw32/bin/ + for i in `ls -1 *.dll`; do + ln -s ../lib/$i $pkgdir/usr/i486-mingw32/bin/$i + done + + cd $pkgdir + rm -rf usr/bin/i486-mingw32-{gcov,gccbug,gcc-*} \ + usr/{include,lib/libiberty.a} \ + usr/share/{info,man} \ + usr/share/gcc-$pkgver/python + + strip usr/bin/* + strip usr/lib/gcc/i486-mingw32/$pkgver/{cc1*,collect2} + i486-mingw32-strip -g usr/lib/gcc/i486-mingw32/$pkgver/*.a +} diff --git a/community-testing/mingw32-gcc/gcc-1-mingw-float.patch b/community-testing/mingw32-gcc/gcc-1-mingw-float.patch new file mode 100644 index 000000000..365949ad7 --- /dev/null +++ b/community-testing/mingw32-gcc/gcc-1-mingw-float.patch @@ -0,0 +1,18 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +This patch has been taken from: +http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html +http://sourceforge.net/tracker/?func=detail&atid=302435&aid=3011968&group_id=2435 + +diff -urN a/gcc/ginclude/float.h b/gcc/ginclude/float.h +--- a/gcc/ginclude/float.h 2009-04-09 17:00:19.000000000 +0200 ++++ b/gcc/ginclude/float.h 2010-06-05 12:03:41.887724045 +0200 +@@ -275,3 +275,7 @@ + #endif /* __STDC_WANT_DEC_FP__ */ + + #endif /* _FLOAT_H___ */ ++ ++#ifdef __MINGW32__ ++#include_next ++#endif diff --git a/community-testing/pdf2djvu/PKGBUILD b/community-testing/pdf2djvu/PKGBUILD index e3f409a75..3d3f77fb7 100644 --- a/community-testing/pdf2djvu/PKGBUILD +++ b/community-testing/pdf2djvu/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72915 2012-06-24 19:24:11Z foutrelis $ +# $Id: PKGBUILD 75181 2012-08-14 20:08:10Z dreisner $ # Contributor: Paulo Matias # Maintainer: Jelle van der Waa pkgname=pdf2djvu pkgver=0.7.13 -pkgrel=2 +pkgrel=4 pkgdesc="Creates DjVu files from PDF files" arch=('i686' 'x86_64') url="http://pdf2djvu.googlecode.com" @@ -12,6 +12,7 @@ license=('GPL') depends=('poppler' 'djvulibre' 'libxslt' 'gcc-libs' 'graphicsmagick') makedepends=('pstreams' 'python2-nose' 'ttf-liberation') source=("http://pdf2djvu.googlecode.com/files/${pkgname}_${pkgver}.tar.gz") +md5sums=('b5327c5949057711a8250dffb6ccfd2d') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -30,4 +31,3 @@ check() { sed -i 's/nosetests/nosetests2/' tests/Makefile make test } -md5sums=('b5327c5949057711a8250dffb6ccfd2d') diff --git a/community-testing/sage-mathematics/PKGBUILD b/community-testing/sage-mathematics/PKGBUILD index 24300f2e9..b6483c6e0 100644 --- a/community-testing/sage-mathematics/PKGBUILD +++ b/community-testing/sage-mathematics/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 74291 2012-07-23 15:07:41Z dwallace $ +# $Id: PKGBUILD 75170 2012-08-14 16:00:21Z dwallace $ # Maintainer: Daniel Wallace # Contributor: Antonio Rojas < nqn1976 @ gmail.com > # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -7,8 +7,8 @@ # Special thanks to Nareto for moving the compile from the .install to the PKGBUILD pkgname=sage-mathematics -pkgver=5.1 -pkgrel=3 +pkgver=5.2 +pkgrel=2 pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.' url='http://www.sagemath.org' arch=('i686' 'x86_64') @@ -35,9 +35,6 @@ build() { # fix build errors unset LDFLAGS - # don't build GCC - export SAGE_INSTALL_GCC='no' - # enable multiple threads while building, is this really needed? check if uses MAKEFLAGS export SAGE_BUILD_THREADS=$(lscpu | awk '/^CPU\(s\):/ { print $2 }') export MAKE="make -j${SAGE_BUILD_THREADS}" @@ -99,5 +96,5 @@ package() { } # vim :set ts=2 sw=2 et: -md5sums=('fa612f36387218d07b84f76995914c93' +md5sums=('59f55ec8cdd1ca595c56cc72620b3576' 'dc391f12b7d17dd37326343ec0e99bbd') -- cgit v1.2.3-54-g00ecf