diff options
author | Andrey Grozin <grozin@gentoo.org> | 2013-04-20 14:56:30 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2013-04-20 14:56:30 +0000 |
commit | 8bb36d7cb951eecb67334a0126bea88a1169f7e2 (patch) | |
tree | f2cb8454e141ffdf329cc599226d35cd8a82771b /sci-mathematics/maxima | |
parent | Remove old versions. (diff) | |
download | historical-8bb36d7cb951eecb67334a0126bea88a1169f7e2.tar.gz historical-8bb36d7cb951eecb67334a0126bea88a1169f7e2.tar.bz2 historical-8bb36d7cb951eecb67334a0126bea88a1169f7e2.zip |
Version bump
Package-Manager: portage-2.2.0_alpha173/cvs/Linux i686
Manifest-Sign-Key: 0x3AFFCE974D34BD8C!
Diffstat (limited to 'sci-mathematics/maxima')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 12 | ||||
-rw-r--r-- | sci-mathematics/maxima/Manifest | 35 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/clisp-0.patch | 19 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/clozurecl-0.patch | 27 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/cmucl-0.patch | 27 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/ecls-0.patch | 27 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/imaxima-0.patch | 5 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/rmaxima-0.patch | 25 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/sbcl-0.patch | 26 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/wish-0.patch | 28 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/xdg-utils-0.patch | 35 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.30.0.ebuild | 199 |
12 files changed, 462 insertions, 3 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index a585273046ec..9b89170341d8 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-mathematics/maxima -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.102 2012/12/14 09:55:25 grozin Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.103 2013/04/20 14:50:53 grozin Exp $ + +*maxima-5.30.0 (20 Apr 2013) + + 20 Apr 2013; Andrey Grozin <grozin@gentoo.org> +maxima-5.30.0.ebuild, + +files/clisp-0.patch, +files/clozurecl-0.patch, +files/cmucl-0.patch, + +files/ecls-0.patch, +files/imaxima-0.patch, +files/rmaxima-0.patch, + +files/sbcl-0.patch, +files/wish-0.patch, +files/xdg-utils-0.patch: + Version bump *maxima-5.29.1 (14 Dec 2012) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index 8aaee036abd1..602ff97666f9 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -1,4 +1,12 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 50maxima-gentoo.el 439 SHA256 134313e42f134e51283764e44c9a174a4010b319ac9c31822c2e7051d186de49 SHA512 7e31a3e78073b6beab247a7cef7b976b5e3a5e9663f6e84081dec17a6f82287ff9c63121d38d93c5189a5a8fd809e1663470e178b4a658dde1bc5c5caaa52467 WHIRLPOOL 5b66045e5e9aca9bb209bbe46a42897675ca7a38a49ce9b1e38efa53b3717142cec835eb21704d9ef2a02e977a271136e164193a6ed25325d29291266abd0c8e +AUX clisp-0.patch 1730 SHA256 60600d7711b4ad9f89864a706658b46ae2908b0fbe4440d492575de84bcf6acc SHA512 6fd8b91c4fdb2669d3ef595a88a2169beac6f389d44359a6db311879fc3f7a0080bd883528910deb6c703bb94ec8ae784490682da0fd55d6d24af6023c954d7b WHIRLPOOL 24dccaf668b7a66f5fddc1d10f35b173bd0bee94a64039c8c15d276e0f93d183a27f59d01634a8761194db04a1f9aee75f70666167c28d3ca846e7a6420a1e4b +AUX clozurecl-0.patch 1794 SHA256 2a58f177c3456ace2dafbc1eb4817552e4ee9d49dadab5a114ffef77be3990a1 SHA512 959f55f66f04c166281376286996d4c927fe87c78d470ceeb01bda12d64f4cf1b259bf375ebb416150f86c012ff290b372b32be30d9cf0041a6e272c5ac286c3 WHIRLPOOL f126e7751dea073f58a307f89f25db9addc5f852e654d93acd69f5f4b7d9f727bb9ca50d4bf44943bb3e50e9061dc9df4eb5aea18eda5521e8110dc0ef172eaa +AUX cmucl-0.patch 2296 SHA256 41cf164c04119854d05892c39c65a918c63ae8b900dbf5e513ce27719bedee51 SHA512 cc1056cd131521a6dcf321c45bf6a6e0b39a626f810ce978237cbb3188bb3b136ffa8afa56d93d573e271c02e010cad410345bf599fd4f50480766063a2bd197 WHIRLPOOL 03cdc4cdad4859966768e8e691ab517d0b635adf95a2125c9c26623e507800b9a70fd1c164b98a213c5e39fbc03ac320b3fddfe565db97bf578cdcf11561c1c3 +AUX ecls-0.patch 1326 SHA256 5d520c26646c7f2819cf99cf553f389712c5d55628e26f539843e38d44803e32 SHA512 051fbb0bc6ddd69482547c629d9a803e875c6b37722e2936f836e808e180f10cf67be8f95c330fdf851fde6e4e83be7efa8936bc53206cf37a3d14308b2b2e34 WHIRLPOOL 302c41833da66bcfd6f3da3ef864decca65223ba5ebe99583142095bc37cf9c05f554b1a7c7c3f8570e7c8e4c24117b9300500dc6ac0a734f1df846693351f53 +AUX imaxima-0.patch 211 SHA256 b1d07af716f477dedfb011cb8c4fdf154d146db5172664865efc1ec025bfa2ce SHA512 48b66de8b6a77c60033cfc04fecbca410ecf87aa52fd08326d2535af0261047b79fbe8515d8c7d73087fc98af2b6d8c436fe44941256a0d2ba8edff24ce7df9f WHIRLPOOL ebb601a3be816ef37eb43368f5ba46e0a47dd48fc2eee1a4c6c31869d9bbc3c448ccf01c807ddca8798258c069b2b627b3ae5063afc03ee6a50f9521158e4711 AUX maxima-5.26.0-ecls-12.2.1.patch 482 SHA256 6babc828e2157d07267283d6b92800aa7e871871b7d4136f1109bf983e71c618 SHA512 e59d31b888fe5414c2d1670390a0c7a1b2383ed362bdbfbfb1904b47c0b58d6b61358ece707e02b32d26be4b8341762d1cee58dcd442529ca5c0946e1fdc4d58 WHIRLPOOL 779ec4e606ff24e068298ca8db0500a40bc7e18ca8b79ff4d1763c11675c971abe1e2c1404fa7303170f6daf8feb52d1bcf816f6dd6c7aaa428fc747be7ae269 AUX maxima-5.26.0-wish.patch 946 SHA256 dd535626d5d2d16f249e2c41157f5bbfb030236651d9b0404cc1a69c5fec9e0c SHA512 34dd30d5eafac7c1551a57cce5010713766867330bbcf1c9ac82553626a84c051e728eac9ed7b0818359ac1016d9a1bb08e829f9e96fd15260db631f824eb4bb WHIRLPOOL c8d80aeabb6756dd4f4c22daeee2416e6d2ea06e3dba8f1fd2bdee53c510ff65a89f681116dbd0087eb06ceb18649ad31268e34d49464f4aaf8a9b1b8fac1b2b AUX maxima-5.26.0.patch 3263 SHA256 dd7d02c0eaac5a0763363ed46c207bfb40e55b8470dc3b7c2892753b466a2ea0 SHA512 70e4f49972c631917e6da1b6d5fcfb415e93516dffd5868b34b7742e78a82b153fab85b51408c69f71946cb4f4f467d65250aee27e5b69cc675b2a380b42145b WHIRLPOOL 90c1d24fa466c6325c8e384d966070aea57ae5ae89b86a9029e5072d6ab6e588e1852ae42e11e635bd8ec17b5461e0bb693e92618489d691fe6d868c70ed43a7 @@ -17,15 +25,40 @@ AUX maxima-imaxima.patch 211 SHA256 b1d07af716f477dedfb011cb8c4fdf154d146db51726 AUX maxima-no-init-files.patch 2626 SHA256 58b82fa1cdcc2eafc0f912541b350ae7aec8c492be5f6b0ce2174ae01f399d88 SHA512 f7ea883892f78090080c0842789f3dadf080e477115983e3f37738a63f187befb4f5e3ac259dac1c51f55d7590a159c9ef54c437301a1a5f7cd477f75c0910c6 WHIRLPOOL 2cd45ada31726735d4760b6c50de55372227b97f9653761a944aa5ef5457d89a99ddbf4ea33b7efeec6b2a0bb8fad1dc22fe8aea5e4660ef4b634a8a8925782d AUX maxima-rmaxima.patch 552 SHA256 73cc45185ee9de683686348e11ed4135a498a1a65cc61b80cf1407c6ec49b133 SHA512 a60c8c5ac23b0342823fbcd15e27f44ea85652640271ea845e383796422fa416b221dd036eb0a1639f70f9b09473471657612c7a5f99892cfb214d52156a6907 WHIRLPOOL a328f28ecf817b77f621d46652df8450e47855614e51f0760be0ac0d9d7e5886956d3ce108e2acdae88b81c2dc8f3cadafe3693529c452d076937b70a9a6256f AUX maxima-xdg-utils.patch 1090 SHA256 99c600c4c7e813305da375a4afa4a5e7ea6aa4ec9f1ecc051b9c913281af53ea SHA512 31b121a2d6f1c24e5f2fa3e6129f661a891660665bf45a2907146e3bae9309d185f83d7001287df92a73aff81562a7011ad6b92e03516883bc0ae0730570fa38 WHIRLPOOL 1aee0e9b00d7991b6d07b954927b152f1a5effddf3dca79b11ba47203f8be8b2d8432feb394295d77fc7669e9c3c8f9e0dd8d4fefc9657270d20e033f5fb49d7 +AUX rmaxima-0.patch 552 SHA256 73cc45185ee9de683686348e11ed4135a498a1a65cc61b80cf1407c6ec49b133 SHA512 a60c8c5ac23b0342823fbcd15e27f44ea85652640271ea845e383796422fa416b221dd036eb0a1639f70f9b09473471657612c7a5f99892cfb214d52156a6907 WHIRLPOOL a328f28ecf817b77f621d46652df8450e47855614e51f0760be0ac0d9d7e5886956d3ce108e2acdae88b81c2dc8f3cadafe3693529c452d076937b70a9a6256f +AUX sbcl-0.patch 2115 SHA256 8b5cfdbc2609a368df8674683249ba611f3c8e836df84a408653ec2b9caf1271 SHA512 4194be08892638f8ce33aabf3794187f880c19243f5f3693490ba2b93420fb80f5bae496409d6f97b4bf8ecadfdeefe8897fc427a5e5f8faf81fe886058da67d WHIRLPOOL bffae69e6bd3bcf36735eb6d97aabcb8d5268f121490c463fc58c1eb9f308f9141505a1940b30781689fc0d980bda9fb178acfdec4d72609a405d0485bf34e9d +AUX wish-0.patch 946 SHA256 dd535626d5d2d16f249e2c41157f5bbfb030236651d9b0404cc1a69c5fec9e0c SHA512 34dd30d5eafac7c1551a57cce5010713766867330bbcf1c9ac82553626a84c051e728eac9ed7b0818359ac1016d9a1bb08e829f9e96fd15260db631f824eb4bb WHIRLPOOL c8d80aeabb6756dd4f4c22daeee2416e6d2ea06e3dba8f1fd2bdee53c510ff65a89f681116dbd0087eb06ceb18649ad31268e34d49464f4aaf8a9b1b8fac1b2b +AUX xdg-utils-0.patch 1090 SHA256 99c600c4c7e813305da375a4afa4a5e7ea6aa4ec9f1ecc051b9c913281af53ea SHA512 31b121a2d6f1c24e5f2fa3e6129f661a891660665bf45a2907146e3bae9309d185f83d7001287df92a73aff81562a7011ad6b92e03516883bc0ae0730570fa38 WHIRLPOOL 1aee0e9b00d7991b6d07b954927b152f1a5effddf3dca79b11ba47203f8be8b2d8432feb394295d77fc7669e9c3c8f9e0dd8d4fefc9657270d20e033f5fb49d7 DIST maxima-5.18.1.tar.gz 20440947 SHA256 eef1f70503755ec8fb311a13731044e6fff17e6fd9534eb6bea68a12964d94bf DIST maxima-5.26.0.tar.gz 26047841 SHA256 887105c99a91122f3e622472aa39bdd1ca8ed6198cf09b49917f63f8396dced9 DIST maxima-5.27.0.tar.gz 27101764 SHA256 9006803714f1385221c4395697fad53f125a13d29b50b188d045d08e25f8dca7 SHA512 74dcf03c5c603caa54545c05a6f1426ec8207448400289322d193c677fa96eda8098f1296fea582e15342a64a2e048155ef6135a1b0e061f82a842bf0a140959 WHIRLPOOL 86fe53d6f0ad958a958b06912eea774b73bf6a3da6a574bb9c9cbcf0dff471b5e850839f075bae3e4af7d63db898a02171a81692a2ff62107cb67fb14be35cad DIST maxima-5.28.0.tar.gz 27312348 SHA256 d73e925f0116ba361bf4390c80e24d4fa763f647cc1fc4cc06bbf40ceb3facda SHA512 1c4de8d543d6ce9fcebceda4b175da80ea3606716d82ebb648cf026cad5878c789d26340a1e2b53bce0c6d02285014c92f83bbbc5eadc076c3dc2c3232508103 WHIRLPOOL 0a17c3261c9f84d9a793e52cc54ee02151e8982dbbcf964a0ee28450a8f4d640fde82e9f54f6bf39c2a6c7bd489555387694e8e1b0b89dfc0c5b9410a1c8026e DIST maxima-5.29.1.tar.gz 27148396 SHA256 e4d8558e6eff09aa0b424fd3591a3f309c7f53068640658d40c0b2a690a024dd SHA512 9db7166ed49116c6369d5cf18ff01f54e9dba971e683a4daecbf01d063cd91bd5d188dc5a4e3fc0f7b14493a89841ded4f4a6ceac2bf6060b77c91fb9bc8013b WHIRLPOOL 74fb19706aa199202d74a15e6084f333f67f53760f0465cb9289d07e3a368a5ceeb1a4c5baa852514b07442f5bafc9afc16e996f7962b1a1d214cf0ff5dd6f37 +DIST maxima-5.30.0.tar.gz 27182046 SHA256 a05239ee16dc3d792887959823944f9106ace955f00b7dd27b2ade3fc13b1dd6 SHA512 4859ecde125b7b19ce66b44cd88d5c4228eff61ab7b36cc84ce60512b6612fc85374c53b4d576feadd9880bcac498a1b5e5dc3e3cc24b90aa64f30647316391c WHIRLPOOL 016a30ed3eb83224b3c42b55e84759a8d2da44320c12d1741e51540828fa5bf5324edc93ac65304e32c92eab968a964acaf16feb7f30a905282eb84e3bfc479f EBUILD maxima-5.18.1.ebuild 4197 SHA256 8a94a0d0b12ba9e2e99968e9dff248b8d18403b2eddbcab6305805e1e211b662 SHA512 eeea8f30bf5c1c467df82823fdd0c467926648d2a598819c8aca32e56c7969303f465458fa0d42d4c26fd2684068f59048ec049a56e26d1b932e56e32aae02d0 WHIRLPOOL 8900e30c855159771d13d25566c4d06b62f9cbcf10ccd18b0bc20e7558147233c8d49d3d99c5d2bf3d2ac1577fac99c9071188ec2d4ee85cc3c155c6897cf852 EBUILD maxima-5.26.0.ebuild 5129 SHA256 8130e9712676683448c77b90ff1fc4cad86825c34a1b2248ae083e706e6c6195 SHA512 ca5d2b94ad655f1e1c0d71e7c539d3ec066c962d8db3df3cafdc0ad9661c6615bc4c883d28a99df092b1acc279dd3291e4a4d44faf48ae218e28d9139e799bb5 WHIRLPOOL 729d6faf262496d3767cff8f81ad83af9fe7355cd52a2fe504e43860c2a3eaf90b018e3e2d9755583039f4c7ea0f038d1826e52ac138dda9260dd36db35e1e3e EBUILD maxima-5.27.0-r1.ebuild 5129 SHA256 fe5955c77a5847ca43eae978462f6b74d3c29b898c9ebee84b977edaffc8142f SHA512 fb992509f3296a5d19cbd04201b010cbeb5ccaab930f0f3803d28544fab590b3340eed77cbe34d8575c02d976a52ef3bcbdc15b958c165efc160a06bf85fff14 WHIRLPOOL 1c47a6275faa0ee3178fe6f828accf3a207455091148d23bcfd8326b2279d1a81b3fe8b9fae30ae9d23441d8e9583a1d3047ac4722f909f365469ece7e5022f7 EBUILD maxima-5.28.0.ebuild 5162 SHA256 ea8263fbeb3aff1bb9d43c26fd1e0f5a46d4aa95c93a506d817f62ff2ee61c55 SHA512 0deadd2a78cbba228661bce49bb9c2e98ec6878a72c93496c6791494807aebc7aea969e46287caaf383a97231008a396dbf1c8f43e122f072bced851e4140d98 WHIRLPOOL 323498fdac2e59b91efaee47622d10d97e256a730eb9e067383b9a9bdf2ec9a682815ae633ca230c9fb1ae79f66febf1969ff6c78b5f8837f451a0330c601962 EBUILD maxima-5.29.1.ebuild 5162 SHA256 2ed2829ba7a4652335770144d6b6831ef701529a30e8ba96fbf1f8febed3b82a SHA512 5f35f98f05aeba836163369e87fd26e597be806f4f711c837935a1df4fa3cef3d412034022f13e391b2ed038a8f151721fd910054aa1612b2f3754bfb2a6c120 WHIRLPOOL 714623d0513cd5a05ee56497ff69f62815d8f0fef5c5a607b7823053df6857d0736e6b5cd2dd818bd344c0f36c3f6f5e02c4e92268d57dfb4af4259435f0f96a -MISC ChangeLog 23362 SHA256 ce2d8084aa97a81c23a2f14fa968cae68349e34e47f89ce5f6f83ef8f5344f4a SHA512 0735c3d6c6909994366456c60e9f44a0aa04ccf667b8d3690cd682ef8a1c6617d13e2b39b61bede1da5d6a70630dd869aca9c5c00033c8842e935b3b22041e91 WHIRLPOOL f3b67da9f32e41f5d2382053b88a2825ad20e381ac78db23f556a8cc057e724842261ffd7797658f902a5dacf138296917eba6abcc4811c8907cce4058b6e026 +EBUILD maxima-5.30.0.ebuild 4762 SHA256 99cc600fee76182fddd9c738233c95f42588d80cddddaef394da37143810b1c5 SHA512 0442a2b0a39c761edc0629f1dd35053c9a44651d34cc5346c720130ccaa26e35633c0dba12ae798ddb72e0caf68eaabbbe09e8d9c19c99286f9a1990f7789da8 WHIRLPOOL 7eb40045c2d25cc658958a635c4ab7b672a0b81bb335c2dd096cc73f99c92ac5f48c9c31c3b1b633229ad388ccac1e53e8c42ed3b7e8d7d06bef2aefb9f442a5 +MISC ChangeLog 23693 SHA256 fe5771af7f197ba58c0230dcfcda4d4628ebd663a11cca46280e32e9b3b18cd2 SHA512 225df4a545c2c978f4bccfbc1ba3d68839b7b6e5099c206087e1d4adc13a738e717ace47e80c45d1fb84bf9036a287e419ff9f9c70e355ebff8b43dd1a8730c1 WHIRLPOOL 673dc76929cf24393ca1adc3a28b864bdd193e879edfadfb19e47a9405bca90f2635c9a38901a57c2085261de9e3aa702362bc8ecdd7b6de8f578a95da877ad7 MISC metadata.xml 1316 SHA256 c5b7768087c365de73e5fe1458c72155134c0db19d6d9e22527e7dc0c5f99f50 SHA512 b7a7af7e6342b140b1d2a09ecb3a4a59107fe23bf0bfb63ca8c344e5960d7f3ac64e0b19f516333e34ab878e82fef58bdb447c0110058b09aa66870ba2f836a7 WHIRLPOOL 3cae3e8642d61d403bc5f82d5471c3b4d48670bcabec9af35309f95dfe4bba7306581d7e8f38f4dd7c45da9d56d0eec92fc71a7a7cff778ea78673fe5b857385 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQJ8BAEBCABmBQJRcqsyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwOEM0RURGNjY5QzVBNjMwRkU3REVCOTQz +QUZGQ0U5NzREMzRCRDhDAAoJEDr/zpdNNL2MkJQP/jxHCX+P4eBoywWdt2gUKu4b +Ye1L2Bx0neFqy74KYEZODhUMHo99A2Sl4k2A97Cqn+7bHlkX07u9TxsuNe9THi+I +aCMGu8txf9Ld05tnOIIZ6VSd0Nn8RgEv9UoXrMvawF8rV8wkaW/bPsc6jkvHSESG +f/io8wxW6bz4cv5yGaETkmHD7tZqpy5OzDc916XHxq3RyUqDC669/cHsFvA+8CGx +XPOGRP2M1AaLsJTMp4QgT8oVGsT0Wi8++X+2Ebjthv8UxWm0g2U7/T5gzw1EgnFl +rSI0Q8Qx+qj3cmIGFT+TTM64rCVlBE13o+9b6GggVktb8OQEUDmzanqChJSDEtpY +LeAfDT7L8WzdwCZ3vNlwFA7jiILnKW7RU9juJcdSkIzWWxUNuI2xDBSPV4PGxekB +fSoflx/So55LP+vjTGZYLi9FfmbZbUVgbfJaZHLd/YOw0TUFkSAfaBhfdBsJ/eMA +WZZFFkwPz3oMDuJMGb20vpt0bnOrjB1eLkBsz6vQAlki9VWDzLEZg0tB+qZWFHOX +cEFDKXExHctisTml7+t2ZHWJl+O5NHohMgnwVWud3qwUzAg5JJlHlT+PBDe26+7O +XgKTmx6BGpks3wB8KD34w+U80D0MPzvWqk9q8DfnsmSYS2FKmJQySONPPIwgbnJS +p9agtlwag4repEtUJnd0 +=Rxbs +-----END PGP SIGNATURE----- diff --git a/sci-mathematics/maxima/files/clisp-0.patch b/sci-mathematics/maxima/files/clisp-0.patch new file mode 100644 index 000000000000..7e65c40b58f7 --- /dev/null +++ b/sci-mathematics/maxima/files/clisp-0.patch @@ -0,0 +1,19 @@ +diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in +--- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 ++++ maxima-5.30.0/src/maxima.in 2013-04-13 13:07:03.094128196 +0700 +@@ -138,5 +138,5 @@ + if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then +- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + else +- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CLISP_RUNTIME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + fi +@@ -144,5 +144,5 @@ + if [ -x "$maxima_image_base" ]; then +- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -q -norc "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + else +- exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "@CLISP_NAME@" $MAXIMA_LISP_OPTIONS -q -norc -M "$maxima_image_base.mem" "" -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + fi diff --git a/sci-mathematics/maxima/files/clozurecl-0.patch b/sci-mathematics/maxima/files/clozurecl-0.patch new file mode 100644 index 000000000000..d5afe951eb53 --- /dev/null +++ b/sci-mathematics/maxima/files/clozurecl-0.patch @@ -0,0 +1,27 @@ +diff -r -U1 maxima-5.30.0.orig/configure.in maxima-5.30.0/configure.in +--- maxima-5.30.0.orig/configure.in 2013-04-03 02:13:30.000000000 +0700 ++++ maxima-5.30.0/configure.in 2013-04-13 12:42:16.645751903 +0700 +@@ -351,3 +351,3 @@ + dnl n.b. openmcl_default_name is hardcoded in "with" message +-openmcl_default_name=openmcl ++openmcl_default_name=ccl + AC_ARG_ENABLE(openmcl, +diff -r -U1 maxima-5.30.0.orig/src/Makefile.am maxima-5.30.0/src/Makefile.am +--- maxima-5.30.0.orig/src/Makefile.am 2013-03-23 08:32:07.000000000 +0700 ++++ maxima-5.30.0/src/Makefile.am 2013-04-13 12:49:34.911159093 +0700 +@@ -304,3 +304,3 @@ + if OPENMCL +-EXECUTEOPENMCL = $(OPENMCL_NAME) -e ++EXECUTEOPENMCL = $(OPENMCL_NAME) --no-init -e + all-local: sharefiles.mk $(OPENMCL_MAXIMA) +diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in +--- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 ++++ maxima-5.30.0/src/maxima.in 2013-04-13 12:46:59.247013957 +0700 +@@ -185,5 +185,5 @@ + if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then +- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + else +- exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "@OPENMCL_NAME@" -I "$maxima_image_base.image" $MAXIMA_LISP_OPTIONS --no-init -e '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + fi diff --git a/sci-mathematics/maxima/files/cmucl-0.patch b/sci-mathematics/maxima/files/cmucl-0.patch new file mode 100644 index 000000000000..73ebd3445b48 --- /dev/null +++ b/sci-mathematics/maxima/files/cmucl-0.patch @@ -0,0 +1,27 @@ +diff -r -U1 maxima-5.30.0.orig/src/Makefile.am maxima-5.30.0/src/Makefile.am +--- maxima-5.30.0.orig/src/Makefile.am 2013-03-23 08:32:07.000000000 +0700 ++++ maxima-5.30.0/src/Makefile.am 2013-04-13 13:12:37.521437190 +0700 +@@ -77,3 +77,3 @@ + if CMUCL +-EXECUTECMUCL = $(CMUCL_NAME) -noinit -batch ++EXECUTECMUCL = $(CMUCL_NAME) -nositeinit -noinit -batch + # Newer versions of CMUCL have an INTL package that is compatible with +diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in +--- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 ++++ maxima-5.30.0/src/maxima.in 2013-04-13 13:11:26.647371277 +0700 +@@ -155,5 +155,5 @@ + if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then +- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + else +- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/@CMUCL_RUNTIME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + fi +@@ -161,5 +161,5 @@ + if [ -x "$maxima_image_base" ]; then +- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + else +- exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "@CMUCL_NAME@" $MAXIMA_LISP_OPTIONS -quiet -nositeinit -noinit -core "$maxima_image_base.core" -eval '(cl-user::run)' -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + fi diff --git a/sci-mathematics/maxima/files/ecls-0.patch b/sci-mathematics/maxima/files/ecls-0.patch new file mode 100644 index 000000000000..df45dee0eb4a --- /dev/null +++ b/sci-mathematics/maxima/files/ecls-0.patch @@ -0,0 +1,27 @@ +diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in +--- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 ++++ maxima-5.30.0/src/maxima.in 2013-04-13 12:57:12.037579805 +0700 +@@ -191,3 +191,3 @@ + elif [ "$MAXIMA_LISP" = "ecl" ]; then +- exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$maxima_image_base" $MAXIMA_LISP_OPTIONS -norc -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + +diff -r -U1 maxima-5.30.0.orig/src/maxima.system maxima-5.30.0/src/maxima.system +--- maxima-5.30.0.orig/src/maxima.system 2013-03-23 08:32:08.000000000 +0700 ++++ maxima-5.30.0/src/maxima.system 2013-04-13 12:59:54.086730845 +0700 +@@ -61,2 +61,10 @@ + #+ecl ++(defun split-ld-flags-for-ecl (string &aux space) ++ (setf string (string-trim '(#\Space) string)) ++ (if (setf space (position #\Space string)) ++ (cons (subseq string 0 space) ++ (split-ld-flags-for-ecl (subseq string (1+ space)))) ++ (cons string nil))) ++ ++#+ecl + (defun build-maxima-lib () +@@ -81,3 +89,3 @@ + (find-package "MAXIMA"))))) +- (if (and x (not (string= x ""))) (list x))) ++ (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x))) + :epilogue-code '(progn (require :defsystem) diff --git a/sci-mathematics/maxima/files/imaxima-0.patch b/sci-mathematics/maxima/files/imaxima-0.patch new file mode 100644 index 000000000000..fe607b240d13 --- /dev/null +++ b/sci-mathematics/maxima/files/imaxima-0.patch @@ -0,0 +1,5 @@ +--- interfaces/emacs/Makefile.am.orig 2010-02-01 22:11:44.809941160 +1300 ++++ interfaces/emacs/Makefile.am 2010-02-01 22:12:06.608062346 +1300 +@@ -1 +1 @@ +-SUBDIRS = emaxima misc imaxima ++SUBDIRS = emaxima misc diff --git a/sci-mathematics/maxima/files/rmaxima-0.patch b/sci-mathematics/maxima/files/rmaxima-0.patch new file mode 100644 index 000000000000..712cbda19d45 --- /dev/null +++ b/sci-mathematics/maxima/files/rmaxima-0.patch @@ -0,0 +1,25 @@ +diff -r -U2 maxima-5.28.0.orig/src/Makefile.am maxima-5.28.0/src/Makefile.am +--- maxima-5.28.0.orig/src/Makefile.am 2012-06-15 12:21:34.000000000 +0700 ++++ maxima-5.28.0/src/Makefile.am 2012-10-30 22:22:29.000000000 +0700 +@@ -4,5 +4,21 @@ + bin_SCRIPTS = maxima maxima-command.ico maxima.bat set_lang.vbs + else ++if SBCL + bin_SCRIPTS = maxima rmaxima ++else ++if CMUCL ++bin_SCRIPTS = maxima rmaxima ++else ++if ECL ++bin_SCRIPTS = maxima rmaxima ++else ++if OPENMCL ++bin_SCRIPTS = maxima rmaxima ++else ++bin_SCRIPTS = maxima ++endif ++endif ++endif ++endif + endif + diff --git a/sci-mathematics/maxima/files/sbcl-0.patch b/sci-mathematics/maxima/files/sbcl-0.patch new file mode 100644 index 000000000000..5c2bdf7b509e --- /dev/null +++ b/sci-mathematics/maxima/files/sbcl-0.patch @@ -0,0 +1,26 @@ +diff -r -U1 maxima-5.30.0.orig/src/Makefile.am maxima-5.30.0/src/Makefile.am +--- maxima-5.30.0.orig/src/Makefile.am 2013-03-23 08:32:07.000000000 +0700 ++++ maxima-5.30.0/src/Makefile.am 2013-04-13 14:36:39.977014432 +0700 +@@ -199,3 +199,3 @@ + if SBCL +-EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --eval ++EXECUTESBCL = "$(SBCL_NAME)" --noinform --noprint --no-sysinit --no-userinit --eval + all-local: sharefiles.mk $(SBCL_MAXIMA) +diff -r -U1 maxima-5.30.0.orig/src/maxima.in maxima-5.30.0/src/maxima.in +--- maxima-5.30.0.orig/src/maxima.in 2012-12-04 12:54:50.000000000 +0700 ++++ maxima-5.30.0/src/maxima.in 2013-04-13 14:36:39.977014432 +0700 +@@ -196,5 +196,5 @@ + if [ -x "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" ]; then +- exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "$MAXIMA_IMAGESDIR/binary-$MAXIMA_LISP/maxima" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + else +- exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" ++ exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9" + fi +diff -r -U1 maxima-5.30.0.orig/src/server.lisp maxima-5.30.0/src/server.lisp +--- maxima-5.30.0.orig/src/server.lisp 2012-11-19 04:40:51.000000000 +0700 ++++ maxima-5.30.0/src/server.lisp 2013-04-13 14:37:19.937051659 +0700 +@@ -10,3 +10,2 @@ + (eval-when (:compile-toplevel :load-toplevel :execute) +- #+sbcl (require 'asdf) ;not needed here for a recent SBCL + #+sbcl (require 'sb-posix) diff --git a/sci-mathematics/maxima/files/wish-0.patch b/sci-mathematics/maxima/files/wish-0.patch new file mode 100644 index 000000000000..6fcb0d9ec8e9 --- /dev/null +++ b/sci-mathematics/maxima/files/wish-0.patch @@ -0,0 +1,28 @@ +diff -r -U1 maxima-5.23.1.orig//configure.in maxima-5.23.1//configure.in +--- maxima-5.23.1.orig//configure.in 2011-01-15 21:54:46.000000000 +0600 ++++ maxima-5.23.1//configure.in 2011-01-16 21:00:16.000000000 +0600 +@@ -777,6 +777,11 @@ + [ --with-wish=<prog> Use <prog> for Tk wish shell (default wish)], +- [WISH="${withval}"], +- [WISH="wish"]) ++ [], ++ [with_wish="wish"]) ++case "${with_wish}" in ++ no) WISH="none" ;; ++ yes) WISH="wish" ;; ++ *) WISH="${with_wish}" ;; ++esac + AC_SUBST(WISH) +- ++AM_CONDITIONAL(WANT_TK, test x"${with_wish}" != xno) + +diff -r -U1 maxima-5.23.1.orig//interfaces/Makefile.am maxima-5.23.1//interfaces/Makefile.am +--- maxima-5.23.1.orig//interfaces/Makefile.am 2004-04-28 23:34:59.000000000 +0700 ++++ maxima-5.23.1//interfaces/Makefile.am 2011-01-16 20:41:38.000000000 +0600 +@@ -1,2 +1,6 @@ ++if WANT_TK + SUBDIRS = emacs xmaxima ++else ++SUBDIRS = emacs ++endif + EXTRA_DIST = bin/xmaxima.iss diff --git a/sci-mathematics/maxima/files/xdg-utils-0.patch b/sci-mathematics/maxima/files/xdg-utils-0.patch new file mode 100644 index 000000000000..876fe6fcd469 --- /dev/null +++ b/sci-mathematics/maxima/files/xdg-utils-0.patch @@ -0,0 +1,35 @@ +--- interfaces/emacs/misc/bookmode.el.orig 2008-02-07 12:42:18.008472937 +0000 ++++ interfaces/emacs/misc/bookmode.el 2008-02-07 12:43:02.531010132 +0000 +@@ -680,7 +680,7 @@ + + (and tem + (list (concat "View "(nth 1 tem)) +- 'call-process "ghostview" nil nil nil ++ 'call-process "xdg-open" nil nil nil + (expand-file-name(nth 1 tem)) + )) + (list "Cancel") +@@ -705,7 +705,7 @@ + (concat + (cond ((looking-at "%PS") "") + (t "gzip -dc | ")) +- "ghostview -") ++ "xdg-open -") + + ))) + +--- interfaces/xmaxima/Tkmaxima/Constants.tcl.orig 2008-02-07 12:42:47.294141832 +0000 ++++ interfaces/xmaxima/Tkmaxima/Constants.tcl 2008-02-07 12:43:02.539010587 +0000 +@@ -143,9 +143,9 @@ + image/gif netmath + image/png netmath + image/jpeg netmath +- application/postscript "ghostview -safer %s" +- application/pdf "acroread %s" +- application/x-dvi "xdvi %s" ++ application/postscript "xdg-open -safer %s" ++ application/pdf "xdg-open %s" ++ application/x-dvi "xdg-open %s" + } + set maxima_priv(imagecounter) 0 + diff --git a/sci-mathematics/maxima/maxima-5.30.0.ebuild b/sci-mathematics/maxima/maxima-5.30.0.ebuild new file mode 100644 index 000000000000..8eaa1c07dfee --- /dev/null +++ b/sci-mathematics/maxima/maxima-5.30.0.ebuild @@ -0,0 +1,199 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.30.0.ebuild,v 1.1 2013/04/20 14:50:53 grozin Exp $ + +EAPI=5 + +inherit autotools elisp-common eutils + +DESCRIPTION="Free computer algebra environment based on Macsyma" +HOMEPAGE="http://maxima.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +# Supported lisps (the first one is the default) +LISPS=( sbcl cmucl gcl ecls clozurecl clisp ) +# <lisp> supports readline: . - no, y - yes +SUPP_RL=( . . y . . y ) +# . - just --enable-<lisp>, <flag> - --enable-<flag> +CONF_FLAG=( . . . ecl ccl . ) +# patch file version; . - no patch +PATCH_V=( 0 0 . 0 0 0 ) + +IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}" + +# Languages +LANGS="es pt pt_BR" +for lang in ${LANGS}; do + IUSE="${IUSE} linguas_${lang}" +done + +RDEPEND="X? ( x11-misc/xdg-utils + sci-visualization/gnuplot[gd] + tk? ( dev-lang/tk ) ) + latex? ( virtual/latex-base ) + emacs? ( virtual/emacs + latex? ( app-emacs/auctex ) ) + xemacs? ( app-editors/xemacs + latex? ( app-emacs/auctex ) )" + +PDEPEND="emacs? ( app-emacs/imaxima )" + +# generating lisp dependencies +depends() { + local LISP DEP + LISP=${LISPS[$1]} + DEP="dev-lisp/${LISP}:=" + if [ "${SUPP_RL[$1]}" = "." ]; then + DEP="${DEP} app-misc/rlwrap" + fi + echo ${DEP} +} + +n=${#LISPS[*]} +for ((n--; n >= 0; n--)); do + LISP=${LISPS[${n}]} + RDEPEND="${RDEPEND} ${LISP}? ( $(depends ${n}) )" + if (( ${n} > 0 )); then + DEF_DEP="${DEF_DEP} !${LISP}? ( " + fi +done + +DEF_DEP="${DEF_DEP} `depends 0`" + +n=${#LISPS[*]} +for ((n--; n > 0; n--)); do + DEF_DEP="${DEF_DEP} )" +done + +unset LISP + +RDEPEND="${RDEPEND} + ${DEF_DEP}" + +DEPEND="${RDEPEND} + sys-apps/texinfo" + +TEXMF="${EPREFIX}"/usr/share/texmf-site + +pkg_setup() { + local n=${#LISPS[*]} + + for ((n--; n >= 0; n--)); do + use ${LISPS[${n}]} && NLISPS="${NLISPS} ${n}" + done + + if [ -z "${NLISPS}" ]; then + ewarn "No lisp specified in USE flags, choosing ${LISPS[0]} as default" + NLISPS=0 + fi +} + +src_prepare() { + local n PATCHES v + PATCHES=( imaxima-0 rmaxima-0 wish-0 xdg-utils-0 ) + + n=${#PATCHES[*]} + for ((n--; n >= 0; n--)); do + epatch "${FILESDIR}"/${PATCHES[${n}]}.patch + done + + n=${#LISPS[*]} + for ((n--; n >= 0; n--)); do + v=${PATCH_V[${n}]} + if [ "${v}" != "." ]; then + epatch "${FILESDIR}"/${LISPS[${n}]}-${v}.patch + fi + done + + # bug #343331 + rm share/Makefile.in || die + rm src/Makefile.in || die + touch src/*.mk + touch src/Makefile.am + eautoreconf +} + +src_configure() { + local CONFS CONF n lang + for n in ${NLISPS}; do + CONF=${CONF_FLAG[${n}]} + if [ ${CONF} = . ]; then + CONF=${LISPS[${n}]} + fi + CONFS="${CONFS} --enable-${CONF}" + done + + # enable existing translated doc + if use nls; then + for lang in ${LANGS}; do + if use "linguas_${lang}"; then + CONFS="${CONFS} --enable-lang-${lang}" + use unicode && CONFS="${CONFS} --enable-lang-${lang}-utf8" + fi + done + fi + + econf ${CONFS} $(use_with tk wish) --with-lispdir="${SITELISP}"/${PN} +} + +src_install() { + einstall emacsdir="${ED}${SITELISP}/${PN}" || die "einstall failed" + + use tk && make_desktop_entry xmaxima xmaxima \ + /usr/share/${PN}/${PV}/xmaxima/maxima-new.png \ + "Science;Math;Education" + + if use latex; then + insinto ${TEXMF}/tex/latex/emaxima + doins interfaces/emacs/emaxima/emaxima.sty + fi + + # do not use dodoc because interfaces can't read compressed files + # read COPYING before attempt to remove it from dodoc + insinto /usr/share/${PN}/${PV}/doc + doins AUTHORS COPYING README README.lisps || die + dodir /usr/share/doc + dosym ../${PN}/${PV}/doc /usr/share/doc/${PF} || die + + if use emacs; then + elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el || die + fi + + # if we use ecls, build an ecls library for maxima + # does not work with the current asdf + #if use ecls; then + # cd src + # mkdir ./lisp-cache + # ecl \ + # -eval '(require `asdf)' \ + # -eval '(setf asdf::*user-cache* (truename "./lisp-cache"))' \ + # -eval '(load "maxima-build.lisp")' \ + # -eval '(asdf:make-build :maxima :type :fasl :move-here ".")' \ + # -eval '(quit)' + # ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"` + # insinto "${ECLLIB#${EPREFIX}}" + # newins maxima.fasb maxima.fas + #fi +} + +pkg_preinst() { + # some lisps do not read compress info files (bug #176411) + local infofile + for infofile in "${ED}"/usr/share/info/*.bz2 ; do + bunzip2 "${infofile}" + done +} + +pkg_postinst() { + use emacs && elisp-site-regen + use latex && mktexlsr +} + +pkg_postrm() { + use emacs && elisp-site-regen + use latex && mktexlsr +} |