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/l2fprod-common
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/l2fprod-common')
-rw-r--r--dev-java/l2fprod-common/Manifest1
-rw-r--r--dev-java/l2fprod-common/files/l2fprod-common-6.9.1-nodeps.patch37
-rw-r--r--dev-java/l2fprod-common/l2fprod-common-7.3-r2.ebuild50
-rw-r--r--dev-java/l2fprod-common/metadata.xml5
4 files changed, 93 insertions, 0 deletions
diff --git a/dev-java/l2fprod-common/Manifest b/dev-java/l2fprod-common/Manifest
new file mode 100644
index 000000000000..998ea7f5623d
--- /dev/null
+++ b/dev-java/l2fprod-common/Manifest
@@ -0,0 +1 @@
+DIST l2fprod-common-7.3.tar.bz2 475662 SHA256 d774fc617995b584a5d8a73a84f1f0feae45c54a462f8913a86c96846aafef0a SHA512 685dff4cd7a171fbc92d31c6ca25faa2feda2c5a10d5f646e8fa649f53c532d83bd97388518a2720a3b4b8b87c0fa54a63ced23aedbf500e19aa0f618b938a3a WHIRLPOOL c2dd0a4bbbc1b985b3627a1c9461ea5b0d004c5926c4b21e4aa7405299734c68e7fe774016093ad11ada4d832762a35b6a9f1f96ff09f6f782cc0929c826954a
diff --git a/dev-java/l2fprod-common/files/l2fprod-common-6.9.1-nodeps.patch b/dev-java/l2fprod-common/files/l2fprod-common-6.9.1-nodeps.patch
new file mode 100644
index 000000000000..0ada57e1ed0b
--- /dev/null
+++ b/dev-java/l2fprod-common/files/l2fprod-common-6.9.1-nodeps.patch
@@ -0,0 +1,37 @@
+--- components.xml 2006-09-02 13:44:46.000000000 +0300
++++ components.xml.patched 2008-07-21 21:57:20.000000000 +0300
+@@ -179,26 +179,6 @@
+ <include name="com/l2fprod/common/swing/tips/*.java"/>
+ </javadoc>
+ </component>
+-
+- <component name="springrcp">
+- <depend>tasks</depend>
+- <depend>directorychooser</depend>
+- <external-depend groupId="org.springframework" artifactId="spring-richclient" version="2006.02.19"/>
+- <external-depend groupId="org.springframework" artifactId="spring" version="1.2.5"/>
+- <fileset dir="src/java/springrcp" includes="**"/>
+- <resources>
+- <fileset dir="src/java/springrcp" includes="**/*.gif,**/*.png,**/*.properties"/>
+- </resources>
+- <classpath>
+- <pathelement location="build/classes/tasks"/>
+- <pathelement location="build/classes/directorychooser"/>
+- <pathelement location="lib/spring/spring.jar"/>
+- <pathelement location="lib/spring/spring-richclient.jar"/>
+- </classpath>
+- <javadoc>
+- <include name="com/l2fprod/common/springrcp/*.java"/>
+- </javadoc>
+- </component>
+
+ <component name="all"
+ mainclass="com.l2fprod.common.demo.Main"
+@@ -212,7 +192,6 @@
+ <fileset dir="src/java/tasks" includes="**" excludes="**/*.gif,**/*.png,**/*.jpg"/>
+ <fileset dir="src/java/totd" includes="**" excludes="**/*.gif,**/*.png,**/*.jpg"/>
+ <fileset dir="src/java/shared" includes="**/Version.java" excludes="**/*.gif,**/*.png,**/*.jpg"/>
+- <fileset dir="src/java/springrcp" includes="**" excludes="**/*.gif,**/*.png,**/*.jpg"/>
+ <resources>
+ <fileset dir="src/java/buttonbar" includes="**/*.gif,**/*.png,**/*.properties"/>
+ <fileset dir="src/java/directorychooser" includes="**/*.gif,**/*.png,**/*.properties"/>
diff --git a/dev-java/l2fprod-common/l2fprod-common-7.3-r2.ebuild b/dev-java/l2fprod-common/l2fprod-common-7.3-r2.ebuild
new file mode 100644
index 000000000000..c400db20dbc6
--- /dev/null
+++ b/dev-java/l2fprod-common/l2fprod-common-7.3-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+WANT_ANT_TASKS="ant-trax"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Java/Swing GUI components and libraries for building desktop applications"
+HOMEPAGE="http://common.l2fprod.com/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="dev-java/nachocalendar:0
+ dev-java/jcalendar:1.2"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/jreleaseinfo:0
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+
+java_prepare() {
+ # Do not build springrcp and sheet for now, would bloat the deps a lot;
+ # potential USE flag material (spring, calendars deps).
+ epatch "${FILESDIR}/${PN}-6.9.1-nodeps.patch"
+
+ java-pkg_jar-from --build-only --into lib jreleaseinfo jreleaseinfo.jar jreleaseinfo-1.2.0.jar
+}
+
+src_compile() {
+ eant init
+
+ java-ant_bsfix_one build/build4components.xml
+ java-ant_rewrite-classpath build/build4components.xml
+
+ eant -Dgentoo.classpath="$(java-pkg_getjar nachocalendar nachocalendar.jar):$(java-pkg_getjars jcalendar-1.2)" jar
+}
+
+src_install() {
+ java-pkg_dojar build/jars/*.jar
+
+ dodoc README.txt || die
+}
diff --git a/dev-java/l2fprod-common/metadata.xml b/dev-java/l2fprod-common/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/l2fprod-common/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>