summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/msv
downloadgentoo-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/msv')
-rw-r--r--dev-java/msv/Manifest2
-rw-r--r--dev-java/msv/files/build-20050627-r2.xml62
-rw-r--r--dev-java/msv/files/build-20050627-r3.xml62
-rw-r--r--dev-java/msv/metadata.xml9
-rw-r--r--dev-java/msv/msv-20050627-r2.ebuild50
-rw-r--r--dev-java/msv/msv-20050627-r3.ebuild51
-rw-r--r--dev-java/msv/msv-20130601.ebuild44
7 files changed, 280 insertions, 0 deletions
diff --git a/dev-java/msv/Manifest b/dev-java/msv/Manifest
new file mode 100644
index 000000000000..f79db9d7cd61
--- /dev/null
+++ b/dev-java/msv/Manifest
@@ -0,0 +1,2 @@
+DIST msv-core-2013.6.1-sources.jar 1011944 SHA256 5a76e0712cb97987b900eb7a7437ff0231abd8db94d3d4edd0d724c11372cffd SHA512 3985451ff52e50957fdc22ef598edcd7b02495b834a53a048018064d1a6063d4554a7cb5d7752c2d265b852d17c7a55787d9b1ec2b580988ad005fcbc9c6eb8a WHIRLPOOL e134144ee1daebb84749b8f6bbfb6646e3415c0de5a2e504e6d1c5257127df7ace79597c2bb216f9cd8dbaa80f394b3b02a872e7f15790932b3950cb591e3c26
+DIST msv.20050627.zip 3791703 SHA256 664759fd048d35ed1eea9dbad15cc04475e3c2c5509050cc85c9cbaf778e7278 SHA512 689d18f8091e7a1a213fb0ea49c89fd04020f4e152964ab6813fefee6b034aac591b3837d162366d9a1f6dc7e0a7d452d400bb7757b1e9488de9d019a212a16b WHIRLPOOL dfa8f07688f116c804c5aaf1b0d54bbeff9f9c4e7f20312a12b2b695c5cd71bc3f13b245825ac62a83146e4ed01776d053f747861cb2e0141bab8ba38397d00f
diff --git a/dev-java/msv/files/build-20050627-r2.xml b/dev-java/msv/files/build-20050627-r2.xml
new file mode 100644
index 000000000000..9d6908ce4bd7
--- /dev/null
+++ b/dev-java/msv/files/build-20050627-r2.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+ <property name="dist.docs" value="${dist}/doc/api"/>
+
+ <property name="libdir" value="lib"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <path id="lib.classpath">
+ <fileset dir="${libdir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ <fileset dir="${src}" includes="**/*.properties" />
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}" destdir="${dist.docs}" packagenames="*" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/msv/files/build-20050627-r3.xml b/dev-java/msv/files/build-20050627-r3.xml
new file mode 100644
index 000000000000..9d6908ce4bd7
--- /dev/null
+++ b/dev-java/msv/files/build-20050627-r3.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+ <property name="dist.docs" value="${dist}/doc/api"/>
+
+ <property name="libdir" value="lib"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <path id="lib.classpath">
+ <fileset dir="${libdir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ <fileset dir="${src}" includes="**/*.properties" />
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}" destdir="${dist.docs}" packagenames="*" classpathref="lib.classpath"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/msv/metadata.xml b/dev-java/msv/metadata.xml
new file mode 100644
index 000000000000..aec296600961
--- /dev/null
+++ b/dev-java/msv/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 Sun Multi-Schema XML Validator (MSV) is a Java technology tool
+to validate XML documents against several kinds of XML schemata.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/msv/msv-20050627-r2.ebuild b/dev-java/msv/msv-20050627-r2.ebuild
new file mode 100644
index 000000000000..24d24816f600
--- /dev/null
+++ b/dev-java/msv/msv-20050627-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=1
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 eutils java-ant-2
+
+DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents"
+HOMEPAGE="http://www.sun.com/software/xml/developers/multischema/ https://msv.dev.java.net/"
+SRC_URI="mirror://gentoo/${PN}.${PV}.zip"
+
+LICENSE="BSD Apache-1.1"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/iso-relax:0
+ dev-java/relaxng-datatype:0
+ dev-java/xml-commons-resolver:0
+ dev-java/xerces:2
+ dev-java/xsdlib:0"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp -i "${FILESDIR}/build-${PVR}.xml" build.xml || die
+ rm -v *.jar || die
+
+ mkdir lib && cd lib
+ java-pkg_jar-from iso-relax,relaxng-datatype,xerces-2,xml-commons-resolver,xsdlib
+}
+
+EANT_EXTRA_ARGS="-Dproject.name=${PN}"
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ dodoc README.txt ChangeLog.txt || die
+
+ use doc && java-pkg_dojavadoc dist/doc/api
+ use source && java-pkg_dosrc src/*
+}
diff --git a/dev-java/msv/msv-20050627-r3.ebuild b/dev-java/msv/msv-20050627-r3.ebuild
new file mode 100644
index 000000000000..5a338e610a1a
--- /dev/null
+++ b/dev-java/msv/msv-20050627-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=1
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 eutils java-ant-2
+
+DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents"
+HOMEPAGE="http://www.sun.com/software/xml/developers/multischema/ https://msv.dev.java.net/"
+SRC_URI="mirror://gentoo/${PN}.${PV}.zip"
+
+LICENSE="BSD Apache-1.1"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/iso-relax:0
+ dev-java/relaxng-datatype:0
+ dev-java/xml-commons-resolver:0
+ dev-java/xerces:2
+ dev-java/xsdlib:0"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${RDEPEND}"
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp -i "${FILESDIR}/build-${PVR}.xml" build.xml || die
+ rm -v *.jar || die
+
+ mkdir lib && cd lib
+ java-pkg_jar-from iso-relax,relaxng-datatype,xerces-2,xml-commons-resolver,xsdlib
+}
+
+EANT_EXTRA_ARGS="-Dproject.name=${PN}"
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher msv --main com.sun.msv.driver.textui.Driver
+
+ dodoc README.txt ChangeLog.txt || die
+
+ use doc && java-pkg_dojavadoc dist/doc/api
+ use source && java-pkg_dosrc src/*
+}
diff --git a/dev-java/msv/msv-20130601.ebuild b/dev-java/msv/msv-20130601.ebuild
new file mode 100644
index 000000000000..d3ceef8970a7
--- /dev/null
+++ b/dev-java/msv/msv-20130601.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PV="${PV:4:2}.${PV:6}"
+MY_PV="${PV:0:4}.${MY_PV//0}"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Multi-Schema XML Validator, a Java tool for validating XML documents"
+HOMEPAGE="https://msv.java.net/"
+SRC_URI="http://search.maven.org/remotecontent?filepath=net/java/dev/${PN}/${PN}-core/${MY_PV}/${PN}-core-${MY_PV}-sources.jar"
+LICENSE="BSD Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+CDEPEND="dev-java/iso-relax:0
+ dev-java/relaxng-datatype:0
+ dev-java/xsdlib:0"
+
+RDEPEND="${CDEPEND}
+ dev-java/xerces:2
+ >=virtual/jre-1.5"
+
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.5"
+
+JAVA_GENTOO_CLASSPATH="iso-relax,relaxng-datatype,xsdlib"
+JAVAC_ARGS="-XDignore.symbol.file"
+
+src_compile() {
+ java-pkg-simple_src_compile
+ java-pkg_addres "${PN}.jar" . ! -path "*/doc-files/*" ! -name "*.html"
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_register-dependency xerces-2
+ java-pkg_dolauncher "${PN}" --main com.sun.msv.driver.textui.Driver
+}