summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2017-05-06 09:49:51 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2017-05-06 10:13:19 +0200
commit72de0d63169b6d17793cdc27d332180dc413f9e7 (patch)
tree2443dad3f1c3db10c5bc884ded4787628ce230c2
parentfeb123126157a04f70bf359e29a51f2354b5fa20 (diff)
downloadjava-72de0d63169b6d17793cdc27d332180dc413f9e7.tar.gz
java-72de0d63169b6d17793cdc27d332180dc413f9e7.tar.xz
gcj-jdk: Remove it
* Has some ${LIBDIRS}, meaning it never has been adjusted for multiarch * Same for xulrunner, which it depends on * sys-devel/gcc[java] doesn't exist anymore since quite some time and has been kicked out upstream since gcc7.
-rw-r--r--metadata/repository_mask.conf12
-rw-r--r--packages/dev-lang/gcj-jdk/gcj-jdk-4.8.2.exheres-07
-rw-r--r--packages/dev-lang/gcj-jdk/gcj-jdk.exlib315
3 files changed, 0 insertions, 334 deletions
diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf
index 45a7365..b2fed4d 100644
--- a/metadata/repository_mask.conf
+++ b/metadata/repository_mask.conf
@@ -1,15 +1,3 @@
-dev-lang/gcj-jdk [[
- author = [ Wulf C. Krueger <philantrop@exherbo.org> ]
- date = [ 03 Nov 2013 ]
- token = testing
- description = [
- If you just want a Java JRE or JDK, this is *NOT* what you want.
- Only install this if you really know what you're doing. If you're not
- 100% sure you want this, you most likely want dev-lang/icedtea7 or
- dev-lang/openjdk8 (mind their bootstrap options!).
- ]
-]]
-
dev-lang/openjdk9 [[
author = [ Wulf C. Krueger <philantrop@exherbo.org> ]
date = [ 17 Feb 2015 ]
diff --git a/packages/dev-lang/gcj-jdk/gcj-jdk-4.8.2.exheres-0 b/packages/dev-lang/gcj-jdk/gcj-jdk-4.8.2.exheres-0
deleted file mode 100644
index 93f1430..0000000
--- a/packages/dev-lang/gcj-jdk/gcj-jdk-4.8.2.exheres-0
+++ /dev/null
@@ -1,7 +0,0 @@
-# Copyright 2010 Sterling X. Winter <replica@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-require gcj-jdk
-
-PLATFORMS="~amd64 ~x86"
-
diff --git a/packages/dev-lang/gcj-jdk/gcj-jdk.exlib b/packages/dev-lang/gcj-jdk/gcj-jdk.exlib
deleted file mode 100644
index 3d08b56..0000000
--- a/packages/dev-lang/gcj-jdk/gcj-jdk.exlib
+++ /dev/null
@@ -1,315 +0,0 @@
-# Copyright 2009 Sterling X. Winter <replica@exherbo.org>
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: gjdoc, apache-derby, gcjwebplugin, source
-
-# gcj-jdk presently lacks replacements for the following JDK 6 components
-# (items listed in square brackets [] are classified by Sun as optional):
-#
-# Standard JDK tools in JAVA_HOME/bin
-#
-# apt [klist]
-# extcheck [ktab]
-# HtmlConverter pack200
-# idlj [policytool]
-# [javaws] schemagen
-# jconsole [servertool]
-# jcontrol unpack200
-# jdb wsgen
-# jvisualvm wsimport
-# [kinit] xjc
-#
-# Experimental (can be treated as optional) JDK tools in JAVA_HOME/bin
-#
-# jhat jsadebugd
-# jinfo jstack
-# jmap jstat
-# jps jstatd
-# jrunscript
-#
-# JDK headers in JAVA_HOME/include
-#
-# classfile_constants.h
-# jdwpTransport.h
-# jvmti.h
-#
-# Standard JRE tools in JAVA_HOME/jre/bin
-#
-# java_vm
-# [javaws]
-# jcontrol
-# pack200
-# [policytool]
-# [servertool]
-# unpack200
-#
-# JRE libraries and related files in JAVA_HOME/jre/lib
-#
-# [charsets.jar]
-# deploy.jar
-# [javaws.jar]
-# jce.jar
-# jexec
-# jsse.jar
-# management-agent.jar
-# plugin.jar
-# resources.jar
-#
-# amd64/*
-#
-# ext/
-# [dnsns.jar]
-# [localedata.jar]
-# [sunjce_provider.jar]
-# sunpkcs11.jar
-#
-# security/*
-#
-# JDK libraries and related files in JAVA_HOME/lib
-#
-# ct.sym
-# dt.jar
-# htmlconverter.jar
-# ir.idl
-# jconsole.jar
-# jexec
-# orb.idl
-# sa-jdi.jar
-# visualvm/*
-#
-# Miscellaneous in JAVA_HOME/
-#
-# [db/] Java DB, Sun Microsystems distribution of the Apache Derby
-# database without any modification whatsoever to the
-# underlying source code. gcj-jdk should probably provide
-# this as an option by depending on vanilla Apache Derby and
-# creating the appropriate symlinks.
-#
-# [demo/] Demo applets and applications. It doesn't make sense for
-# gcj-jdk to provide this.
-#
-# man/man1/ Man pages for the missing items in JAVA_HOME/bin.
-#
-# [sample/] Sample code. It doesn't make sense for gcj-jdk to provide
-# this.
-#
-# [src.zip] Archive of the JDK's source files. gcj-jdk should probably
-# try to provide this as an option since it's used by tools
-# like Eclipse (for refactoring, browsing, enhancing the
-# debugger's code stepping/inspection features, etc.).
-#
-# Miscellaneous in JAVA_HOME/jre
-#
-# [javaws/] In Sun JDK 6 this directory contains only a symlink to
-# JAVA_HOME/bin/javaws. gcj-jdk should provide it if/when
-# javaws is supported in GCJ.
-
-require alternatives
-
-export_exlib_phases src_install
-
-SUMMARY="Provides a standard JDK and JRE by wrapping GCJ and related tools"
-DESCRIPTION="
-gcj-jdk aims to be a drop-in replacement for standard JDKs and JREs. As such,
-it may be used to generate and execute JVM bytecode in the same manner as other
-JDKs/JREs. gcj-jdk provides many of the standard tools such as java, javac, and
-javadoc (which are actually symlinks to gij, gcj, and gjdoc), and libraries
-such as rt.jar and tools.jar (symlinks to libgcj.jar and libgcj-tools.jar). The
-currently included components should be sufficient to build and run most Java
-SE 5 (aka 1.5) applications and pretty much all J2SE 1.4 applications. This
-package's versioning mirrors that of the GCJ package (i.e. sys-devel/gcc) it
-wraps. By default 'javac' generates Java 1.5 bytecode and also parses source
-files as 1.5. These specs can be changed by passing '-ftarget=VERSION' and
-'-fsource=VERSION' to 'javac'.
-"
-HOMEPAGE="http://gcc.gnu.org/java/"
-DOWNLOADS="source? ( mirror://gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 )"
-
-LICENCES="GPL-2"
-SLOT="$(ever range 1-2)"
-MYOPTIONS="
- javadb [[ description = [ Enable Java DB aka Apache Derby ] ]]
- nsplugin [[ description = [ Install Java browser plugin ] ]]
- source [[ description = [
- Install src.zip, an archive of the class library source code useful in debugging
- ] ]]
- platform: amd64 x86
-"
-
-# For nsplugin GCC needs to have built libgcjwebplugin.so.
-# In the GCC source tree it's located under:
-# gcc-4.3.3/libjava/classpath/native/plugin/
-DEPENDENCIES="
- build+run:
- dev-java/java-env
- sys-devel/gcc:${SLOT}[~${PV}][java]
-
- javadb? ( dev-java/apache-derby )
- nsplugin? ( dev-libs/xulrunner )
- post:
- virtual/jdk:1.5
- virtual/jre:1.5
-"
-# dev-java/gjdoc
-
-WORK="${WORKBASE}"
-
-gcj-jdk_src_install() {
- local gcc_include_dir="/usr/${LIBDIR}/gcc/${CHOST}/${PV}/include"
- local java_arch
- local java_home="/usr/${LIBDIR}/${PN}-${SLOT}"
-
- if option platform:amd64 ; then
- java_arch="amd64"
- elif option platform:x86 ; then
- java_arch="i386"
- else
- die "Can't determine your arch. Please ask maintainer to add it."
- fi
-
- local symlink_map_bin=(
- "/usr/bin/gappletviewer-${SLOT}" "${java_home}/bin/appletviewer"
- "/usr/bin/gjar-${SLOT}" "${java_home}/bin/jar"
- "/usr/bin/gjarsigner-${SLOT}" "${java_home}/bin/jarsigner"
- "/usr/bin/gij-${SLOT}" "${java_home}/bin/java"
- "/usr/bin/gjavah-${SLOT}" "${java_home}/bin/javah"
- "/usr/bin/jcf-dump-${SLOT}" "${java_home}/bin/javap"
- "/usr/bin/gkeytool-${SLOT}" "${java_home}/bin/keytool"
- "/usr/bin/gnative2ascii-${SLOT}" "${java_home}/bin/native2ascii"
- "/usr/bin/gorbd-${SLOT}" "${java_home}/bin/orbd"
- "/usr/bin/grmic-${SLOT}" "${java_home}/bin/rmic"
- "/usr/bin/grmid-${SLOT}" "${java_home}/bin/rmid"
- "/usr/bin/grmiregistry-${SLOT}" "${java_home}/bin/rmiregistry"
- "/usr/bin/gserialver-${SLOT}" "${java_home}/bin/serialver"
- "/usr/bin/gtnameserv-${SLOT}" "${java_home}/bin/tnameserv"
- ) # "/usr/bin/gjdoc-${gjdoc-slot}" "${java_home}/bin/javadoc"
-
- local symlink_map_include=(
- "${gcc_include_dir}/jawt_md.h" "${java_home}/include/linux/jawt_md.h"
- "${gcc_include_dir}/jni_md.h" "${java_home}/include/linux/jni_md.h"
- "${gcc_include_dir}/jawt.h" "${java_home}/include/jawt.h"
- "${gcc_include_dir}/jni.h" "${java_home}/include/jni.h"
- )
-
- local symlink_map_jre=(
- "/usr/bin/gij-${SLOT}" "${java_home}/jre/bin/java"
- "/usr/bin/gkeytool-${SLOT}" "${java_home}/jre/bin/keytool"
- "/usr/bin/gorbd-${SLOT}" "${java_home}/jre/bin/orbd"
- "/usr/bin/grmid-${SLOT}" "${java_home}/jre/bin/rmid"
- "/usr/bin/grmiregistry-${SLOT}" "${java_home}/jre/bin/rmiregistry"
- "/usr/bin/gtnameserv-${SLOT}" "${java_home}/jre/bin/tnameserv"
- "/usr/${LIBDIR}/gcj-${PV}*/libjvm.so" "${java_home}/jre/lib/${java_arch}/server/libjvm.so"
- "/usr/share/java/libgcj-${PV}.jar" "${java_home}/jre/lib/rt.jar"
- )
-
- local symlink_map_lib=(
- "/usr/share/java/libgcj-tools-${PV}.jar" "${java_home}/lib/tools.jar"
- )
-
- # Mimic a standard JDK tree for JAVA_HOME and PATH purely through symlinks.
- #
- # NOTE: Some Java apps recommend setting JAVA_HOME and PATH in the runtime
- # environment but that shouldn't be necessary when such apps are used with
- # gcj-jdk. If these variables do need to be set for some reason, JAVA_HOME
- # should point to this tree's ${java_home} and PATH should include
- # ${java_home}/bin.
- #
- dodir ${java_home}/bin \
- ${java_home}/include/linux \
- ${java_home}/jre/bin \
- ${java_home}/jre/lib/${java_arch}/server \
- ${java_home}/lib
- set ${symlink_map_bin[@]} \
- ${symlink_map_include[@]} \
- ${symlink_map_jre[@]} \
- ${symlink_map_lib[@]}
- while [[ -n "$@" ]] ; do
- dosym "${1}" "${2}"
- shift 2
- done
-
- # Wrap /usr/bin/gcj-${SLOT} (i.e. javac) to force bytecode compilation
- # instead of gcj's default native compilation.
- #
- insinto "${java_home}/bin"
- hereins javac-wrapper <<EOF
-#!/bin/sh
-/usr/bin/gcj-${SLOT} -C "\$@"
-EOF
- edo chmod 755 "${IMAGE}/${java_home}/bin/javac-wrapper"
- dosym "${java_home}/bin/javac-wrapper" "${java_home}/bin/javac"
-
- # Binaries common to both JAVA_HOME/bin and JAVA_HOME/jre/bin should be
- # mapped below in ${jre_alternatives_map_bin}, not here.
- #
- local jdk_alternatives_map_bin=(
- "/usr/bin/appletviewer" "/usr/bin/gappletviewer-${SLOT}"
- "/usr/bin/jar" "/usr/bin/gjar-${SLOT}"
- "/usr/bin/jarsigner" "/usr/bin/gjarsigner-${SLOT}"
- "/usr/bin/javac" "${java_home}/bin/javac-wrapper"
- "/usr/bin/javah" "/usr/bin/gjavah-${SLOT}"
- "/usr/bin/javap" "/usr/bin/jcf-dump-${SLOT}"
- "/usr/bin/native2ascii" "/usr/bin/gnative2ascii-${SLOT}"
- "/usr/bin/rmic" "/usr/bin/grmic-${SLOT}"
- "/usr/bin/serialver" "/usr/bin/gserialver-${SLOT}"
- ) # "/usr/bin/javadoc" "/usr/bin/gjdoc-${gjdoc-slot}"
-
- local jre_alternatives_map_bin=(
- "/usr/bin/java" "/usr/bin/gij-${SLOT}"
- "/usr/bin/keytool" "/usr/bin/gkeytool-${SLOT}"
- "/usr/bin/orbd" "/usr/bin/gorbd-${SLOT}"
- "/usr/bin/rmid" "/usr/bin/grmid-${SLOT}"
- "/usr/bin/rmiregistry" "/usr/bin/grmiregistry-${SLOT}"
- "/usr/bin/tnameserv" "/usr/bin/gtnameserv-${SLOT}"
- )
-
- # Man pages for binaries common to both JAVA_HOME/bin and JAVA_HOME/jre/bin
- # should be mapped below in ${jre_alternatives_map_man}, not here.
- #
- local jdk_alternatives_map_man=(
- "/usr/share/man/man1/appletviewer.1" "/usr/share/man/man1/gappletviewer-${SLOT}.1"
- "/usr/share/man/man1/jar.1" "/usr/share/man/man1/gjar-${SLOT}.1"
- "/usr/share/man/man1/jarsigner.1" "/usr/share/man/man1/gjarsigner-${SLOT}.1"
- "/usr/share/man/man1/javac.1" "/usr/share/man/man1/gcj-${SLOT}.1"
- "/usr/share/man/man1/javah.1" "/usr/share/man/man1/gjavah-${SLOT}.1"
- "/usr/share/man/man1/javap.1" "/usr/share/man/man1/jcf-dump-${SLOT}.1"
- "/usr/share/man/man1/native2ascii.1" "/usr/share/man/man1/gnative2ascii-${SLOT}.1"
- "/usr/share/man/man1/rmic.1" "/usr/share/man/man1/grmic-${SLOT}.1"
- "/usr/share/man/man1/serialver.1" "/usr/share/man/man1/gserialver-${SLOT}.1"
- ) # "/usr/share/man/man1/javadoc.1" "/usr/share/man/man1/gjdoc-${gjdoc-slot}.1"
-
- local jre_alternatives_map_man=(
- "/usr/share/man/man1/java.1" "/usr/share/man/man1/gij-${SLOT}.1"
- "/usr/share/man/man1/keytool.1" "/usr/share/man/man1/gkeytool-${SLOT}.1"
- "/usr/share/man/man1/orbd.1" "/usr/share/man/man1/gorbd-${SLOT}.1"
- "/usr/share/man/man1/rmid.1" "/usr/share/man/man1/grmid-${SLOT}.1"
- "/usr/share/man/man1/rmiregistry.1" "/usr/share/man/man1/grmiregistry-${SLOT}.1"
- "/usr/share/man/man1/tnameserv.1" "/usr/share/man/man1/gtnameserv-${SLOT}.1"
- )
-
- # Link GCJ's binaries and man pages to standard Java binary and man page
- # names using alternatives. The new binary links go into /usr/bin, which
- # should make setting PATH and JAVA_HOME unnecessary for many apps. The JDK
- # provider will be selectable via the `eclectic java-jdk` module, as will
- # the JRE provider via `eclectic java-jre`.
- #
- local jdk_alternatives=(
- "/usr/${LIBDIR}/jdk" "${java_home}"
- "${jdk_alternatives_map_bin[@]}"
- "${jdk_alternatives_map_man[@]}"
- )
- local jre_alternatives=(
- "/usr/${LIBDIR}/jre" "${java_home}/jre"
- "${jre_alternatives_map_bin[@]}"
- "${jre_alternatives_map_man[@]}"
- )
- alternatives_for "java-jdk" "${PN}-${SLOT}" "${SLOT}" "${jdk_alternatives[@]}"
- alternatives_for "java-jre" "${PN}-${SLOT}" "${SLOT}" "${jre_alternatives[@]}"
-
- # Alternatives module providing an unversioned /usr/lib*/gcj-jdk symlink to
- # allow selection between gcj-jdk slots independently of currently-selected
- # gcc and java-jdk alternatives. The symlink is used for bootstrapping
- # icedtea6 with ecj.
- alternatives_for "${PN}" "${PN}-${SLOT}" "${SLOT}" "/usr/${LIBDIR}/${PN}" "${java_home}"
-}
-