Date: Saturday, November 17, 2012 @ 10:20:11 Author: eric Revision: 171442
db-move: moved octave from [staging] to [testing] (i686, x86_64) Added: octave/repos/testing-i686/ octave/repos/testing-i686/PKGBUILD (from rev 171441, octave/repos/staging-i686/PKGBUILD) octave/repos/testing-i686/octave-gethelp.patch (from rev 171441, octave/repos/staging-i686/octave-gethelp.patch) octave/repos/testing-i686/octave.install (from rev 171441, octave/repos/staging-i686/octave.install) octave/repos/testing-x86_64/ octave/repos/testing-x86_64/PKGBUILD (from rev 171441, octave/repos/staging-x86_64/PKGBUILD) octave/repos/testing-x86_64/octave-gethelp.patch (from rev 171441, octave/repos/staging-x86_64/octave-gethelp.patch) octave/repos/testing-x86_64/octave.install (from rev 171441, octave/repos/staging-x86_64/octave.install) Deleted: octave/repos/staging-i686/ octave/repos/staging-x86_64/ -------------------------------------+ testing-i686/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++ testing-i686/octave-gethelp.patch | 13 ++++++++ testing-i686/octave.install | 18 ++++++++++++ testing-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++ testing-x86_64/octave-gethelp.patch | 13 ++++++++ testing-x86_64/octave.install | 18 ++++++++++++ 6 files changed, 164 insertions(+) Copied: octave/repos/testing-i686/PKGBUILD (from rev 171441, octave/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-11-17 15:20:11 UTC (rev 171442) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor : shining <shiningxc.at.gmail.com> +# Contributor : cyberdune <cyberd...@gmail.com> + +pkgname=octave +pkgver=3.6.3 +pkgrel=1 +pkgdesc="A high-level language, primarily intended for numerical computations." +arch=('i686' 'x86_64') +url="http://www.octave.org" +license=('GPL') +depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'suitesparse' 'arpack') +makedepends=('gcc-fortran' 'texlive-core') +optdepends=('texinfo: for help-support in octave' + 'gnuplot: alternative plotting') +source=(ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2{,.sig} + octave-gethelp.patch) +options=('!emptydirs') +install=octave.install +sha1sums=('e8bd0c0b33ab9714ddb524f2258546c3536f0628' + 'de009a9e6803de6b831cbd836cbc85c291de8a3c' + 'd39d54763ac86114029f8bc5d60763d2adce27bb') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-3.4.3-help.patch?view=log + patch -Np0 -i "${srcdir}/octave-gethelp.patch" + + autoreconf -vfi + + # http://www.nabble.com/Random-rounding-errors-td16010966.html + FFLAGS="-O -ffloat-store" \ + + ./configure --prefix=/usr --libexecdir=/usr/lib \ + --enable-shared --disable-static \ + --with-umfpack="-lumfpack -lsuitesparseconfig" # https://mailman.cae.wisc.edu/pipermail/help-octave/2012-September/053991.html + + LANG=C make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + # add octave library path to ld.so.conf.d + install -d "${pkgdir}/etc/ld.so.conf.d" + echo "/usr/lib/${pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf" +} Copied: octave/repos/testing-i686/octave-gethelp.patch (from rev 171441, octave/repos/staging-i686/octave-gethelp.patch) =================================================================== --- testing-i686/octave-gethelp.patch (rev 0) +++ testing-i686/octave-gethelp.patch 2012-11-17 15:20:11 UTC (rev 171442) @@ -0,0 +1,13 @@ +Help parallel compilation +patch by Sebastien Fabbro +--- scripts/Makefile.am.orig 2011-06-09 22:27:22.688268651 +0100 ++++ scripts/Makefile.am 2011-02-08 10:00:51.000000000 +0000 +@@ -316,7 +316,7 @@ + + gethelp_SOURCES = gethelp.cc + +-.DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile ++.DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile gethelp + @$(MAKE) $(AM_MAKEFLAGS) gethelp$(BUILD_EXEEXT) + if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \ + cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \ Copied: octave/repos/testing-i686/octave.install (from rev 171441, octave/repos/staging-i686/octave.install) =================================================================== --- testing-i686/octave.install (rev 0) +++ testing-i686/octave.install 2012-11-17 15:20:11 UTC (rev 171442) @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(octave.info octave.info-1 octave.info-2 octave.info-3 octave.info-4 octave.info-5) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} Copied: octave/repos/testing-x86_64/PKGBUILD (from rev 171441, octave/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-11-17 15:20:11 UTC (rev 171442) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor : shining <shiningxc.at.gmail.com> +# Contributor : cyberdune <cyberd...@gmail.com> + +pkgname=octave +pkgver=3.6.3 +pkgrel=1 +pkgdesc="A high-level language, primarily intended for numerical computations." +arch=('i686' 'x86_64') +url="http://www.octave.org" +license=('GPL') +depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'suitesparse' 'arpack') +makedepends=('gcc-fortran' 'texlive-core') +optdepends=('texinfo: for help-support in octave' + 'gnuplot: alternative plotting') +source=(ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2{,.sig} + octave-gethelp.patch) +options=('!emptydirs') +install=octave.install +sha1sums=('e8bd0c0b33ab9714ddb524f2258546c3536f0628' + 'de009a9e6803de6b831cbd836cbc85c291de8a3c' + 'd39d54763ac86114029f8bc5d60763d2adce27bb') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-3.4.3-help.patch?view=log + patch -Np0 -i "${srcdir}/octave-gethelp.patch" + + autoreconf -vfi + + # http://www.nabble.com/Random-rounding-errors-td16010966.html + FFLAGS="-O -ffloat-store" \ + + ./configure --prefix=/usr --libexecdir=/usr/lib \ + --enable-shared --disable-static \ + --with-umfpack="-lumfpack -lsuitesparseconfig" # https://mailman.cae.wisc.edu/pipermail/help-octave/2012-September/053991.html + + LANG=C make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + # add octave library path to ld.so.conf.d + install -d "${pkgdir}/etc/ld.so.conf.d" + echo "/usr/lib/${pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf" +} Copied: octave/repos/testing-x86_64/octave-gethelp.patch (from rev 171441, octave/repos/staging-x86_64/octave-gethelp.patch) =================================================================== --- testing-x86_64/octave-gethelp.patch (rev 0) +++ testing-x86_64/octave-gethelp.patch 2012-11-17 15:20:11 UTC (rev 171442) @@ -0,0 +1,13 @@ +Help parallel compilation +patch by Sebastien Fabbro +--- scripts/Makefile.am.orig 2011-06-09 22:27:22.688268651 +0100 ++++ scripts/Makefile.am 2011-02-08 10:00:51.000000000 +0000 +@@ -316,7 +316,7 @@ + + gethelp_SOURCES = gethelp.cc + +-.DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile ++.DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile gethelp + @$(MAKE) $(AM_MAKEFLAGS) gethelp$(BUILD_EXEEXT) + if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \ + cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \ Copied: octave/repos/testing-x86_64/octave.install (from rev 171441, octave/repos/staging-x86_64/octave.install) =================================================================== --- testing-x86_64/octave.install (rev 0) +++ testing-x86_64/octave.install 2012-11-17 15:20:11 UTC (rev 171442) @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(octave.info octave.info-1 octave.info-2 octave.info-3 octave.info-4 octave.info-5) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +}