diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jmf-bin | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/jmf-bin')
-rw-r--r-- | dev-java/jmf-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmfcustomizer | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmfinit | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmfregistry | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/files/jmstudio | 31 | ||||
-rw-r--r-- | dev-java/jmf-bin/jmf-bin-2.1.1e-r2.ebuild | 47 | ||||
-rw-r--r-- | dev-java/jmf-bin/metadata.xml | 9 |
7 files changed, 181 insertions, 0 deletions
diff --git a/dev-java/jmf-bin/Manifest b/dev-java/jmf-bin/Manifest new file mode 100644 index 000000000000..2f3c149286ca --- /dev/null +++ b/dev-java/jmf-bin/Manifest @@ -0,0 +1 @@ +DIST jmf-2_1_1e-alljava.zip 1959196 RMD160 bc376ac1a933979943af7c98b7550e9c739e0e3c SHA1 69a363e2dfb43787adabff87ae14a9bda6608d24 SHA256 6961ee0c8de9de245ebc9abdfd69640e8cc42c6b8d1bd43783a8b8eec4124160 diff --git a/dev-java/jmf-bin/files/jmfcustomizer b/dev-java/jmf-bin/files/jmfcustomizer new file mode 100644 index 000000000000..f6de6e48a115 --- /dev/null +++ b/dev-java/jmf-bin/files/jmfcustomizer @@ -0,0 +1,31 @@ +#!/bin/sh +# jmfcustomizer +# Author: Dylan Carlson +# May 2003 +# $Id$ + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="`/usr/bin/java-config --classpath=jmf-bin`:${CLASSPATH}" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +exec ${JAVA_HOME}/bin/java JMFCustomizer $* diff --git a/dev-java/jmf-bin/files/jmfinit b/dev-java/jmf-bin/files/jmfinit new file mode 100644 index 000000000000..40c1e8ae1521 --- /dev/null +++ b/dev-java/jmf-bin/files/jmfinit @@ -0,0 +1,31 @@ +#!/bin/sh +# jmfinit +# Author: Dylan Carlson +# May 2003 +# $Id$ + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="`/usr/bin/java-config --classpath=jmf-bin`:${CLASSPATH}" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +exec ${JAVA_HOME}/bin/java JMFInit $* diff --git a/dev-java/jmf-bin/files/jmfregistry b/dev-java/jmf-bin/files/jmfregistry new file mode 100644 index 000000000000..db7a1fd56dd8 --- /dev/null +++ b/dev-java/jmf-bin/files/jmfregistry @@ -0,0 +1,31 @@ +#!/bin/sh +# jmfregistry +# Author: Dylan Carlson +# May 2003 +# $Id$ + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="`/usr/bin/java-config --classpath=jmf-bin`:${CLASSPATH}" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +exec ${JAVA_HOME}/bin/java JMFRegistry $* diff --git a/dev-java/jmf-bin/files/jmstudio b/dev-java/jmf-bin/files/jmstudio new file mode 100644 index 000000000000..5c96746bdd7f --- /dev/null +++ b/dev-java/jmf-bin/files/jmstudio @@ -0,0 +1,31 @@ +#!/bin/sh +# jmstudio +# Author: Dylan Carlson +# May 2003 +# $Id$ + +JAVA_HOME=`/usr/bin/java-config --jdk-home` +if [ -z "${JAVA_HOME}" ] ; then + JAVA_HOME=`/usr/bin/java-config --jre-home` +fi +CLASSPATH="`/usr/bin/java-config --classpath=jmf-bin`:${CLASSPATH}" + +if [ ! -f ${JAVA_HOME}/bin/java ] ; then + echo " " + echo "I tried using the following Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Java Runtime missing. Please run java-config(1) and ensure" + echo "your environment is configured properly." + exit 1 +else + echo " " + echo "Using Java Runtime:" + echo "${JAVA_HOME}/bin/java" + echo " " + echo "Using CLASSPATH:" + echo "${CLASSPATH}" + echo " " +fi + +exec ${JAVA_HOME}/bin/java -Dawt.toolkit=sun.awt.motif.MToolkit JMStudio $* diff --git a/dev-java/jmf-bin/jmf-bin-2.1.1e-r2.ebuild b/dev-java/jmf-bin/jmf-bin-2.1.1e-r2.ebuild new file mode 100644 index 000000000000..ac381780fd4e --- /dev/null +++ b/dev-java/jmf-bin/jmf-bin-2.1.1e-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +At="${PN%-bin}-2_1_1e-alljava.zip" +S="${WORKDIR}/JMF-${PV}" +DESCRIPTION="The Java Media Framework API (JMF)" +SRC_URI="${At}" +HOMEPAGE="http://www.oracle.com/technetwork/java/javase/tech/index-jsp-140239.html" +KEYWORDS="amd64 ~ppc x86" +IUSE="" +LICENSE="sun-bcla-jmf" +SLOT="0" +DEPEND=">=app-arch/unzip-5.50-r1" +RDEPEND=">=virtual/jre-1.4" +RESTRICT="fetch" +DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/download-142937.html" + +pkg_nofetch() { + elog + elog " Due to license restrictions, we cannot fetch the" + elog " distributables automatically." + elog + elog " 1. Visit ${DOWNLOAD_URL} and select 'Linux'" + elog " 2. Download ${At}" + elog " 3. Move file to ${DISTDIR}" + elog " 4. Run emerge on this package again to complete" + elog +} + +src_unpack() { + unzip -qq "${DISTDIR}"/${At} || die +} + +src_install() { + dobin \ + "${FILESDIR}"/jmfcustomizer \ + "${FILESDIR}"/jmfinit \ + "${FILESDIR}"/jmfregistry \ + "${FILESDIR}"/jmstudio + dohtml "${S}"/doc/*.html + java-pkg_dojar "${S}"/lib/*.jar + insinto /usr/share/${PN}/lib + doins lib/jmf.properties +} diff --git a/dev-java/jmf-bin/metadata.xml b/dev-java/jmf-bin/metadata.xml new file mode 100644 index 000000000000..c91146ece995 --- /dev/null +++ b/dev-java/jmf-bin/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <longdescription> + The Java Media Framework API (JMF) enables audio, video and other + time-based media to be added to Java applications and applets. + </longdescription> +</pkgmetadata> |