summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-05-04 21:56:10 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-05-04 21:56:10 +0000
commite0e9e00f1c4b14242f6a0a11c1f2eff151c2cf8e (patch)
tree6f40598c11d98d8bee8e4362e25168eb9663d5c3 /sci-mathematics
parentremove unused use flag (diff)
downloadhistorical-e0e9e00f1c4b14242f6a0a11c1f2eff151c2cf8e.tar.gz
historical-e0e9e00f1c4b14242f6a0a11c1f2eff151c2cf8e.tar.bz2
historical-e0e9e00f1c4b14242f6a0a11c1f2eff151c2cf8e.zip
Version bump. Added -fno-strict-aliasing to compiler flags, per bug #316139. Change use flag static to static-libs
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/pari/ChangeLog11
-rw-r--r--sci-mathematics/pari/Manifest24
-rw-r--r--sci-mathematics/pari/files/docs.patch30
-rw-r--r--sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch11
-rw-r--r--sci-mathematics/pari/files/wrong_functype-r1.patch35
-rw-r--r--sci-mathematics/pari/files/wrong_functype.patch48
-rw-r--r--sci-mathematics/pari/pari-2.1.6.ebuild87
-rw-r--r--sci-mathematics/pari/pari-2.1.7-r1.ebuild95
-rw-r--r--sci-mathematics/pari/pari-2.3.4-r1.ebuild13
-rw-r--r--sci-mathematics/pari/pari-2.3.5.ebuild159
-rw-r--r--sci-mathematics/rkward/Manifest12
11 files changed, 197 insertions, 328 deletions
diff --git a/sci-mathematics/pari/ChangeLog b/sci-mathematics/pari/ChangeLog
index 866b5d0bea0f..bee19ee56fc3 100644
--- a/sci-mathematics/pari/ChangeLog
+++ b/sci-mathematics/pari/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sci-mathematics/pari
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.74 2010/01/11 22:38:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.75 2010/05/04 21:56:09 bicatali Exp $
+
+*pari-2.3.5 (04 May 2010)
+
+ 04 May 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> -pari-2.1.6.ebuild,
+ -pari-2.1.7-r1.ebuild, pari-2.3.4-r1.ebuild, +pari-2.3.5.ebuild,
+ -files/docs.patch, -files/pari-non-exec-stack-x86-gentoo.patch,
+ -files/wrong_functype.patch, -files/wrong_functype-r1.patch:
+ Version bump. Added -fno-strict-aliasing to compiler flags, per bug
+ #316139. Change use flag static to static-libs
11 Jan 2010; Jeroen Roovers <jer@gentoo.org> pari-2.3.4-r1.ebuild:
Reintroduce CC so for instance distcc will not say "...gcc is
diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
index 8bd91a0b044d..67f08c3bb900 100644
--- a/sci-mathematics/pari/Manifest
+++ b/sci-mathematics/pari/Manifest
@@ -1,24 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 50pari-gentoo.el 271 RMD160 e71ae40ba7bc2179bdb963d4300020d6a5f8bf76 SHA1 6956b8771d0bcf632ab59a6cca0a2282368bd03f SHA256 787e2c797c42645de8429cd449040b81563e07681c557bc9433cc4ef287ffe12
-AUX docs.patch 915 RMD160 3e5cf3712d9f22678ab3bad2e541e04c11405a04 SHA1 ddc4e17185936d5a40e47254415ce94c15227ddc SHA256 00237da12482a4f292ddf358f269c9e28531da172aa130b07a26c9e125e45d1c
AUX pari-2.3.2-ppc-powerpc-arch-fix.patch 453 RMD160 2522cab3f5a862d6fcf13d6b30b00a420b62d809 SHA1 2861b205fa4b7d7a0adc5fe9f4ec7dd4c728c331 SHA256 3796b8e994f6dda107dd3733ec0769dbe020debc8f24db89f4f740cd3939f64f
AUX pari-2.3.2-strip.patch 293 RMD160 49660a3edcfd8f73ce5fe78f832262f98348a804 SHA1 85012664fd4c1f092ca08c4a1e174cc05ff09b72 SHA256 e4a63e53734295dbbdcf9ade59c12d49a36317be3b25a223c684221086fce21b
AUX pari-2.3.3-alglin.patch 696 RMD160 727ffea2a828adb6dd35bf95e569b7e4f21b9999 SHA1 34c02dce440437ece67d5d47d50b7fb616d8e9e5 SHA256 d2d8f3a959259a6528bab4793b2c4371f4de656b7e91932b0a1644fc00df2445
-AUX pari-non-exec-stack-x86-gentoo.patch 345 RMD160 34d513eded3f15d058c7e2da0497f2b7f519b044 SHA1 a76ba8da7530419dc3ebe779035b14a9d55e8fc9 SHA256 e2574f58eb385c3dc76f5f5eff4fb075090d37bbd078bbbf68e95e09539f31d5
-AUX wrong_functype-r1.patch 1498 RMD160 ede78c0c8e3e1e2873aa1b61efe2515f92c2575f SHA1 85d0ebe7093a9cba9f00fb5694f8d1c15bf8f03a SHA256 f4b2ae857a9e8b5ab99640e343bb962297bbca49f5425749ef919ba953a29c9e
-AUX wrong_functype.patch 1946 RMD160 e38655b53030eecc3c7520cd4a0fc48ea174fd0e SHA1 2da2d4eca4adf4b44970b94cf308243c82d1bcde SHA256 a2ae7109f8f292393c80b710c0da4f1079ebe64f480d8f99d4ca2c9b6325e27b
DIST elldata.tgz 14185595 RMD160 ddac2454fc65b7f5ddfbf1d39d96a3e51b8eef5c SHA1 f9705a2a11f1622ebcc4e6b8f3780af8a178da9e SHA256 4102c23fdbeadc89b47ba31d05fc58cd3c3e0cca216b11ec5c3be1330d4a5218
DIST galdata.tgz 53229 RMD160 488afbddf7026dd6d0c9ebbed72cb14c8c37173e SHA1 0fe78ed49e197066708a3fc3753b2651107a1264 SHA256 b7c1650099b24a20bdade47a85a928351c586287f0d4c73933313873e63290dd
DIST nftables.tgz 8393731 RMD160 48a9c48246f91c1983712682937d666ba1ae6458 SHA1 90df66222346b0dbca68925671a374f5e286daeb SHA256 8dd3393ce6b3cfcf599f094f7b22bdffe17c3ba25deb912513d54676bd7cfe92
-DIST pari-2.1.6.tgz 1541464 RMD160 6b79e84b639d1862df148b253136deacd73bf4f0 SHA1 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e SHA256 6150700432e2cbd08567aeaa62b2f7f92f350b83f2cac8e747b1d581883a4227
-DIST pari-2.1.7.tgz 1542137 RMD160 6d7ca649cdd457d96c12e1f9333143d496a78b7e SHA1 dca15bb3ac6dfdcc7934569fe3a65cb16f812a4e SHA256 9142f2cdaf3083c8962f1a5c2bb0e9fe8915f7d9490c03312ac2361c7ea155fa
DIST pari-2.3.2.tar.gz 2015734 RMD160 d2394fd31bfa6efcbfce25081d75234ccb1005be SHA1 e7c823d393b513ba84bb66b400cbe3811a75a60f SHA256 514799c0722376ba7d163588f091662731bca0a4b3cd2a93d01eb6bec9d1f47a
DIST pari-2.3.4.tar.gz 2024690 RMD160 d3bf1f24c0f321ccee309bc2b4c15c8a263fb73f SHA1 0c97456c5fc7e9fe774ceb44aaf77e9ba9574ae6 SHA256 284b241f65ea011942b50655c2e8036cdde66e3a9973d08acd50835debaf545d
+DIST pari-2.3.5.tar.gz 2018097 RMD160 488adf3af5398d0ab5390eb86b65cd79bd1044c5 SHA1 f211ccfe42a4b18dbcde832dfd1ece6f477f4966 SHA256 47ddae1af73b4476660d2a89338483949067a97ffb8758c82e8189dfa4c89d88
DIST seadata.tgz 8286706 RMD160 7ff7c3cd5dc46157f2cd7b3ffd286b78156435cd SHA1 587685837a736bc6fb25afc5407102d3e856854e SHA256 0df320a259235af031f7a03e2cc50fa8c272f561a7435cda3f75fc252951b297
-EBUILD pari-2.1.6.ebuild 2495 RMD160 bf72d93556851a706a81bfce63cbca64b6221722 SHA1 9dc8c36cafb253a42dc585004c95e2bcb57fdead SHA256 af1f5b385c41fc41d66ef601cc5a2a168c9a346c7f30eea669ff12dcca90cc84
-EBUILD pari-2.1.7-r1.ebuild 2754 RMD160 a800b68b5bfad2752ec9700f851e33c49b2e886b SHA1 91a6e87402f062aa892b68d655edbafed22acd26 SHA256 8b6f4cbce7fa0067a3463e752e9992a86e95f030c73f0d3d5e7b9fca5fade370
EBUILD pari-2.3.2-r1.ebuild 3040 RMD160 338300e379760838c689afe0c19b4e96d2133168 SHA1 0c71ef662feaed18526721c1a2ddeede7c2a8aac SHA256 0cfdfab38bc4236cca05b08e11e10cb8114dea458f43fb78fa7e0dd5f35c5c8d
EBUILD pari-2.3.2.ebuild 3001 RMD160 17edc52e93161257af32e564c0e600d24a86ddc0 SHA1 649e35dea512aceb1df65462c9ce124bd24a1230 SHA256 32daa33c1e5c70965a5cb11434badf084b34ed821f3df08fbcb89f53d1bc952e
-EBUILD pari-2.3.4-r1.ebuild 4160 RMD160 f33259dab4f8caa23aaae0ca2bd0257e0c8e9a4b SHA1 41686d3bbabd7f0da3365215c2539d7d50de67b6 SHA256 e6563460f96d6e13792df6a4ccdebfa28133cb8df68b8400d8f5e2783ada717c
+EBUILD pari-2.3.4-r1.ebuild 4226 RMD160 aba7ae5d84924bbfd975c18fe7aa71cf6d4dc447 SHA1 717ce146d3ba0616c1ada2dd0bddc55e3ef704c2 SHA256 c54444dc3a2417dc02dad28ab65ad45dd30170caa4ccdeba6f582899a341a10f
EBUILD pari-2.3.4.ebuild 4051 RMD160 ba0b44e35c2eb5fd9951a7273bcfd9fe3ead3f0c SHA1 785f8bdf24f326826b2417e94aaacf48bbcb924b SHA256 eaf39a40cd534b9f5bb069512bcab84c7ec4047adc57e8f827978fb5db42850b
-MISC ChangeLog 13559 RMD160 9e1231f65adbcf124e33facfb4abe1e96e0ee746 SHA1 8c3a981a825157daf31a40614bf4ea8b63b6b03c SHA256 b765f0fd36e528bc9a0aa74accc80242b4217d5d1df6565d5d62010b8819fc82
+EBUILD pari-2.3.5.ebuild 4218 RMD160 94e47016b98fc0e1e8f682294878494a33a38680 SHA1 aa117a851857920542d0d8e6103ee5ff83bade8a SHA256 13cfbbc069ec982612afe53457c5a93463a4fdc26a3e879377c893603a42b24a
+MISC ChangeLog 13982 RMD160 eb25c0b9bf372358a8e7f84c9b08aec3c6207ae9 SHA1 2b24bbd638a086daa51501034c31d547ffed1104 SHA256 a334eda7c2b76c8ae70602788e76e0d828036b6f694107c7df64b27ab99d6e6e
MISC metadata.xml 1272 RMD160 156e974a85658b4a0b184e4d96efdd9d1f0b226f SHA1 3a5de036ef9c131eda2c76df1754fc61dbd676da SHA256 5ee3f72154d8ecd3469d82ccc687f82dd640f91b124bb81192b8600eee3c7252
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkvgolwACgkQ1ycZbhPLE2CN2wCfXtw228+jw0l0akKwRtANEHjE
+AuMAoKlwTaSwT81t3irQw7meE65QBq8u
+=EdSl
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/pari/files/docs.patch b/sci-mathematics/pari/files/docs.patch
deleted file mode 100644
index 1a5b251b41d7..000000000000
--- a/sci-mathematics/pari/files/docs.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-*** doc/refcard.tex Mon Nov 6 19:59:00 2000
---- doc/refcard.tex.new Tue Jun 24 03:07:15 2003
-***************
-*** 17,23 ****
---- 17,29 ----
- %% which I modified from his GNU emacs reference card
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \def\TITLE{Pari-GP reference card}
-+ % ignore parimacro.tex's \magnification setting
-+ \let\oldmagnification\magnification
-+ \catcode`@=11
-+ \def\magnification{\afterassignment\relax\count@}%
-+ \catcode`@=12
- \input parimacro.tex
-+ \let\magnification\oldmagnification
- \ifPDF
- \input pdfmacs.tex
- \pdfpagewidth=11.69in
-*** doc/users.tex Mon Nov 6 19:59:01 2000
---- doc/users.tex.new Tue Jun 24 03:07:15 2003
-***************
-*** 63,69 ****
- \ifPDF \writesecnumbers \fi
- \expandafter\end % stop here the first time (don't process index)
- \fi
-- \newpage
-
- \ifPDF
- % Add a bookmark entry for the index. CHB
---- 63,68 ----
diff --git a/sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch b/sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch
deleted file mode 100644
index a3ee992b8859..000000000000
--- a/sci-mathematics/pari/files/pari-non-exec-stack-x86-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur pari-2.1.7-old/src/kernel/ix86/l0asm.c pari-2.1.7/src/kernel/ix86/l0asm.c
---- pari-2.1.7-old/src/kernel/ix86/l0asm.c 2002-04-06 12:14:02.000000000 +0000
-+++ pari-2.1.7/src/kernel/ix86/l0asm.c 2006-01-19 19:22:49.000000000 +0000
-@@ -206,3 +206,7 @@
- FUNEND()
-
- ALIGN
-+
-+#ifdef __ELF__
-+ .section .note.GNU-stack,"",@progbits
-+#endif
diff --git a/sci-mathematics/pari/files/wrong_functype-r1.patch b/sci-mathematics/pari/files/wrong_functype-r1.patch
deleted file mode 100644
index 5eb95e622c7a..000000000000
--- a/sci-mathematics/pari/files/wrong_functype-r1.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ru src/gp/gp_rl.c src.new/gp/gp_rl.c
---- src/gp/gp_rl.c 2001-04-27 15:55:38.000000000 +0200
-+++ src.new/gp/gp_rl.c 2005-01-06 11:04:45.198086689 +0100
-@@ -79,11 +79,13 @@
- #endif
-
- #ifdef HAS_RL_COMPLETION_MATCHES
--# define COMPLETION_MATCHES ((CF)rl_completion_matches)
-+# define COMPLETION_MATCHES(a,b) \
-+ (completion_matches((char *)(a),(b)))
- # define FILE_COMPLETION ((GF)rl_filename_completion_function)
- # define USER_COMPLETION ((GF)rl_username_completion_function)
- #else
--# define COMPLETION_MATCHES ((CF)completion_matches)
-+# define COMPLETION_MATCHES(a,b) \
-+ (completion_matches((char *)(a),(b)))
- # define FILE_COMPLETION ((GF)filename_completion_function)
- # define USER_COMPLETION ((GF)username_completion_function)
- #endif
-diff -ru src.old/gp/gp_rl.c src/gp/gp_rl.c
---- src.old/gp/gp_rl.c 2005-01-06 11:07:18.000000000 +0100
-+++ src/gp/gp_rl.c 2005-01-06 11:15:10.509112328 +0100
-@@ -625,10 +625,8 @@
- /* we always want the whole list of completions under emacs */
- if (under_emacs) rl_completion_query_items = 0x8fff;
-
--#define Bind(a,b,c) (((void(*)(int,Function*,Keymap)) rl_bind_key_in_map)\
-- ((a), (Function*)(b), (c)))
--#define Defun(a,b,c) (((void(*)(const char*,Function*,int)) rl_add_defun)\
-- ((a), (Function*)(b), (c)))
-+#define Bind(a,b,c) (rl_bind_key_in_map((a), (Function*)(b), (c)))
-+#define Defun(a,b,c) (rl_add_defun((char*)(a), (Function*)(b), (c)))
-
- Defun("short-help", rl_short_help, -1);
- Defun("long-help", rl_long_help, -1);
diff --git a/sci-mathematics/pari/files/wrong_functype.patch b/sci-mathematics/pari/files/wrong_functype.patch
deleted file mode 100644
index a1dd4c98fe0a..000000000000
--- a/sci-mathematics/pari/files/wrong_functype.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -ru src/gp/gp_rl.c src.new/gp/gp_rl.c
---- src/gp/gp_rl.c 2001-04-27 15:55:38.000000000 +0200
-+++ src.new/gp/gp_rl.c 2005-01-06 11:04:45.198086689 +0100
-@@ -79,11 +79,13 @@
- #endif
-
- #ifdef HAS_RL_COMPLETION_MATCHES
--# define COMPLETION_MATCHES ((CF)rl_completion_matches)
-+# define COMPLETION_MATCHES(a,b) \
-+ (completion_matches((char *)(a),(b)))
- # define FILE_COMPLETION ((GF)rl_filename_completion_function)
- # define USER_COMPLETION ((GF)rl_username_completion_function)
- #else
--# define COMPLETION_MATCHES ((CF)completion_matches)
-+# define COMPLETION_MATCHES(a,b) \
-+ (completion_matches((char *)(a),(b)))
- # define FILE_COMPLETION ((GF)filename_completion_function)
- # define USER_COMPLETION ((GF)username_completion_function)
- #endif
-diff -ru src.old/gp/gp_rl.c src/gp/gp_rl.c
---- src.old/gp/gp_rl.c 2005-01-06 11:07:18.000000000 +0100
-+++ src/gp/gp_rl.c 2005-01-06 11:15:10.509112328 +0100
-@@ -625,10 +625,8 @@
- /* we always want the whole list of completions under emacs */
- if (under_emacs) rl_completion_query_items = 0x8fff;
-
--#define Bind(a,b,c) (((void(*)(int,Function*,Keymap)) rl_bind_key_in_map)\
-- ((a), (Function*)(b), (c)))
--#define Defun(a,b,c) (((void(*)(const char*,Function*,int)) rl_add_defun)\
-- ((a), (Function*)(b), (c)))
-+#define Bind(a,b,c) (rl_bind_key_in_map((a), (Function*)(b), (c)))
-+#define Defun(a,b,c) (rl_add_defun((char*)(a), (Function*)(b), (c)))
-
- Defun("short-help", rl_short_help, -1);
- Defun("long-help", rl_long_help, -1);
-diff -ru src-old/basemath/buch2.c src/basemath/buch2.c
---- src-old/basemath/buch2.c 2001-11-04 15:09:54.000000000 +0100
-+++ src/basemath/buch2.c 2005-01-07 10:08:25.442785391 +0100
-@@ -2922,7 +2922,8 @@
-
- /* random relations */
- if (cglob == KCCO) /* enough relations, initialize nevertheless */
-- ((void(*)(long))random_relation)(-1);
-+ random_relation(-1,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-+
- else
- {
- GEN maarch;
diff --git a/sci-mathematics/pari/pari-2.1.6.ebuild b/sci-mathematics/pari/pari-2.1.6.ebuild
deleted file mode 100644
index 0bf5ea4f092d..000000000000
--- a/sci-mathematics/pari/pari-2.1.6.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.6.ebuild,v 1.17 2008/05/18 11:40:06 markusle Exp $
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory"
-HOMEPAGE="http://pari.math.u-bordeaux.fr/"
-SRC_URI="http://pari.math.u-bordeaux.fr/pub/${PN}/unix/OLD/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa mips ppc ~sparc x86"
-IUSE="doc emacs"
-
-DEPEND="doc? ( virtual/latex-base )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/docs.patch
- epatch "${FILESDIR}"/wrong_functype-r1.patch
-}
-
-src_compile() {
- # Fix usage of toolchain
- tc-getAS; tc-getLD; tc-getCC; tc-getCXX
-
- # Special handling for sparc
- local myhost
- [ "${PROFILE_ARCH}" == "sparc64" ] && myhost="sparc64-linux" \
- || myhost="$(echo ${CHOST} | cut -f "1 3" -d '-')"
- einfo "Building for ${myhost}"
-
- #need to force optimization here, as it breaks without
- if is-flag -O0; then
- replace-flags -O0 -O2
- elif ! is-flag -O?; then
- append-flags -O2
- fi
- #we also need to force -fPIC on amd64
- if [ "${ARCH}" = "amd64" ] && ! is-flag -fPIC; then append-flags -fPIC; fi
-
- ./Configure \
- --host=${myhost} \
- --prefix=/usr \
- --miscdir=/usr/share/doc/${PF} \
- --datadir=/usr/share/${P} \
- --libdir=/usr/$(get_libdir) \
- --mandir=/usr/share/man/man1 || die "./configure failed"
- addwrite "/var/lib/texmf"
- addwrite "/usr/share/texmf"
- addwrite "/var/cache/fonts"
-
- if use hppa
- then
- mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
- fi
-
- # Shared libraries should be PIC on ALL architectures.
- # Danny van Dyk <kugelfang@gentoo.org> 2005/03/31
- # Fixes BUG #49583
- einfo "Building shared library..."
- cd Olinux-* || die "Bad directory. File a BUG!"
- emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!"
-
- einfo "Building executables..."
- emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building executables failed!"
-
- use doc || rm -rf doc/*.tex
- use doc && emake doc
-}
-
-src_test() {
- ebegin "Testing pari kernel"
- make CFLAGS="-Wl,-lpari" test-kernel > /dev/null
- eend $?
-}
-
-src_install() {
- make DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install || die
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins emacs/pari.el
- fi
- dodoc AUTHORS Announce.2.1 CHANGES README TODO
-}
diff --git a/sci-mathematics/pari/pari-2.1.7-r1.ebuild b/sci-mathematics/pari/pari-2.1.7-r1.ebuild
deleted file mode 100644
index 4e71cb3124a1..000000000000
--- a/sci-mathematics/pari/pari-2.1.7-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.1.7-r1.ebuild,v 1.11 2008/05/18 11:40:06 markusle Exp $
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory"
-HOMEPAGE="http://pari.math.u-bordeaux.fr/"
-SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
-IUSE="doc emacs"
-
-DEPEND="doc? ( virtual/latex-base )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/docs.patch
-
- # remove exec stacks for x86; see bug #117434
- epatch "${FILESDIR}"/pari-non-exec-stack-x86-gentoo.patch
-}
-
-src_compile() {
- # Fix usage of toolchain
- tc-getAS; tc-getLD; tc-getCC; tc-getCXX
-
- # Special handling for sparc
- local myhost
- [ "${PROFILE_ARCH}" == "sparc64" ] && myhost="sparc64-linux" \
- || myhost="$(echo ${CHOST} | cut -f "1 3" -d '-')"
- einfo "Building for ${myhost}"
-
- #need to force optimization here, as it breaks without
- if is-flag -O0; then
- replace-flags -O0 -O2
- elif ! is-flag -O?; then
- append-flags -O2
- fi
-
- # fix up build scripts to get rid of insecure RUNPATHS
- # see bug #117434
- sed -e "s|\$runpathprefix \$TOP/\$objdir:\$tmp||" \
- -e "s|\$runpathprefix \$tmp||" -i config/Makefile.SH || \
- die "Failed to fix Makefile.SH"
- sed -e "s|-L\$libdir|-L./|" -i Configure || \
- die "Failed to fix Configure"
-
- ./Configure \
- --host=${myhost} \
- --prefix=/usr \
- --miscdir=/usr/share/doc/${PF} \
- --datadir=/usr/share/${P} \
- --libdir=/usr/$(get_libdir) \
- --mandir=/usr/share/man/man1 || die "./configure failed"
- addwrite "/var/lib/texmf"
- addwrite "/usr/share/texmf"
- addwrite "/var/cache/fonts"
-
- if use hppa
- then
- mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
- fi
-
- # Shared libraries should be PIC on ALL architectures.
- # Danny van Dyk <kugelfang@gentoo.org> 2005/03/31
- # Fixes BUG #49583
- einfo "Building shared library..."
- cd Olinux-* || die "Bad directory. File a BUG!"
- emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!"
-
- einfo "Building executables..."
- emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building executables failed!"
-
- use doc || rm -rf doc/*.tex
- use doc && emake doc
-}
-
-src_test() {
- ebegin "Testing pari kernel"
- make CFLAGS="-Wl,-lpari" test-kernel > /dev/null
- eend $?
-}
-
-src_install() {
- make DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install || die
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins emacs/pari.el
- fi
- dodoc AUTHORS Announce.2.1 CHANGES README TODO
-}
diff --git a/sci-mathematics/pari/pari-2.3.4-r1.ebuild b/sci-mathematics/pari/pari-2.3.4-r1.ebuild
index c0f20a32ff29..b9ddb9f76f17 100644
--- a/sci-mathematics/pari/pari-2.3.4-r1.ebuild
+++ b/sci-mathematics/pari/pari-2.3.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.4-r1.ebuild,v 1.9 2010/01/11 22:38:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.4-r1.ebuild,v 1.10 2010/05/04 21:56:09 bicatali Exp $
EAPI=2
inherit elisp-common eutils flag-o-matic toolchain-funcs
@@ -18,7 +18,7 @@ SRC_URI="${SRC_COM}/unix/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
-IUSE="doc data emacs fltk gmp static X"
+IUSE="doc data emacs fltk gmp static-libs X"
RDEPEND="sys-libs/readline
emacs? ( virtual/emacs )
@@ -64,6 +64,7 @@ src_prepare() {
}
src_configure() {
+ append-flags -fno-strict-aliasing
tc-export CC
# need to force optimization here, as it breaks without
if is-flag -O0; then
@@ -94,9 +95,9 @@ src_compile() {
emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn \
|| die "Building shared library failed!"
- if use static; then
+ if use static-libs; then
emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" lib-sta \
- || die "Building static library failed!"
+ || die "Building static-libs library failed!"
fi
emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp \
@@ -142,10 +143,10 @@ src_install() {
emake DESTDIR="${D}" install-data || die "Failed to install data files"
fi
- if use static; then
+ if use static-libs; then
emake \
DESTDIR="${D}" \
- install-lib-sta || die "Install of static library failed"
+ install-lib-sta || die "Install of static-libs library failed"
fi
}
diff --git a/sci-mathematics/pari/pari-2.3.5.ebuild b/sci-mathematics/pari/pari-2.3.5.ebuild
new file mode 100644
index 000000000000..8d7099d72361
--- /dev/null
+++ b/sci-mathematics/pari/pari-2.3.5.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.5.ebuild,v 1.1 2010/05/04 21:56:09 bicatali Exp $
+
+EAPI=2
+inherit elisp-common eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="A software package for computer-aided number theory"
+HOMEPAGE="http://pari.math.u-bordeaux.fr/"
+
+SRC_COM="http://pari.math.u-bordeaux.fr/pub/${PN}"
+SRC_URI="${SRC_COM}/unix/${P}.tar.gz
+ data? ( ${SRC_COM}/packages/elldata.tgz
+ ${SRC_COM}/packages/galdata.tgz
+ ${SRC_COM}/packages/seadata.tgz
+ ${SRC_COM}/packages/nftables.tgz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc data emacs fltk gmp static-libs X"
+
+RDEPEND="sys-libs/readline
+ emacs? ( virtual/emacs )
+ fltk? ( x11-libs/fltk )
+ gmp? ( dev-libs/gmp )
+ X? ( x11-libs/libX11 )
+ doc? ( X? ( x11-misc/xdg-utils ) )"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base )"
+
+SITEFILE=50${PN}-gentoo.el
+
+get_compile_dir() {
+ pushd "${S}/config" >& /dev/null
+ local fastread=yes
+ source ./get_archos
+ popd >& /dev/null
+ echo "O${osname}-${arch}"
+}
+
+src_prepare() {
+ # move data into place
+ if use data; then
+ mv "${WORKDIR}"/data "${S}" || die "failed to move data"
+ fi
+ epatch "${FILESDIR}/"${PN}-2.3.2-strip.patch
+ epatch "${FILESDIR}/"${PN}-2.3.2-ppc-powerpc-arch-fix.patch
+
+ # disable default building of docs during install
+ sed -i \
+ -e "s:install-doc install-examples:install-examples:" \
+ config/Makefile.SH || die "Failed to fix makefile"
+ # propagate ldflags
+ sed -i \
+ -e 's/-shared $extra/-shared $extra \\$(LDFLAGS)/' \
+ config/get_dlld || die "Failed to fix LDFLAGS"
+ # move doc dir to a gentoo doc dir and replace hardcoded xdvi by xdg-open
+ sed -i \
+ -e "s:\$d = \$0:\$d = '/usr/share/doc/${PF}':" \
+ -e 's:"xdvi":"xdg-open":' \
+ -e 's:xdvi -paper 29.7x21cm:xdg-open:' \
+ doc/gphelp.in || die "Failed to fix doc dir"
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ tc-export CC
+ # need to force optimization here, as it breaks without
+ if is-flag -O0; then
+ replace-flags -O0 -O2
+ elif ! is-flag -O?; then
+ append-flags -O2
+ fi
+ # sysdatadir installs a pari.cfg stuff which is informative only
+ ./Configure \
+ --prefix=/usr \
+ --datadir=/usr/share/${PN} \
+ --libdir=/usr/$(get_libdir) \
+ --sysdatadir=/usr/share/doc/${PF} \
+ --mandir=/usr/share/man/man1 \
+ --with-readline \
+ $(use_with gmp) \
+ || die "./Configure failed"
+}
+
+src_compile() {
+ if use hppa; then
+ mymake=DLLD\=/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
+ fi
+
+ local installdir=$(get_compile_dir)
+ cd "${installdir}" || die "Bad directory"
+
+ emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn \
+ || die "Building shared library failed!"
+
+ if use static-libs; then
+ emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" lib-sta \
+ || die "Building static library failed!"
+ fi
+
+ emake ${mymake} CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp \
+ || die "Building executables failed!"
+
+ if use doc; then
+ cd "${S}"
+ # To prevent sandbox violations by metafont
+ VARTEXFONTS="${T}"/fonts emake docpdf \
+ || die "Failed to generate docs"
+ fi
+ if use emacs; then
+ cd "${S}/emacs"
+ elisp-compile *.el || die "elisp-compile failed"
+ fi
+}
+
+src_test() {
+ emake test-kernel || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ if use emacs; then
+ elisp-install ${PN} emacs/*.el emacs/*.elc \
+ || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+
+ dodoc AUTHORS Announce.2.1 CHANGES README NEW MACHINES COMPAT
+ if use doc; then
+ emake \
+ DESTDIR="${D}" \
+ EXDIR="${D}/usr/share/doc/${PF}/examples" \
+ DOCDIR="${D}/usr/share/doc/${PF}" \
+ install-doc || die "Failed to install docs"
+ insinto /usr/share/doc/${PF}
+ doins doc/*.pdf || die "Failed to install pdf docs"
+ fi
+
+ if use data; then
+ emake DESTDIR="${D}" install-data || die "Failed to install data files"
+ fi
+
+ if use static-libs; then
+ emake \
+ DESTDIR="${D}" \
+ install-lib-sta || die "Install of static library failed"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-mathematics/rkward/Manifest b/sci-mathematics/rkward/Manifest
index 36e963411d16..d59f9bd35380 100644
--- a/sci-mathematics/rkward/Manifest
+++ b/sci-mathematics/rkward/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
DIST rkward-0.5.1.tar.gz 964724 RMD160 352e858e37f9e433cd14f2aa7b238c801ef0a01a SHA1 2a348363d3b5fbe0ea3a49fe052469f59d39f07d SHA256 1bf290f9ba164f00e9897108766bd5b5ecbf99cf7af16c30bc813eabb7a797c9
DIST rkward-0.5.2.tar.gz 1127672 RMD160 e4797a42559fd03ed6831630a7648d1c166f307a SHA1 c3880661429131ea86a04e85b13200bb4bf59ce0 SHA256 a313720db7222c093d9a12c34aae32421a1663f2afd4f96d7c6c23c86861eaf5
+DIST rkward-0.5.3.tar.gz 1150950 RMD160 fff593d4bb07d40332be6c036123910f92bcd455 SHA1 642855a59f848170c1fded222fc249e6b15f7362 SHA256 310d49707c775c28e1fbef982a45f4f0d4a631ae9dae94378107b8d3ae80378b
EBUILD rkward-0.5.1.ebuild 736 RMD160 78782bdb767da4fe958cfbbd473e6fe52ba06a01 SHA1 8b27a0c68996f4d381983199c1bc81ed87409d93 SHA256 161a18b86362a5c736d6c9f842aaa1b3a5086e6adbe6a3f51354713dbc48ec17
EBUILD rkward-0.5.2.ebuild 740 RMD160 23493001763912324a494ff906b6cd0365d7a57f SHA1 bd7497ed83647138d3de74aeea18a71adfad9d36 SHA256 ab74d3d715c36b09eb9be2205ac0172a209117730c3880e943a0e6702e23f0eb
-MISC ChangeLog 3463 RMD160 f8ea07319e7fde3832e50103aff9614f14db6dba SHA1 36805de1c9cc94a510d8870e9536a5b99649b70a SHA256 25199a9e574887423bccc11fd807d6dc79ffe03153ba9354e9d682716f13df22
+EBUILD rkward-0.5.3.ebuild 702 RMD160 1eec777a67a7e7acd2924ebfc9f03c361077cd90 SHA1 4868d2e33dedc8618d336de26715a64eada3d7e7 SHA256 814b393b94b92d895ac3848826dcbe42731c53c29974a8efb0a2a4955f1cf296
+MISC ChangeLog 3585 RMD160 1432746e3b801051053e0a02b5aaf5acb12e6911 SHA1 f3fc49abf938d02af260570ab3ff18e21ab4ca7f SHA256 62edf0365e56ccbebcb905855bf5a63369a473f6288a81f17facb9eea19960f7
MISC metadata.xml 403 RMD160 f10e8b77a455809d2e221f136bdbfec565d0c8e8 SHA1 7a5b826b7938ae37b6c3545ea97bec239aae16b5 SHA256 840a30b774c00d0e7b34fd56a9f8eab3a1698b598f42aa13f1cc401400624120
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkrxyikACgkQ1ycZbhPLE2BRhACgkvR4Fq7kF3AlYS4bVcFtLQFw
-nx0An2uPM7bD7r5HHZSNKxeui2Irj+iZ
-=GzGa
+iEYEARECAAYFAkvgouwACgkQ1ycZbhPLE2DRzgCcC4FmCrr+avz7BmkzQnAZ6Kbc
++poAoKJ9DPhou+5YbklGcXOqA4R5zO4U
+=qu6k
-----END PGP SIGNATURE-----