diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jikes |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jikes')
-rw-r--r-- | dev-java/jikes/Manifest | 8 | ||||
-rw-r--r-- | dev-java/jikes/files/compiler-settings | 6 | ||||
-rw-r--r-- | dev-java/jikes/files/deprecated.patch | 25 | ||||
-rw-r--r-- | dev-java/jikes/files/jikes | 16 | ||||
-rw-r--r-- | dev-java/jikes/jikes-1.22-r13.ebuild | 37 | ||||
-rw-r--r-- | dev-java/jikes/metadata.xml | 11 |
6 files changed, 103 insertions, 0 deletions
diff --git a/dev-java/jikes/Manifest b/dev-java/jikes/Manifest new file mode 100644 index 000000000000..24706a39611b --- /dev/null +++ b/dev-java/jikes/Manifest @@ -0,0 +1,8 @@ +AUX compiler-settings 148 SHA256 1fbc811d45721ad8672cdbdcf826c26ee33a55956e068e52a7ede11e15f6e472 SHA512 65694da1b1520b062761da80a225e3a37117c981302b98f294686d0fc8b13e163416dae36e5db4eabf3af0e735edeced0c19b93f9bf9b0ca66f5900143044ef9 WHIRLPOOL 430d564f6d933ec0031305fd5e6f401fbe5c4542fbbdf97fbd993305ee72eda7e923fb2353029aed58364f371bebd8f22598aba416c35fe164cb85c0003fee8d +AUX deprecated.patch 995 SHA256 59e09d783e867a95bb2ddabd29e2e8f0bad173731e8b859a45e49f2a3d0d88eb SHA512 a99d25d3cb588677695d5ce549ef476b3bededd8ea2e84835fb9e3af57c182fc2a87ca539991e963a9aae22ff437e453a8e2e20f15e08dbcdfbf83a44d084a18 WHIRLPOOL c55baeb130fc45702ccddbf6f0468f7ea7fea6d03a78f63dd4087a6912748b98d43e4fbbada1a9ffebf838b3f0b9edfeadf28ff7dee54dad8199ea2a9b6d20c9 +AUX jikes 381 SHA256 ede10b0f53b1499aa14337deb7b39d932e635aef0087ffe0cf58672cb1921c09 SHA512 9d55888ab0b372357ed549b16cd16f7592d34caf32fe3bd9f599fb8bdfcdbec184c1ca86be799b696e1dd131da9646cad09b82fa920430e8f0db65c0d3f1efc3 WHIRLPOOL 5e21d563fb5940873b84d621656e8eb3e987e8300b6653a48b19d75b7474594451dd6f86d5bce44dd6110c91e8cd8376a458f68bcd0edade832bb5e774a9bb92 +DIST jikes-1.22.tar.bz2 616655 SHA256 0cb02c763bc441349f6d38cacd52adf762302cce3a08e269f1f75f726e6e14e3 SHA512 6b318f49f075da0cf0558512748bd77072f5b5b0428160538bcba01201c94719ec0f4b0cd0159ddb04fb3a86c323c8f11f09dc4b31cf880fb94e00c1ee0bbc58 WHIRLPOOL 1c97d130c72933d2eb302e3de782f33c0ef2ca59377df554b6391f6eece41d7142a8652d9e9b5e49e0ab134dc7223793b7ef1f67c0fe2ad787993587a87855aa +EBUILD jikes-1.22-r13.ebuild 872 SHA256 d3893c20b5c11f83da05e83806ee542d2a084b54013e26bd9d4f7637d697f742 SHA512 31ce33225ad05d1e6f3031619310d4562ca00866eb2d7f8076449d944eedda78292f381e28f8c3f613d32f54a2d21d6d7681f57500a058ed7b76242eee88efbb WHIRLPOOL ca4226904ce65eb64d077cf1e0afc74fca5d29d6376dfdf867fe2d59313b8fb08eec7af7e5dcae13e15a9308c369b66d55b9d7105cb7a435db61be6e27ced1cf +MISC ChangeLog 2633 SHA256 b3e91a2f571139aa62ee5d30055f21556904de3509d28cd9506546fb9e8fd8dd SHA512 cc30cc07fa2d822217efa211f1b861a1c1ab179a1ce4db506e2ac3499b96d4f41c2ddfbc53118cb8ab549c85d34e0729275b2185bf15a3805679a4ee825c82e5 WHIRLPOOL bb6ccc48723fef134d055359fa7f1faa7e7da31ac5cc329ff07a0c862ac1077aed6b14986c90c250c590c190e1232d1005287379fd96c181465b78a3a9cc7485 +MISC ChangeLog-2015 6807 SHA256 2cdad99f33c6deb58479e2a09aecadf465862f35c53a8a85a48e009f4f1aca56 SHA512 d8a528edfc2b505c1f93fbcb1a970b011bf965190fb4c99e585b46157e214f33b5621d1bbef7f5cfec516f238cb2e911e4d9adb412de966e9e59c958e09de252 WHIRLPOOL c8197533fcf7c4161cc4cacb98e064e328d9fc16a30e6bddb8c46b4f665f0c3dc0af06483b4d13437b19a12edfdb2d5003637337ab3be4a54e6ae698c98789e4 +MISC metadata.xml 311 SHA256 6f02edc728ca395542ed14f7512402fec9d78162e2c36f84eed179130200c365 SHA512 bba5366ad9a24c0531133a800ad83a2e7738cbb302ea5fbff4296c0e2943e8b6b86854499ddf0b536b1e82594d351335bb034c46d8c2d60c3a7f2b8c2a43b481 WHIRLPOOL ae2e3f0ff8b04d2a4bafbf8fe20a9e02552a18398f4fe4f95006e865a962b9558b9b04d80e8f06e75af8395f6c03dfa8e2ea35cd1b5e3be0d8be3475c959434f diff --git a/dev-java/jikes/files/compiler-settings b/dev-java/jikes/files/compiler-settings new file mode 100644 index 000000000000..0e50102cd2ef --- /dev/null +++ b/dev-java/jikes/files/compiler-settings @@ -0,0 +1,6 @@ +JAVAC=/usr/bin/jikes +PACKAGE=dev-java/jikes +SUPPORTED_TARGET="1.1 1.2 1.3 1.4" +SUPPORTED_SOURCE="1.3 1.4" +ANT_BUILD_COMPILER="jikes" +GENERATION="2" diff --git a/dev-java/jikes/files/deprecated.patch b/dev-java/jikes/files/deprecated.patch new file mode 100644 index 000000000000..0fd05253a6df --- /dev/null +++ b/dev-java/jikes/files/deprecated.patch @@ -0,0 +1,25 @@ +--- src/decl.cpp 2004/09/26 22:40:411.144 ++++ src/decl.cpp 2004/10/09 18:04:501.145 +@@ -2596,7 +2596,9 @@ + // + if (control.option.deprecation && + hidden_method -> IsDeprecated() && +- ! method -> containing_type -> file_symbol -> IsClassOnly()) ++ ! method -> containing_type -> file_symbol -> IsClassOnly() && ++ ! method -> IsDeprecated() && ++ ! InDeprecatedContext()) + { + ReportSemError(SemanticError::DEPRECATED_METHOD_OVERRIDE, + left_tok, right_tok, method -> Header(), + +diff -u -r1.159 -r1.160 +--- src/error.cpp 2004/09/26 22:40:411.159 ++++ src/error.cpp 2004/10/10 02:59:401.160 +@@ -513,6 +513,7 @@ + warning[DEPRECATED_FIELD] = WEAK_WARNING; + warning[DEPRECATED_METHOD] = WEAK_WARNING; + warning[DEPRECATED_CONSTRUCTOR] = WEAK_WARNING; ++ warning[DEPRECATED_METHOD_OVERRIDE] = WEAK_WARNING; + + warning[UNNECESSARY_TYPE_IMPORT] = WEAK_WARNING; + warning[MULTIPLE_PUBLIC_TYPES] = WEAK_WARNING; diff --git a/dev-java/jikes/files/jikes b/dev-java/jikes/files/jikes new file mode 100644 index 000000000000..e80c048614df --- /dev/null +++ b/dev-java/jikes/files/jikes @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Copyright (c) 2005, Thomas Matthijs <axxo@gentoo.org> +# Copyright (c) 2005, Gentoo Foundation +# +# Licensed under the GNU General Public License, v2. +# + +[[ -z ${BOOTCLASSPATH} ]] && export BOOTCLASSPATH=$(java-config-2 --runtime) + +if [[ -z "${BOOTCLASSPATH}" ]]; then + echo "!!! Could not find runtime classes" > /dev/stderr + exit 2 +fi + +exec /usr/bin/jikes-bin "$@" diff --git a/dev-java/jikes/jikes-1.22-r13.ebuild b/dev-java/jikes/jikes-1.22-r13.ebuild new file mode 100644 index 000000000000..e6f424f95dde --- /dev/null +++ b/dev-java/jikes/jikes-1.22-r13.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit flag-o-matic eutils + +DESCRIPTION="IBM's open source, high performance Java compiler" +HOMEPAGE="http://jikes.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="IBM" +SLOT="0" +KEYWORDS="amd64 ~arm ppc64 x86 ~x86-fbsd" +IUSE="" +DEPEND="" +RDEPEND=">=dev-java/java-config-2.0.0" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/deprecated.patch +} + +src_compile() { + filter-flags "-fno-rtti" + econf || die "configure problem" + emake || die "compile problem" +} + +src_install () { + make DESTDIR="${D}" install || die "install problem" + dodoc ChangeLog AUTHORS README TODO NEWS + + mv "${D}"/usr/bin/jikes{,-bin} + dobin "${FILESDIR}"/jikes + + insinto /usr/share/java-config-2/compiler + newins "${FILESDIR}"/compiler-settings jikes +} diff --git a/dev-java/jikes/metadata.xml b/dev-java/jikes/metadata.xml new file mode 100644 index 000000000000..4841c1e936ca --- /dev/null +++ b/dev-java/jikes/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">jikes</remote-id> + </upstream> +</pkgmetadata> |