diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-15 09:01:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-15 09:01:56 +0100 |
commit | e8f81810baa21f490d6910e8e2d424546b72a333 (patch) | |
tree | db79151c528a566490ffcac0d7b64484e12b4762 /sci-mathematics/isabelle | |
parent | d00821e77f72d4af4ea30158c1c6e18ffff0875b (diff) |
gentoo resync : 15.09.2019
Diffstat (limited to 'sci-mathematics/isabelle')
13 files changed, 0 insertions, 659 deletions
diff --git a/sci-mathematics/isabelle/Manifest b/sci-mathematics/isabelle/Manifest deleted file mode 100644 index 90b34f0b2f86..000000000000 --- a/sci-mathematics/isabelle/Manifest +++ /dev/null @@ -1,22 +0,0 @@ -AUX isabelle-2012-graphbrowser.patch 354 BLAKE2B beb2e7477a2cc706b91f87407768b9325ea886fd421a1374300ec84e54616bbd90d1435066b59ef8842adac43c5b1e8a8322512d7a6d42489ceaaa573fea7ba3 SHA512 ef850f554a41292e6a1811489309b9c13404191258acdf46d4739360b951634aaa76d25fcbef3784a54c25972b6a81ec2d4d151b6f53684224cdec286d4082c0 -AUX isabelle-2012-reverse-line-editor-order.patch 423 BLAKE2B 868874a2b8cb5a70f0ceb9c1555ce74dc5deb9c4d897bc5a2e8d239b1d5232e64b53a7df931c15f28e472a54a163ac6b9fd2cf0f4218a973cbfc402990b86651 SHA512 de9499e5c0d9bc22a72ef15320490fea7e71afbfe1ab6bc3a6a71a866eda2050833d47aadc7c0c7b106d4f0a28fa9a062ec2d9a6c15bf6c0eedd54274df20515 -AUX isabelle-2016-classpath.patch 1269 BLAKE2B 189c23f7b1935f379500fa03e9ea00e73148191963a5e7ec6820d244291825d0fe250fe88054d425657b81c84d380ed0b09615d0188d96c21f19211ce7d9279f SHA512 912930f7bd392bb6bb8569d447f3c0ba52c872c5be26b25fa551749ce4938cdc6bb1db4687a3e682e70dcb418e5f4b2d2cb5a49b470089618ff27653f492d096 -AUX isabelle-2016-jfreechart-classpath.patch 930 BLAKE2B 62e556bd401233fac73d7a0eb86bb21974c213e7f4944fe51ba987491cb215e5545489bdd6ec66c815976dcc331919e32079837f4155f29b63aeadad9cf6dfa6 SHA512 0479a158a25f11f9c1a2edea49fd5c5e635558095c46c543fe73cacc58aecedb91e9528ddc02be7bf1f4f3c6f4251e6918449f24dfa93aec3494aeed2590e7a6 -AUX isabelle-2016.1-bash_process-1.2.1-settings.patch 399 BLAKE2B 1e9c5f3bc270c4bc298cce82388264a5f2f11bfa5e52a2e1f1f58de8cfc5af36e3ab304af77300cb3b24abe6c136767020467f19f1a45c0146dac7f5813cc468 SHA512 0965da49933834c2746f55a80e84ecfcf4e1a0faf6997224cc08ec3e458998887234839d346a2a12bf2ea2efbb91a1b4a53dcd4d390832655f30ce519fa59a66 -AUX isabelle-2016.1-disable-jedit-build-after-install.patch 3852 BLAKE2B d10f05d28e352366a761e2f1e0f2c1a8fa9ab8712664584d92f328d44712e5ec2aef81a03fb7117e24112eafe3a10d3884d82c23392f439556af9abb3182cd84 SHA512 1786facbfe939841b6949be37712a087e5a80afb564a39d9019bc2c2110604328056a06f10737a732a9ad7c4a9a36ced8347b1b2c17f4744f20c3ebe2cd1445e -AUX isabelle-2016.1-jortho-1.0-2-classpath.patch 505 BLAKE2B 2c051ab92856443e217bb016cfd487ddce64183c39140a98ed671c157c21c58321c2ccf7e9a01dc4b25f9a2845205b67beff42fc9b8a0789952a51b1874eda86 SHA512 74af59748e537b70bde496c67f93b2a3de1947616f4289421f4d2c045c63ac53f7c3eb6c435818c598285871afe012d6a3eabb94793f408d6c1e13e3f7812408 -AUX isabelle-2016.1-libsha1.patch 535 BLAKE2B 2d7b90028e75671c68699ec2ab2d839b23e4d2292e4d0ea1853f839af38801bc8341d3efcec3a52e94e757e670260accec3800b8a310724f6f283bec74d2530a SHA512 7200f3a66c1ede6d1957cbab928a48ae6d7e785123e2df45bbbd62a8f09172b3fad383757929ee27f1efe358a61bff5c6f6de6fe486f2ffd269d08d2de840708 -AUX isabelle-2016.1-smt_read_only_certificates.patch 1372 BLAKE2B b66acbd954904c5c45c6e00ed8c902341ffe219ae71221c1ac92364e049e7d5931f5704fadc5588415b7476531c3d6478009d65d2fc96d481a85f32761162b40 SHA512 c6ef0253ef6fc100050dd35c15be07f17da14ef3119971a150d177f5fedec0bd134834965eee9dbcfa8e485fd05841b8770e0aaada75c74503ea2b3e6dd2bef3 -AUX isabelle-2016.1-smt_timeout.patch 1092 BLAKE2B 845d56129065296c4fb1d94606532cf8ecd9760bd8f5d5bf9c260552ef73197601f94652ba4f5c893a89c9575f5252946cb2770bf0323e2c06c876e937ec960a SHA512 ffbfb74959f35856c085a593e164d93a71bc08ce9c88d50d911f4cb4652b1be9aeade8d80cecf9f15165ba35135719ca36f82d3cbf789f1d8a9fac52bdb84bde -DIST Isabelle2016-1.tar.gz 39567637 BLAKE2B a664c89f2705e6b2709a8b3054d57ca443435967dd85f07e1651aa0bbfc41ee31dee88146243c8e0bddc2a1de86107158a89d13b2ff427f8dcf0308fe3dd2654 SHA512 c7da7900033a8c816f002b8899e398da7819dc457b3b1176dc9a19adffeb42d5524f2d14581a391487da1f36ffeabd0867bacab6462f3decfc0f7a9caf81a2d2 -DIST bash_process-isabelle-component-1.2.1.tar.gz 33182 BLAKE2B d139f5476b02b22a896fa742303a4e5c4de583972eb38a67e1a451fabe28d52c2c1310be865faf244104cad46758e1bf97f6222170999ff2e2da7c07e1398fe3 SHA512 d9817191af5660e38f1647401803115a93f0052291bfbbcb1cd9b41a4bab89b3ebdde22b40744a04ad3268aed8ca037ae59981c513f71b3ff6d89855d29e14c3 -DIST csdp-isabelle-component-6.x.tar.gz 493 BLAKE2B 364c8f390adfb4031958597e4435783e58ebbb3be49ee80d5ee6631770d9322190bd364530622ae66d490d91e499bb3bb626b01762fccf3f67c65b20b3f7756b SHA512 9be28ecbf61d0f6ad23e28d44bd7ceb8f06ab22f3a05a7c823a9c5bf52ddcf5e5c300c41e14451d6b8e6a4c32b1bbd17769c731cd890fab335a866cd5e735290 -DIST isabelle_fonts-isabelle-component-20160830.tar.gz 249427 BLAKE2B 8398e578e6b8f54ac163b33e29c8283fef29c5db2cd8562dca1d636e1947bebb54e79e55035398fca215f2fbdf868dfe318d91a7f76074ad97f2d4792b8b4432 SHA512 a185f79990478861832e9400ea37ffd02f582d3f916d26d901b8b0ec923027c412538bafe4a763a132adb9277a4b00a7a510762928ec49433ef550ae3fe59dbc -DIST jedit_build-isabelle-component-20161024.tar.gz 10819946 BLAKE2B 2764d854eecd6783a0893934742f21db9ac47b1304f969803e01ffc402d57d2f3d38c9f07cb6ea6d77f12a48337892baecc7175b1d759989d7c46d0104b34a9f SHA512 0563b696307dd33b244e4ecc62664056a2b003c3291a5e3d7dd4f1c936dac2c3257ff90273cb2c8dc3bf9dea40fae745fabb57fc5f4ed420d0c8fd7d2b917433 -DIST jfreechart-isabelle-component-1.0.14-1.tar.gz 3444825 BLAKE2B 4a24f362d647c9bbe538d18a49f7579cf9c1914854b19c7f4cca29d876870eb5f994df4b53ae2bf6f8bf8aa697306bfebdb272493fb974c6df8050778d173376 SHA512 ee1d84a45e43029d5e3acee823176196da19789322e8d3c2c81d5504930ad81d50e16e5da87655e4151034901daefb4ce6b82334839e39134b3a7ce32203aa67 -DIST jortho-isabelle-component-1.0-2.tar.gz 1723761 BLAKE2B 4f5503c640d25d79a8520a2f137900a8397db141f5f6279e4622bf44c377a3bcd7224d9e59de2f57993867362350bc279aebc54dc548562bab6b78b210110fb7 SHA512 8bef5e025d13b76c86a727bf93887b846cc906b2ce00299c38f69ccf33fb9dc7411e55b6fd1c56ed993c180d83a7e9ed90122f7feb6ae4fb70df93802ac21211 -DIST polyml-isabelle-component-5.6-1.tar.gz 822 BLAKE2B eea808d3cd2ce2c6b5b531fce046eba59e39f671e48e76e3d9093a4d9fadef9fbf3afc20b98eeaf5e672e8e34ed11aaf62441266469f53d3d228252fe9f64f89 SHA512 403239aa48aab8c39e12cd5f82cb5e3ba7c31f9325d88f5137d3ec509bb25ab4eb8b1103a66b8ea5ad45c7c968ef092749c486217528a5db4223819106c00a59 -DIST ssh-java-isabelle-component-20161009.tar.gz 412919 BLAKE2B d05152d92669043ba23d7e0767470a529ac7688866ed8be64432d724329a0c24590586faf5e09c365c44740550441798681b9e8b80a323285516ec61a884beb8 SHA512 685a9b8791046c1bc21aa77614fb1b304e7438715377e179954ebfd1603434ff66fe23e90de928a5af6f51a48ae6ea6f05f9ff8941d98f7c3a43fdda02d3b519 -DIST xz-java-isabelle-component-1.5.tar.gz 315 BLAKE2B b7a385671469fb8643d74d90b4faae2f66621f7bafb0262b7fc7777c883cae4a5939cb5261230c21a6125ce12cafe5285a873fc0a37f78ef0e4059d310c2bd0e SHA512 6dfec49e12c4cafbb6b6386dd54477e86b6bb419a77c52d9606a0305aeea9cd11f087ed6bba77352c7bf9ec656052ef617e845f472e57b5cdfbccf22b2eeb4fa -EBUILD isabelle-2016.1.ebuild 11253 BLAKE2B 2458c98781d77d570db71ff40c3b400a794d315efafe9a95e672815e031452f53d3b79544ca2027a66776203d1de4b985a9cede05d81ade5bdbbbdb761942a03 SHA512 6b497870498a3426fdec2494b04e0a6a0a093f3b73d46acea4c6659ea2897124dc989136d47083ba1fd79c607223f821a7a9e61346bbd437ff25e40429ab0bde -MISC metadata.xml 1207 BLAKE2B 0d3aa24b66bfab4bdfdd8afc70510b2d468e437cfeaaf0f93c206f209da7b6e1b5d1da93206357f0d067ee2dd1fbfa7124cfafe478022df4731b48bf3a9ae772 SHA512 158021354cea7c08befe74a21aa066e529a9ba315d2ae4bfa3e17c689439564358650d0100c43e18851ae4138744b451b70eb3fdf49f2ce90e37eac7b3f2268b diff --git a/sci-mathematics/isabelle/files/isabelle-2012-graphbrowser.patch b/sci-mathematics/isabelle/files/isabelle-2012-graphbrowser.patch deleted file mode 100644 index 3e63f1c62237..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2012-graphbrowser.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Isabelle2012-orig/lib/browser/build 2012-05-20 19:34:33.000000000 +1000 -+++ Isabelle2012/lib/browser/build 2012-05-26 22:18:41.952750622 +1000 -@@ -6,6 +6,8 @@ - # - # Requires proper Isabelle settings environment. - -+ISABELLE_HOME="$(cd "$(dirname "${0}")/../.."; pwd -P)" -+source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2 - - ## diagnostics - diff --git a/sci-mathematics/isabelle/files/isabelle-2012-reverse-line-editor-order.patch b/sci-mathematics/isabelle/files/isabelle-2012-reverse-line-editor-order.patch deleted file mode 100644 index 233ea5b50fad..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2012-reverse-line-editor-order.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- Isabelle2012-orig/etc/settings 2012-05-23 03:07:38.000000000 +1000 -+++ Isabelle2012/etc/settings 2012-05-27 12:43:36.209715015 +1000 -@@ -62,8 +62,8 @@ - ### - - ISABELLE_LINE_EDITOR="" --[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" - [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" -+[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" - - - ### diff --git a/sci-mathematics/isabelle/files/isabelle-2016-classpath.patch b/sci-mathematics/isabelle/files/isabelle-2016-classpath.patch deleted file mode 100644 index 032b18b71f3b..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016-classpath.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: Isabelle2016/lib/Tools/java -=================================================================== ---- Isabelle2016.orig/lib/Tools/java -+++ Isabelle2016/lib/Tools/java -@@ -10,5 +10,5 @@ declare -a JAVA_ARGS; eval "JAVA_ARGS=($ - unset CLASSPATH - - isabelle_java java "${JAVA_ARGS[@]}" \ -- -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" -+ -classpath "$(platform_path "$ISABELLE_CLASSPATH:$(java-config -p scala-2.11)")" "$@" - -Index: Isabelle2016/lib/Tools/scala -=================================================================== ---- Isabelle2016.orig/lib/Tools/scala -+++ Isabelle2016/lib/Tools/scala -@@ -14,4 +14,4 @@ do - done - - isabelle_scala scala "${SCALA_ARGS[@]}" \ -- -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" -+ -classpath "$(platform_path "$ISABELLE_CLASSPATH:$(java-config -p scala-2.11)")" "$@" -Index: Isabelle2016/lib/Tools/scalac -=================================================================== ---- Isabelle2016.orig/lib/Tools/scalac -+++ Isabelle2016/lib/Tools/scalac -@@ -7,5 +7,5 @@ - isabelle_admin_build jars || exit $? - - isabelle_scala scalac -Dfile.encoding=UTF-8 \ -- -classpath "$(platform_path "$ISABELLE_CLASSPATH")" "$@" -+ -classpath "$(platform_path "$ISABELLE_CLASSPATH:$(java-config -p scala-2.11)")" "$@" - diff --git a/sci-mathematics/isabelle/files/isabelle-2016-jfreechart-classpath.patch b/sci-mathematics/isabelle/files/isabelle-2016-jfreechart-classpath.patch deleted file mode 100644 index 9a88ebef26ca..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016-jfreechart-classpath.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- Isabelle2016-orig/contrib/jfreechart-1.0.14-1/etc/settings 2013-09-12 07:46:57.000000000 +1000 -+++ Isabelle2016/contrib/jfreechart-1.0.14-1/etc/settings 2016-07-07 17:22:55.716464804 +1000 -@@ -1,9 +1,8 @@ - # -*- shell-script -*- :mode=shellscript: - - JFREECHART_HOME="$COMPONENT" --JFREECHART_JAR_NAMES="iText-2.1.5.jar jcommon-1.0.18.jar jfreechart-1.0.14.jar" -- --classpath "$JFREECHART_HOME/lib/iText-2.1.5.jar" --classpath "$JFREECHART_HOME/lib/jcommon-1.0.18.jar" --classpath "$JFREECHART_HOME/lib/jfreechart-1.0.14.jar" -+JFREECHART_JAR_NAMES="$(java-config --classpath itext | sed -e 's@:@ @g' -e 's@/[^ ]*/@@g') $(java-config --classpath jcommon-1.0 | sed -e 's@:@ @g' -e 's@/[^ ]*/@@g') $(java-config --classpath jfreechart-1.0 | sed -e 's@:@ @g' -e 's@/[^ ]*/@@g')" - -+classpath "$(java-config --classpath itext)" -+classpath "$(java-config --classpath jcommon-1.0)" -+classpath "$(java-config --classpath jfreechart-1.0)" diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-bash_process-1.2.1-settings.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-bash_process-1.2.1-settings.patch deleted file mode 100644 index 38d047199ce8..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-bash_process-1.2.1-settings.patch +++ /dev/null @@ -1,7 +0,0 @@ ---- Isabelle2016-1-orig/contrib/bash_process-1.2.1/etc/settings 2016-02-14 09:48:03.000000000 +1100 -+++ Isabelle2016-1/contrib/bash_process-1.2.1/etc/settings 2017-01-02 13:44:49.355549312 +1100 -@@ -1,3 +1,3 @@ - # -*- shell-script -*- :mode=shellscript: - --ISABELLE_BASH_PROCESS="$COMPONENT/${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM32}/bash_process" -+ISABELLE_BASH_PROCESS="$COMPONENT/bash_process" diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-disable-jedit-build-after-install.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-disable-jedit-build-after-install.patch deleted file mode 100644 index 6bac5ccbe748..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-disable-jedit-build-after-install.patch +++ /dev/null @@ -1,128 +0,0 @@ ---- Isabelle2016-1-orig/src/Tools/jEdit/lib/Tools/jedit 2016-12-13 01:03:49.000000000 +1100 -+++ Isabelle2016-1/src/Tools/jEdit/lib/Tools/jedit 2017-01-01 17:24:50.107722845 +1100 -@@ -239,125 +239,6 @@ - "$ISABELLE_JEDIT_BUILD_HOME/contrib/jsr305-2.0.0.jar" - ) - -- --# target -- --TARGET="dist/jars/Isabelle-jEdit.jar" -- --declare -a UPDATED=() -- --if [ "$BUILD_JARS" = jars_fresh ]; then -- OUTDATED=true --else -- OUTDATED=false -- if [ ! -e "$TARGET" ]; then -- OUTDATED=true -- else -- if [ -n "$ISABELLE_JEDIT_BUILD_HOME" ]; then -- declare -a DEPS=( -- "$JEDIT_JAR" "${JEDIT_JARS[@]}" "$PURE_JAR" -- "${SOURCES[@]}" "${RESOURCES[@]}" -- ) -- elif [ -e "$ISABELLE_HOME/Admin/build" ]; then -- declare -a DEPS=("$PURE_JAR" "${SOURCES[@]}" "${RESOURCES[@]}") -- else -- declare -a DEPS=() -- fi -- for DEP in "${DEPS[@]}" -- do -- [ ! -e "$DEP" ] && fail "Missing file: $DEP" -- [ "$DEP" -nt "$TARGET" ] && { -- OUTDATED=true -- UPDATED["${#UPDATED[@]}"]="$DEP" -- } -- done -- fi --fi -- -- --# build -- --if [ "$OUTDATED" = true ] --then -- echo "### Building Isabelle/jEdit ..." -- -- [ "${#UPDATED[@]}" -gt 0 ] && { -- echo "Changed files:" -- for FILE in "${UPDATED[@]}" -- do -- echo " $FILE" -- done -- } -- -- [ -z "$ISABELLE_JEDIT_BUILD_HOME" ] && \ -- fail "Unknown ISABELLE_JEDIT_BUILD_HOME -- missing auxiliary component" -- -- rm -rf dist || failed -- mkdir -p dist dist/classes || failed -- -- cp -p -R -f "$ISABELLE_JEDIT_BUILD_HOME/contrib/$ISABELLE_JEDIT_BUILD_VERSION/." dist/. -- cp -p -R -f "${RESOURCES[@]}" dist/classes/. -- cp src/jEdit.props dist/properties/. -- cp -p -R -f src/modes/. dist/modes/. -- -- perl -i -e 'while (<>) { -- if (m/FILE="ml.xml"/ or m/FILE_NAME_GLOB="...sml,ml."/) { } -- elsif (m/NAME="javacc"/) { -- print qq!<MODE NAME="isabelle" FILE="isabelle.xml" FILE_NAME_GLOB="{*.thy,ROOT0.ML,ROOT.ML}"/>\n\n!; -- print qq!<MODE NAME="isabelle-ml" FILE="isabelle-ml.xml" FILE_NAME_GLOB="*.ML"/>\n\n!; -- print qq!<MODE NAME="isabelle-news" FILE="isabelle-news.xml"/>\n\n!; -- print qq!<MODE NAME="isabelle-options" FILE="isabelle-options.xml"/>\n\n!; -- print qq!<MODE NAME="isabelle-root" FILE="isabelle-root.xml" FILE_NAME_GLOB="ROOT"/>\n\n!; -- print; -- } -- elsif (m/NAME="sqr"/) { -- print qq!<MODE NAME="sml" FILE="sml.xml" FILE_NAME_GLOB="*.{sml,sig}"/>\n\n!; -- print; -- } -- else { print; } -- }' dist/modes/catalog -- -- cd dist -- isabelle_jdk jar xf jedit.jar -- cp "$ISABELLE_HOME/lib/logo/isabelle_transparent-32.gif" \ -- "org/gjt/sp/jedit/icons/themes/classic/32x32/apps/isabelle.gif" || failed -- cp "$ISABELLE_HOME/lib/logo/isabelle_transparent-32.gif" \ -- "org/gjt/sp/jedit/icons/themes/tango/32x32/apps/isabelle.gif" || failed -- isabelle_jdk jar cfe jedit.jar org.gjt.sp.jedit.jEdit org || failed -- rm -rf META-INF org -- cd .. -- -- cp -p -R -f "${JEDIT_JARS[@]}" dist/jars/. || failed -- ( -- #FIXME workarounds for scalac 2.11.0 -- export CYGWIN="nodosfilewarning" -- function stty() { :; } -- export -f stty -- -- for JAR in "$JEDIT_JAR" "${JEDIT_JARS[@]}" "$PURE_JAR" -- do -- classpath "$JAR" -- done -- export CLASSPATH="$(platform_path "$ISABELLE_CLASSPATH")" -- exec "$SCALA_HOME/bin/scalac" $ISABELLE_SCALA_BUILD_OPTIONS -d dist/classes "${SOURCES[@]}" -- ) || fail "Failed to compile sources" -- -- cd dist/classes -- isabelle_jdk jar cf "../jars/Isabelle-jEdit.jar" * || failed -- cd ../.. -- rm -rf dist/classes -- -- cp "$ISABELLE_JEDIT_BUILD_HOME/doc/jedit5.3.0manual-a4.pdf" dist/doc/jedit-manual.pdf -- cp dist/doc/CHANGES.txt dist/doc/jedit-changes -- cat > dist/doc/Contents <<EOF --Original jEdit Documentation -- jedit-manual jEdit 5.3 User's Guide -- jedit-changes jEdit 5.3 Version History -- --EOF -- --fi -- - popd >/dev/null - - diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-jortho-1.0-2-classpath.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-jortho-1.0-2-classpath.patch deleted file mode 100644 index a34cae3fcf45..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-jortho-1.0-2-classpath.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- Isabelle2016-1-orig/contrib/jortho-1.0-2/etc/settings 2014-04-16 06:03:34.000000000 +1000 -+++ Isabelle2016-1/contrib/jortho-1.0-2/etc/settings 2017-01-02 00:13:01.619790577 +1100 -@@ -3,4 +3,4 @@ - JORTHO_HOME="$COMPONENT" - JORTHO_DICTIONARIES="$JORTHO_HOME/dictionaries/en.gz:$JORTHO_HOME/dictionaries/en_US.gz:$JORTHO_HOME/dictionaries/en_GB-ise.gz:$JORTHO_HOME/dictionaries/en_GB-ize.gz:$JORTHO_HOME/dictionaries/en_CA.gz" - --classpath "$JORTHO_HOME/jortho.jar" -+classpath "$(java-config -p jortho)" diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-libsha1.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-libsha1.patch deleted file mode 100644 index f19436acd1c3..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-libsha1.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Isabelle2016-1-orig/src/Pure/General/sha1.ML 2016-12-13 01:03:45.000000000 +1100 -+++ Isabelle2016-1/src/Pure/General/sha1.ML 2016-12-28 20:50:36.814706587 +1100 -@@ -146,7 +146,7 @@ - (* C library and memory *) - - val library_path = -- Path.explode ("$ML_HOME/" ^ (if ML_System.platform_is_windows then "sha1.dll" else "libsha1.so")); -+ Path.explode ("$SHA1_HOME/" ^ (if ML_System.platform_is_windows then "sha1.dll" else "libsha1.so")); - - fun with_memory n = - Thread_Attributes.uninterruptible (fn restore_attributes => fn f => diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_read_only_certificates.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-smt_read_only_certificates.patch deleted file mode 100644 index d766a957021d..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_read_only_certificates.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- Isabelle2016-1-orig/src/HOL/SMT_Examples/Boogie.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT_Examples/Boogie.thy 2016-12-30 23:46:11.947737290 +1100 -@@ -52,7 +52,7 @@ - section \<open>Verification condition proofs\<close> - - declare [[smt_oracle = false]] --declare [[smt_read_only_certificates = true]] -+declare [[smt_read_only_certificates = false]] - - - declare [[smt_certificates = "Boogie_Max.certs"]] ---- Isabelle2016-1-orig/src/HOL/SMT_Examples/SMT_Examples.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT_Examples/SMT_Examples.thy 2016-12-30 23:46:11.953737338 +1100 -@@ -9,7 +9,7 @@ - begin - - declare [[smt_certificates = "SMT_Examples.certs"]] --declare [[smt_read_only_certificates = true]] -+declare [[smt_read_only_certificates = false]] - - - section \<open>Propositional and first-order logic\<close> ---- Isabelle2016-1-orig/src/HOL/SMT_Examples/SMT_Word_Examples.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT_Examples/SMT_Word_Examples.thy 2016-12-30 23:46:11.967737450 +1100 -@@ -11,7 +11,7 @@ - declare [[smt_oracle = true]] - declare [[z3_extensions = true]] - declare [[smt_certificates = "SMT_Word_Examples.certs"]] --declare [[smt_read_only_certificates = true]] -+declare [[smt_read_only_certificates = false]] - - text \<open> - Currently, there is no proof reconstruction for words. diff --git a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_timeout.patch b/sci-mathematics/isabelle/files/isabelle-2016.1-smt_timeout.patch deleted file mode 100644 index 249c94bd2583..000000000000 --- a/sci-mathematics/isabelle/files/isabelle-2016.1-smt_timeout.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Isabelle2016-1-orig/src/HOL/SMT.thy 2016-12-13 01:03:38.000000000 +1100 -+++ Isabelle2016-1/src/HOL/SMT.thy 2016-12-30 14:11:09.379863215 +1100 -@@ -201,7 +201,7 @@ - (given in seconds) to restrict their runtime. - \<close> - --declare [[smt_timeout = 20]] -+declare [[smt_timeout = 300]] - - text \<open> - SMT solvers apply randomized heuristics. In case a problem is not ---- Isabelle2016-1-orig/src/HOL/Tools/SMT/smt_config.ML 2016-12-13 01:03:42.000000000 +1100 -+++ Isabelle2016-1/src/HOL/Tools/SMT/smt_config.ML 2016-12-30 14:11:27.186904132 +1100 -@@ -170,7 +170,7 @@ - (* options *) - - val oracle = Attrib.setup_config_bool @{binding smt_oracle} (K true) --val timeout = Attrib.setup_config_real @{binding smt_timeout} (K 30.0) -+val timeout = Attrib.setup_config_real @{binding smt_timeout} (K 300.0) - val reconstruction_step_timeout = Attrib.setup_config_real @{binding smt_reconstruction_step_timeout} (K 10.0) - val random_seed = Attrib.setup_config_int @{binding smt_random_seed} (K 1) - val read_only_certificates = Attrib.setup_config_bool @{binding smt_read_only_certificates} (K false) diff --git a/sci-mathematics/isabelle/isabelle-2016.1.ebuild b/sci-mathematics/isabelle/isabelle-2016.1.ebuild deleted file mode 100644 index 3e67fa95fbff..000000000000 --- a/sci-mathematics/isabelle/isabelle-2016.1.ebuild +++ /dev/null @@ -1,328 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit eutils check-reqs java-pkg-2 versionator - -MY_PN="Isabelle" -MY_PV=$(replace_all_version_separators '-') -MY_P="${MY_PN}${MY_PV}" - -BP_PV="1.2.1" -BP_PN="bash_process" -BP_P="${BP_PN}-${BP_PV}" -BP_IC_PN="${BP_PN}-isabelle-component" -BP_IC_P="${BP_IC_PN}-${BP_PV}" - -# csdp is used in the compile of HOL_ex in -# Library/Sum_of_Squares/sos_wrapper.ML where it execs $ISABELLE_CSDP -CSDP_PV="6.x" -CSDP_PN="csdp" -CSDP_P="${CSDP_PN}-${CSDP_PV}" -CSDP_IC_PN="${CSDP_PN}-isabelle-component" -CSDP_IC_P="${CSDP_IC_PN}-${CSDP_PV}" - -ISABELLE_FONTS_PV="20160830" -ISABELLE_FONTS_PN="isabelle_fonts" -ISABELLE_FONTS_P="${ISABELLE_FONTS_PN}-${ISABELLE_FONTS_PV}" -ISABELLE_FONTS_IC_PN="${ISABELLE_FONTS_PN}-isabelle-component" -ISABELLE_FONTS_IC_P="${ISABELLE_FONTS_IC_PN}-${ISABELLE_FONTS_PV}" - -JEDIT_PV="20161024" -JEDIT_PN="jedit_build" -JEDIT_P="${JEDIT_PN}-${JEDIT_PV}" -JEDIT_IC_PN="${JEDIT_PN}-isabelle-component" -JEDIT_IC_P="${JEDIT_IC_PN}-${JEDIT_PV}" - -JORTHO_PV="1.0-2" -JORTHO_PN="jortho" -JORTHO_P="${JORTHO_PN}-${JORTHO_PV}" -JORTHO_IC_PN="${JORTHO_PN}-isabelle-component" -JORTHO_IC_P="${JORTHO_IC_PN}-${JORTHO_PV}" - -JFREECHART_PV="1.0.14-1" -JFREECHART_PN="jfreechart" -JFREECHART_P="${JFREECHART_PN}-${JFREECHART_PV}" -JFREECHART_IC_PN="${JFREECHART_PN}-isabelle-component" -JFREECHART_IC_P="${JFREECHART_IC_PN}-${JFREECHART_PV}" - -POLYML_PV="5.6-1" -POLYML_PN="polyml" -POLYML_P="${POLYML_PN}-${POLYML_PV}" -POLYML_IC_PN="${POLYML_PN}-isabelle-component" -POLYML_IC_P="${POLYML_IC_PN}-${POLYML_PV}" - -SSH_JAVA_PV="20161009" -SSH_JAVA_PN="ssh-java" -SSH_JAVA_P="${SSH_JAVA_PN}-${SSH_JAVA_PV}" -SSH_JAVA_IC_PN="${SSH_JAVA_PN}-isabelle-component" -SSH_JAVA_IC_P="${SSH_JAVA_IC_PN}-${SSH_JAVA_PV}" - -XZ_JAVA_PV="1.5" -XZ_JAVA_PN="xz-java" -XZ_JAVA_P="${XZ_JAVA_PN}-${XZ_JAVA_PV}" -XZ_JAVA_IC_PN="${XZ_JAVA_PN}-isabelle-component" -XZ_JAVA_IC_P="${XZ_JAVA_IC_PN}-${XZ_JAVA_PV}" - -SS="2.12" - -DESCRIPTION="Isabelle is a generic proof assistant" -HOMEPAGE="http://www.cl.cam.ac.uk/research/hvg/Isabelle/index.html" -SRC_URI="http://isabelle.in.tum.de/website-${MY_P}/dist/${MY_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${BP_P}.tar.gz -> ${BP_IC_P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${CSDP_IC_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${ISABELLE_FONTS_P}.tar.gz -> ${ISABELLE_FONTS_IC_P}.tar.gz - http://isabelle.in.tum.de/components/${JORTHO_P}.tar.gz -> ${JORTHO_IC_P}.tar.gz - http://isabelle.in.tum.de/components/${JEDIT_P}.tar.gz -> ${JEDIT_IC_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${JFREECHART_P}.tar.gz -> ${JFREECHART_IC_P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${POLYML_IC_P}.tar.gz - http://isabelle.in.tum.de/dist/contrib/${SSH_JAVA_P}.tar.gz -> ${SSH_JAVA_IC_P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${XZ_JAVA_IC_P}.tar.gz" - -LICENSE="BSD" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc graphbrowsing ledit readline" - -#upstream says -#bash 2.x/3.x, Poly/ML 5.x, Perl 5.x, -#for document preparation: complete LaTeX -DEPEND=">=app-shells/bash-3.0:* - >=dev-java/jcommon-1.0.18:1.0 - dev-java/jortho:0 - >=dev-java/jfreechart-1.0.14:1.0 - >=dev-java/itext-2.1.5:0 - dev-java/xz-java:0 - >=dev-lang/ghc-7.6.3 - >=dev-lang/polyml-5.6:=[-portable] - >=dev-lang/perl-5.8.8-r2 - >=dev-lang/swi-prolog-6.6.6 - sci-libs/coinor-csdp - =sci-mathematics/z3-4.4*[isabelle] - >=virtual/jdk-1.8 - doc? ( - virtual/latex-base - dev-tex/rail - ) - dev-lang/scala:${SS} - ledit? ( - app-misc/ledit - ) - readline? ( - app-misc/rlwrap - )" - -RDEPEND=" - dev-perl/libwww-perl - sci-mathematics/sha1-polyml - >=virtual/jre-1.8" - -S="${WORKDIR}"/Isabelle${MY_PV} -TARGETDIR="/usr/share/Isabelle" - -# Notes on QA warnings: * Class files not found via DEPEND in package.env -# Stuff with $ in the name appear to be spurious: -# isabelle/Markup_Tree$$anonfun$results$1$1.class -# scala/tools/nsc/backend/jvm/GenJVM$BytecodeGenerator$$anonfun$computeLocalVarsIndex$1.class -# It wants javafx, I am unsure how to fix this. I test isabelle with the Sun JDK: -# javafx/application/Platform.class javafx -# Presumably the user can provide the jEdit plugins if they are necessary: -# marker/MarkerSetsPlugin.class http://plugins.jedit.org/plugins/?MarkerSets -# projectviewer/gui/OptionPaneBase.class http://plugins.jedit.org/plugins/?ProjectViewer - -JAVA_GENTOO_CLASSPATH="itext,jcommon-1.0,jortho,jfreechart-1.0,scala-${SS},xz-java" - -CHECKREQS_MEMORY="8192M" -CHECKREQS_DISK_BUILD="17G" -CHECKREQS_DISK_USR="8G" - -src_unpack() { - unpack "${MY_P}.tar.gz" - cd "${S}/contrib" || die - unpack ${BP_IC_P}.tar.gz - unpack ${CSDP_IC_P}.tar.gz - unpack ${ISABELLE_FONTS_IC_P}.tar.gz - unpack ${JEDIT_IC_P}.tar.gz - unpack ${JORTHO_IC_P}.tar.gz - unpack ${JFREECHART_IC_P}.tar.gz - unpack ${POLYML_IC_P}.tar.gz - unpack ${SSH_JAVA_IC_P}.tar.gz - unpack ${XZ_JAVA_IC_P}.tar.gz -} - -pkg_setup() { - java-pkg-2_pkg_setup - check-reqs_pkg_setup -} - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_getjars ${JAVA_GENTOO_CLASSPATH} - rm -rf "${S}/contrib/${BP_P}/{x86-cygwin,x86-darwin,x86_64-darwin,x86-linux,x86_64-linux}" \ - || die "Could not remove bash_process binaries" - rm -f "${S}/contrib/${JORTHI_P}/${JORTHO_PN}.jar" \ - || die "Could not remove contrib/${JORTHI_P}/${JORTHO_PN}.jar" - eapply "${FILESDIR}/${PN}-2016-classpath.patch" - eapply "${FILESDIR}/${PN}-2016-jfreechart-classpath.patch" - eapply "${FILESDIR}/${PN}-2016.1-bash_process-1.2.1-settings.patch" - eapply "${FILESDIR}/${PN}-2012-graphbrowser.patch" - eapply "${FILESDIR}/${PN}-2016.1-libsha1.patch" - eapply "${FILESDIR}/${PN}-2016.1-smt_timeout.patch" - eapply "${FILESDIR}/${PN}-2016.1-smt_read_only_certificates.patch" - eapply "${FILESDIR}/${PN}-2016.1-disable-jedit-build-after-install.patch" - eapply "${FILESDIR}/${PN}-2016.1-jortho-1.0-2-classpath.patch" - local polymlver=$(poly -v | cut -d' ' -f2) - local polymlarch=$(poly -v | cut -d' ' -f9 | cut -d'-' -f1) - cat <<- EOF >> "${S}/etc/settings" - # Poly/ML Gentoo (${polymlarch,,}) - ML_PLATFORM=${polymlarch,,}-linux - ML_HOME="${ROOT}usr/bin" - ML_SYSTEM=polyml-${polymlver} - ML_OPTIONS="-H 1000" - ML_SOURCES="${ROOT}usr/src/debug/dev-lang/polyml-${polymlver}" - - ISABELLE_GHC="${ROOT}usr/bin/ghc" - ISABELLE_OCAML="${ROOT}usr/bin/ocaml" - ISABELLE_SWIPL="${ROOT}usr/bin/swipl" - ISABELLE_JDK_HOME="\$(java-config --jdk-home)" - ISABELLE_BUILD_JAVA_OPTIONS="-Djava.awt.headless=true" - SCALA_HOME="${ROOT}usr/share/scala-${SS}" - SHA1_HOME="${ROOT}usr/$(get_libdir)/sha1-polyml" - EOF - local Z3_P="$(best_version sci-mathematics/z3 | sed 's:sci-mathematics/::')" - cat <<- EOF >> "${S}/etc/components" - #bundled components - contrib/${BP_P} - contrib/${CSDP_P} - contrib/${ISABELLE_FONTS_P} - contrib/${JEDIT_P} - contrib/${JORTHO_P} - contrib/${JFREECHART_P} - contrib/${POLYML_P} - contrib/${SSH_JAVA_P} - contrib/${XZ_JAVA_P} - contrib/${Z3_P} - EOF - local Z3_RC="${ROOT}usr/share/Isabelle/contrib/${Z3_P}" - [ -d "${Z3_RC}" ] \ - || die "z3 isabelle component directory ${Z3_RC} does not exist" - ln -s "${Z3_RC}" \ - "${S}/contrib/${Z3_P}" \ - || die "Failed to create z3 isabelle component symbolic link" - if use ledit && ! use readline; then - eapply "${FILESDIR}/${PN}-2012-reverse-line-editor-order.patch" - fi - rm -f "${S}/contrib/${JFREECHART_P}/lib"/*.jar \ - || die "Could not rm bundled jar files supplied by Gentoo" -} - -src_compile() { - unset DISPLAY - einfo "Building Isabelle. This may take some time." - pushd contrib/${BP_P} || die "Could not cd to contrib/${BP_P}" - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${BP_PN} ${BP_PN}.c \ - || die "Could not build ${BP_PN}" - popd || die - if use graphbrowsing - then - rm -f "${S}/lib/browser/GraphBrowser.jar" \ - || die "failed cleaning graph browser directory" - pushd "${S}/lib/browser" \ - || die "Could not change directory to lib/browser" - ./build || die "failed building the graph browser" - popd - fi - ./bin/isabelle jedit -b -f || die "pide build failed" - pushd "${S}"/src/Pure || die "Could not change directory to src/Pure" - ../../bin/isabelle env ./build-jars -f || die "build-jars failed" - popd || die - ./bin/isabelle build -a -b -s -v || die "isabelle build failed" -} - -src_install() { - local Z3_P="$(best_version sci-mathematics/z3 | sed 's:sci-mathematics/::')" - rm "${S}/contrib/${Z3_P}" \ - || die "Failed to remove z3 isabelle component symbolic link" - - insinto ${TARGETDIR} - doins -r src - doins -r lib - doins -r contrib - doins ROOTS - - docompress -x /usr/share/doc/${PF} - dodoc -r doc - if use doc; then - dosym /usr/share/doc/${PF}/doc "${TARGETDIR}/doc" - # The build of sci-mathematics/haskabelle with use doc requires - # sci-mathematics/isabelle[doc?]. The haskabelle doc build requires - # the src/Doc directory stuff in the isabelle package. - doins -r src/Doc - for i in $(find ./src/Doc -type f -executable -print) - do - exeinto $(dirname "${TARGETDIR}/${i}") - doexe ${i} - done - fi - - for i in $(find \ - ./{bin,lib,"contrib/${BP_P}/${BP_PN}",src/HOL,src/Pure,src/Tools} \ - -type f -executable -print) - do - exeinto $(dirname "${TARGETDIR}/${i}") - doexe ${i} - done - - insinto /etc/isabelle - doins -r etc/* - dosym /etc/isabelle "${TARGETDIR}/etc" - - local LIBDIR="/usr/"$(get_libdir)"/Isabelle"${MY_PV} - dosym "${LIBDIR}/heaps" "${TARGETDIR}/heaps" - insinto ${LIBDIR} - doins -r heaps - - ./bin/isabelle install -d ${TARGETDIR} "${ED}usr/bin" \ - || die "isabelle install failed" - newicon lib/icons/"${PN}.xpm" "${PN}.xpm" - newicon lib/icons/"${PN}-mini.xpm" "${PN}-mini.xpm" - - java-pkg_regjar \ - $(find . -type f -name \*.jar -print | sed -e "s@^\.@${ED}${TARGETDIR}@g") - - local DOCS=( "ANNOUNCE" "CONTRIBUTORS" "COPYRIGHT" "NEWS" "README" ) - einstalldocs -} - -pkg_postinst() { - # If any of the directories in /etc/isabelle/components do not exist, then - # even isabelle getenv ISABELLE_HOME fails. Hence it is necessary to - # to delete any non-existing directories. If an old Isabelle version was - # installed with component ebuilds like sci-mathematics/e, then the - # Isabelle version is upgraded, then the contrib directories will not - # exist initially, it is necessary to delete them from /etc/isabelle/components. - # Then these components are rebuilt (creating these directories) using the - # EAPI=5 subslot depends. - for i in $(egrep '^[^#].*$' "${ROOT}etc/isabelle/components") - do - if [ ! -d ${TARGETDIR}/${i} ]; then - sed -e "\@${i}@d" -i "${ROOT}etc/isabelle/components" - fi - done - if use ledit && use readline; then - elog "Both readline and ledit use flags specified. The default setting" - elog "if both are installed is to use readline (rlwrap), this can be" - elog "modfied by editing the ISABELLE_LINE_EDITOR setting in" - elog "${ROOT}/etc/isabelle/settings" - fi - elog "Please ensure you have a pdf viewer installed, for example:" - elog "As root: emerge app-text/zathura-pdf-poppler" - elog "Please configure your preferred pdf viewer, something like:" - elog "As normal user: xdg-mime default zathura.desktop application/pdf" - elog "Or alternatively by editing the PDF_VIEWER variable in the system" - elog "settings file ${ROOT}etc/isabelle/settings and/or the user" - elog "settings file \$HOME/.isabelle/${MY_P}/etc/settings" - elog "For nitpick it is necessary to install:" - elog "emerge sci-mathematics/kodkodi" -} diff --git a/sci-mathematics/isabelle/metadata.xml b/sci-mathematics/isabelle/metadata.xml deleted file mode 100644 index d59b385fb4ad..000000000000 --- a/sci-mathematics/isabelle/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>gienah@gentoo.org</email> -</maintainer> -<maintainer type="project"> - <email>sci-mathematics@gentoo.org</email> - <name>Gentoo Mathematics Project</name> -</maintainer> -<longdescription lang="en"> -Isabelle is a generic proof assistant. It allows mathematical -formulas to be expressed in a formal language and provides tools -for proving those formulas in a logical calculus. The main -application is the formalization of mathematical proofs and in -particular formal verification, which includes proving the -correctness of computer hardware or software and proving -properties of computer languages and protocols. -</longdescription> -<use> - <flag name="graphbrowsing">Generate theory browsing information, - including HTML documents that show a theory's definition, the - theorems proved in its ML file and the relationship with its - ancestors and descendants.</flag> - <flag name="ledit">Use ledit for the isabelle tty line editor</flag> - <flag name="readline">Use readline (rlwrap) for the isabelle tty line - editor</flag> -</use> -</pkgmetadata> |