summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-05-26 18:33:23 +0000
committerMichał Górny <mgorny@gentoo.org>2015-05-26 18:33:23 +0000
commitef0587724e82a498e00cdcbf28013b9e61702044 (patch)
tree79674d8fe4e54a9a57eefd126e3acad7f691ffe2 /dev-java/sun-j2me-bin
parentRemove lastrited package. (diff)
downloadgentoo-2-ef0587724e82a498e00cdcbf28013b9e61702044.tar.gz
gentoo-2-ef0587724e82a498e00cdcbf28013b9e61702044.tar.bz2
gentoo-2-ef0587724e82a498e00cdcbf28013b9e61702044.zip
Remove lastrited package.
Diffstat (limited to 'dev-java/sun-j2me-bin')
-rw-r--r--dev-java/sun-j2me-bin/files/java-config.patch101
-rw-r--r--dev-java/sun-j2me-bin/metadata.xml5
-rw-r--r--dev-java/sun-j2me-bin/sun-j2me-bin-2.2-r3.ebuild111
-rw-r--r--dev-java/sun-j2me-bin/sun-j2me-bin-2.5.2.01.ebuild109
4 files changed, 0 insertions, 326 deletions
diff --git a/dev-java/sun-j2me-bin/files/java-config.patch b/dev-java/sun-j2me-bin/files/java-config.patch
deleted file mode 100644
index 6905b9fc207d..000000000000
--- a/dev-java/sun-j2me-bin/files/java-config.patch
+++ /dev/null
@@ -1,101 +0,0 @@
---- bin/ktoolbar 2008-02-08 19:49:45.000000000 +0100
-+++ bin/ktoolbar 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
---- bin/prefs 2008-02-08 19:49:45.000000000 +0100
-+++ bin/prefs 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
---- bin/utils 2008-02-08 19:49:45.000000000 +0100
-+++ bin/utils 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
---- bin/wscompile 2008-02-08 19:49:45.000000000 +0100
-+++ bin/wscompile 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
-
---- bin/mekeytool 2008-02-08 19:49:45.000000000 +0100
-+++ bin/mekeytool 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
---- bin/emulator 2008-02-08 19:49:45.000000000 +0100
-+++ bin/emulator 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
-
---- bin/defaultdevice 2008-02-08 19:49:45.000000000 +0100
-+++ bin/defaultdevice 2008-02-08 20:19:57.000000000 +0100
-@@ -1,6 +1,10 @@
- #!/bin/sh
-
--javapathtowtk=`java-config --jdk-home`"/bin/"
-+if [ "`uname -m`" = "x86_64" ]; then
-+ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/"
-+else
-+ javapathtowtk=`java-config --jdk-home`"/bin/"
-+fi
-
- PRG=$0
-
-
diff --git a/dev-java/sun-j2me-bin/metadata.xml b/dev-java/sun-j2me-bin/metadata.xml
deleted file mode 100644
index 7303cef96964..000000000000
--- a/dev-java/sun-j2me-bin/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>java</herd>
-</pkgmetadata>
diff --git a/dev-java/sun-j2me-bin/sun-j2me-bin-2.2-r3.ebuild b/dev-java/sun-j2me-bin/sun-j2me-bin-2.2-r3.ebuild
deleted file mode 100644
index 22f1f986e9ff..000000000000
--- a/dev-java/sun-j2me-bin/sun-j2me-bin-2.2-r3.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2me-bin/sun-j2me-bin-2.2-r3.ebuild,v 1.8 2009/11/25 09:55:53 maekke Exp $
-
-inherit java-pkg-2
-
-DESCRIPTION="Java 2 Micro Edition Wireless Toolkit for developing wireless applications"
-HOMEPAGE="http://java.sun.com/products/j2mewtoolkit/"
-
-DOWNLOAD_URL="http://java.sun.com/products/sjwtoolkit/download-2_2.html"
-BINARY="j2me_wireless_toolkit-${PV//./_}-linux-i386.bin"
-PATCH="j2me_wireless_toolkit-2_2-update_2-linux.zip"
-
-SRC_URI="${BINARY} ${PATCH}"
-LICENSE="sun-bcla-j2me"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-RESTRICT="fetch"
-
-COMMON_DEP="
- dev-java/sun-jaf
- dev-java/sun-javamail
- dev-java/xsdlib"
-RDEPEND="${COMMON_DEP}
- >=virtual/jdk-1.4.2"
-DEPEND="${COMMON_DEP}
- app-arch/unzip"
-
-S=${WORKDIR}
-
-MY_FILE=${DISTDIR}/${BINARY}
-
-pkg_nofetch() {
-
- einfo "Please navigate your browser to ${DOWNLOAD_URL}"
- einfo "scroll down and notice the two download buttons."
- einfo "Click the first Download button for J2ME Wireless Toolkit 2.2"
- einfo "and download ${BINARY}"
- einfo "Then go back to ${DOWNLOAD_URL}"
- einfo "click the second Download button for J2ME Wireless Toolkit 2.2 Patch 200511"
- einfo "and download ${PATCH}"
- einfo ""
- einfo "Put both files to ${DISTDIR} and resume the installation"
-
-}
-
-src_unpack() {
-
- if [[ ! -r ${MY_FILE} ]]; then
-
- eerror "cannot read ${A}. Please check the permission and try again."
- die
-
- fi
-
- #extract compressed data and unpack
- ebegin "Unpacking ${BINARY}"
- dd bs=2048 if=${MY_FILE} of=install.zip skip=10 2>/dev/null || die
- unzip install.zip >/dev/null || die
- eend $?
- rm install.zip
-
- unpack ${PATCH}
-
- #Set the java-bin-path in some scripts
- for file in ktoolbar emulator mekeytool prefs utils wscompile defaultdevice; do
- sed -i -e \
- "s@pathtowtk=\$@pathtowtk=\`java-config --jdk-home\`\"/bin/\"@" \
- ${WORKDIR}/bin/${file} || die
- done
-
- cd ${S}/bin
- rm -f activation.jar mail.jar xsdlib.jar
-
-}
-
-src_install() {
-
- local DIR=/opt/${P}
- cd ${WORKDIR}
-
- einfo "Copying files"
- dodir ${DIR}
- cp -r appdb bin lib wtklib ${D}/${DIR}
- use examples && cp -r apps ${D}/${DIR}
-
- einfo "Setting permissions"
- chmod 755 ${D}/${DIR}/bin/* || die
- chmod 644 ${D}/${DIR}/bin/*.jar || die
-
- einfo "Installing documentation"
- dohtml *.html
- use doc && java-pkg_dohtml -r docs/*
-
- cd ${D}/${DIR}/bin
- java-pkg_jar-from sun-jaf activation.jar
- java-pkg_jar-from sun-javamail mail.jar
- java-pkg_jar-from xsdlib xsdlib.jar
-
- einfo "Registering jar files"
- # The zip files are somehow broken and python zip handling errors on them
- JAVA_PKG_STRICT= java-pkg_regjar \
- ${D}${DIR}/lib/*.jar \
- ${D}${DIR}/wtklib/kenv.zip \
- ${D}${DIR}/wtklib/*.jar
-
- dodir /usr/bin
- dosym ${DIR}/bin/ktoolbar /usr/bin/ktoolbar
-
-}
diff --git a/dev-java/sun-j2me-bin/sun-j2me-bin-2.5.2.01.ebuild b/dev-java/sun-j2me-bin/sun-j2me-bin-2.5.2.01.ebuild
deleted file mode 100644
index 307adc54a975..000000000000
--- a/dev-java/sun-j2me-bin/sun-j2me-bin-2.5.2.01.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2me-bin/sun-j2me-bin-2.5.2.01.ebuild,v 1.3 2010/06/24 22:00:09 pacho Exp $
-
-inherit java-pkg-2
-
-DESCRIPTION="Java 2 Micro Edition Wireless Toolkit for developing wireless applications"
-HOMEPAGE="http://java.sun.com/products/j2mewtoolkit/"
-
-DOWNLOAD_URL="http://java.sun.com/products/sjwtoolkit/download.html"
-BINARY="sun_java_wireless_toolkit-2.5.2_01-linuxi486.bin.sh"
-
-SRC_URI="${BINARY}"
-LICENSE="sun-bcla-j2me"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples"
-RESTRICT="fetch"
-
-COMMON_DEP="
- dev-java/sun-jaf
- dev-java/sun-javamail
- dev-java/xsdlib"
-RDEPEND="${COMMON_DEP}
- >=virtual/jdk-1.4.2
- amd64? ( app-emulation/emul-linux-x86-java )"
-DEPEND="${COMMON_DEP}
- app-arch/unzip"
-
-S=${WORKDIR}
-
-MY_FILE=${DISTDIR}/${BINARY}
-
-pkg_nofetch() {
-
- einfo "Please navigate your browser to"
- einfo "${DOWNLOAD_URL}"
- einfo "scroll down and notice the download button."
- einfo "Click the Download button for J2ME Wireless Toolkit 2.5.2"
- einfo "and download ${BINARY}"
- einfo "Put this file to ${DISTDIR} and resume the installation"
-
-}
-
-src_unpack() {
-
- if [[ ! -r ${MY_FILE} ]]; then
-
- eerror "cannot read ${A}. Please check the permission and try again."
- die
-
- fi
-
- #extract compressed data and unpack
- ebegin "Unpacking ${BINARY}"
- dd bs=2048 if=${MY_FILE} of=install.zip skip=13 2>/dev/null || die
- unzip install.zip >/dev/null || die
- eend $?
- rm install.zip
-
- #Set the java-bin-path in some scripts
- for file in ktoolbar emulator mekeytool prefs utils wscompile defaultdevice; do
- sed -i -e \
- "s@pathtowtk=\$@pathtowtk=\`java-config --jdk-home\`\"/bin/\"@" \
- "${WORKDIR}/bin/${file}" || die
- done
-
- cd "${S}/bin"
- rm -f activation.jar mail.jar xsdlib.jar
-
-}
-
-src_compile() {
- epatch "${FILESDIR}/java-config.patch"
-}
-
-src_install() {
-
- local DIR=/opt/${P}
- cd "${WORKDIR}"
-
- einfo "Copying files"
- dodir ${DIR}
- cp -r j2mewtk_template bin lib wtklib "${D}/${DIR}"
- use examples && cp -r apps "${D}/${DIR}"
-
- einfo "Setting permissions"
- chmod 755 "${D}/${DIR}/bin/"* || die
- chmod 644 "${D}/${DIR}/bin/"*.jar || die
-
- einfo "Installing documentation"
- dohtml *.html
- use doc && java-pkg_dohtml -r docs/*
-
- cd "${D}/${DIR}/bin"
- java-pkg_jar-from sun-jaf activation.jar
- java-pkg_jar-from sun-javamail mail.jar
- java-pkg_jar-from xsdlib xsdlib.jar
-
- einfo "Registering jar files"
- # The zip files are somehow broken and python zip handling errors on them
- JAVA_PKG_STRICT= java-pkg_regjar \
- "${D}${DIR}/lib/"*.jar \
- "${D}${DIR}/wtklib/kenv.zip" \
- "${D}${DIR}/wtklib/"*.jar
-
- dodir /usr/bin
- dosym "${DIR}/bin/ktoolbar" /usr/bin/ktoolbar
-}