summaryrefslogtreecommitdiff
path: root/dev-java/ical4j
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/ical4j
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/ical4j')
-rw-r--r--dev-java/ical4j/Manifest6
-rw-r--r--dev-java/ical4j/files/1.0.5-build.xml.patch80
-rw-r--r--dev-java/ical4j/ical4j-1.0.5.ebuild57
-rw-r--r--dev-java/ical4j/metadata.xml24
4 files changed, 167 insertions, 0 deletions
diff --git a/dev-java/ical4j/Manifest b/dev-java/ical4j/Manifest
new file mode 100644
index 000000000000..48fc0b459aa1
--- /dev/null
+++ b/dev-java/ical4j/Manifest
@@ -0,0 +1,6 @@
+AUX 1.0.5-build.xml.patch 3196 SHA256 460bef8c939ec8f3e357129efa7855768ce6d8ff78f2b5bf308a34e4009d7992 SHA512 888a57e0c2ca9bec191c14dde8b33235b024e5ee764c0fc44e61cd51040f30a8ba4698c5457c1b4acf4180092b152c635ac14521b7bee958c533ce4ad3854e34 WHIRLPOOL 9e32dca603201f9646cadb93b1e92c9ae29b991be79289efe4c74fd44515092d8c9e56b928e50f47292e75ed7b05e9c5bd2261de92821d5c0364aad04e3fbc5d
+DIST ical4j-1.0.5-src.tar.bz2 9307268 SHA256 7fe8bd596489f3f015b904794fb9d9a346823e1750619ec71d6929ba870293f7 SHA512 1c2c1eb6207094fd12036d4eb93afaef820c19c7bce99611ddb9115cd62ece76972b7280364b49643147e4456ef4afca4df23ce4413e0288804183f33c2cc286 WHIRLPOOL 80b71c87bddbe5001f58203b2648a467d766f5dc8b16211d8f45f6770ec7037bab260165c1c526218bf73352884dd24be62b1d58c6d6278b06254fd651831b48
+EBUILD ical4j-1.0.5.ebuild 1460 SHA256 e6eaf733e5c22a7acc33c3f4db8babb19c1b8f0cabd991cc0341eae181c0d426 SHA512 25a69d45544748858f15c291b4032ec2dfc27cfdf07372915e2607680baa0d201c3540ee1401ac2fb67da68a1862c7f58b1a312eb0a8e55d952ebc8707d0a9bb WHIRLPOOL f61014172c5007ee1e74d7d68a55afe90972c59758ef8d5581bd7bada30a9ac8221cea36d9bd57d0653cd87b709557b0c1e6c7341eb89d7eaef4b4708229c607
+MISC ChangeLog 2591 SHA256 739a60dc7bb7b2b7d4ce6b6778d6e676430bb55510c031300d489f4384dca703 SHA512 1eeadc7561491ccb71e6f4ffb86ce50e9f9c212b023443ffeaa9c7c1a8b111a0c74fabb32af2a177d09d53d58fdcaae30f786826ede53014505cef95de178f8f WHIRLPOOL ec1838d53b6849beadc7e6a4247ff0e414d6f3ebf8c842f684ef033a11d27cbe31cf14b87c84f529fc9be055a6b76cad52b8d592e1f154629b128115bd56bd93
+MISC ChangeLog-2015 2313 SHA256 005f6ed33bb1eaeb9ce3827db967fc0366f6f3d23380b8d5f7f6eecc1aa30bff SHA512 323f2587a97f9cb5eb8d0fcb857d2073f5ab21e6547f4a369e94b30f39d41078e3c3b9c195d349e21c737bdabcd3200742dbe392f522de81c8f0b40252db4742 WHIRLPOOL 0d91c48e8278ebd6c03e09e1d0f770968a91e82bfab07e026317cc97b0b18f9590293b288baa143a9c3687578426ad1bec0c068784f0f24d4323e80d284a95af
+MISC metadata.xml 984 SHA256 9760d1e32640b0704e5f597823e6093096f7d0df4207d4d63ba798b443b5ea38 SHA512 23aa711de73797e43a847aa485a1d652b4b02cc6f37ea0b79ced99e101c332c4dfb3ebd90d65a1057f8dbf0f9090f6a7d5e582c9d6f7cef5c61afb8289cc804a WHIRLPOOL 4be326faf65d4937d2557093ffbd576fe1773de354d2fb8fd3f1e810f9f52e08426440cc8c9d145ad65dc5d16f7a440df989393ae83081a0f1595a359db35ed1
diff --git a/dev-java/ical4j/files/1.0.5-build.xml.patch b/dev-java/ical4j/files/1.0.5-build.xml.patch
new file mode 100644
index 000000000000..7e68876616d8
--- /dev/null
+++ b/dev-java/ical4j/files/1.0.5-build.xml.patch
@@ -0,0 +1,80 @@
+diff --git a/ical4j-1.0.5/build.xml b/ical4j-1.0.5/build.xml
+index 512738c..be5aac9 100644
+--- a/ical4j-1.0.5/build.xml
++++ b/ical4j-1.0.5/build.xml
+@@ -14,7 +14,7 @@
+ <property file="build.properties" />
+
+ <!-- Project paths -->
+- <property name="source.dir" location="source" />
++ <property name="source.dir" location="src" />
+ <property name="test.source.dir" location="test" />
+ <property name="output.dir" location="bin" />
+ <property name="package.dir" location="build" />
+@@ -99,7 +99,7 @@
+ <echo message="Compiling source from classpath: ${project.classpath}" />
+ <mkdir dir="${output.dir}" />
+
+- <copy file="${source.dir}/net/fortuna/ical4j/model/tz.alias" todir="${output.dir}/net/fortuna/ical4j/model" />
++ <copy file="src/main/resources/net/fortuna/ical4j/model/tz.alias" todir="${output.dir}/net/fortuna/ical4j/model" />
+
+ <javac source="1.4" target="1.4" srcdir="${source.dir}" destdir="${output.dir}" debug="true" debuglevel="lines,source,vars" deprecation="true" classpathref="project.classpath" />
+ </target>
+@@ -123,7 +123,7 @@
+ <attribute name="Class-Path" value="commons-logging.jar,commons-codec.jar,commons-lang.jar" />
+ </manifest>
+ <jar basedir="${output.dir}" compress="true" jarfile="${package.dir}/${package.file}" manifest="etc/manifest.mf">
+- <zipfileset dir="etc/zoneinfo" prefix="zoneinfo" excludes="zones.h,zones.tab" />
++ <zipfileset dir="/usr/share/zoneinfo" prefix="zoneinfo" excludes="zones.h,zones.tab" />
+ </jar>
+ </target>
+
+@@ -187,10 +187,8 @@
+ <instr instrpathref="coverage.classpath" destdir="${out.instr.dir}" metadatafile="${coverage.dir}/metadata.emma" merge="true" />
+ </emma>
+
+- <junit printsummary="withOutAndErr" showoutput="yes" fork="yes">
+- <!--
+- <classpath path="${project.classpath}"/>
+- -->
++ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
++
+ <classpath>
+ <pathelement location="${out.instr.dir}" />
+ <path refid="coverage.classpath" />
+@@ -198,22 +196,19 @@
+ </classpath>
+ <jvmarg value="-Demma.coverage.out.file=${coverage.dir}/coverage.emma" />
+ <jvmarg value="-Demma.coverage.out.merge=false" />
+- <test name="net.fortuna.ical4j.AllTests" />
+- <!--
+- <batchtest>
+- <fileset dir="${test.source.dir}">
+- <include name="**/*Test.java"/>
+- </fileset>
+- </batchtest>
+- -->
+-
+- <!--
+- <test name="net.fortuna.ical4j.data.CalendarOutputterTest"/>
+- <test name="net.fortuna.ical4j.model.component.VTimeZoneTest"/>
+- <test name="net.fortuna.ical4j.model.component.VEventTest"/>
+- <test name="net.fortuna.ical4j.data.CalendarBuilderTest"/>
+- -->
+- </junit>
++
++
++ <sysproperty key="basedir" value="."/>
++ <formatter type="xml"/>
++ <formatter type="plain" usefile="false"/>
++
++ <batchtest>
++ <fileset dir="${test.source.dir}">
++ <include name="**/*Test.java"/>
++ <exclude name="**/*Abstract*Test.java"/>
++ </fileset>
++ </batchtest>
++ </junit>
+
+ <emma enabled="${emma.enabled}">
+ <report sourcepath="${src.dir}">
diff --git a/dev-java/ical4j/ical4j-1.0.5.ebuild b/dev-java/ical4j/ical4j-1.0.5.ebuild
new file mode 100644
index 000000000000..395a5bdddfa7
--- /dev/null
+++ b/dev-java/ical4j/ical4j-1.0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="a Java library for handling iCalendar data streams"
+HOMEPAGE="http://ical4j.sourceforge.net/"
+MY_PV=${PV/_/-}
+MY_P=${PN}-${MY_PV}
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+
+COMMON_DEP="
+ dev-java/commons-logging:0
+ dev-java/commons-codec:0
+ dev-java/commons-lang:2.1
+ dev-java/backport-util-concurrent:0"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/emma:0
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_P}
+
+java_prepare() {
+ epatch "${FILESDIR}"/${PV}-build.xml.patch
+ rm -v lib/*.jar || die "rm jar failed"
+ #mkdir bin || die "mkdir bin failed"
+ java-pkg_filter-compiler jikes
+}
+
+EANT_ANT_TASKS="emma"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_BUILD_TARGET="package"
+EANT_GENTOO_CLASSPATH="commons-logging,commons-codec,commons-lang-2.1,backport-util-concurrent"
+EANT_EXTRA_ARGS="-Demma.dir=/usr/share/emma/lib/ -Dsource.dir=src/main/java"
+
+RESTRICT="test"
+# two tests fail with maven, they work in HEAD
+
+src_install() {
+ java-pkg_dojar build/*.jar
+ dodoc README AUTHORS CHANGELOG etc/FAQ \
+ etc/TODO etc/standard_deviations.txt
+ use doc && java-pkg_dojavadoc docs/api
+ use source && java-pkg_dosrc src/main/java/net
+ use examples && java-pkg_doexamples etc/samples
+}
diff --git a/dev-java/ical4j/metadata.xml b/dev-java/ical4j/metadata.xml
new file mode 100644
index 000000000000..4299d5f0c299
--- /dev/null
+++ b/dev-java/ical4j/metadata.xml
@@ -0,0 +1,24 @@
+<?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>
+ <longdescription lang="en">
+ iCal4j is a Java library used to read and write iCalendar data streams
+ as defined in RFC2445. The iCalendar standard provides a common data
+ format used to store information about calendar-specific data such as
+ events, appointments, to-do lists, etc. All of the popular calendaring
+ tools, such as Lotus Notes, Outlook and Apple's iCal also support the
+ iCalendar standard.
+
+ Providing both a parser and an object model, iCal4j allows you to either
+ modify existing iCalendar data or create new data models. Validation is
+ also provided to ensure the data maintains a state consistent with the
+ specification.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">ical4j</remote-id>
+ </upstream>
+</pkgmetadata>