* [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/
@ 2011-09-27 17:44 Alex Legler
0 siblings, 0 replies; 6+ messages in thread
From: Alex Legler @ 2011-09-27 17:44 UTC (permalink / raw
To: gentoo-commits
commit: a0f0c0344158cfbfae33d818c0686513e6358ab7
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Tue Sep 27 17:41:30 2011 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 17:41:30 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=a0f0c034
Add jaffl ebuild
---
dev-java/jaffl/files/library-path-0.5.1.patch | 9 +++
dev-java/jaffl/files/library-path-0.5.9.patch | 10 +++
dev-java/jaffl/files/library-path.patch | 9 +++
dev-java/jaffl/jaffl-0.5.9.ebuild | 76 +++++++++++++++++++++++++
dev-java/jaffl/metadata.xml | 10 +++
5 files changed, 114 insertions(+), 0 deletions(-)
diff --git a/dev-java/jaffl/files/library-path-0.5.1.patch b/dev-java/jaffl/files/library-path-0.5.1.patch
new file mode 100644
index 0000000..2a0335e
--- /dev/null
+++ b/dev-java/jaffl/files/library-path-0.5.1.patch
@@ -0,0 +1,9 @@
+--- src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:00.000000000 +1200
++++ src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:49.000000000 +1200
+@@ -53,5 +53,6 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ }
diff --git a/dev-java/jaffl/files/library-path-0.5.9.patch b/dev-java/jaffl/files/library-path-0.5.9.patch
new file mode 100644
index 0000000..4782f17
--- /dev/null
+++ b/dev-java/jaffl/files/library-path-0.5.9.patch
@@ -0,0 +1,10 @@
+--- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
++++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
+@@ -23,6 +23,7 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ };
+
diff --git a/dev-java/jaffl/files/library-path.patch b/dev-java/jaffl/files/library-path.patch
new file mode 100644
index 0000000..0e7459d
--- /dev/null
+++ b/dev-java/jaffl/files/library-path.patch
@@ -0,0 +1,9 @@
+--- src/com/kenai/jaffl/provider/Library.java.orig 2009-12-31 09:30:08.000000000 +1300
++++ src/com/kenai/jaffl/provider/Library.java 2009-12-31 09:38:11.000000000 +1300
+@@ -53,5 +53,6 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ }
diff --git a/dev-java/jaffl/jaffl-0.5.9.ebuild b/dev-java/jaffl/jaffl-0.5.9.ebuild
new file mode 100644
index 0000000..f47f092
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.9.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+CDEPEND="dev-java/jffi:0.4
+ dev-java/jnr-x86asm:0
+ dev-java/asm:3"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${CDEPEND}
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4:0
+ dev-java/hamcrest-core:0
+ )"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}" || die
+ mv * "${P}" || die
+}
+
+java_prepare() {
+ rm -vf lib/{.,junit*}/*.jar
+
+ epatch "${FILESDIR}/library-path-${PV}.patch" || die
+
+ java-pkg_jar-from --into lib jffi-0.4
+ java-pkg_jar-from --into lib jnr-x86asm
+ java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+ -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+ -Dproject.jffi=\"${S}\" \
+ -Dproject.jnr-x86asm=\"${S}\"
+ -D\"already.built.${S}\"=true"
+
+src_install() {
+ java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+ local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
+ ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+ -Drun.jvmargs="-Djava.library.path=${paths}" \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
diff --git a/dev-java/jaffl/metadata.xml b/dev-java/jaffl/metadata.xml
new file mode 100644
index 0000000..bad2378
--- /dev/null
+++ b/dev-java/jaffl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ A native function invocation interface that can have multiple different
+ low level implementations (e.g. JNA, JFFI or Maxine)
+ </longdescription>
+</pkgmetadata>
+
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/
@ 2012-01-23 20:05 Hans de Graaff
0 siblings, 0 replies; 6+ messages in thread
From: Hans de Graaff @ 2012-01-23 20:05 UTC (permalink / raw
To: gentoo-commits
commit: 1dac523d4da51ecd25b6b609c3df971f4adb3728
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Jan 23 20:04:59 2012 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 20:04:59 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=1dac523d
This is now jnr-ffi which is already in our main tree.
---
dev-java/jaffl/ChangeLog | 12 ----
dev-java/jaffl/files/library-path-0.5.1.patch | 9 ---
dev-java/jaffl/files/library-path-0.5.9.patch | 10 ---
dev-java/jaffl/files/library-path.patch | 9 ---
dev-java/jaffl/jaffl-0.5.10.ebuild | 76 -------------------------
dev-java/jaffl/jaffl-0.5.9.ebuild | 76 -------------------------
dev-java/jaffl/metadata.xml | 10 ---
7 files changed, 0 insertions(+), 202 deletions(-)
diff --git a/dev-java/jaffl/ChangeLog b/dev-java/jaffl/ChangeLog
deleted file mode 100644
index 375ac8c..0000000
--- a/dev-java/jaffl/ChangeLog
+++ /dev/null
@@ -1,12 +0,0 @@
-# ChangeLog for dev-java/jaffl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 08 Jan 2012; Hans de Graaff <graaff@gentoo.org> jaffl-0.5.10.ebuild:
- Install jar properly, fix by ali_bush.
-
-*jaffl-0.5.10 (07 Jan 2012)
-
- 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> +jaffl-0.5.10.ebuild:
- Version bump by ali_bush.
-
diff --git a/dev-java/jaffl/files/library-path-0.5.1.patch b/dev-java/jaffl/files/library-path-0.5.1.patch
deleted file mode 100644
index 2a0335e..0000000
--- a/dev-java/jaffl/files/library-path-0.5.1.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:00.000000000 +1200
-+++ src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:49.000000000 +1200
-@@ -53,5 +53,6 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- }
diff --git a/dev-java/jaffl/files/library-path-0.5.9.patch b/dev-java/jaffl/files/library-path-0.5.9.patch
deleted file mode 100644
index 4782f17..0000000
--- a/dev-java/jaffl/files/library-path-0.5.9.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
-+++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
-@@ -23,6 +23,7 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- };
-
diff --git a/dev-java/jaffl/files/library-path.patch b/dev-java/jaffl/files/library-path.patch
deleted file mode 100644
index 0e7459d..0000000
--- a/dev-java/jaffl/files/library-path.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java.orig 2009-12-31 09:30:08.000000000 +1300
-+++ src/com/kenai/jaffl/provider/Library.java 2009-12-31 09:38:11.000000000 +1300
-@@ -53,5 +53,6 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- }
diff --git a/dev-java/jaffl/jaffl-0.5.10.ebuild b/dev-java/jaffl/jaffl-0.5.10.ebuild
deleted file mode 100644
index 35d15f2..0000000
--- a/dev-java/jaffl/jaffl-0.5.10.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="http://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-CDEPEND="dev-java/jffi:0.4
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit4:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}" || die
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}/library-path-0.5.9.patch" || die
-
- java-pkg_jar-from --into lib jffi-0.4
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_install() {
- java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
- ANT_TASKS="ant-junit4 ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
diff --git a/dev-java/jaffl/jaffl-0.5.9.ebuild b/dev-java/jaffl/jaffl-0.5.9.ebuild
deleted file mode 100644
index f47f092..0000000
--- a/dev-java/jaffl/jaffl-0.5.9.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-CDEPEND="dev-java/jffi:0.4
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit4:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}" || die
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}/library-path-${PV}.patch" || die
-
- java-pkg_jar-from --into lib jffi-0.4
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_install() {
- java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
- ANT_TASKS="ant-junit4 ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
diff --git a/dev-java/jaffl/metadata.xml b/dev-java/jaffl/metadata.xml
deleted file mode 100644
index bad2378..0000000
--- a/dev-java/jaffl/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>java</herd>
- <longdescription lang="en">
- A native function invocation interface that can have multiple different
- low level implementations (e.g. JNA, JFFI or Maxine)
- </longdescription>
-</pkgmetadata>
-
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/
@ 2012-05-28 5:28 Hans de Graaff
0 siblings, 0 replies; 6+ messages in thread
From: Hans de Graaff @ 2012-05-28 5:28 UTC (permalink / raw
To: gentoo-commits
commit: 1f31843482c5d555f8cb30e4eb95aec9784dabf9
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Fri May 25 07:40:51 2012 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri May 25 07:40:51 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=1f318434
Revert "This is now jnr-ffi which is already in our main tree."
This reverts commit 1dac523d4da51ecd25b6b609c3df971f4adb3728.
---
dev-java/jaffl/ChangeLog | 12 ++++
dev-java/jaffl/files/library-path-0.5.1.patch | 9 +++
dev-java/jaffl/files/library-path-0.5.9.patch | 10 +++
dev-java/jaffl/files/library-path.patch | 9 +++
dev-java/jaffl/jaffl-0.5.10.ebuild | 76 +++++++++++++++++++++++++
dev-java/jaffl/jaffl-0.5.9.ebuild | 76 +++++++++++++++++++++++++
dev-java/jaffl/metadata.xml | 10 +++
7 files changed, 202 insertions(+), 0 deletions(-)
diff --git a/dev-java/jaffl/ChangeLog b/dev-java/jaffl/ChangeLog
new file mode 100644
index 0000000..375ac8c
--- /dev/null
+++ b/dev-java/jaffl/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/jaffl
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Jan 2012; Hans de Graaff <graaff@gentoo.org> jaffl-0.5.10.ebuild:
+ Install jar properly, fix by ali_bush.
+
+*jaffl-0.5.10 (07 Jan 2012)
+
+ 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> +jaffl-0.5.10.ebuild:
+ Version bump by ali_bush.
+
diff --git a/dev-java/jaffl/files/library-path-0.5.1.patch b/dev-java/jaffl/files/library-path-0.5.1.patch
new file mode 100644
index 0000000..2a0335e
--- /dev/null
+++ b/dev-java/jaffl/files/library-path-0.5.1.patch
@@ -0,0 +1,9 @@
+--- src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:00.000000000 +1200
++++ src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:49.000000000 +1200
+@@ -53,5 +53,6 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ }
diff --git a/dev-java/jaffl/files/library-path-0.5.9.patch b/dev-java/jaffl/files/library-path-0.5.9.patch
new file mode 100644
index 0000000..4782f17
--- /dev/null
+++ b/dev-java/jaffl/files/library-path-0.5.9.patch
@@ -0,0 +1,10 @@
+--- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
++++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
+@@ -23,6 +23,7 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ };
+
diff --git a/dev-java/jaffl/files/library-path.patch b/dev-java/jaffl/files/library-path.patch
new file mode 100644
index 0000000..0e7459d
--- /dev/null
+++ b/dev-java/jaffl/files/library-path.patch
@@ -0,0 +1,9 @@
+--- src/com/kenai/jaffl/provider/Library.java.orig 2009-12-31 09:30:08.000000000 +1300
++++ src/com/kenai/jaffl/provider/Library.java 2009-12-31 09:38:11.000000000 +1300
+@@ -53,5 +53,6 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ }
diff --git a/dev-java/jaffl/jaffl-0.5.10.ebuild b/dev-java/jaffl/jaffl-0.5.10.ebuild
new file mode 100644
index 0000000..35d15f2
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.10.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="http://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-java/jffi:0.4
+ dev-java/jnr-x86asm:0
+ dev-java/asm:3"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${CDEPEND}
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4:0
+ dev-java/hamcrest-core:0
+ )"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}" || die
+ mv * "${P}" || die
+}
+
+java_prepare() {
+ rm -vf lib/{.,junit*}/*.jar
+
+ epatch "${FILESDIR}/library-path-0.5.9.patch" || die
+
+ java-pkg_jar-from --into lib jffi-0.4
+ java-pkg_jar-from --into lib jnr-x86asm
+ java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+ -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+ -Dproject.jffi=\"${S}\" \
+ -Dproject.jnr-x86asm=\"${S}\"
+ -D\"already.built.${S}\"=true"
+
+src_install() {
+ java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+ local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
+ ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+ -Drun.jvmargs="-Djava.library.path=${paths}" \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
diff --git a/dev-java/jaffl/jaffl-0.5.9.ebuild b/dev-java/jaffl/jaffl-0.5.9.ebuild
new file mode 100644
index 0000000..f47f092
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.9.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+CDEPEND="dev-java/jffi:0.4
+ dev-java/jnr-x86asm:0
+ dev-java/asm:3"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${CDEPEND}
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4:0
+ dev-java/hamcrest-core:0
+ )"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}" || die
+ mv * "${P}" || die
+}
+
+java_prepare() {
+ rm -vf lib/{.,junit*}/*.jar
+
+ epatch "${FILESDIR}/library-path-${PV}.patch" || die
+
+ java-pkg_jar-from --into lib jffi-0.4
+ java-pkg_jar-from --into lib jnr-x86asm
+ java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+ -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+ -Dproject.jffi=\"${S}\" \
+ -Dproject.jnr-x86asm=\"${S}\"
+ -D\"already.built.${S}\"=true"
+
+src_install() {
+ java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+ local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
+ ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+ -Drun.jvmargs="-Djava.library.path=${paths}" \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
diff --git a/dev-java/jaffl/metadata.xml b/dev-java/jaffl/metadata.xml
new file mode 100644
index 0000000..bad2378
--- /dev/null
+++ b/dev-java/jaffl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ A native function invocation interface that can have multiple different
+ low level implementations (e.g. JNA, JFFI or Maxine)
+ </longdescription>
+</pkgmetadata>
+
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/
@ 2012-07-09 9:48 Hans de Graaff
0 siblings, 0 replies; 6+ messages in thread
From: Hans de Graaff @ 2012-07-09 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 64fcbfded41b8e0d409be9f04483793813680902
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Jul 9 09:48:18 2012 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Jul 9 09:48:18 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=64fcbfde
Obsolete and no longer used by new versions of jruby.
---
dev-java/jaffl/ChangeLog | 12 ----
dev-java/jaffl/files/library-path-0.5.1.patch | 9 ---
dev-java/jaffl/files/library-path-0.5.9.patch | 10 ---
dev-java/jaffl/files/library-path.patch | 9 ---
dev-java/jaffl/jaffl-0.5.10.ebuild | 76 -------------------------
dev-java/jaffl/jaffl-0.5.9.ebuild | 76 -------------------------
dev-java/jaffl/metadata.xml | 10 ---
7 files changed, 0 insertions(+), 202 deletions(-)
diff --git a/dev-java/jaffl/ChangeLog b/dev-java/jaffl/ChangeLog
deleted file mode 100644
index 375ac8c..0000000
--- a/dev-java/jaffl/ChangeLog
+++ /dev/null
@@ -1,12 +0,0 @@
-# ChangeLog for dev-java/jaffl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 08 Jan 2012; Hans de Graaff <graaff@gentoo.org> jaffl-0.5.10.ebuild:
- Install jar properly, fix by ali_bush.
-
-*jaffl-0.5.10 (07 Jan 2012)
-
- 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> +jaffl-0.5.10.ebuild:
- Version bump by ali_bush.
-
diff --git a/dev-java/jaffl/files/library-path-0.5.1.patch b/dev-java/jaffl/files/library-path-0.5.1.patch
deleted file mode 100644
index 2a0335e..0000000
--- a/dev-java/jaffl/files/library-path-0.5.1.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:00.000000000 +1200
-+++ src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:49.000000000 +1200
-@@ -53,5 +53,6 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- }
diff --git a/dev-java/jaffl/files/library-path-0.5.9.patch b/dev-java/jaffl/files/library-path-0.5.9.patch
deleted file mode 100644
index 4782f17..0000000
--- a/dev-java/jaffl/files/library-path-0.5.9.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
-+++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
-@@ -23,6 +23,7 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- };
-
diff --git a/dev-java/jaffl/files/library-path.patch b/dev-java/jaffl/files/library-path.patch
deleted file mode 100644
index 0e7459d..0000000
--- a/dev-java/jaffl/files/library-path.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java.orig 2009-12-31 09:30:08.000000000 +1300
-+++ src/com/kenai/jaffl/provider/Library.java 2009-12-31 09:38:11.000000000 +1300
-@@ -53,5 +53,6 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- }
diff --git a/dev-java/jaffl/jaffl-0.5.10.ebuild b/dev-java/jaffl/jaffl-0.5.10.ebuild
deleted file mode 100644
index 35d15f2..0000000
--- a/dev-java/jaffl/jaffl-0.5.10.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="http://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-CDEPEND="dev-java/jffi:0.4
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit4:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}" || die
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}/library-path-0.5.9.patch" || die
-
- java-pkg_jar-from --into lib jffi-0.4
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_install() {
- java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
- ANT_TASKS="ant-junit4 ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
diff --git a/dev-java/jaffl/jaffl-0.5.9.ebuild b/dev-java/jaffl/jaffl-0.5.9.ebuild
deleted file mode 100644
index f47f092..0000000
--- a/dev-java/jaffl/jaffl-0.5.9.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-CDEPEND="dev-java/jffi:0.4
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit4:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}" || die
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}/library-path-${PV}.patch" || die
-
- java-pkg_jar-from --into lib jffi-0.4
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_install() {
- java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
- ANT_TASKS="ant-junit4 ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
diff --git a/dev-java/jaffl/metadata.xml b/dev-java/jaffl/metadata.xml
deleted file mode 100644
index bad2378..0000000
--- a/dev-java/jaffl/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>java</herd>
- <longdescription lang="en">
- A native function invocation interface that can have multiple different
- low level implementations (e.g. JNA, JFFI or Maxine)
- </longdescription>
-</pkgmetadata>
-
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/
@ 2012-09-24 14:45 Hans de Graaff
0 siblings, 0 replies; 6+ messages in thread
From: Hans de Graaff @ 2012-09-24 14:45 UTC (permalink / raw
To: gentoo-commits
commit: accb68c5be4c90eda63ac7c6208c8c90f882a244
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Fri Jul 13 05:55:30 2012 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jul 13 05:55:30 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=accb68c5
Revert "Obsolete and no longer used by new versions of jruby."
This reverts commit 64fcbfded41b8e0d409be9f04483793813680902.
Reverting this yet again, because jaffl is still being used by jruby,
indirectly via jnr-netdb, and I can't get things working properly
with the jaffl versions in the tree.
---
dev-java/jaffl/ChangeLog | 12 ++++
dev-java/jaffl/files/library-path-0.5.1.patch | 9 +++
dev-java/jaffl/files/library-path-0.5.9.patch | 10 +++
dev-java/jaffl/files/library-path.patch | 9 +++
dev-java/jaffl/jaffl-0.5.10.ebuild | 76 +++++++++++++++++++++++++
dev-java/jaffl/jaffl-0.5.9.ebuild | 76 +++++++++++++++++++++++++
dev-java/jaffl/metadata.xml | 10 +++
7 files changed, 202 insertions(+), 0 deletions(-)
diff --git a/dev-java/jaffl/ChangeLog b/dev-java/jaffl/ChangeLog
new file mode 100644
index 0000000..375ac8c
--- /dev/null
+++ b/dev-java/jaffl/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/jaffl
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 08 Jan 2012; Hans de Graaff <graaff@gentoo.org> jaffl-0.5.10.ebuild:
+ Install jar properly, fix by ali_bush.
+
+*jaffl-0.5.10 (07 Jan 2012)
+
+ 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> +jaffl-0.5.10.ebuild:
+ Version bump by ali_bush.
+
diff --git a/dev-java/jaffl/files/library-path-0.5.1.patch b/dev-java/jaffl/files/library-path-0.5.1.patch
new file mode 100644
index 0000000..2a0335e
--- /dev/null
+++ b/dev-java/jaffl/files/library-path-0.5.1.patch
@@ -0,0 +1,9 @@
+--- src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:00.000000000 +1200
++++ src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:49.000000000 +1200
+@@ -53,5 +53,6 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ }
diff --git a/dev-java/jaffl/files/library-path-0.5.9.patch b/dev-java/jaffl/files/library-path-0.5.9.patch
new file mode 100644
index 0000000..4782f17
--- /dev/null
+++ b/dev-java/jaffl/files/library-path-0.5.9.patch
@@ -0,0 +1,10 @@
+--- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
++++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
+@@ -23,6 +23,7 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ };
+
diff --git a/dev-java/jaffl/files/library-path.patch b/dev-java/jaffl/files/library-path.patch
new file mode 100644
index 0000000..0e7459d
--- /dev/null
+++ b/dev-java/jaffl/files/library-path.patch
@@ -0,0 +1,9 @@
+--- src/com/kenai/jaffl/provider/Library.java.orig 2009-12-31 09:30:08.000000000 +1300
++++ src/com/kenai/jaffl/provider/Library.java 2009-12-31 09:38:11.000000000 +1300
+@@ -53,5 +53,6 @@
+ userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
+ // Add JNA paths for compatibility
+ userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
++ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
+ }
+ }
diff --git a/dev-java/jaffl/jaffl-0.5.10.ebuild b/dev-java/jaffl/jaffl-0.5.10.ebuild
new file mode 100644
index 0000000..35d15f2
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.10.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="http://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-java/jffi:0.4
+ dev-java/jnr-x86asm:0
+ dev-java/asm:3"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${CDEPEND}
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4:0
+ dev-java/hamcrest-core:0
+ )"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}" || die
+ mv * "${P}" || die
+}
+
+java_prepare() {
+ rm -vf lib/{.,junit*}/*.jar
+
+ epatch "${FILESDIR}/library-path-0.5.9.patch" || die
+
+ java-pkg_jar-from --into lib jffi-0.4
+ java-pkg_jar-from --into lib jnr-x86asm
+ java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+ -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+ -Dproject.jffi=\"${S}\" \
+ -Dproject.jnr-x86asm=\"${S}\"
+ -D\"already.built.${S}\"=true"
+
+src_install() {
+ java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+ local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
+ ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+ -Drun.jvmargs="-Djava.library.path=${paths}" \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
diff --git a/dev-java/jaffl/jaffl-0.5.9.ebuild b/dev-java/jaffl/jaffl-0.5.9.ebuild
new file mode 100644
index 0000000..f47f092
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.9.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+CDEPEND="dev-java/jffi:0.4
+ dev-java/jnr-x86asm:0
+ dev-java/asm:3"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip
+ ${CDEPEND}
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4:0
+ dev-java/hamcrest-core:0
+ )"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}" || die
+ mv * "${P}" || die
+}
+
+java_prepare() {
+ rm -vf lib/{.,junit*}/*.jar
+
+ epatch "${FILESDIR}/library-path-${PV}.patch" || die
+
+ java-pkg_jar-from --into lib jffi-0.4
+ java-pkg_jar-from --into lib jnr-x86asm
+ java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+ -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+ -Dproject.jffi=\"${S}\" \
+ -Dproject.jnr-x86asm=\"${S}\"
+ -D\"already.built.${S}\"=true"
+
+src_install() {
+ java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+ local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
+ ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+ -Drun.jvmargs="-Djava.library.path=${paths}" \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
diff --git a/dev-java/jaffl/metadata.xml b/dev-java/jaffl/metadata.xml
new file mode 100644
index 0000000..bad2378
--- /dev/null
+++ b/dev-java/jaffl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ A native function invocation interface that can have multiple different
+ low level implementations (e.g. JNA, JFFI or Maxine)
+ </longdescription>
+</pkgmetadata>
+
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/
@ 2015-06-27 10:58 Manuel Rüger
0 siblings, 0 replies; 6+ messages in thread
From: Manuel Rüger @ 2015-06-27 10:58 UTC (permalink / raw
To: gentoo-commits
commit: 3266fdef2323c23a4f0609f1c2c47ed8449de31c
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 10:58:02 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 10:58:02 2015 +0000
URL: https://gitweb.gentoo.org/proj/ruby-overlay.git/commit/?id=3266fdef
[dev-java/jaffl] Cleanup old broken versions.
dev-java/jaffl/ChangeLog | 14 -----
dev-java/jaffl/files/library-path-0.5.1.patch | 9 ----
dev-java/jaffl/files/library-path-0.5.9.patch | 10 ----
dev-java/jaffl/files/library-path.patch | 9 ----
dev-java/jaffl/jaffl-0.5.10.ebuild | 76 ---------------------------
dev-java/jaffl/jaffl-0.5.9.ebuild | 76 ---------------------------
dev-java/jaffl/metadata.xml | 10 ----
7 files changed, 204 deletions(-)
diff --git a/dev-java/jaffl/ChangeLog b/dev-java/jaffl/ChangeLog
deleted file mode 100644
index 18f1b11..0000000
--- a/dev-java/jaffl/ChangeLog
+++ /dev/null
@@ -1,14 +0,0 @@
-# ChangeLog for dev-java/jaffl
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 14 May 2014; Manuel Rüger <mrueg@gentoo.org> jaffl-0.5.9.ebuild:
- [dev-java/jaffl] Drop stable keywords in overlay.
-
- 08 Jan 2012; Hans de Graaff <graaff@gentoo.org> jaffl-0.5.10.ebuild:
- Install jar properly, fix by ali_bush.
-
-*jaffl-0.5.10 (07 Jan 2012)
-
- 07 Jan 2012; Hans de Graaff <graaff@gentoo.org> +jaffl-0.5.10.ebuild:
- Version bump by ali_bush.
diff --git a/dev-java/jaffl/files/library-path-0.5.1.patch b/dev-java/jaffl/files/library-path-0.5.1.patch
deleted file mode 100644
index 2a0335e..0000000
--- a/dev-java/jaffl/files/library-path-0.5.1.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:00.000000000 +1200
-+++ src/com/kenai/jaffl/provider/Library.java 2010-06-04 10:55:49.000000000 +1200
-@@ -53,5 +53,6 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- }
diff --git a/dev-java/jaffl/files/library-path-0.5.9.patch b/dev-java/jaffl/files/library-path-0.5.9.patch
deleted file mode 100644
index 4782f17..0000000
--- a/dev-java/jaffl/files/library-path-0.5.9.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java.orig 2011-09-07 12:13:06.942731817 +0200
-+++ src/com/kenai/jaffl/provider/Library.java 2011-09-07 12:13:08.983731771 +0200
-@@ -23,6 +23,7 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- };
-
diff --git a/dev-java/jaffl/files/library-path.patch b/dev-java/jaffl/files/library-path.patch
deleted file mode 100644
index 0e7459d..0000000
--- a/dev-java/jaffl/files/library-path.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/com/kenai/jaffl/provider/Library.java.orig 2009-12-31 09:30:08.000000000 +1300
-+++ src/com/kenai/jaffl/provider/Library.java 2009-12-31 09:38:11.000000000 +1300
-@@ -53,5 +53,6 @@
- userLibraryPath.addAll(getPropertyPaths("jaffl.library.path"));
- // Add JNA paths for compatibility
- userLibraryPath.addAll(getPropertyPaths("jna.library.path"));
-+ userLibraryPath.addAll(getPropertyPaths("java.library.path"));
- }
- }
diff --git a/dev-java/jaffl/jaffl-0.5.10.ebuild b/dev-java/jaffl/jaffl-0.5.10.ebuild
deleted file mode 100644
index 35d15f2..0000000
--- a/dev-java/jaffl/jaffl-0.5.10.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="http://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-CDEPEND="dev-java/jffi:0.4
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit4:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}" || die
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}/library-path-0.5.9.patch" || die
-
- java-pkg_jar-from --into lib jffi-0.4
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_install() {
- java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
- ANT_TASKS="ant-junit4 ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
diff --git a/dev-java/jaffl/jaffl-0.5.9.ebuild b/dev-java/jaffl/jaffl-0.5.9.ebuild
deleted file mode 100644
index 5ea83fc..0000000
--- a/dev-java/jaffl/jaffl-0.5.9.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
-
-EAPI="2"
-
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-CDEPEND="dev-java/jffi:0.4
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit4:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}" || die
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}/library-path-${PV}.patch" || die
-
- java-pkg_jar-from --into lib jffi-0.4
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_install() {
- java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
- ANT_TASKS="ant-junit4 ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
diff --git a/dev-java/jaffl/metadata.xml b/dev-java/jaffl/metadata.xml
deleted file mode 100644
index bad2378..0000000
--- a/dev-java/jaffl/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>java</herd>
- <longdescription lang="en">
- A native function invocation interface that can have multiple different
- low level implementations (e.g. JNA, JFFI or Maxine)
- </longdescription>
-</pkgmetadata>
-
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-06-27 10:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 14:45 [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/, dev-java/jaffl/files/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2015-06-27 10:58 Manuel Rüger
2012-07-09 9:48 Hans de Graaff
2012-05-28 5:28 Hans de Graaff
2012-01-23 20:05 Hans de Graaff
2011-09-27 17:44 Alex Legler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox