diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-10-28 16:46:33 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-10-28 16:46:33 +0000 |
commit | 267fc8ed8a04812f1edfff3985f613c9b9b6ae17 (patch) | |
tree | 24b0129f59872d217a74a271bd3b37ab3c91926c /sci-libs | |
parent | Keyworded amd64-linux and x86-linux (diff) | |
download | historical-267fc8ed8a04812f1edfff3985f613c9b9b6ae17.tar.gz historical-267fc8ed8a04812f1edfff3985f613c9b9b6ae17.tar.bz2 historical-267fc8ed8a04812f1edfff3985f613c9b9b6ae17.zip |
Version bump
Package-Manager: portage-2.2.7-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/mathgl/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/mathgl/Manifest | 33 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.10.2-gcc43.patch | 10 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.11.2-cast.patch | 206 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-1.11.2-zlib.patch | 21 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch | 48 | ||||
-rw-r--r-- | sci-libs/mathgl/files/mathgl-octave-3.4.patch | 7 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-2.0.3.ebuild | 147 | ||||
-rw-r--r-- | sci-libs/mathgl/mathgl-2.1.3.1.ebuild (renamed from sci-libs/mathgl/mathgl-2.1.2.ebuild) | 26 | ||||
-rw-r--r-- | sci-libs/mathgl/metadata.xml | 22 |
10 files changed, 43 insertions, 488 deletions
diff --git a/sci-libs/mathgl/ChangeLog b/sci-libs/mathgl/ChangeLog index b4f23f74ca26..2090ac798b4b 100644 --- a/sci-libs/mathgl/ChangeLog +++ b/sci-libs/mathgl/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-libs/mathgl # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.38 2013/10/15 15:00:27 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.39 2013/10/28 16:46:23 bicatali Exp $ + +*mathgl-2.1.3.1 (28 Oct 2013) + + 28 Oct 2013; SĂ©bastien Fabbro <bicatali@gentoo.org> +mathgl-2.1.3.1.ebuild, + -files/mathgl-1.10.2-gcc43.patch, -files/mathgl-1.11.2-cast.patch, + -files/mathgl-1.11.2-zlib.patch, + -files/mathgl-2.0.3-fix-hardcoded-paths.patch, -files/mathgl-octave-3.4.patch, + -mathgl-2.0.3.ebuild, -mathgl-2.1.2.ebuild, metadata.xml: + Version bump *mathgl-2.1.3 (15 Oct 2013) diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest index d47bca23d9f8..f6cc1072afba 100644 --- a/sci-libs/mathgl/Manifest +++ b/sci-libs/mathgl/Manifest @@ -1,34 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 -AUX mathgl-1.10.2-gcc43.patch 345 SHA256 2165125d4677b882548530dc21a0368bf7ed27cab516ee6f78604f98b3b60ac9 SHA512 d6f22d026953a7fcdba17aae6e7a357ccbc48663cc96b4d3281648cd726049085085bc524fd5dc5b7855e2b76ae1a83afbfe010408083ecfd7eb21808f27bcd3 WHIRLPOOL d4c290edb3075239e64b699c3137f0f76f71ca9d05abeffe5fc545523d8de59989d3c08e328c14a47385fa72e3a5ae08e51a35e1d98d19f86a9512754898c4f8 -AUX mathgl-1.11.2-cast.patch 8224 SHA256 8993235430372e9eda84eba5b5af3ac63aba386b830d13fdf249d580fcf17430 SHA512 7ab32d224a4197fd27608727fbf89afb03b7033fa004d11b12ac589b33de000b271cc2140644001dfd9d68af07ff9cdd718ae24507ca7392da5748f10cc03d76 WHIRLPOOL 1f98cfeab0a66d20dd26fc01db618ce4687f9d1d8a22b2844b2a38d9fabddfd24eff851cb78ad9c4eac1d86b24c8a27cf703c64af02901dae0f79a80323eaf5a -AUX mathgl-1.11.2-zlib.patch 687 SHA256 417da2322b380ce538a1fc3abaa14f68130761e7a9c1221190142d55e926a007 SHA512 76b8989c08f2a6b322beb6cdd8b70dcb9b6ee6a30e8c3eff2ea50494b1132709dcaf9458765c35a6b74a527252fd7faafd8c001f71a6d5064158c489cb0fddaf WHIRLPOOL 2280fe947c1674e59fc467db33c305e20a59d012a4541d7ce4e931f1746332d4bd05537914f38cb9e8b98b0ae4898c5d55a79064611515c85948e19d5f4b270d -AUX mathgl-2.0.3-fix-hardcoded-paths.patch 2015 SHA256 3ec5d0d18aa353a4196baf6a0e1351bd602eb03042e2ff28e4d135c535517a78 SHA512 89d3817c9aebb907cd924c59d02ec0f8efd4c9562d0cc675f34ae669255e67fa8c5daabcf0050a331aba448ca151c0ac8d3d1790ee8c419a658fe4808beae148 WHIRLPOOL e27ace69e38dadc17ef2fe3bde17cf2bb62cc96c17419b41f52237b08a9a2c4f599cb16b0ae700a64c4132b5324c5ca19ead7753adf98c5fcb70a215be7cba78 -AUX mathgl-octave-3.4.patch 396 SHA256 a6262a8e67a280cc19b8a0ab501c17400d46a91e0eb8b46967c5354f120380b6 SHA512 ece155d84d73ed3a067fbbdc81260dff63ff2d43304393b4e57fa4c22b23347073aefa55aa5efb28e5f55212f2527c39e7de196bd030906590de121736ad9808 WHIRLPOOL 9bbf023e85ebdfef6b198f7c4d714e2bd82bae818c8784db9aa0285809266d0b5586b11aea9af0f8140ca998462ea3bc3b132a65e8777496f33689f2921a3651 DIST STIX_font.tgz 2450541 SHA256 6408290fd4a5267637a88507344a8f07b908ce72f46ef93d09e068fedb67e8fe SHA512 c9124ec552074c98f15d6d3572a063598ca6bc598e3e78dcb5a5d57ae3928b5327a1374635f428ea1cefc9e51ee1d1aa9bd6ba9a306429fc6965140251d368b5 WHIRLPOOL 912a280ad550040c961a84fe48cfa2bd9bbcbad6c539b6126b4cbb5f9673ddd4ad5cc9e0d053fcb20cc6c12e1203aeaa3a05cf07360b16e2e7cbb13c0c42cc1e -DIST mathgl-2.0.3.tar.gz 4024665 SHA256 f2b7d6a0106d854e78bf6933596a04f09bc011eae50466cafcd0b979981ccb7a SHA512 6c47e985d0fefb635b5453b9d21ed2a77675edffbfe70738cf475d5c99c0f96c8c8515263ed20ba323a1ee24c30ae02317a66313e78c78d30414c597354528f7 WHIRLPOOL 26bf5e3301dc66974dfc14021cc41b4117b20b6c7e00f181af4bfc46bc85b46a4c347fef55975489151fb2817469707547965cecdfa8fc8885fdf8dd0cededc2 -DIST mathgl-2.1.2.tar.gz 5173804 SHA256 161c013ea2767b28fc887ee7a0aa875029666f8d88bea60f761b87083b0d18ec SHA512 d0f7605af31a7e0330b25f64619b724c87a429c60d1fb34129a749570c2a77b15214d9c74b652484f6b36a25e94b779c8e5a630d8bcdbd49075faca4ba04dd3b WHIRLPOOL 12fec240a1e11a33126c40967679f8f8908162591d1bff10c4577a12c46cf26c76125f34f4bcc84d1666db7bd741793f2c7f1b011cf96ecb608bf18a37af37c3 +DIST mathgl-2.1.3.1.tar.gz 5269355 SHA256 a8cb5a156b6d2828105c14c8996023df34d69c202d461a4dca1f38836d966caa SHA512 c38a4c8286f456f37b3cb928d0c6842829e24727ddc373ebce37843a2c946c2f5efbec801ed1ef46c96176bf26350a24bfbaef2e6970e75728b67c77245e5bfc WHIRLPOOL 3d4d7886e98306e0b466c3cf4f5887a5e76172627679350cee108a4fd51642384faa2c14a6375d8ebd427938f5dff3665877a8afaa09439668dd3a98686970b6 DIST mathgl-2.1.3.tar.gz 5269347 SHA256 b091f1b91927d2b649b06785b737b0606a2d9c6b09f7ddb5a70b981c8c0af31b SHA512 aeac7a7da6846e5d4dd8a8b829bfcff359581ad1bb11c15f24824bb0ecbd9b042aab34d1ffead64a53c0ef15194a9c29d161456f7418ab18e1003d1fe2f37e73 WHIRLPOOL 9318207b12319399fb845195e96b0cf79353f1a5f9195543889b26522e56a57a7fa653e421a8591691264d9c49f78d50f684f74088e4f19eb698c91389a8b117 -EBUILD mathgl-2.0.3.ebuild 3863 SHA256 55286f4ad3e30d38fbe26420b2fee4ff03e74088f1ced5220603df82283a0b40 SHA512 0f54083956545af8672ec26bbd478110e9ca2ac049145dc284e53f21ad4c6e8dca9cc3bdae317805312e37807ed00e999317a097b634cd6d30bd227b41c94c6f WHIRLPOOL 695cfc4aba78b1d385a299c061ee7fecc0c5cea970c1732d528923d39aaebc7838495d71b15120ec1a430e7bab124a816a65f63ce2667ba197d03b5a5cdadae8 -EBUILD mathgl-2.1.2.ebuild 3801 SHA256 0996ef169adee9b07574493fe89aaae7275c40dc7c3390e516ecac5c40c0edf7 SHA512 2e7e3b4508800bb2dca9ad3c64f1a73edc1ceda3d79497355a0aef795a7e4274efc8536d93475f92f247de77f09a7b5bdfe57ee02bd1d3b54ef49f54b50a6bd5 WHIRLPOOL a4cc384f55485039ebb1092758160b1d38dd08535c4356c5f2aed42333b2d0426838b07af03dc3cc8e999a7002e61a41d577d475b858651e779e8a23cc38ce6d +EBUILD mathgl-2.1.3.1.ebuild 3961 SHA256 fa9a90359241de93d867b4d5d24836b8fa9be9e64df3859a802665b63bd8d9c2 SHA512 aa865e540acf7aabe0483caae96c3c4bda96813d7af446eede0fa889bdf227ea2646bdb1bd9b0f6c4765dd77f75d9c64b5752fb95fbeee06c9ada4e8a50918ca WHIRLPOOL 909156cb0b406f4933e02ca8bb9558eeeaad3c043e32554a84a28765036167e2b3797fc1dd6fddd2f92171517cf91db72f969d2565b56330ec892d79b9d6e21c EBUILD mathgl-2.1.3.ebuild 3955 SHA256 42625824f3ef0e9f0860522a862d185681209192cb43f659854188eb7e706b6b SHA512 00aed821a1ba74747ffbd4583d4d9932d8a163e83d63bdeb22eb52dd69d8f08f485fece9d62681589314fbf466ee44e4f8e0b088c6476fe9ef903a239f93e5fa WHIRLPOOL 9a46fc8eab98fbf0b893233527dadd8ce9968f3bacc39fd3ea6d9afde2580cfb02ef31f2a7f5d0dbd8078a92fadcd06dc1834b710ac53471f2b93373104e22ab -MISC ChangeLog 7416 SHA256 6a8f5b13b5d4dbcefd84546ac1344bb3f4de48c7db15605d5b9ee36619e64c69 SHA512 16de881c10e7bf09619c7688d5bd85dc5b5c35451bc8849f4a4a15a3518537cf7440e7fb65249a4e4986e93642548b213c0edbdeb3f86faca04ecd02ccc0188a WHIRLPOOL ced471f3484760d9985e2e216a1248e11f2408b9191d45547412054072d96335ec674b17cd8a1831ef469d0c7efb81e471a0fc222611588bf768b5f3252e36fb -MISC metadata.xml 793 SHA256 c658bf572bc08db202bf6bd9e1ae83f56968f9edf36427ea62afe86f77e7c175 SHA512 0b44c089ff96189680b32a479cbf5e3ba239ac5b3fe3909e52e9774576f9de37dc7e62c93fa88e217f4834c3851736563d2cc87198a2811791901bccfef2ac84 WHIRLPOOL 3234cabb973ed42f79a365e3fe2e7c9b145c72c7eeeb3da4b6072f35a785caabc088cb7d94d943b326dee4e347b1d238eddcb35be8ce4067c7bf217d3afa62e0 +MISC ChangeLog 7791 SHA256 9d45a7109669440a73a5029d55d1c6470ea77f0881618ffc8e8f2270d0d07d06 SHA512 14b9ebd3ab5e671e29a5fb7228330a75470a632ee4400f11edc1c8c9da15de713a8c7bc22b610d1b464677222a643d25f89f580be062533d5c13ec9fa589b3e0 WHIRLPOOL fe5a2d9131ab4d4907fa50bc6e60bac555a1f0221033408e3336bc879c45e97a3cf44961c6156973fe4a881daf05c2c5edfacd185d91b1c904489c3ce6b886bf +MISC metadata.xml 771 SHA256 e9abbdaf5f23674c2fba02e6a070563d6ff2c003358e710f2145b685a101e5ec SHA512 a6dbb95487cc0033a96c61e16579b665b0c89e02be163e94666811d46a3e07ea30e0f19ee2167c47490410f6212e6b848c85e0321bcc25e6c8f1d62f79229a08 WHIRLPOOL a8dd5468803498b2b883a49b906a0ddfd8639cd033c9964f0a6bb20053215245a9b6e0f8de890358833dc796029c7fe356000ff4af1e8d75e1beb892326f72f4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJSXViMAAoJELnU8jG9FVirNZkQAIsVQe8Lq1tOWQtpAHrETK60 -8/sd4eB4i6jDGPeNjvwj0iGxZ3I5doT45ntTkNpl6sjeRN/11Bw/Zynr9YJHJ4ok -D2gO5fND6elcJSM9fDHPKJeCp594XTjjhcQMKg2dGjrvTI0+vlK5aHd5uuDWX9lx -ZGkxo7RpGOcJcQfBFCoNMMO5DSc6uTGEv0mEuJymWgEYYlp2VzWM6Srz6Gmx/AR0 -MuJivE7Fi07cK1ucWi6muCm9u8JIFysTD/lm/OeH0EodVomgzQngrBKdvZyGrTPk -0kOntQJxhEUSSbszPUWQ+DZIX5YoLs8bHddvRPrbAPLA/jUiE4AwWz9ho51DCyIG -7FET+/Lc+Lj5R3nmGYX511mdV2cfb6gnn5lEjDv6CP/lOILXCOVyOl57j/As6Z5u -YyZ7DmDapkqHVGq/sc7MPIlYtAPuzEK+2LIxX+Y+NyFlkNK8ofMW/Gbv1wFPEsex -6HyHh+dJl6f4ha7nPR+2H1yFJZeLkp712b6GUpQH9mFyBIQaqz8ezs2Ql2h6Pwx0 -mZoMACqqDPJw+xmnrUVhEuaZwGBCEUTEMPlzlf8pCf2ZVoRCM83oOOA+vKkJL7KX -hFgVT84B+x81z9nGW8qMgg9aNf82oeuxvrTl/sl+W4K7zr/z7M2VvQHrLQ04NG0h -wbdDo6ZKXyywVZ/SSer0 -=RREB +iEYEAREIAAYFAlJulOQACgkQ1ycZbhPLE2DxnACbBqs8qTYi3I9LpVvMOmUR+SI+ +sewAniwZ5UPD/Q1FAcPdsU+GwU7Dsk3s +=ueOD -----END PGP SIGNATURE----- diff --git a/sci-libs/mathgl/files/mathgl-1.10.2-gcc43.patch b/sci-libs/mathgl/files/mathgl-1.10.2-gcc43.patch deleted file mode 100644 index 7a639bb9a4ab..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.10.2-gcc43.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- utils/mgl2gif.cpp.ORIG 2009-03-04 14:22:12.000000000 +0100 -+++ utils/mgl2gif.cpp 2009-04-22 10:15:02.000000000 +0200 -@@ -19,6 +19,7 @@ - ***************************************************************************/ - #include <stdio.h> - #include <string.h> -+#include <cstdlib> - #include <locale.h> - #include <wchar.h> - #include "mgl/mgl_zb.h" diff --git a/sci-libs/mathgl/files/mathgl-1.11.2-cast.patch b/sci-libs/mathgl/files/mathgl-1.11.2-cast.patch deleted file mode 100644 index ce73c9489352..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.11.2-cast.patch +++ /dev/null @@ -1,206 +0,0 @@ ---- mgl/mgl_eps.cpp.ORIG 2011-05-30 13:12:29.000000000 +0200 -+++ mgl/mgl_eps.cpp 2012-02-29 11:26:55.651230100 +0100 -@@ -19,7 +19,7 @@ - ***************************************************************************/
- #include <stdlib.h>
- #include <time.h>
--#include <zlib.h> -+#include <zlib.h>
- #include "mgl/mgl_eps.h"
- #include "mgl/mgl_c.h"
- #include "mgl/mgl_f.h"
-@@ -85,7 +85,7 @@ - a.x[0]=p1[0]; a.y[0]=p1[1]; a.x[1]=p2[0]; a.y[1]=p2[1];
- a.zz[0]=p1[2]; a.zz[1]=p2[2];
- a.c[0]=(c1[0]+c2[0])/2; a.c[1]=(c1[1]+c2[1])/2; a.c[2]=(c1[2]+c2[2])/2;
--// a.c[0]=c1[0]; a.c[1]=c1[1]; a.c[2]=c1[2]; -+// a.c[0]=c1[0]; a.c[1]=c1[1]; a.c[2]=c1[2];
- a.style=all? 0xffff:PDef; a.s = pPos;
- add_prim(a);
- pPos = fmod(pPos+hypot(p2[0]-p1[0], p2[1]-p1[1])/pw/1.5, 16);
-@@ -197,7 +197,7 @@ - {
- mglPrim a(4);
- a.s = fscl/PlotFactor; a.w = ftet;
-- a.x[0] = (xPos - zoomx1*Width) /zoomx2; -+ a.x[0] = (xPos - zoomx1*Width) /zoomx2;
- a.y[0] = (yPos - zoomy1*Height)/zoomy2;
- a.x[1] = x; a.y[1] = y;
- a.zz[1] = f/fnt->GetFact(s&3);
-@@ -260,10 +260,10 @@ - }
- //-----------------------------------------------------------------------------
- void mglGraphPS::add_light(mreal *b, mreal n0,mreal n1, mreal n2)
--{ -- mreal n[3]={n0,n1,n2}; -- unsigned char r[4]; -- col2int(b,n,r); -+{
-+ mreal n[3]={n0,n1,n2};
-+ unsigned char r[4];
-+ col2int(b,n,r);
- b[0]=r[0]/255.; b[1]=r[1]/255.; b[2]=r[2]/255.; b[3]=r[3]/255.;
- }
- //-----------------------------------------------------------------------------
-@@ -303,9 +303,9 @@ - if(!Finished) Finish();
- time_t now;
- time(&now);
-- -- bool gz = fname[strlen(fname)-1]=='z'; -- void *fp = gz ? gzopen(fname,"wt") : fopen(fname,"wt"); -+
-+ bool gz = fname[strlen(fname)-1]=='z';
-+ void *fp = gz ? (void*)gzopen(fname,"wt") : (void*)fopen(fname,"wt");
- if(!fp) { SetWarn(mglWarnOpen,fname); return; }
- mgl_printf(fp, gz, "%%!PS-Adobe-3.0 EPSF-3.0\n%%%%BoundingBox: 0 0 %d %d\n",Width,Height);
- mgl_printf(fp, gz, "%%%%Creator: MathGL library\n%%%%Title: %s\n",descr ? descr : fname);
-@@ -320,9 +320,9 @@ - mgl_printf(fp, gz, "/m_c {ss 0.3 mul 0 360 arc} def\n");
- mgl_printf(fp, gz, "/d0 {[] 0 setdash} def\n/sd {setdash} def\n");
-
-- bool m_p=false,m_x=false,m_d=false,m_v=false,m_t=false, -- m_s=false,m_a=false,m_o=false,m_T=false, -- m_V=false,m_S=false,m_D=false,m_Y=false,m_l=false, -+ bool m_p=false,m_x=false,m_d=false,m_v=false,m_t=false,
-+ m_s=false,m_a=false,m_o=false,m_T=false,
-+ m_V=false,m_S=false,m_D=false,m_Y=false,m_l=false,
- m_L=false,m_r=false,m_R=false,m_X=false,m_P=false;
- register long i;
- // add mark definition if present
-@@ -336,11 +336,11 @@ - if(P[i].m=='S') m_S = true; if(P[i].m=='D') m_D = true;
- if(P[i].m=='V') m_V = true; if(P[i].m=='T') m_T = true;
- if(P[i].m=='<') m_l = true; if(P[i].m=='L') m_L = true;
-- if(P[i].m=='>') m_r = true; if(P[i].m=='R') m_R = true; -- if(P[i].m=='Y') m_Y = true; -+ if(P[i].m=='>') m_r = true; if(P[i].m=='R') m_R = true;
-+ if(P[i].m=='Y') m_Y = true;
- if(P[i].m=='P') m_P = true; if(P[i].m=='X') m_X = true;
-- } -- if(m_P) { m_p=true; m_s=true; } -+ }
-+ if(m_P) { m_p=true; m_s=true; }
- if(m_X) { m_x=true; m_s=true; }
- if(m_p) mgl_printf(fp, gz, "/m_p {sm 0 rm s2 0 rl sm sm rm 0 s2 rl d0} def\n");
- if(m_x) mgl_printf(fp, gz, "/m_x {sm sm rm s2 s2 rl 0 sm 2 mul rm sm 2 mul s2 rl d0} def\n");
-@@ -453,7 +453,7 @@ - }
- for(i=0;i<pNum;i++) if(P[i].type==-1) P[i].type = 1;
- mgl_printf(fp, gz, "\nshowpage\n%%%%EOF\n");
-- if(gz) gzclose(fp); else fclose((FILE *)fp); -+ if(gz) gzclose((gzFile_s*)fp); else fclose((FILE *)fp);
- }
- //-----------------------------------------------------------------------------
- void mglGraphPS::WriteSVG(const char *fname,const char *descr)
-@@ -463,8 +463,8 @@ - time_t now;
- time(&now);
-
-- bool gz = fname[strlen(fname)-1]=='z'; -- void *fp = gz ? gzopen(fname,"wt") : fopen(fname,"wt"); -+ bool gz = fname[strlen(fname)-1]=='z';
-+ void *fp = gz ? (void*)gzopen(fname,"wt") : (void*)fopen(fname,"wt");
- if(!fp) { SetWarn(mglWarnOpen,fname); return; }
- mgl_printf(fp, gz, "<?xml version=\"1.0\" standalone=\"no\"?>\n");
- mgl_printf(fp, gz, "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 20000303 Stylable//EN\" \"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd\">\n");
-@@ -576,10 +576,10 @@ - // const char *dash[]={"", "8 8","4 4","1 3","7 4 1 4","3 2 1 2"};
- mgl_printf(fp, gz, "<g stroke=\"#%02x%02x%02x\"",
- int(255*P[i].c[0]),int(255*P[i].c[1]),int(255*P[i].c[2]));
-- if(P[i].style) -- { -- mgl_printf(fp, gz, " stroke-dasharray=\"%s\"", mgl_get_dash(P[i].style,P[i].w)); -- mgl_printf(fp, gz, " stroke-dashoffset=\"%g\"", P[i].s*P[i].w); -+ if(P[i].style)
-+ {
-+ mgl_printf(fp, gz, " stroke-dasharray=\"%s\"", mgl_get_dash(P[i].style,P[i].w));
-+ mgl_printf(fp, gz, " stroke-dashoffset=\"%g\"", P[i].s*P[i].w);
- }
- if(P[i].w>1) mgl_printf(fp, gz, " stroke-width=\"%g\"", P[i].w);
- memcpy(cp,P[i].c,3*sizeof(mreal));
-@@ -620,7 +620,7 @@ -
- for(i=0;i<pNum;i++) if(P[i].type==-1) P[i].type = 1;
- mgl_printf(fp, gz, "</g></svg>");
-- if(gz) gzclose(fp); else fclose((FILE *)fp); -+ if(gz) gzclose((gzFile_s*)fp); else fclose((FILE *)fp);
- }
- //-----------------------------------------------------------------------------
- void mglGraphPS::Finish()
-@@ -643,31 +643,31 @@ - #define imax(a,b) (a)>(b) ? (a) : (b)
- #define imin(a,b) (a)<(b) ? (a) : (b)
- void mglPrim::Draw(mglGraphPS *gr)
--{ -- mreal pp[12]={x[0],y[0],z, x[1],y[1],z, x[2],y[2],z, x[3],y[3],z}; -- gr->draw_prim(this, pp, c); --} -+{
-+ mreal pp[12]={x[0],y[0],z, x[1],y[1],z, x[2],y[2],z, x[3],y[3],z};
-+ gr->draw_prim(this, pp, c);
-+}
- //-----------------------------------------------------------------------------
--void mglGraphPS::draw_prim(mglPrim *pr, mreal *pp, mreal *c) --{ -+void mglGraphPS::draw_prim(mglPrim *pr, mreal *pp, mreal *c)
-+{
- ObjId = pr->id; memcpy(CDef,c,4*sizeof(mreal));
-- bool ul=UseLight; UseLight=false; -- int m = pr->m, s = pr->style; -- switch(pr->type) -- { -- case 0: mglGraphAB::mark_plot(pp,pr->m); break; -- case 1: PDef = pr->style; pPos = pr->s; -+ bool ul=UseLight; UseLight=false;
-+ int m = pr->m, s = pr->style;
-+ switch(pr->type)
-+ {
-+ case 0: mglGraphAB::mark_plot(pp,pr->m); break;
-+ case 1: PDef = pr->style; pPos = pr->s;
- mglGraphAB::line_plot(pp,pp+3,c,c); break;
- case 2: mglGraphAB::trig_plot(pp,pp+3,pp+6,c,c,c); break;
- case 3: mglGraphAB::quad_plot(pp,pp+3,pp+6,pp+9,c,c,c,c); break;
- case 4:
- mreal pf=PlotFactor; Push();
-- SetPosScale(pp[0],pp[1],pp[2],pr->s*PlotFactor); RotateN(pr->w,0,0,1); -+ SetPosScale(pp[0],pp[1],pp[2],pr->s*PlotFactor); RotateN(pr->w,0,0,1);
- mglGraphAB::Glyph(pr->x[1],pr->y[1],pr->zz[1]*fnt->GetFact(s&3),s,m,0);
-- Pop(); PlotFactor=pf; -+ Pop(); PlotFactor=pf;
- break;
- }
-- UseLight=ul; -+ UseLight=ul;
- }
- //-----------------------------------------------------------------------------
- void mglGraphPS::pnt_plot(long x,long y, mreal, unsigned char c[4])
---- mgl/mgl_export.cpp.ORIG 2011-05-30 13:12:29.000000000 +0200 -+++ mgl/mgl_export.cpp 2012-02-29 11:52:31.496163039 +0100 -@@ -232,7 +232,7 @@ - va_start(lst,str); - vsprintf(buf,str,lst); - va_end(lst); -- if(gz) gzprintf(fp, "%s", buf); -+ if(gz) gzprintf((gzFile_s*)fp, "%s", buf); - else fprintf((FILE *)fp, "%s", buf); - } - //--------------------------------------------------------------------------- -@@ -243,7 +243,7 @@ - register long i,j; - bool gz = fname[strlen(fname)-1]=='z'; - -- void *fp = gz ? gzopen(fname,"wt") : fopen(fname,"wt"); -+ void *fp = gz ? (void*)gzopen(fname,"wt") : (void*)fopen(fname,"wt"); - mgl_printf(fp, gz, "%%!PS-Adobe-3.0 EPSF-3.0\n%%%%BoundingBox: 0 0 %d %d\n",w,h); - mgl_printf(fp, gz, "%%%%Creator: MathGL library\n%%%%Title: %s\n", fname); - mgl_printf(fp, gz, "%%%%CreationDate: %s\n",ctime(&now)); -@@ -255,7 +255,7 @@ - mgl_printf(fp, gz, "%02x%02x%02x",p[j][3*i],p[j][3*i+1],p[j][3*i+2]); - } - mgl_printf(fp, gz, "\n\nshowpage\n%%%%EOF\n"); -- if(gz) gzclose(fp); else fclose((FILE *)fp); -+ if(gz) gzclose((gzFile_s*)fp); else fclose((FILE *)fp); - return 0; - } - //----------------------------------------------------------------------------- diff --git a/sci-libs/mathgl/files/mathgl-1.11.2-zlib.patch b/sci-libs/mathgl/files/mathgl-1.11.2-zlib.patch deleted file mode 100644 index 401f5b0d9fcf..000000000000 --- a/sci-libs/mathgl/files/mathgl-1.11.2-zlib.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- mgl/Makefile.am -+++ mgl/Makefile.am -@@ -16,7 +16,7 @@ - WIDGETS += -DWITH_GLUT - endif - --libmgl_la_LIBADD = $(PNG_LIBS) $(GL_LIBS) $(LOPENMP) -+libmgl_la_LIBADD = $(PNG_LIBS) -lz $(GL_LIBS) $(LOPENMP) - libmgl_la_LDFLAGS = -no-undefined -version-info $(MGL_CURRENT):$(MGL_REVISION):$(MGL_AGE) - - libmgl_la_CXXFLAGS = $(WIDGETS) -DMGL_FONT_PATH=\"$(datadir)/$(PACKAGE)/fonts/\" \ ---- mgl/mgl_data_png.cpp -+++ mgl/mgl_data_png.cpp -@@ -18,6 +18,7 @@ - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - #include <stdlib.h> -+#include <zlib.h> - #ifndef NO_PNG - #include <png.h> - #endif diff --git a/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch b/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch deleted file mode 100644 index 4a9a4b13a4a9..000000000000 --- a/sci-libs/mathgl/files/mathgl-2.0.3-fix-hardcoded-paths.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -Nur mathgl-2.0_orig/include/mgl2/define.h mathgl-2.0/include/mgl2/define.h ---- mathgl-2.0_orig/include/mgl2/define.h 2012-04-12 18:12:24.000000000 +0700 -+++ mathgl-2.0/include/mgl2/define.h 2012-05-17 10:41:30.270686620 +0700 -@@ -84,7 +84,7 @@ - #ifdef WIN32
- #define MGL_FONT_PATH "." // path to fonts
- #else
--#define MGL_FONT_PATH "/usr/local/share/mathgl/fonts" // path to fonts
-+#define MGL_FONT_PATH "/usr/share/mathgl/fonts" // path to fonts
- #endif
- #endif
- //-----------------------------------------------------------------------------
-diff -Nur mathgl-2.0_orig/udav/prop_dlg.cpp mathgl-2.0/udav/prop_dlg.cpp ---- mathgl-2.0_orig/udav/prop_dlg.cpp 2012-04-12 18:12:43.000000000 +0700 -+++ mathgl-2.0/udav/prop_dlg.cpp 2012-05-17 10:41:01.377677011 +0700 -@@ -111,7 +111,7 @@ - << QCoreApplication::applicationDirPath()+"/fonts";
- filter << "*.vfm";
- #ifndef WIN32
-- paths << "/usr/local/share/mathgl/fonts/" << "/usr/local/mathgl/fonts/";
-+ paths << "/usr/share/mathgl/fonts/" << "/usr/mathgl/fonts/";
- #endif
- QFileInfoList info;
- for(int i=0;i<paths.count();i++)
-diff -Nur mathgl-2.0_orig/udav/udav_wnd.cpp mathgl-2.0/udav/udav_wnd.cpp ---- mathgl-2.0_orig/udav/udav_wnd.cpp 2012-04-12 18:12:43.000000000 +0700 -+++ mathgl-2.0/udav/udav_wnd.cpp 2012-05-17 10:41:19.438683016 +0700 -@@ -70,7 +70,7 @@ - #ifdef WIN32 - #define UDAV_DIR "" - #else --#define UDAV_DIR "/usr/local/share/udav/" -+#define UDAV_DIR "/usr/share/udav/" - #endif - #endif - //----------------------------------------------------------------------------- -diff -Nur mathgl-2.0_orig/udav/udav_wnd.h mathgl-2.0/udav/udav_wnd.h ---- mathgl-2.0_orig/udav/udav_wnd.h 2012-04-12 18:12:43.000000000 +0700 -+++ mathgl-2.0/udav/udav_wnd.h 2012-05-17 10:41:11.863680509 +0700 -@@ -30,7 +30,7 @@ - #ifdef WIN32 - #define MGL_DOC_DIR "" - #else --#define MGL_DOC_DIR "/usr/local/share/doc/mathgl/" -+#define MGL_DOC_DIR "/usr/share/doc/mathgl/" - #endif - #endif - //----------------------------------------------------------------------------- diff --git a/sci-libs/mathgl/files/mathgl-octave-3.4.patch b/sci-libs/mathgl/files/mathgl-octave-3.4.patch deleted file mode 100644 index ac982bfdf308..000000000000 --- a/sci-libs/mathgl/files/mathgl-octave-3.4.patch +++ /dev/null @@ -1,7 +0,0 @@ -diff -r -U1 mathgl-1.11.1.1.orig/configure.ac mathgl-1.11.1.1/configure.ac ---- mathgl-1.11.1.1.orig/configure.ac 2011-03-22 02:13:29.000000000 +0600 -+++ mathgl-1.11.1.1/configure.ac 2011-03-29 22:04:59.000000000 +0700 -@@ -364,2 +364,3 @@ - OCTAVE_INCFLAGS="-I`$OCTAVE -p OCTINCLUDEDIR`" -+ OCTAVE_INCFLAGS=`echo ${OCTAVE_INCFLAGS} | sed -e 's|/octave$||'` - AC_MSG_RESULT([$OCTAVE_ARCH]) diff --git a/sci-libs/mathgl/mathgl-2.0.3.ebuild b/sci-libs/mathgl/mathgl-2.0.3.ebuild deleted file mode 100644 index 7e5ad300ce52..000000000000 --- a/sci-libs/mathgl/mathgl-2.0.3.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.0.3.ebuild,v 1.6 2013/03/02 23:23:19 hwoarang Exp $ - -EAPI=4 - -WX_GTK_VER=2.8 - -inherit cmake-utils eutils python wxwidgets multilib flag-o-matic - -DESCRIPTION="Math Graphics Library" -HOMEPAGE="http://mathgl.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_font.tgz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc double-precision fltk gif glut gsl hdf hdf5 jpeg mpi octave opengl pdf - png python qt4 static-libs threads wxwidgets zlib" - -LANGS="ru" -for l in ${LANGS}; do - IUSE+=" linguas_${l}" -done - -RDEPEND=" - !sci-visualization/udav - virtual/opengl - fltk? ( x11-libs/fltk:1 ) - gif? ( media-libs/giflib ) - glut? ( media-libs/freeglut ) - gsl? ( sci-libs/gsl ) - hdf? ( sci-libs/hdf ) - hdf5? ( >=sci-libs/hdf5-1.8[mpi=] ) - jpeg? ( virtual/jpeg ) - octave? ( >=sci-mathematics/octave-3.4.0 ) - pdf? ( media-libs/libharu ) - png? ( media-libs/libpng ) - python? ( dev-python/numpy ) - qt4? ( dev-qt/qtgui:4 ) - wxwidgets? ( x11-libs/wxGTK:2.8 ) - zlib? ( sys-libs/zlib )" - -DEPEND="${RDEPEND} - doc? ( app-text/texi2html virtual/texi2dvi ) - octave? ( dev-lang/swig ) - python? ( dev-lang/swig )" - -REQUIRED_USE="mpi? ( hdf5 ) png? ( zlib ) pdf? ( png )" - -pkg_setup() { - use mpi && export CC=mpicc CXX=mpicxx - use python && python_pkg_setup - use wxwidgets && wxwidgets_pkg_setup -} - -src_unpack() { - unpack ${A} - [[ -d "${S}"/fonts ]] || mkdir "${S}"/fonts - cd "${S}"/fonts - unpack STIX_font.tgz -} - -src_prepare() { - # fix for location of hdf headers - sed -i -e 's:hdf/::g' src/data_io.cpp || die - # bored of reporting bad libdir upstream - sed -i \ - -e '/DESTINATION/s:lib$:lib${LIB_SUFFIX}:g' \ - {src,widgets}/CMakeLists.txt || die - echo "" > lang/install.m || die - epatch "${FILESDIR}"/${P}-fix-hardcoded-paths.patch -} - -src_configure() { - local mycmakeargs=( - -DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include" - $(cmake-utils_use doc enable-doc) - $(cmake-utils_use double-precision enable-double) - $(cmake-utils_use fltk enable-fltk) - $(cmake-utils_use gif enable-gif) - $(cmake-utils_use glut enable-glut) - $(cmake-utils_use gsl enable-gsl) - $(cmake-utils_use hdf enable-hdf4) - $(cmake-utils_use hdf5 enable-hdf5_18) - $(cmake-utils_use jpeg enable-jpeg) - $(cmake-utils_use mpi enable-mpi) - $(cmake-utils_use octave enable-octave) - $(cmake-utils_use opengl enable-opengl) - $(cmake-utils_use pdf enable-pdf) - $(cmake-utils_use png enable-png) - $(cmake-utils_use qt4 enable-qt) - $(cmake-utils_use threads enable-pthread) - $(cmake-utils_use python enable-python) - $(cmake-utils_use wxwidgets enable-wx) - $(cmake-utils_use zlib enable-zlib) - ) - cmake-utils_src_configure - # to whoever cares: TODO: do for multiple python ABI - if use python; then - sed -i \ - -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \ - "${CMAKE_BUILD_DIR}"/lang/cmake_install.cmake || die - # fix location of numpy - use python && append-cppflags \ - -I$(echo "import numpy; print(numpy.get_include())" | "$(PYTHON)" - 2>/dev/null) - fi - -} - -src_install() { - cmake-utils_src_install - dodoc README* *.txt AUTHORS - use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a - if use qt4 ; then - local lang - insinto /usr/share/udav - for lang in ${LANGS} ; do - use linguas_${lang} && doins udav/udav_${lang}.qm - done - fi - if use octave ; then - insinto /usr/share/${PN}/octave - doins "${CMAKE_BUILD_DIR}"/lang/${PN}.tar.gz - fi -} - -pkg_postinst() { - if use octave; then - octave <<-EOF - pkg install ${EROOT}/usr/share/${PN}/octave/${PN}.tar.gz - EOF - fi - use python && python_mod_optimize ${PN}.py -} - -pkg_prerm() { - if use octave; then - octave <<-EOF - pkg uninstall ${PN} - EOF - fi -} - -pkg_postrm() { - use python && python_mod_cleanup ${PN}.py -} diff --git a/sci-libs/mathgl/mathgl-2.1.2.ebuild b/sci-libs/mathgl/mathgl-2.1.3.1.ebuild index f22f34d949eb..7fd386e4e791 100644 --- a/sci-libs/mathgl/mathgl-2.1.2.ebuild +++ b/sci-libs/mathgl/mathgl-2.1.3.1.ebuild @@ -1,12 +1,13 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.1.2.ebuild,v 1.2 2013/10/15 15:00:27 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-2.1.3.1.ebuild,v 1.1 2013/10/28 16:46:23 bicatali Exp $ EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) WX_GTK_VER=2.8 -inherit cmake-utils eutils python wxwidgets multilib flag-o-matic +inherit cmake-utils eutils python-single-r1 wxwidgets multilib flag-o-matic DESCRIPTION="Math Graphics Library" HOMEPAGE="http://mathgl.sourceforge.net/" @@ -36,7 +37,7 @@ RDEPEND=" octave? ( >=sci-mathematics/octave-3.4.0 ) pdf? ( media-libs/libharu ) png? ( media-libs/libpng ) - python? ( dev-python/numpy ) + python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} ) qt4? ( dev-qt/qtgui:4 ) wxwidgets? ( x11-libs/wxGTK:2.8 ) zlib? ( sys-libs/zlib )" @@ -46,11 +47,15 @@ DEPEND="${RDEPEND} octave? ( dev-lang/swig ) python? ( dev-lang/swig )" -REQUIRED_USE="mpi? ( hdf5 ) png? ( zlib ) pdf? ( png )" +REQUIRED_USE=" + mpi? ( hdf5 ) + png? ( zlib ) + pdf? ( png ) + python? ( ${PYTHON_REQUIRED_USE} )" pkg_setup() { use mpi && export CC=mpicc CXX=mpicxx - use python && python_pkg_setup + use python && python-single-r1_pkg_setup use wxwidgets && wxwidgets_pkg_setup } @@ -71,11 +76,13 @@ src_prepare() { echo "" > lang/install.m || die # fix desktop file sed -i -e 's/.png//' udav/udav.desktop || die - use python && append-cppflags -I"$($(PYTHON) -c 'import numpy; print(numpy.get_include())')" + use python && append-cppflags -I"$(${EPYTHON} -c 'import numpy; print(numpy.get_include())')" } src_configure() { local mycmakeargs=( + # No clue about this option: + # option(enable-mgl2 "Use names 'libmgl2-*' instead of 'libmgl-*'") -DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include" -DMGL_LIB_INSTALL_DIR="$(get_libdir)" $(cmake-utils_use doc enable-doc) @@ -104,7 +111,6 @@ src_configure() { -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \ "${CMAKE_BUILD_DIR}"/lang/cmake_install.cmake || die fi - } src_install() { @@ -122,6 +128,7 @@ src_install() { insinto /usr/share/${PN}/octave doins "${CMAKE_BUILD_DIR}"/lang/${PN}.tar.gz fi + use python && python_optimize } pkg_postinst() { @@ -130,7 +137,6 @@ pkg_postinst() { pkg install ${EROOT}/usr/share/${PN}/octave/${PN}.tar.gz EOF fi - use python && python_mod_optimize ${PN}.py } pkg_prerm() { @@ -140,7 +146,3 @@ pkg_prerm() { EOF fi } - -pkg_postrm() { - use python && python_mod_cleanup ${PN}.py -} diff --git a/sci-libs/mathgl/metadata.xml b/sci-libs/mathgl/metadata.xml index 50c88744b103..36bc3f6fd80f 100644 --- a/sci-libs/mathgl/metadata.xml +++ b/sci-libs/mathgl/metadata.xml @@ -1,20 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <maintainer> - <email>grozin@gentoo.org</email> - <name>Andrey Grozin</name> - </maintainer> - <longdescription> +<herd>sci</herd> +<maintainer> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> +</maintainer> +<longdescription> MathGL is a library for: * making high-quality scientific graphics * the fast data plotting and data processing of large data arrays * working in window and console modes and for easy embedding into other programs </longdescription> - <use> - <flag name="hdf">Add support for the Hierarchical Data Format v.4 <pkg>sci-libs/hdf</pkg></flag> - <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> - <flag name="double-precision">Add double precision calculations</flag> - </use> +<use> + <flag name="hdf">Add support for the Hierarchical Data Format v.4 <pkg>sci-libs/hdf</pkg></flag> + <flag name="octave">Add bindings for <pkg>sci-mathematics/octave</pkg></flag> + <flag name="double-precision">Add double precision calculations</flag> +</use> </pkgmetadata> |