head 1.8; access; symbols pkgsrc-2015Q4:1.7.0.48 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.46 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.44 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.42 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.40 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.38 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.36 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.34 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.32 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.30 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.28 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.26 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.24 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.22 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.20 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.18 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.16 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.14 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.12 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.10 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.8 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.6 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.4 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.2 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.6.0.32 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.30 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.28 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.26 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.24 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.22 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.20 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.18 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.16 pkgsrc-2008Q1:1.6.0.14 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.12 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.10 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.8 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.6 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.4 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.2 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.5.0.8 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.8 date 2016.03.03.13.28.22; author wiz; state dead; branches; next 1.7; commitid ouWQZiBNqYc0rcXy; 1.7 date 2010.02.06.10.37.06; author sno; state Exp; branches; next 1.6; 1.6 date 2006.09.19.22.57.18; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.09.08.08.39.59; author adam; state Exp; branches; next 1.4; 1.4 date 2003.07.07.21.57.50; author jtb; state Exp; branches; next 1.3; 1.3 date 2001.05.19.17.31.05; author jtb; state Exp; branches; next 1.2; 1.2 date 2001.05.04.17.14.08; author jtb; state Exp; branches; next 1.1; 1.1 date 2001.03.07.20.57.51; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.07.20.57.51; author jtb; state Exp; branches; next ; desc @@ 1.8 log @Update pari to 2.7.5. Bug numbers refer to the BTS at http://pari.math.u-bordeaux.fr/Bugs/ Done for version 2.7.5 (released 09/11/2015): [last column crossreferences current development release 2.8.0] Fixed 1- forprime engine could skip (fast) sieve in favour of (slow) nextprime [#1711] [F113] 2- 0^[1] -> domain error [#1713] [F114] 3- memory leaks (clones) in ellchangecurve [#1716] [F115] 4- zeta inaccurate around 0 [#1714] [F116] 5- bnrrootnumber did not support the trivial character [0,..,0] [F118] 6- default(log,1) when logfile is write-protected later lead to SEGV [F119] BA 7- 2-adic gamma function: fix accuracy loss [F120] 8- A==A -> 0 for A a t_SER of huge accuracy (so that A-A overflows valuation) [#1734] [F121] XR 9- P=Pol([1,-2,12,-12,-181,-4,-6899,9780,6360,702,-45]); for(i=1,10000,setrand(i);nfdisc(P)) -> crash [#1735] [F122] 10- select(x->x,Vecsmall([1,2,3]),1) -> crash [#1737] [F123] BA 11- [libpari] RgV_to_RgX_reverse did not work if v[1] or v[2] was 0 [F125] 12- bnfinit could fail at low precision [#1736] [F126] 13- Rg_to_ff: incorrect type in zk_to_ff [#1755] [F127] BA 14- nfsubfields could fail [#1758] [F128] 15- rare SEGV in ArtinNumber [#1759] [F129] Done for version 2.7.4 (released 19/06/2015): [last column crossreferences current development release 2.8.0] Fixed 1- divisors([2,1]) -> SEGV [#1664] [F84] 2- acos([Pol(1)]) -> GC bug [#1663] [F85] 3- primes([1,Pol(2)]) -> SEGV [#1668] [F87] 4- buffer overflow after default(format,"f.precision") [F95] 5- qfminim(A, 0, ...) -> stack overflow [#1682] [F97] 6- div_scal_rfrac could create an invalid t_POL [#1651] [F99] 7- polroots(t_POL with leading coeff = 0) -> fp exception [#1690] [F100] 8- \r cannot deal with very long filenames [#1616] [F101] 9- rnfisabelian(nf, non monic t_POL) -> SEGV [#1693] [F102] 10- possibly incorrect result in nfdisc(T,listP) [F104] 11- wrong dim(Ker) returned by ZM_pivot => SEGV in Z-linear algebra routines. E.g. setrand(1);quadclassunit(-612556842419) [#1700] [F105] 12- moebius(factor(18)) -> 1 instead of 0 [#1702] [F106] 13- ispower(-167^10) => domain error [#1703] [F107] 14- ispowerful(factor(0)) != ispowerful(0) [F108] 15- expm1(2*I) => wrong result [F109] 16- gamma(1+a*x+O(x^2)) => error [#1707] [F110] 17- printsep() printed its argument in random format instead of f_RAW [F111] 18- nfdisc(x^10 - 29080*x^5 - 25772600) -> oo loop [#1710] [F112] Added ED 1- mingw64 support [A111] Done for version 2.7.3 (released 18/02/2015): [last column crossreferences current development release 2.8.0] Fixed 1- [from 2.7.2] ??bnrL1 and ??ellL1 did not work anymore 2- thue(f^e*g, ...), e even, (f,g)=1 missed solutions such that f<0 [F22] XR 3- bnrL1(bnrinit(bnfinit(x^2-168),[6,[1,1]],1)) -> bug in ArtinNumber [F55] 4- nfisincl(t_POL, t_POL) could lead to wrong negative results [F58] 5- polresultant(1+x*z^2,1+y*z^4,z) -> GC error [#1614] [F59] BA 6- ellcard over non-prime fields could return wrong results [F60] 7- [libpari] FpX_roots could produce GC errors [#1618] [F61] 8- weber(1+I) was missing its imaginary part [F62] 9- (1+I)*(1+1/2*I) => wrong result (type errors) [#1619] [F63] 10- contfracpnqn([a]) => [1,a;0,1] instead of [a,1;1,0] [F64] 11- primes([2^50, 2^50+200000]) => stack overflow [F65] 12- issquare((x+1/2)^2,&z); z => 1.0*x+0.5 instead of x+1/2 [F66] 13- possibly missing roots in nfroots (when using Trager) [F68] 14- quadray(bnf, ideal) did not work [F69] 15- thue(-14*x^3 + 10*x^2 + 63*x - 5,1) -> "short continued fraction" [F70] 16- thue(29*x^3+130*x^2-35*x-48,1) -> "round error" bug [F71] 17- T=thueinit(10*x^3+6*x^2-41*x+8,1); thue(T,8) => SEGV [#1630] [F72] 18- ellrootno(e,p = 2 or 3) when e not minimal at p => random result [F73] 19- agm(1,2+O(5)) -> SEGV [#1645] [F76] BA 20- [cygwin64] ellap(ellinit([0,0,1,-1,0]),10007) was broken [F77] 21- primes([-5,5]) -> [5] (spurious absolute values) [F78] 22- matqr([;]) -> crash [F79] 23- Fp_rem_mBarrett could return a non-normalized result [F80] p=436^56-35;Mod(271,p)^((p-1)/2) -> p+1 24- plotcopy would corrupt "string" objects (ROt_ST) [F81] BA 25- [GP] default arguments to GP functions could cause corruption [F82] VBr26- [darwin] remove obsolete linker options that cause crashes [#1623] [F83] Done for version 2.7.2 (released 19/09/2014): [last column crossreferences current development release 2.8.0] Fixed 1- gaffsg(0, t_PADIC): wrong valuation [F21] 2- (t_INTMOD with word-sized modulus)^(huge negative power) [#1584] [F24] 3- (gp -p N) or (primelimit=N in gprc_ for N >= 436273290 resulted in an incorrect primetable. N.B. Such commands are now useless: needed primes are produced dynamically anyway. [F25] 4- monomial(exact zero, d, v) returned an invalid t_POL / t_RFRAC [F26] 5- contfracpnqn(v, n) returned partial quotients p[-1]/q[-1] ... p[n-1]/q[n-1], instead of the documented p[0]/q[0] ... p[n]/q[n] [F27] 6- factor((3+4*I)/25) -> factor 2+I had 0 exponent [#1586] [F29] BA 7- iferr() could crash if some component of the t_ERROR were clones. [F31] 8- nffactor() could overflow the stack when default accuracy too low [F32] BA 9- obsolete use of E=[a1,a2,a3,a4,a6] in ellmul crashed [#1589] [F33] 10- incorrect rounding in mulrr/divrr for one-word precision reals [F34] BA 11- multiif did not handle correctly return() in conditions [#1590] [F35] 12- [0..5] -> [0,0,0,0,0] on some architectures [F36] 13- is_gener_Fp could return wrong results [F37] 14- Fq_sqrtn(t_INT,..,&zeta) could return a wrong root of 1 [F38] 15- bnfinit: SEGV due to precision issues [#1592] [F39] 16- zm_zc_mul only worked for square zm matrices [F40] 17- genus2red(0,27*x^5+97*x^4+118*x^3+60*x^2+13*x+1,3) -> bug [#1596] [F41] 18- [gphelp] oo loop when $COLUMNS too small [#1594] [F42] 19- genus2red(x,-x^6-3*x^4-10*x^2-1,3) -> impossible inverse [#1597] [F43] 20- factoru(1) returned a t_MAT instead of the expected "matsmall" [F44] 21- FpM_charpoly wrong in small characteristic [#1602] [F45] 22- when compatible = 3; series() used a random precision [F50] 23- genus2red(0,6*x^6+5*x^4+x^2+1,7) -> impossible inverse [#1597] [F51] 24- isprime() could crash on large input [#1604] [F52] 25- genus2red(x^3+1,1) -> type error [#1597] [F53] 26- gphelp did not handle === correctly [#1603] [F54] 27- FpXY_evaly() wrong when evaluating at 0 [F56] 28- [mingw] gp could crash at start up [#1607] [F57] Done for version 2.7.1 (released 16/05/2014): [last column crossreferences current development release 2.8.0] Fixed 1- make install fails on OS/X: ln -s libpari.dylib libpari.dylib fails [F1] 2- Q_pvalrem(t_FRAC) => wrong result [F2] 3- [] == 0 but []~ != 0 (now []~ == 0 as well) [#1560] [F3] BA 4- test-kernel did not work when using --mt=pthread [F4] BA 5- ellheegner was using too much memory in some case [F5] BA 6- ellap can overflow on 32-bit machine [#1558] (minimal fix) [F6] 7- nfhilbert(K,x,y, P above 2) could give wrong results [#1561] [F7] 8- gcd(1/2, 1+I*1.) -> SEGV [#1563] [F10] 9- mathnf(t_VEC) could corrupt input (change sign) [F11] 10- [libpari] RgM_transmul did not work [F12] 11- [libpari] Fq_issquare didn't support T=NULL [F13] 12- [libpari] nfpow_u didn't handle non-integral rational numbers [F14] 13- eint1(0) -> stack overflow [#1568] [F15] 14- nfroots(, t_POL with leading coeff -1) could miss solutions [F19] 15- precprime(1) -> invalid t_INT [#1576] [F20] @ text @$NetBSD: patch-ab,v 1.7 2010/02/06 10:37:06 sno Exp $ --- Configure.orig 2008-01-16 15:57:54.000000000 +0000 +++ Configure @@@@ -36,7 +36,7 @@@@ cd $config_dir . ./get_PATH # We might need the following : echo Looking for some tools first ... -list='ld zcat gzip ranlib perl emacs' +list='ld zcat ranlib emacs' pathspace=`echo $PATH | sed -e "s/$dir_sep/ /g" | sed -e 's,\\\\,/,g'` for file in $list; do @@@@ -49,6 +49,7 @@@@ for file in $list; do esac done if test -z "$zcat" -a -n "$gzip"; then zcat="$gzip -dc"; fi +perl=${PERL5} ####################### CONFIGURE - ARCHITECTURE ############################ . ./get_archos # arch, osname @@@@ -101,14 +102,14 @@@@ fi . ./get_static # static # For dynamic linking, before and after installing runpath="$libdir" -LDDYN="-L$libdir -lpari" +LDDYN="-Wl,-R$libdir -L$libdir -lpari" # get_modld needs $includedir from get_install, static, and LDDYN . ./get_modld # $_modld_list # Which copy, SHELL ? case "$osname" in os2) ln_s=cp; make_sh=sh;; - *) ln_s="ln -s"; make_sh="/bin/sh";; + *) ln_s="ln -sf"; make_sh="/bin/sh";; esac ####################### CONFIGURE - CLEANUP ################################# rm -f gmon.out # created by Configure -pg @@@@ -172,14 +173,14 @@@@ if test "$objdir" != "$mkobjdir"; then fi case $ans in -y) if (cd $objdir; make gp); then +y) if (cd $objdir; ${MAKE} gp); then echo $n "Shall we install the files where they belong (y/n)? $c" dflt=n; rep='y n'; . $config_dir/myread case $ans in - y) make install;; - n) echo "Ok. Type \"${cdobjdir}make install\" when you are ready";; + y) ${MAKE} install;; + n) echo "Ok. Type \"${cdobjdir}${MAKE} install\" when you are ready";; esac fi;; -n) echo "Ok. Type \"${cdobjdir}make install\" when you are ready";; +n) echo "Ok. Type \"${cdobjdir}${MAKE} install\" when you are ready";; esac echo 'Bye !' @ 1.7 log @Updating math/pari from 2.1.6nb3 to 2.3.5 (newer than PR pkg/38116) pkgsrc changes: - Adding license (GPLv2) - Adding X11 and GMP support (latter via option) - Adding patches to support math/p5-Math-Pari can be build without rebuilding pari again Upstream changes: * Primarily a lot of bug fixes * Plotting API reworked * More targets are supported @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Fix X11 linkage. Bump revision. From PR 34563. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2005/09/08 08:39:59 adam Exp $ d3 13 a15 4 --- config/Makefile.SH.orig +++ config/Makefile.SH @@@@ -60,10 +60,8 @@@@ OBJS="$OBJS $f\$(_O)" d17 2 a18 20 OBJSGP='' -OBJSDGP='' for f in $gp $graph; do OBJSGP="$OBJSGP $f\$(_O)" - OBJSDGP="$OBJSDGP $f-dyn\$(_O)" done for f in $inline; do OBJS="$OBJS $f\$(_O)" @@@@ -90,7 +88,7 @@@@ X11) PLOTFILE=plotX.c PLOTCFLAGS=-I$Xincroot - PLOTLIBS="-L$X11 -lX11 $extralib" + PLOTLIBS="-Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lX11 $extralib" if test "$osname" = concentrix; then PLOTLIBS="-lX11"; fi plotrunpath=$X11 ;; @@@@ -108,27 +106,14 @@@@ RUNPTH="$runpathprefix $TOP/$objdir:$tmp";; esac d20 16 a35 9 -if test -z "$DLLD"; then - exec="gp-sta"; static=y -else - exec="gp-sta gp-dyn" -fi doexec="env \"LD_LIBRARY_PATH=.;\$\$LD_LIBRARY_PATH\" $src/test/dotest $sizeof_long" case "$sizeof_long" in 4) numbits=32;; 8) numbits=64;; d37 3 a39 106 -if test -z "$emacs"; then - install_emacs_files= - pari_elc= -else - install_emacs_files=install_emacs_files - pari_elc=$emx/pari.elc -fi -case "$static" in - n) dft=dyn; libdft=lib-dyn;; - y) dft=sta; libdft= ;; -esac + +install_emacs_files=install_emacs_files +pari_elc= cat > $file << EOT # Makefile for Pari/GP -- $pretty @@@@ -142,33 +127,22 @@@@ ASFLAGS = $ASFLAGS AR = ar -CC = $CC +CC = \$(LIBTOOL) --mode=compile $CC CPPFLAGS = -I. -I$src/headers CFLAGS = $cflags -LD = $LD +LD = \$(LIBTOOL) --mode=link $CC LDFLAGS = $LDFLAGS -DLLD = $DLLD -DLLDFLAGS = $DLLDFLAGS EXTRADLLDFLAGS = $EXTRADLLDFLAGS CPP = $CPP -_O = .o -_A = .a +_O = .lo +_A = .la LIB_PREFIX = lib -LIBPARI = \$(LIB_PREFIX)$libpari_base -LIBPARI_STA= \$(LIBPARI)\$(_A) -LIBPARI_SO = \$(LIBPARI).$DLSUFFIX -LIBPARI_DYN = \$(LIBPARI_SO).$sodest -LIBPARI_SONAME= \$(LIBPARI_SO).$soname +LIBPARI = \$(LIB_PREFIX)$libpari_base\$(_A) RUNPTH = $RUNPTH RUNPTH_FINAL = $RUNPTH_FINAL -LDDYN = $LDDYN -DLCFLAGS = $DLCFLAGS LIBS = $LIBS -DYNLIBS = $DYNLIBS -DYNFLAGS = $DYNFLAGS -DYNRELOC = $DYNRELOC RM = rm -f MV = mv -f @@@@ -192,8 +166,10 @@@@ MISCDIR = \$(ALLDIR)/misc INSTALL = $cfg/install -INSTALL_PROGRAM = \$(INSTALL) -INSTALL_DATA = \$(INSTALL) -m 644 +INSTALL_PROGRAM = \$(BSD_INSTALL_PROGRAM) +INSTALL_SCRIPT = \$(BSD_INSTALL_SCRIPT) +INSTALL_DATA = \$(BSD_INSTALL_DATA) +INSTALL_MAN = \$(BSD_INSTALL_MAN) # Graphic library. PLOTFILE = $PLOTFILE @@@@ -223,26 +199,17 @@@@ OBJS = $OBJS OBJSGP = $OBJSGP -OBJSDGP = $OBJSDGP - -dft: gp $pari_elc - - -gp: gp-$dft ../gp$suffix$exe_suff $libdft - - +all: lib gp -../gp$suffix$exe_suff: gp-$dft - -\$(RM) \$@@ - -\$(LN) $ln_objdir/gp-$dft$exe_suff \$@@ +lib: \$(LIBPARI) -all: $exec lib-sta +\$(LIBPARI): \$(OBJS) + \$(LD) -o \$@@ \$(OBJS) -rpath \$(LIBDIR) --version-info 0:0 -lib-sta: \$(LIBPARI_STA) -lib-dyn: \$(LIBPARI_DYN) - -\$(LIBPARI_STA): \$(OBJS) - -\$(RM) \$@@ - \$(AR) r \$@@ \$(OBJS) +gp: \$(OBJSGP) \$(LIBPARI) + \$(RM) \$@@ + \$(LD) -o \$@@ \$(LDFLAGS) \$(OBJSGP) \$(RUNPTH) \$(PLOTLIBS) \$(LIBS) \$(RLLIBS) \$(LIBPARI) kerntest\$(_O): ../src/test/kerntest.c \$(CC) -c \$(CFLAGS) -I$src/language \$(CPPFLAGS) -o \$@@ \$< @@@@ -260,12 +227,6 @@@@ EOT a40 6 -cat >> $file << EOT - -gp-sta: \$(OBJS) \$(OBJSGP) \$(GNUPLOT_OBJS) - \$(RM) \$@@ - \$(LD) -o \$@@ \$(LDFLAGS) \$(OBJS) \$(OBJSGP) \$(GNUPLOT_OBJS) \$(RUNPTH) \$(RLLIBS) \$(PLOTLIBS) \$(LIBS) -EOT d42 16 a57 170 cat >> $file << EOT @@@@ -284,14 +245,14 @@@@ @@$doexec -g cleanobj: cleantest - -\$(RM) *\$(_O) *.s pariinl.h \$(LIBPARI_STA) libpari.* $exec + -\$(RM) *\$(_O) *.s pariinl.h \$(LIBPARI) libpari.* $exec clean: cleanobj .headers: $HEADERS @@touch \$@@ -install: install-lib-$dft install-include install-bin install-man install-misc install-data install-doc install-examples +install: install-lib install-include install-bin install-man install-misc install-data install-doc install-examples install-include: -mkdir -p \$(INCLUDEDIR) @@@@ -300,45 +261,33 @@@@ \$(INSTALL_DATA) \$\$i.h \$(INCLUDEDIR); done -for i in $hlist; do \\ \$(INSTALL_DATA) $src/headers/\$\$i.h \$(INCLUDEDIR); done - -\$(RM) \$(INCLUDEDIR)/genpari.h -\$(LN) pari.h \$(INCLUDEDIR)/genpari.h -install-bin: install-bin-$dft - -install-bin-dyn: gp-dyn +install-bin: gp -mkdir -p \$(BINDIR) - -\$(RM) \$(BINDIR)/gp-$version \$(BINDIR)/gp$exe_suff - -\$(LD) -o \$(BINDIR)/gp-$version \$(LDFLAGS) \$(OBJSGP) \$(RUNPTH_FINAL) \$(TOPLDDYN) \$(LDDYN) \$(PLOTLIBS) \$(LIBS) - -\$(STRIP) \$(STRIPFLAGS) \$(BINDIR)/gp-$version - -\$(LN) gp-$version$exe_suff \$(BINDIR)/gp$exe_suff - -install-bin-sta: gp-sta - -mkdir -p \$(BINDIR) - -\$(RM) \$(BINDIR)/gp-$version \$(BINDIR)/gp$exe_suff - \$(INSTALL_PROGRAM) gp-sta$exe_suff \$(BINDIR)/gp-$version$exe_suff + \$(LIBTOOL) --mode=install \$(INSTALL_PROGRAM) gp$exe_suff \$(BINDIR)/gp-$version$exe_suff -\$(LN) gp-$version$exe_suff \$(BINDIR)/gp$exe_suff # Can't strip it if we want install() to work on Linux or OSF. # \$(STRIP) \$(STRIPFLAGS) \$(BINDIR)/gp-$version install-man:: -mkdir -p \$(MANDIR) - \$(INSTALL_DATA) $doc/gphelp.1 \$(MANDIR) - \$(INSTALL_DATA) $doc/gp.1 \$(MANDIR) - -\$(RM) \$(MANDIR)/pari.1 + \$(INSTALL_MAN) $doc/gphelp.1 \$(MANDIR) + \$(INSTALL_MAN) $doc/gp.1 \$(MANDIR) -\$(LN) gp.1 \$(MANDIR)/pari.1 install-misc: $install_emacs_files install-top -mkdir -p \$(MISCDIR) \$(BINDIR) - \$(INSTALL_PROGRAM) $misc/tex2mail \$(BINDIR) - \$(INSTALL_DATA) $doc/tex2mail.1 \$(MANDIR) + \$(INSTALL_SCRIPT) $misc/tex2mail \$(BINDIR) + \$(INSTALL_MAN) $doc/tex2mail.1 \$(MANDIR) \$(INSTALL_DATA) $misc/README \$(MISCDIR) \$(INSTALL_DATA) $misc/color.dft \$(MISCDIR) \$(INSTALL_DATA) $misc/gpalias \$(MISCDIR) - \$(INSTALL_PROGRAM) $misc/gpflog \$(MISCDIR) + \$(INSTALL_SCRIPT) $misc/gpflog \$(MISCDIR) \$(INSTALL_DATA) $misc/gprc.dft \$(MISCDIR) \$(INSTALL_DATA) $misc/new.dic \$(MISCDIR) \$(INSTALL_DATA) $misc/pari.xpm \$(MISCDIR) - \$(INSTALL_PROGRAM) $misc/xgp \$(MISCDIR) + \$(INSTALL_SCRIPT) $misc/xgp \$(MISCDIR) install-top:: -mkdir -p \$(READMEDIR) @@@@ -356,7 +305,7 @@@@ install-doc:: -mkdir -p \$(BINDIR) \$(DOCDIR) -cd $doc; \$(MAKE) all - -\$(INSTALL_PROGRAM) $doc/gphelp \$(BINDIR) + -\$(INSTALL_SCRIPT) $doc/gphelp \$(BINDIR) -\$(INSTALL_DATA) $doc/Makefile \$(DOCDIR) -\$(INSTALL_DATA) $doc/translations \$(DOCDIR) -\$(INSTALL_DATA) $doc/appa.tex \$(DOCDIR) @@@@ -398,61 +347,11 @@@@ -mkdir -p \$(DATADIR) -for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null -install-lib-sta: \$(LIBPARI_STA) +install-lib: \$(LIBPARI) -mkdir -p \$(LIBDIR) - -\$(RM) \$(LIBDIR)/\$(LIBPARI_STA) - \$(INSTALL_DATA) \$(LIBPARI_STA) \$(LIBDIR)/\$(LIBPARI_STA).$version - -\$(LN) \$(LIBPARI_STA).$version \$(LIBDIR)/\$(LIBPARI_STA) + \$(LIBTOOL) --mode=install \$(BSD_INSTALL_LIB) \$(LIBPARI) \$(LIBDIR)/ -install-lib-dyn: \$(LIBPARI_DYN) - -mkdir -p \$(LIBDIR) - -\$(RM) \$(LIBDIR)/\$(LIBPARI_DYN) - \$(INSTALL_PROGRAM) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_DYN) EOT -if test "$soname" != "$sodest"; then - cat >> $file << EOT - -\$(RM) \$(LIBDIR)/\$(LIBPARI_SONAME) - -\$(RM) \$(LIBDIR)/\$(LIBPARI_SO) - -\$(LN) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SONAME) - -\$(LN) \$(LIBPARI_DYN) \$(LIBDIR)/\$(LIBPARI_SO) - -EOT -fi - -if test -z "$DLLD"; then - cat >> $file << EOT - -\$(LIBPARI_DYN):: - @@echo "Configure could not find a way to build a shared library on this machine." - -EOT -else - if test -z "$DYNLIBS"; then - cat >> $file << EOT -gp-dyn: \$(OBJSGP) \$(LIBPARI_DYN) \$(GNUPLOT_OBJS) - \$(RM) \$@@ - \$(LD) -o \$@@ \$(LDFLAGS) \$(OBJSGP) \$(GNUPLOT_OBJS) \$(RUNPTH) \$(TOPLDDYN) \$(LDDYN) \$(PLOTLIBS) \$(LIBS) - -\$(LIBPARI_DYN): \$(OBJS) - -\$(RM) \$(LIBPARI_DYN) - \$(DLLD) -o \$@@ \$(DLLDFLAGS) \$(OBJS) \$(EXTRADLLDFLAGS) -EOT - if test "$soname" != "$sodest"; then - cat >> $file << EOT - -\$(RM) \$(LIBPARI_SONAME) - -\$(RM) \$(LIBPARI_SO) - -\$(LN) \$(LIBPARI_DYN) \$(LIBPARI_SONAME) - -\$(LN) \$(LIBPARI_DYN) \$(LIBPARI_SO) -EOT - fi - else - cat >> $file << EOT -gp-dyn: \$(OBJSDGP) \$(LIBPARI_DYN) - \$(RM) \$@@ - \$(LD) -o \$@@ \$(LDFLAGS) \$(OBJSDGP) \$(RUNPTH) \$(TOPLDDYN) \$(LDDYN) \$(PLOTLIBS) \$(LIBS) \$(DYNLIBS) -EOT - fi -fi if test -n "$GNUPLOT_OBJS"; then cat >> $file << EOT @@@@ -462,21 +361,14 @@@@ EOT fi -if test -n "$emacs"; then - cat >> $file << EOT -$pari_elc: $emx/pari.el - @@echo "Byte-Compiling pari.el..." - -cd $emx; $emacs -batch -l compile - -$install_emacs_files: $pari_elc +cat >> $file << EOT +$install_emacs_files: -mkdir -p \$(EMACSDIR) - -\$(INSTALL_DATA) $pari_elc \$(EMACSDIR) \$(INSTALL_DATA) $emx/pari.el \$(EMACSDIR) \$(INSTALL_DATA) $emx/pariemacs.txt \$(EMACSDIR) \$(INSTALL_DATA) $emx/with-syntax.el \$(EMACSDIR) \$(INSTALL_DATA) $emx/pari-translator.el \$(EMACSDIR) EOT -fi if test -s $src_dir/kernel/$ASMARCH/Makefile.SH; then . $src_dir/kernel/$ASMARCH/Makefile.SH @ 1.5 log @Changes 2.1.6: Fixed - src/kernel/sparcv8/MakeVar.SH missing from MANIFEST (hence from tarball) - stack corruption in matsnf() [ when GC occurs ] - incorrect result in gaffsg(s < 0, t_PADIC) - [hi-res plot: X-Windows] rescaling bug - [ix86 + gcc]: fix "invalid preprocessing token" Warning - removed hack in buchall() [ function called through unappropriate type (in init mode) to avoid inserting irrelevant arguments ]. Caused some compiler to produce incorrect code (SEGV). - typo in isabsolutepol(): SEGV in factorff for some t_POLs defined over the prime field - inconsistent error message when starting 'gp -p 436273000' - Configure support for GNU/Hurd @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2003/07/07 21:57:50 jtb Exp $ d21 1 a21 1 + PLOTLIBS="-Wl,-R$X11 -L$X11 -lX11 $extralib" @ 1.4 log @Update to pari-2.1.5. pkgsrc changes: * Build a shared libpari using libtool * convert to buildlink2 Changes in Pari itself: * a long list of bugfixes -- see CHANGES. @ text @d1 1 a1 1 $NetBSD$ d245 1 a245 1 + \$(LIBTOOL) --mode=install \$(INSTALL_DATA) \$(LIBPARI) \$(LIBDIR)/ @ 1.3 log @Update to pari-2.1.1. Fixed 1- return() could forget objects on heap [F2] 2- polhensellift(x^3+x^2+2,[x^2,x+1],2) --> pols not coprime [F3] 3- Configure missed some shared libraries [e.g RedHat 7.0] [F4] 4- requests for precision of bnfinit(x) [ = Q ] could yield SEGV [F6] 5- compatible = 3 not taken into account when reading a file [F7] 6- lines > 0: output driver didn't reset properly after user output [F9] 7- nfdisc(x^5+2*x^4+3*x^3-3*x^2+122*x-1) --> impossible inverse [F10] 8- bug in gcc-2.95: SEGV on Linux (quicksqri) [F11] 9- addrfrac: could return a t_RFRAC whose denominator wasn't a t_POL[F12] 10- bnfcertify (zimmertbound): off by two error when reading bound [F13] BA 11- pbs in Fp_factor_irred (factoring over Fq a pol. defined over Fp)[F25] 12- typo in quadhilbertimag (SEGV for very large discriminants) [F28] BA 13- isprime(n < 2, 2 or 3) gave wrong result [F31] BA 14- nfgaloisconj(polcyclo(11)+1)--> oo loop [F35] nfgaloisconj(polcyclo(40))-->incorrect result IS 15- typo in squfof tuning on 64bit machines [F36] 16- van Hoeij's algorithm (factor(Z[X])): wrong bound in LLL_cmbf [F41] 17- rare SEGV in nfdisc [F44] 18- rare problem in isprincipal (large non Galois base field) [F56] --> wrong result (generators not required) or infinite loop. 19- build failed with readline-4.2 [F57] Changed 1- DOS distribution archives (GPM removed) [C1] XR 2- try more prime ideals in nfsqff [nffactor, modular part] [C4] 3- renamed library function gsize() to sizedigit() [pb with gtk] [C10] IK 4- let lisGEN() return NULL when EOF is met (was oo loop) [C12] 5- install the whole distribution (see ?12) + improved Configure [C17] Added 1- README.WIN, config/[arch-osname|locatesymbol], doc/tex2mail.1 [A1] @ text @d3 1 a3 1 --- config/Makefile.SH.orig Wed Apr 18 11:40:57 2001 d5 12 a16 1 @@@@ -81,7 +81,7 @@@@ d25 71 a95 1 @@@@ -175,8 +175,10 @@@@ d108 65 a172 1 @@@@ -272,21 +274,17 @@@@ d179 4 a182 3 install-bin: install-bin-$dft install-bin-dyn: gp-dyn d185 6 a190 6 -\$(LD) -o \$(BINDIR)/gp-$version \$(LDFLAGS) \$(OBJSGP) \$(RUNPTH_FINAL) \$(TOPLDDYN) \$(LDDYN) \$(PLOTLIBS) \$(LIBS) - strip \$(BINDIR)/gp-$version -\$(LN) gp-$version$exe_suff \$(BINDIR)/gp$exe_suff install-bin-sta: gp-sta -mkdir -p \$(BINDIR) d192 2 a193 1 \$(INSTALL_PROGRAM) gp-sta$exe_suff \$(BINDIR)/gp-$version$exe_suff d196 1 a196 1 @@@@ -294,15 +292,14 @@@@ d216 11 a226 1 @@@@ -328,7 +325,7 @@@@ d228 1 a228 1 -mkdir -p \$(ALLDIR) \$(BINDIR) \$(DOCDIR) d235 6 a240 2 @@@@ -372,8 +369,7 @@@@ install-lib-sta: \$(LIBPARI_STA) d242 1 a242 1 -\$(RM) \$(LIBDIR)/\$(LIBPARI_STA) d245 51 a295 1 + \$(INSTALL_DATA) \$(LIBPARI_STA) \$(LIBDIR) d297 26 a322 2 install-lib-dyn: \$(LIBPARI_DYN) -mkdir -p \$(LIBDIR) @ 1.2 log @* Install examples. * Install library as libpari.a. (Previously the package installed libpari.a.2.1 and created a symbolic link libpari.a). * Fix warning about O_RDONLY being redefined. @ text @d3 1 a3 1 --- config/Makefile.SH.orig Mon Mar 27 18:43:42 2000 d5 1 a5 1 @@@@ -80,7 +80,7 @@@@ d10 1 a10 1 + PLOTLIBS="-R$X11 -L$X11 -lX11 $extralib" d14 2 a15 2 @@@@ -160,8 +160,9 @@@@ INCLUDEDIR = $includedir d23 1 d27 1 a27 1 @@@@ -257,21 +258,21 @@@@ a31 1 +# -\$(RM) \$(INCLUDEDIR)/genpari.h a38 1 +# -\$(RM) \$(BINDIR)/gp-$version \$(BINDIR)/gp$exe_suff a40 1 +# strip \$(BINDIR)/gp-$version a45 1 +# -\$(RM) \$(BINDIR)/gp-$version \$(BINDIR)/gp$exe_suff d49 3 a51 1 @@@@ -281,17 +282,17 @@@@ d53 2 a54 2 \$(INSTALL_DATA) $doc/gphelp.1 \$(MANDIR) \$(INSTALL_DATA) $doc/gp.1 \$(MANDIR) d56 2 a57 1 +# -\$(RM) \$(MANDIR)/pari.1 d60 2 a61 1 install-misc: $install_emacs_files d63 1 d65 7 a71 4 install-doc: -mkdir -p \$(MISCDIR) -mkdir -p \$(BINDIR) d75 5 a79 13 -\$(INSTALL_DATA) $doc/translations \$(MISCDIR) -\$(INSTALL_DATA) $doc/paricfg.tex \$(MISCDIR) -\$(INSTALL_DATA) $doc/parimacro.tex \$(MISCDIR) @@@@ -306,14 +307,13 @@@@ -\$(INSTALL_DATA) $doc/refcard.ps \$(MISCDIR) install-data: - -mkdir -p \$(DATADIR) - @@-for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null +# -mkdir -p \$(DATADIR) +# @@-for f in $data/*; do \$(INSTALL_DATA) \$\$f \$(DATADIR); done 2>/dev/null install-lib-sta: libpari.a d81 4 a84 5 - -\$(RM) \$(LIBDIR)/libpari.a - \$(INSTALL_DATA) libpari.a \$(LIBDIR)/libpari.a.$version - -\$(LN) libpari.a.$version \$(LIBDIR)/libpari.a +# -\$(RM) \$(LIBDIR)/libpari.a + \$(INSTALL_DATA) libpari.a \$(LIBDIR) d86 1 a86 1 install-lib-dyn: libpari.$somake @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- config/Makefile.SH.orig Mon Mar 27 17:43:42 2000 d73 8 a80 1 @@@@ -311,7 +312,7 @@@@ d85 2 d88 1 a88 2 \$(INSTALL_DATA) libpari.a \$(LIBDIR)/libpari.a.$version -\$(LN) libpari.a.$version \$(LIBDIR)/libpari.a d90 2 @ 1.1.1.1 log @Initial import of pari. PARI-GP is a package which is aimed at efficient computations in number theory, but also contains a large number of other useful functions. It is somewhat related to a Computer Algebra System, but is not really one since it treats symbolic expressions as mathematical entities such as matrices, polynomials, series, etc..., and not as expressions per se. However it is often much faster than other CAS, and contains a large number of specific functions not found elsewhere, essentially for use in number theory. This package can be used in an interactive shell (GP) or as a C/C++ library (PARI). It is free software, in the sense of freedom AND 'free of charge'. @ text @@