[arch-commits] Commit in lcalc/repos (6 files)

Antonio Rojas arojas at archlinux.org
Mon Jan 5 12:00:58 UTC 2015


    Date: Monday, January 5, 2015 @ 13:00:58
  Author: arojas
Revision: 125406

archrelease: copy trunk to community-i686, community-x86_64

Deleted:
  lcalc/repos/community-i686/Lcommon.h.patch
  lcalc/repos/community-i686/PKGBUILD
  lcalc/repos/community-i686/gcc-4.9.patch
  lcalc/repos/community-x86_64/Lcommon.h.patch
  lcalc/repos/community-x86_64/PKGBUILD
  lcalc/repos/community-x86_64/gcc-4.9.patch

----------------------------------+
 community-i686/Lcommon.h.patch   |   11 --------
 community-i686/PKGBUILD          |   46 -------------------------------------
 community-i686/gcc-4.9.patch     |   24 -------------------
 community-x86_64/Lcommon.h.patch |   11 --------
 community-x86_64/PKGBUILD        |   46 -------------------------------------
 community-x86_64/gcc-4.9.patch   |   24 -------------------
 6 files changed, 162 deletions(-)

Deleted: community-i686/Lcommon.h.patch
===================================================================
--- community-i686/Lcommon.h.patch	2015-01-05 11:59:52 UTC (rev 125405)
+++ community-i686/Lcommon.h.patch	2015-01-05 12:00:58 UTC (rev 125406)
@@ -1,11 +0,0 @@
---- src/include/Lcommon.h	2010-01-31 15:16:45.000000000 +0000
-+++ src/include/Lcommon.h	2011-03-08 21:19:11.849443238 +0000
-@@ -25,7 +25,7 @@
- #ifdef USE_MPFR
- inline double lcalc_to_double(const double& x) { return x; }
- #endif
--//inline double lcalc_to_double(const long double& x) { return x; }
-+inline double lcalc_to_double(const long double& x) { return x; }
- inline double lcalc_to_double(const int& x) { return x; }
- inline double lcalc_to_double(const long long& x) { return x; }
- inline double lcalc_to_double(const short& x) { return x; }

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-01-05 11:59:52 UTC (rev 125405)
+++ community-i686/PKGBUILD	2015-01-05 12:00:58 UTC (rev 125406)
@@ -1,46 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=lcalc
-pkgver=1.23
-pkgrel=3
-pkgdesc="C++ L-function class library and command line interface"
-arch=('i686' 'x86_64')
-url="http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/L.html"
-license=('GPL2')
-depends=('pari')
-makedepends=('chrpath')
-source=("http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/CODE/L-$pkgver.tar.gz" 'Lcommon.h.patch' 'gcc-4.9.patch' 'pari-2.7.patch')
-md5sums=('8262d4495e0bbe0283e5341ef8694c23'
-         '717f630a387fb1a4569e843a421f30cc'
-         '436dd35b06766dffad0941bcfb511e89'
-         '5b1937955ca9ceb5d635e57af2364ed2')
-
-prepare() {
-  cd L-$pkgver
-  patch -p1 -i "$srcdir"/Lcommon.h.patch  
-  patch -p1 -i "$srcdir"/gcc-4.9.patch
-# port to PARI 2.7 API
-  patch -p1 -i "$srcdir"/pari-2.7.patch
-# link to PARI
-  sed -e 's|#PARI_DEFINE = -DINCLUDE_PARI|PARI_DEFINE = -DINCLUDE_PARI|' -i src/Makefile
-  sed -e 's|#include "pari.h"|#include "pari/pari.h"|' -i include/Lcommandline.h -i include/Lcommandline_elliptic.h
-}
-
-build() {
-  cd L-$pkgver/src
-  make
-}
-
-package() {
-  cd L-$pkgver/src
-  mkdir -p "$pkgdir"/usr/{bin,include,lib}
-  make INSTALL_DIR="$pkgdir"/usr install
-
-# remove leftover files
-  rm "$pkgdir"/usr/include/Lfunction/{Lexplicit_formula.h.swap.crap,.Lexplicit_formula.h.swp}
-# fix wrong permissions
-  chmod 644 "$pkgdir"/usr/include/Lfunction/Ldokchitser.h
-# fix insecure rpath
-  chrpath -d "$pkgdir"/usr/bin/lcalc
-}
-

