Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

drop old palp

(Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
  • Loading branch information...
commit 43dafa3eb058396d5f796825fc5cedd70488123e 1 parent a07ca11
@kiwifb kiwifb authored
View
4 sci-mathematics/palp/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Aug 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+ -palp-2.0-r1.ebuild, -files/palp-2.0-nonestedfunctions.patch:
+ drop old
+
*palp-2.1 (17 Jun 2012)
17 Jun 2012; François Bissey <francois.bissey@canterbury.ac.nz>
View
13 sci-mathematics/palp/Manifest
@@ -1,8 +1,5 @@
-AUX palp-2.0-gnumakefile.patch 1350 RMD160 f149d9b8c5b16df707a7f9d175ee4851eead51d5 SHA1 d187c81abb4c4b3ae5d03d5030f3419d653c4892 SHA256 e85b0fda88c5a86361d4b6e11fef39119457330ee300491fa57ea6bb8672842c
-AUX palp-2.0-nonestedfunctions.patch 4420 RMD160 12460fdf33bceb0886acf52ff0cfb79779a60800 SHA1 fd2495bb206ea67bde9ecd6310ec49bf1d5816dd SHA256 be75e053b5ee502998b8b6bc51ac49ca4d1ba5db0baf9a16fee2bbe7b04855a8
-DIST palp-2.0.tar.gz 219395 RMD160 395082b69b4a85a618dbff1125206bd651b1e2d4 SHA1 962908023938e366ea56b22b1bc6ce17fb7fdf08 SHA256 5293b588110a9e3472a46ba20d8c4b7561eaf5642e669bd805e2e344d6f87468
-DIST palp-2.1.tar.gz 232811 RMD160 97f72117abeaa9263152cd3dd0697f2119a41ffb SHA1 11dada019d9a67553702774c477291cddaa528ae SHA256 3a3b7c746f92a74b91d47879de2bc14b8fda9a1e503f7fbc0f2f02571815fae8
-EBUILD palp-2.0-r1.ebuild 1374 RMD160 1faf38e93c5b645ad863a006c0907660d9b18b4f SHA1 1af53198baa7c67a72e2a361826a8f16127c1c8b SHA256 8b7f459bb9b174a7d3c03a5c7e284c8c34c3d5f69c46d3e0648ce1a86e80833d
-EBUILD palp-2.1.ebuild 1365 RMD160 fc7cfc1f6a23993f15d8c1d68747aa51dd25e2d9 SHA1 84060695794b45c62c66858ce5711dc9ccec569e SHA256 8709126d61f25ba196f628dc5fa85a2dd9aa1962beb991d5a1ac05654ebe528a
-MISC ChangeLog 2202 RMD160 c577c9faaf6e30186bcd614fe28541f027b94317 SHA1 fa367cf9975e7c9e47435b1d35279455f17b1e40 SHA256 f3f5be46205f797859ea5f65cca06f3b9463952dc9619f665402184931d81b27
-MISC metadata.xml 218 RMD160 5dcdfc9ffbff78c3625f6ee6cd8242c0130bba48 SHA1 e7d6721263f31430e0dd04b17f16c27ebac78a89 SHA256 45420c665fb7a061ce85d5300ea7ed5a034a812dc286e2c87540b90d1388d79d
+AUX palp-2.0-gnumakefile.patch 1350 SHA256 e85b0fda88c5a86361d4b6e11fef39119457330ee300491fa57ea6bb8672842c SHA512 d50a186ca8400eb278e8d5ba41f2e9ed6548d1032cfa7a016e98ab2f071fdcf4b54900d71c8ae4603a809e86c8430003aa1096d1563fda74fd24b3f27662c70b WHIRLPOOL 018143d82f21307173356b13f2158ca01c9e12f5f58e7255c04c9302a185dc860d2bf86af9abbdcaed07529d63109307c5754e1cc17f25fcbea5e76494c6866b
+DIST palp-2.1.tar.gz 232811 SHA256 3a3b7c746f92a74b91d47879de2bc14b8fda9a1e503f7fbc0f2f02571815fae8 SHA512 dd9ec90f93c98cb11810894a692d7a336afdb2d857f8dd10f65a217afce73d0caa945f3331b5073b8dc6479ebb90b306ca8a18ac77b5899fd30824d83228da69 WHIRLPOOL 195495600a76abeb29aa0d1d151712baed8b69ed2b4ecbf798f82fcd9799eb09cb20b1d1243bce328654ab27bace74b8f70ab57226fd0692c110d1e0a240b126
+EBUILD palp-2.1.ebuild 1365 SHA256 8709126d61f25ba196f628dc5fa85a2dd9aa1962beb991d5a1ac05654ebe528a SHA512 85e3e1146ab2c5f85123854e6429fc5e898192cd90b2c718fd07c8960aa2b0c346a90a4eb9d6db8d0cda4963b9a4633bcb51134b6fc96de5c351f05f1eacdd5f WHIRLPOOL f1350e2b7eca3f098955e5f1847bdf7f104513b0867932f7997fbd91e0a468c98328b8e87e5a9ef64476734dc56022a8d8f581f3276ccd34ad8ef78a67699a89
+MISC ChangeLog 2345 SHA256 e67019eb812badabee9df6eef283e0fa1225bc6e565ce79da03a4e4e62cf654d SHA512 7064029bc267779d659a3c8be9408bc92f74dc407e2a82304aa5a2ae0defe542762692369cbdc708b4d68c7dd062578fbdf8c37aa864247a30030cadd18f347e WHIRLPOOL b0fe9ef452cbf6c476edd91fc1b65aae9eba0643f3608cab501fb15675746c8a7d9ccdcbd914863751767b5fdaed8e9a89f18d90eb08fb6464a1950619e4204f
+MISC metadata.xml 218 SHA256 45420c665fb7a061ce85d5300ea7ed5a034a812dc286e2c87540b90d1388d79d SHA512 d0379679719f607297c40a8f3eb4bdbf9da336c5ccfb50b8e7b382def18185fa006383522062b024a6c0041609a65a599a3ad03a7600a061e8a29800cf73436b WHIRLPOOL ee5eecf9e3547cf4d8896a4ba6efe465f38931e7c35951bd54830f15674d946df093da0f78e054f6c988618dac06c316332c9565ba610631d9ff9057106b52bb
View
92 sci-mathematics/palp/files/palp-2.0-nonestedfunctions.patch
@@ -1,92 +0,0 @@
---- MoriCone.c 2011-06-23 02:59:04.000000000 +1200
-+++ MoriCone.c.new 2012-03-06 12:29:22.718499527 +1300
-@@ -592,9 +592,6 @@
- int *nmt,int *nt) // P,p,F[c],X,CT[nmf],&nmt[nmf],nt[nmf]
- { int d=P->n,v=d+2,i,j,k=0,r,F[POLY_Dmax+2],Z[POLY_Dmax+2],z=0, // GKZ polygon:
- R[VERT_Nmax][POLY_Dmax],nrp[VERT_Nmax],nr,neg=0,tnt=0;// num.max.tri
-- void AddInsertR(int S,int K){int J,L;if(K){for(J=nr++;J>S;J--)// aux proc.:
-- {nrp[J]=nrp[J-1];for(L=0;L<nrp[J];L++)R[J][L]=R[J-1][L];} // add/insert
-- R[S][0]=i;nrp[S]=1;} else R[S][nrp[S]++]=i;} // i -> rays R
- Matrix A,B; Init_Matrix(&A,v,d); Inci64 U; // P.x::F[A]::F[Z[R]]
- for(i=0;i<p;i++) if(getN(i,FI)){for(j=0;j<d;j++) A.x[k][j]=P->x[i][j];
- F[k++]=i;} assert(k==d+2); GaleTransform(A,&B); U=0; // F_i<d+2
-@@ -605,13 +602,26 @@
- nr=1; nrp[0]=1; R[0][0]=0; // Z[z]::T[0] {circuits} in F[]::=facet
- for(i=1;i<z;i++) if(0<=(k=BZangle(i,0))){ // points with positive angle
- if(k==0) r=0; // else if(nr==1) r=1; // insert@ 0 < r <=nr; add@ 0 <= r <nr
-- else for(r=1;r<nr;r++) if((k=BZangle(i,*R[r]))<=0) break;
-- AddInsertR(r,k); } // if(k) insert at r; else add to R[r];
-+ else for(r=1;r<nr;r++) if((k=BZangle(i,*R[r]))<=0) break;
-+ {
-+ int J,L;
-+ if(k){for(J=nr++;J>r;J--)
-+ {nrp[J]=nrp[J-1];for(L=0;L<nrp[J];L++)R[J][L]=R[J-1][L];}
-+ R[r][0]=i;nrp[r]=1;} else R[r][nrp[r]++]=i;
-+ }// if(k) insert at r; else add to R[r];
-+ }
-+
- for(i=1;i<z;i++) if(0>(k=BZangle(i,0))){ // points with negative angle
- if(neg==0) {r=neg=nr; k=1;} // init neg.
- else for(r=neg;r<nr;r++) if((k=BZangle(i,*R[r]))<=0) break;
- //printf("i=%d: neg=%d nr=%d -> k=%d r=%d\n",i,neg,nr,k,r);
-- AddInsertR(r,k);} CT[*nmt=0]=X;
-+ {
-+ int J,L;
-+ if(k){for(J=nr++;J>r;J--)
-+ {nrp[J]=nrp[J-1];for(L=0;L<nrp[J];L++)R[J][L]=R[J-1][L];}
-+ R[r][0]=i;nrp[r]=1;} else R[r][nrp[r]++]=i;
-+ }// if(k) insert at r; else add to R[r];
-+ } CT[*nmt=0]=X;
- #if (TRACE_TRIANGULATION)
- printf("U="); prnI(p,U); printf(" -> rays: ");
- for(r=0;r<nr;r++){printf("R[%d]=",r);
-@@ -665,10 +675,10 @@
- int Tli[VERT_Nmax][3],Eli[VERT_Nmax][2],IEli[VERT_Nmax][9],ien[VERT_Nmax];
- int tn=0,en=0, a,b,c, k,l,iem=0,ies=0,nQuad=0,chi=0,ncr=0;
-
-- int ChamberTriangle(Long *Q,int *T){Long a,b,c; // Q in BZR(T_0,T_1,T_2)
-+/* int ChamberTriangle(Long *Q,int *T){Long a,b,c; // Q in BZR(T_0,T_1,T_2)
- if(0<=(a=XYZproduct(BZR(T[0]),BZR(T[1]),Q))) if(0<=(b=XYZproduct(BZR(T[1])
- ,BZR(T[2]),Q))) if(0<=(c=XYZproduct(BZR(T[2]),BZR(T[0]),Q)))
-- {assert(a*b*c>0); return 1;} return 0;} // END of DECLARATIONS
-+ {assert(a*b*c>0); return 1;} return 0;} // END of DECLARATIONS */
-
- Init_Matrix(&A,Inci64_abs(FI),d);for(i=0;i<=p;i++)if(getN(i,FI)){ // GALE
- for(j=0;j<d;j++) A.x[f][j]=P->x[i][j]; F[f++]=i;} GaleTransform(A,&B);
-@@ -899,10 +909,16 @@
-
- CT[*nmt=0]=X; // CT[#][list] -> X, *nmt=#MaxTri nt[num]=#Triang
- for(i=0;i<ncr;i++){Inci64 *S=CT[*nmt], U=0; // TRIANGulate forall chambers
-- Long *Q=CR[i]; nt[*nmt]=0; for(j=0;j<tn;j++) if(ChamberTriangle(Q,Tli[j])){
-- for(a=0;a<nrp[Tli[j][0]];a++)for(b=0;b<nrp[Tli[j][1]];b++)for(c=0;c<
-+ Long *Q=CR[i]; nt[*nmt]=0; for(j=0;j<tn;j++)
-+ {Long a,b,c; int ChamberTriangle = 0;
-+ if(0<=(a=XYZproduct(BZR(Tli[j][0]),BZR(Tli[j][1]),Q)))
-+ if(0<=(b=XYZproduct(BZR(Tli[j][1]),BZR(Tli[j][2]),Q)))
-+ if(0<=(c=XYZproduct(BZR(Tli[j][2]),BZR(Tli[j][0]),Q)))
-+ {assert(a*b*c>0); ChamberTriangle = 1;}
-+ if(ChamberTriangle){
-+ for(a=0;a<nrp[Tli[j][0]];a++)for(b=0;b<nrp[Tli[j][1]];b++)for(c=0;c<
- nrp[Tli[j][2]];c++){S[nt[*nmt]]=C-makeN(F[Z[R[Tli[j][0]][a]]])-makeN(F[
-- Z[R[Tli[j][1]][b]]])-makeN(F[Z[R[Tli[j][2]][c]]]);U|=S[nt[*nmt]++];}}
-+ Z[R[Tli[j][1]][b]]])-makeN(F[Z[R[Tli[j][2]][c]]]);U|=S[nt[*nmt]++];}}}
- if(U==C) {CT[*nmt+1]=&CT[*nmt][nt[*nmt]]; tmt+=nt[(*nmt)++];}
- #ifdef PRINT_NON_MAXIMAL_TRIANGULATIONS
- j=(*nmt)-(U==C);if(U==C)printf("maximal[");else printf("non-max[");
---- Polynf.c 2011-06-23 02:59:04.000000000 +1200
-+++ Polynf.c.new 2012-03-06 12:29:40.143515045 +1300
-@@ -2383,6 +2383,8 @@
- }
-
-
-+#if(0)
-+
- #define TESTfano 0
- #define FanoProjNPmax 14
- #define FPcirNmax 15
-@@ -2959,3 +2961,5 @@
- /*printf("\n SCHLUSS (von 1 Zelle): nf=%d\n",nf);*/
- return nf;/* nf = number of output polytopes (just for statistics) */
- }
-+
-+#endif
View
67 sci-mathematics/palp/palp-2.0-r1.ebuild
@@ -1,67 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit base toolchain-funcs
-
-DESCRIPTION="A Package for Analyzing Lattice Polytopes"
-HOMEPAGE="http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html"
-SRC_URI="http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RESTRICT="mirror"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.0-gnumakefile.patch
- "${FILESDIR}"/${PN}-2.0-nonestedfunctions.patch )
-
-pkg_setup() {
- tc-export CC
- Dmax="4 5 6 11"
-}
-
-src_prepare(){
- base_src_prepare
-
- local x
- for x in ${Dmax}; do
- mkdir ${WORKDIR}/build_"${x}"
- cp "${S}"/* "${WORKDIR}/build_${x}"/
- cd "${WORKDIR}/build_${x}"
- sed -i "s:^#define\s*POLY_Dmax.*:#define POLY_Dmax ${x}:" Global.h
- done
-}
-
-src_compile(){
- local x
- for x in ${Dmax}; do
- einfo "compiling for dimension ${x}"
- cd "${WORKDIR}/build_${x}"
- emake
- done
-}
-
-src_install() {
- local x
- for x in ${Dmax}; do
- einfo "installing for dimension ${x}"
- cd "${WORKDIR}/build_${x}"
- newbin class.x class-${x}d.x
- newbin cws.x cws-${x}d.x
- newbin nef.x nef-${x}d.x
- newbin poly.x poly-${x}d.x
- done
-
- dosym class-6d.x /usr/bin/class.x
- dosym cws-6d.x /usr/bin/cws.x
- dosym nef-6d.x /usr/bin/nef.x
- dosym poly-6d.x /usr/bin/poly.x
-}
Please sign in to comment.
Something went wrong with that request. Please try again.