aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2012-02-07 14:04:27 +0100
committerMartin Mokrejs <mmokrejs@fold.natur.cuni.cz>2012-02-07 14:04:27 +0100
commitffb0d2032a35ca86e9f613f2a99bf8f09f2373b3 (patch)
tree2c5bbc3ce440a6692c6082667d4adc1c09c64686 /sci-biology
parentsci-biology-sra_sdk-2.1.9: preserve libs written directly into at the end of... (diff)
downloadsci-ffb0d2032a35ca86e9f613f2a99bf8f09f2373b3.tar.gz
sci-ffb0d2032a35ca86e9f613f2a99bf8f09f2373b3.tar.bz2
sci-ffb0d2032a35ca86e9f613f2a99bf8f09f2373b3.zip
sci-biology/OBO-Edit: more attempts to get rid of sandbox ACCESS VIOLATION SUMMARY errors
(Portage version: 2.1.10.45/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/OBO-Edit/ChangeLog8
-rw-r--r--sci-biology/OBO-Edit/Manifest6
-rw-r--r--sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild59
-rw-r--r--sci-biology/OBO-Edit/files/response.varfile8
4 files changed, 76 insertions, 5 deletions
diff --git a/sci-biology/OBO-Edit/ChangeLog b/sci-biology/OBO-Edit/ChangeLog
index 77732a70e..1378d6b2b 100644
--- a/sci-biology/OBO-Edit/ChangeLog
+++ b/sci-biology/OBO-Edit/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sci-biology/OBO-Edit
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*OBO-Edit-2.1.1.6 (07 Feb 2012)
+
+ 07 Feb 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+ +OBO-Edit-2.1.1.6.ebuild, files/response.varfile:
+ more attempts to get rid of sandbox ACCESS VIOLATION SUMMARY errors
+
*OBO-Edit-2.1.0 (26 Dec 2011)
26 Dec 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
diff --git a/sci-biology/OBO-Edit/Manifest b/sci-biology/OBO-Edit/Manifest
index f2728284b..7b4f34232 100644
--- a/sci-biology/OBO-Edit/Manifest
+++ b/sci-biology/OBO-Edit/Manifest
@@ -1,2 +1,4 @@
-DIST OBO-Edit_unix_install4j-2.1.0.sh 44395414 RMD160 5d834dd3dd1b9c6376ab43bdbdebb4be42a97e48 SHA1 83ecba4dd1f6493e9ba7753c47c3ea2e8d58c81a SHA256 22fa3801c5ddbb7d1f5a8445574850263a3d2ddf676311f6f21bfebffd6d894f
-DIST ReleaseNotes-2.1.0.txt 33593 RMD160 1db31d771079834943421935e3f2be6f2ed47df7 SHA1 993e5c15c96768f94f1303278cb921d3254c31d6 SHA256 e906e9a53148f7d21d0f820d878342a989773f4549303b2dc49007d9c23fe564
+DIST OBO-Edit_ReleaseNotes-2.1.1.6.txt 38066 SHA256 7b7c44c39897469dc1f535866292050d7fd45639d31fbc9c64589fa717146839 SHA512 abb46c2671edf5227d0e083104af4202974adafedb879900685c4681f3a0de09037907edfb1e3e14144b3aea27c04a17822250f778b3b6ef0371e81f7e3cdb49 WHIRLPOOL 3b8b361b04ab31d003a416de15676ada324b9c33a36690416d135fa96bfe56d70c992b089cb5496ab24c2eb31dd8648e4e1b66be6544c532976f27ea6c5f982e
+DIST OBO-Edit_unix_install4j-2.1.0.sh 44395414 SHA256 22fa3801c5ddbb7d1f5a8445574850263a3d2ddf676311f6f21bfebffd6d894f SHA512 f63fd9af367ae67ad1eab7e0a93921efabcef7da3ff155cc74ac38ba4e53dccb6cf5dc944718f938681b52c22bbb2eef4e7a29e4c8c663c3c694bad1a87771e1 WHIRLPOOL 8f87631fcae9e4c589ab7635ff488ea81d099b3fc9db28835f27e01d61097c01b267097f4d577a4f900c09b1b62723117000af66911613e7e59493cb9111f197
+DIST OBO-Edit_unix_install4j-2.1.1.6.sh 46660658 SHA256 9779f89d54dc3d72e3acb4f76d16f04fb0f2d1715c5dd2ea74d7e3da01c78cb3 SHA512 0bacd2fc4a5684ccedeadc5e5304ea917c53e68a57089bd5450cff083f4591ddb6875a54b2198446ef6910e44b73a339a5350146b86dde4e9e95b8aacdb4e8b0 WHIRLPOOL 769947720eb99dc6406692908e8f95e02088a409de4d2e39530d9f7f071b13ce0b9843f36434ce910c6ffaaad3fb4a985ecc0687082f5d023878473dbd6e58fb
+DIST ReleaseNotes-2.1.0.txt 33593 SHA256 e906e9a53148f7d21d0f820d878342a989773f4549303b2dc49007d9c23fe564 SHA512 9d93967eedd21a9f823c361f451533acdbccd860a6bffdfffa57095a7d783e9942a8849c6fff16b89c30e805f9def6bf5d250377f8808b0c335bf4ed9b03f344 WHIRLPOOL 736ef94b100e404b8c6bfc0450c286d34d86fb9194a82e354134311f637d8466ec70673e7f34890bf18ccbd525beb48c8c763aa8e8920fe898b35b546db33989
diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild
new file mode 100644
index 000000000..30d6980af
--- /dev/null
+++ b/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit toolchain-funcs versionator java-pkg-2
+
+# MY_PV=$(replace_all_version_separators '-')
+MY_PV="oboedit_2_1_1-b6"
+MY_VER="2.1.1-b6"
+MY_PV=$(replace_all_version_separators '-')
+
+DESCRIPTION="Java-based editor optimized for the OBO biological ontology file format"
+HOMEPAGE="http://www.oboedit.org/"
+SRC_URI="http://downloads.sourceforge.net/project/geneontology/OBO-Edit%202%20%5BLatest%20versions%5D/"${MY_VER}"/"${MY_PV}"_unix_install4j.sh -> "${PN}"_unix_install4j-"${PV}".sh
+ http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/"${MY_PV}"/ReleaseNotes-"${MY_VER}".txt -> "${PN}"_ReleaseNotes-"${PV}".txt"
+
+LICENSE="OBO-Edit" # Artistic-like
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/rpm2targz"
+RDEPEND="virtual/jre"
+
+S="${WORKDIR}"
+
+src_prepare(){
+ cd "${S}" || die
+ mkdir -p "${D}"/opt/OBO-Edit2/.install4j || die "Cannot pre-create "${D}"/opt/OBO-Edit2/.install4j/"
+ mkdir -p "${D}"/usr/bin
+
+ # /var/tmp/portage/sci-biology/OBO-Edit-2.1.1.6/image//opt/OBO-Edit2/.install4j/response.varfile
+ sed -e "s#\"\${D}\"#"${D}"#g" "${FILESDIR}"/response.varfile | \
+ sed -e "s#\"\${TMPDIR}\"#"${TMPDIR}"#g" | \
+ sed -e "s@sys.symlinkDir=/usr/local/bin@#sys.symlinkDir=/usr/local/bin@" > \
+ "${D}"/opt/OBO-Edit2/.install4j/response.varfile || die "sed failed"
+ cp -r "${D}"/opt/OBO-Edit2/.install4j "${TMPDIR}"
+
+ # for user root install4j writes into /opt/icedtea-bin-7.2.0/jre/.systemPrefs or whatever it
+ # found via JAVA_HOME or similar variables
+ # for other users it writes into $HOME/.java/.userPrefs/
+ sed -e "s@/bin/java\" -Dinstall4j.jvmDir=\"\$app_java_home\"@/bin/java\" -Duser.home="${TMPDIR}" -Dinstall4j.jvmDir="${TMPDIR}" -Dsys.symlinkDir="${D}"usr/bin@" -i "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh || die "failed to set userHome and jvmDir where JAVA .systemPrefs can be found"
+
+ chmod u+rx "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh
+ grep Duser "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh
+}
+
+src_install(){
+ cd "${S}" || die
+ cat "${TMPDIR}"/.install4j/response.varfile
+ chmod a-w "${TMPDIR}"/.install4j/response.varfile
+ INSTALL4J_KEEP_TEMP="yes" HOME="${TMPDIR}" "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh -q --varfile="${TMPDIR}"/.install4j/response.varfile --destination="${D}"/opt/OBO-Edit2 -dir "${D}"/opt/OBO-Edit2 || die "Failed to run the self-extracting "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh file"
+ find . -name firstrun -delete
+ find . -name .svn -exec rm -rf '{}' \;
+
+ dodoc "${DISTDIR}"/"${PN}"_ReleaseNotes-"${PV}".txt
+}
diff --git a/sci-biology/OBO-Edit/files/response.varfile b/sci-biology/OBO-Edit/files/response.varfile
index 149a4e2ee..8c4361d01 100644
--- a/sci-biology/OBO-Edit/files/response.varfile
+++ b/sci-biology/OBO-Edit/files/response.varfile
@@ -1,6 +1,10 @@
-executeLauncherAction$Boolean=false
+#install4j response file for OBO-Edit2 2.1.1-b6
+#Tue Feb 07 03:08:04 MET 2012
+sys.component.89$Boolean=false
+createDesktopLinkAction$Boolean=false
+oboedit.memoryAlloc$Integer=3456
sys.programGroupDisabled$Boolean=true
+sys.component.61$Boolean=true
sys.symlinkDir="${D}"usr/bin
sys.languageId=en
-sys.userHome="${D}"/../temp
sys.installationDir="${D}"opt/OBO-Edit2