Deleted: community-i686/gcc-4.9.patch
===================================================================
--- community-i686/gcc-4.9.patch	2015-01-05 11:59:52 UTC (rev 125405)
+++ community-i686/gcc-4.9.patch	2015-01-05 12:00:58 UTC (rev 125406)
@@ -1,24 +0,0 @@
-diff -Naur lcalc-1.23-vanilla/include/Ldirichlet_series.h lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h
---- lcalc-1.23-vanilla/include/Ldirichlet_series.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h	2014-04-21 14:37:59.027464849 +0200
-@@ -43,7 +43,7 @@
-  //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- template <class ttype>
- Complex L_function <ttype>::
--dirichlet_series(Complex s, long long N=-1)
-+dirichlet_series(Complex s, long long N)
- {
-     Complex z=0.;
-     long long m,n;
-diff -Naur lcalc-1.23-vanilla/include/L.h lcalc-1.23-fixed-gcc.4.9/include/L.h
---- lcalc-1.23-vanilla/include/L.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23-fixed-gcc.4.9/include/L.h	2014-04-21 14:32:04.003467348 +0200
-@@ -491,7 +491,7 @@
- 
-     //#include "Ldirichlet_series.h" //for computing Dirichlet series
-     Complex partial_dirichlet_series(Complex s, long long N1, long long N2);
--    Complex dirichlet_series(Complex s, long long N);
-+    Complex dirichlet_series(Complex s, long long N=-1LL);
- 
-     //#include "Ltaylor_series.h" //for computing taylor series for Dirichlet series
-     //void compute_taylor_series(int N, int K, Complex s_0, Complex *series);

Deleted: community-x86_64/Lcommon.h.patch
===================================================================
--- community-x86_64/Lcommon.h.patch	2015-01-05 11:59:52 UTC (rev 125405)
+++ community-x86_64/Lcommon.h.patch	2015-01-05 12:00:58 UTC (rev 125406)
@@ -1,11 +0,0 @@
---- src/include/Lcommon.h	2010-01-31 15:16:45.000000000 +0000
-+++ src/include/Lcommon.h	2011-03-08 21:19:11.849443238 +0000
-@@ -25,7 +25,7 @@
- #ifdef USE_MPFR
- inline double lcalc_to_double(const double& x) { return x; }
- #endif
--//inline double lcalc_to_double(const long double& x) { return x; }
-+inline double lcalc_to_double(const long double& x) { return x; }
- inline double lcalc_to_double(const int& x) { return x; }
- inline double lcalc_to_double(const long long& x) { return x; }
- inline double lcalc_to_double(const short& x) { return x; }

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-01-05 11:59:52 UTC (rev 125405)
+++ community-x86_64/PKGBUILD	2015-01-05 12:00:58 UTC (rev 125406)
@@ -1,46 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=lcalc
-pkgver=1.23
-pkgrel=3
-pkgdesc="C++ L-function class library and command line interface"
-arch=('i686' 'x86_64')
-url="http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/L.html"
-license=('GPL2')
-depends=('pari')
-makedepends=('chrpath')
-source=("http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/CODE/L-$pkgver.tar.gz" 'Lcommon.h.patch' 'gcc-4.9.patch' 'pari-2.7.patch')
-md5sums=('8262d4495e0bbe0283e5341ef8694c23'
-         '717f630a387fb1a4569e843a421f30cc'
-         '436dd35b06766dffad0941bcfb511e89'
-         '5b1937955ca9ceb5d635e57af2364ed2')
-
-prepare() {
-  cd L-$pkgver
-  patch -p1 -i "$srcdir"/Lcommon.h.patch  
-  patch -p1 -i "$srcdir"/gcc-4.9.patch
-# port to PARI 2.7 API
-  patch -p1 -i "$srcdir"/pari-2.7.patch
-# link to PARI
-  sed -e 's|#PARI_DEFINE = -DINCLUDE_PARI|PARI_DEFINE = -DINCLUDE_PARI|' -i src/Makefile
-  sed -e 's|#include "pari.h"|#include "pari/pari.h"|' -i include/Lcommandline.h -i include/Lcommandline_elliptic.h
-}
-
-build() {
-  cd L-$pkgver/src
-  make
-}
-
-package() {
-  cd L-$pkgver/src
-  mkdir -p "$pkgdir"/usr/{bin,include,lib}
-  make INSTALL_DIR="$pkgdir"/usr install
-
-# remove leftover files
-  rm "$pkgdir"/usr/include/Lfunction/{Lexplicit_formula.h.swap.crap,.Lexplicit_formula.h.swp}
-# fix wrong permissions
-  chmod 644 "$pkgdir"/usr/include/Lfunction/Ldokchitser.h
-# fix insecure rpath
-  chrpath -d "$pkgdir"/usr/bin/lcalc
-}
-

Deleted: community-x86_64/gcc-4.9.patch
===================================================================
--- community-x86_64/gcc-4.9.patch	2015-01-05 11:59:52 UTC (rev 125405)
+++ community-x86_64/gcc-4.9.patch	2015-01-05 12:00:58 UTC (rev 125406)
@@ -1,24 +0,0 @@
-diff -Naur lcalc-1.23-vanilla/include/Ldirichlet_series.h lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h
---- lcalc-1.23-vanilla/include/Ldirichlet_series.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h	2014-04-21 14:37:59.027464849 +0200
-@@ -43,7 +43,7 @@
-  //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- template <class ttype>
- Complex L_function <ttype>::
--dirichlet_series(Complex s, long long N=-1)
-+dirichlet_series(Complex s, long long N)
- {
-     Complex z=0.;
-     long long m,n;
-diff -Naur lcalc-1.23-vanilla/include/L.h lcalc-1.23-fixed-gcc.4.9/include/L.h
---- lcalc-1.23-vanilla/include/L.h	2012-08-08 23:21:55.000000000 +0200
-+++ lcalc-1.23-fixed-gcc.4.9/include/L.h	2014-04-21 14:32:04.003467348 +0200
-@@ -491,7 +491,7 @@
- 
-     //#include "Ldirichlet_series.h" //for computing Dirichlet series
-     Complex partial_dirichlet_series(Complex s, long long N1, long long N2);
--    Complex dirichlet_series(Complex s, long long N);
-+    Complex dirichlet_series(Complex s, long long N=-1LL);
- 
-     //#include "Ltaylor_series.h" //for computing taylor series for Dirichlet series
-     //void compute_taylor_series(int N, int K, Complex s_0, Complex *series);



More information about the arch-commits mailing list