summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin14832 -> 14833 bytes
-rw-r--r--sci-mathematics/wxmaxima/Manifest5
-rw-r--r--sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch8
-rw-r--r--sci-mathematics/wxmaxima/metadata.xml2
-rw-r--r--sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild55
5 files changed, 68 insertions, 2 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index 7c71c168c73b..deb2234f6b90 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest
index 20dba813616f..5cfff8dd3f92 100644
--- a/sci-mathematics/wxmaxima/Manifest
+++ b/sci-mathematics/wxmaxima/Manifest
@@ -1,9 +1,12 @@
+AUX wxmaxima-require-wxGTK-3.0.patch 466 BLAKE2B 54d6c8cad12edab71e7efc5c4c0fe3acf079f7419258d597096e284c7d8b4293e1b4e3dfb141d81fed6cba617b13f83d0f5449d3a67146914f4985164bc92187 SHA512 9c90982c43f9d4a0e6c2cd69704cd52694615234cd7b2f3180d14146ac3d5bc1deb9098bc75745dc5f18a2be664ef3b783cceb689bf200eabf47588ec59ca226
DIST wxmaxima-15.08.2.tar.gz 5592673 BLAKE2B cacb508cbcb24e27a43998ba0079b14117980669c25b39b017c0c659ef48d2ad338c6503aea99447a14250ed1a68a3414880828fc8ffdcbd3177b8eb9355a919 SHA512 a537c49477f54df4fd9e4e42a5e0d0d740f1ede817d807a98b7cec877a3ad77b2be0a61ae487a7fa5beb193b112eca163b8873292ecab5acf118d58a91e91af6
DIST wxmaxima-16.04.2.tar.gz 5178050 BLAKE2B 52c416040277fbbf0f8e930f3ad3b8a78f7ed65d28d31722b0fef8482df261c418185705dd00841d9975ea55838303756ca7874a0e94f174fd4274fbd2dbc5d4 SHA512 da8159e7c779f50bde7a6f6852987c18aaf724b1ebf0bdc4d231f40b80e04cee2870a520251d212681b3f0a7533d28b744d3684fc395a26d2a46b48c1a31a856
DIST wxmaxima-16.12.0.tar.gz 4842949 BLAKE2B 668219b2602b02e49eafa2c35fa7a5cfc995691356f5ce747590aa2e516ad8c1c8a6f57c8c8e19095ff301b7fd131942ea0ed6dbf4ce3b728fbb139e2139b5dc SHA512 6a68cf6b4fdf07bef7fdd19397c226c3cf4f693aaab8ae028e6af69b114a04fa7dbf20f7f183853f8f655ef8d0bf984ee2a0af6096697ab3c454d17f37c98819
DIST wxmaxima-16.12.2.tar.gz 4866058 BLAKE2B ee00fd9259776d1aee59f295baafd6f97c7ebf38302c8cdb8c64815f8ffdd3c76cc48df1ee6a99a5afab28a033643025dfcc0a1e75f3a54de1b94f989f40164f SHA512 346a04c56a236d42e7177da9c12d94a504df7146457394c82293884995222d647746277096c14891c217559a1d9d743963c14d65931b31350ab2480f02fd03c1
+DIST wxmaxima-17.10.1.tar.gz 8690844 BLAKE2B 63e1bd1bc15aff3eb350a522dc79027fc203226c03a3ff1967537ee004c8965d49a23432e10e3dd5670e271228d03eda1731ca16a2c4a1466a9ca1fa7127c500 SHA512 015f4a05e48d3c8918adcb4c69334b80cff8d0b97af7527742aabc438d34a6e5841e129a68f0d5e7f60c5ff7b415525874e6785c9b5a9f63925968a476ebc457
EBUILD wxmaxima-15.08.2.ebuild 1653 BLAKE2B 1822797d2cf9afbd98b08d4ad3384c118c592e3bf0a40af159bcf9793ec1f18a9e4019e94a270908942101b90b53564ac7c135b8c8ed65a169f70cdfad29c3af SHA512 2cdc1c72257ffe6cbcb6c833f6c0c91b857e784d8df6abb595cf9f6172abc78dbbb558a8835e8781d0fd493f2b18358c6ee7260200c524796c2b61f607b597ae
EBUILD wxmaxima-16.04.2.ebuild 1656 BLAKE2B 64e40008e8b3912ab8955fb70d839845e2f901e53ffb2f9f623c59abe8266a81829b14999ca86cb351a82d8a7f30c1f5f7608df43258915ff53905b70079c0f9 SHA512 e3a379cc00ace47d2864a330c505d8f0e288703e8652b66467234fa69dd5143af61db7efd9b1d4ee6a324530febfe188570ba7814d0a67b50c4e0cb6efbc9c74
EBUILD wxmaxima-16.12.0.ebuild 1656 BLAKE2B 64e40008e8b3912ab8955fb70d839845e2f901e53ffb2f9f623c59abe8266a81829b14999ca86cb351a82d8a7f30c1f5f7608df43258915ff53905b70079c0f9 SHA512 e3a379cc00ace47d2864a330c505d8f0e288703e8652b66467234fa69dd5143af61db7efd9b1d4ee6a324530febfe188570ba7814d0a67b50c4e0cb6efbc9c74
EBUILD wxmaxima-16.12.2.ebuild 1656 BLAKE2B c56ed7d7b05ac88ad7555183abec7a8a24f6a44b2920889c539b36c708a5c637ef36bb311df6b5f46ea58a9c1a7599678746e67bde4554190c6ccb69b37d61cc SHA512 e6452ab3a3d4ccbe71befe27477775c00bdfe1235fa10e25acc5ed8d6d528acb735937eccddc288e5a70149baeb852b17fa00d652720526f299b246b4882575a
-MISC metadata.xml 708 BLAKE2B 36f2ec137e98f9d50a1b562fe013dba61d723733011fd8715c5c2410a5e2539dae431b4b2097926ffdb369899bb168ceb87f6dcc11a1c50eb940e78e29e60761 SHA512 cce8c3acce5606be24e1dd45e3624b56ec5f1881c80a92e46dcf013690676943d0bf304cb2a7cc76dccdd062567ba37329f87846de3058278ecd7a8c20eceb95
+EBUILD wxmaxima-17.10.1.ebuild 1311 BLAKE2B 3800a3abe3d2bf4425ae13927cc586b1f8305d87bf60c9e3c81adb2bef21db19bd0274699da2c9406816a6de1e1e4752f491e78a1101e4ba7c0853bd90068c55 SHA512 55516215396e1b53946ee8fd50dcfe375ea4a378561b5308a71844e4ed0729fc80c1af6816ff550ba0ebfeec3212d52176b6ce0ed4ef7376d9f7ebecd1a546c2
+MISC metadata.xml 711 BLAKE2B 00c54141e803d86fb20dc4f058fe99f6bbc2fd067175af6d0a5f893dc5a0b523fdd9116341ba33f991b11538989869337e1ce36c2259cfdb284725fed1aeaf60 SHA512 30a578958cbc4813e2615d0c3d7c4a1349f408933f285d3a43a382bf90bdf5c985ef1b844c4f8391205be643961de0335536ee800e1be24bf358bb4ead736fe5
diff --git a/sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch b/sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch
new file mode 100644
index 000000000000..b08434061d39
--- /dev/null
+++ b/sci-mathematics/wxmaxima/files/wxmaxima-require-wxGTK-3.0.patch
@@ -0,0 +1,8 @@
+diff -r -U3 wxmaxima-Version-17.10.1.orig/src/CMakeLists.txt wxmaxima-Version-17.10.1/src/CMakeLists.txt
+--- wxmaxima-Version-17.10.1.orig/src/CMakeLists.txt 2017-10-22 12:45:56.000000000 +0700
++++ wxmaxima-Version-17.10.1/src/CMakeLists.txt 2017-12-28 21:29:58.389806037 +0700
+@@ -1,3 +1,4 @@
++set(wxWidgets_CONFIG_OPTIONS --toolkit=gtk2 --version=3.0)
+ find_package(wxWidgets REQUIRED std xml html adv aui core net base richtext)
+
+ include(${wxWidgets_USE_FILE})
diff --git a/sci-mathematics/wxmaxima/metadata.xml b/sci-mathematics/wxmaxima/metadata.xml
index 07badb330231..de974d73bcb2 100644
--- a/sci-mathematics/wxmaxima/metadata.xml
+++ b/sci-mathematics/wxmaxima/metadata.xml
@@ -13,6 +13,6 @@ completion based on previous input (tab-key).
wxMaxima provides 2d formated display of maxima output.
</longdescription>
<upstream>
- <remote-id type="sourceforge">wxmaxima</remote-id>
+ <remote-id type="github">andrejv/wxmaxima</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild
new file mode 100644
index 000000000000..52fa2ddc14ed
--- /dev/null
+++ b/sci-mathematics/wxmaxima/wxmaxima-17.10.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="ca cs da de el es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW"
+inherit cmake-utils l10n xdg-utils gnome2-utils
+
+DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
+HOMEPAGE="http://andrejv.github.io/wxmaxima/"
+SRC_URI="https://github.com/andrejv/wxmaxima/archive/Version-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+S="${WORKDIR}"/${PN}-Version-${PV}
+
+DEPEND="
+ dev-libs/libxml2:2
+ x11-libs/wxGTK:3.0"
+RDEPEND="${DEPEND}
+ media-fonts/jsmath
+ sci-visualization/gnuplot[wxwidgets]
+ sci-mathematics/maxima"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-require-wxGTK-3.0.patch
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \
+ || die "sed info/CMakeLists.txt failed"
+
+ # locales
+ rm_po() {
+ rm "${S}"/locales/${1}.po || die "rm ${1}.po failed"
+ }
+ l10n_find_plocales_changes "${S}"/locales '' '.po'
+ l10n_for_each_disabled_locale_do rm_po
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ gnome2_icon_cache_update
+}