* [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/
@ 2012-02-07 23:39 Martin Mokrejs
0 siblings, 0 replies; 4+ messages in thread
From: Martin Mokrejs @ 2012-02-07 23:39 UTC (permalink / raw
To: gentoo-commits
commit: ffb0d2032a35ca86e9f613f2a99bf8f09f2373b3
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Feb 7 13:04:27 2012 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Feb 7 13:04:27 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ffb0d203
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)
---
sci-biology/OBO-Edit/ChangeLog | 8 +++-
sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild | 59 ++++++++++++++++++++++++++
sci-biology/OBO-Edit/files/response.varfile | 8 +++-
3 files changed, 72 insertions(+), 3 deletions(-)
diff --git a/sci-biology/OBO-Edit/ChangeLog b/sci-biology/OBO-Edit/ChangeLog
index 77732a7..1378d6b 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/OBO-Edit-2.1.1.6.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild
new file mode 100644
index 0000000..30d6980
--- /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 149a4e2..8c4361d 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/
@ 2022-01-25 14:27 Andrew Ammerlaan
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Ammerlaan @ 2022-01-25 14:27 UTC (permalink / raw
To: gentoo-commits
commit: 7885a590926759db288d422f38d3b907397dde47
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 14:27:11 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 14:27:11 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7885a590
sci-biology/OBO-Edit: drop dead package
last update 2016
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-biology/OBO-Edit/OBO-Edit-2.3.1.ebuild | 73 -----------------------------
sci-biology/OBO-Edit/files/response.varfile | 10 ----
sci-biology/OBO-Edit/metadata.xml | 15 ------
3 files changed, 98 deletions(-)
diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.3.1.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.3.1.ebuild
deleted file mode 100644
index 321d3901c..000000000
--- a/sci-biology/OBO-Edit/OBO-Edit-2.3.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2
-
-MY_PV="${PV//./_}"
-
-DESCRIPTION="Java-based editor optimized for the OBO biological ontology file format"
-HOMEPAGE="http://www.oboedit.org/" # no https, invalid certificate
-SRC_URI="https://downloads.sourceforge.net/project/geneontology/OBO-Edit%202%20%5BLatest%20versions%5D/OBO-Edit%20${PV}/oboedit_${MY_PV}_unix_install4j.sh -> ${PN}_unix_install4j-${PV}.sh"
-
-LICENSE="OBO-Edit" # Artistic-like
-SLOT="0"
-KEYWORDS=""
-
-DEPEND="app-arch/rpm2targz"
-RDEPEND="virtual/jre"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- einfo "Fixing java access violations ..."
- # learned from bug #387227
- # opened a bug #402507 to get this .systemPrefs directory pre-created for everybody
- addpredict /opt/icedtea-bin-7.2.0/jre/.systemPrefs
- addpredict /usr/local/bin/OBO-Edit
-}
-
-src_prepare(){
- default
- dodir /opt/OBO-Edit2/.install4j /usr/bin
- cp "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh "${WORKDIR}" || die
-
- # /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#\"\${HOME}\"#"${HOME}"#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 "${HOME}" || die
-
- # 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/
-
- # trick setting -Djava.util.prefs.systemRoot="${TMPDIR}" does not work
- sed \
- -e "s@/bin/java\" -Dinstall4j.jvmDir=\"\$app_java_home\"@/bin/java\" -Duser.home="${HOME}" -Dinstall4j.jvmDir="${HOME}" -Dsys.symlinkDir="${D}"/usr/bin -Djava.util.prefs.systemRoot="${HOME}"@" \
- -i "${WORKDIR}"/"${PN}"_unix_install4j-"${PV}".sh \
- || die "failed to set userHome and jvmDir where JAVA .systemPrefs can be found"
-
- chmod u+rx "${WORKDIR}/${PN}"_unix_install4j-"${PV}".sh || die
-}
-
-src_install(){
- # it looks install4j removes the target installation direcotry before writing into it :((
- #
- # cat "${TMPDIR}"/.install4j/response.varfile
- # chmod a-w "${TMPDIR}"/.install4j/response.varfile
-
- INSTALL4J_KEEP_TEMP="yes" \
- sh "${WORKDIR}"/"${PN}"_unix_install4j-"${PV}".sh -q \
- --varfile="${HOME}"/.install4j/response.varfile \
- --destination="${D}"/opt/OBO-Edit2 \
- -dir "${D}"/opt/OBO-Edit2 \
- || die "Failed to run the self-extracting ${WORKDIR}/${PN}_unix_install4j-${PV}.sh file"
-
- find . -name firstrun -delete || die
-
- echo "PATH=/opt/OBO-Edit2" > 99OBO-Edit || die
- doenvd 99OBO-Edit
-}
diff --git a/sci-biology/OBO-Edit/files/response.varfile b/sci-biology/OBO-Edit/files/response.varfile
deleted file mode 100644
index 8c4361d01..000000000
--- a/sci-biology/OBO-Edit/files/response.varfile
+++ /dev/null
@@ -1,10 +0,0 @@
-#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.installationDir="${D}"opt/OBO-Edit2
diff --git a/sci-biology/OBO-Edit/metadata.xml b/sci-biology/OBO-Edit/metadata.xml
deleted file mode 100644
index acbbc35a4..000000000
--- a/sci-biology/OBO-Edit/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>mmokrejs@fold.natur.cuni.cz</email>
- <name>Martin Mokrejs</name>
- </maintainer>
- <maintainer type="project">
- <email>sci-biology@gentoo.org</email>
- <name>Gentoo Biology Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">geneontology</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/
@ 2011-12-26 17:11 Martin Mokrejs
0 siblings, 0 replies; 4+ messages in thread
From: Martin Mokrejs @ 2011-12-26 17:11 UTC (permalink / raw
To: gentoo-commits
commit: cbb2b1076148dcff9f1acd272b25d7557071b21e
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon Dec 26 17:11:02 2011 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Dec 26 17:11:02 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cbb2b107
Sync ebuild to use install4j as in sci-biology/tablet-bin. Awaiting a fix from upstream so that the installer really respects --destination or -dir options.
(Portage version: 2.1.10.38/git/Linux i686, unsigned Manifest commit)
---
sci-biology/OBO-Edit/ChangeLog | 8 +++++
sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild | 40 ++++++++++++++++++++++++
sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild | 32 -------------------
sci-biology/OBO-Edit/files/response.varfile | 1 +
4 files changed, 49 insertions(+), 32 deletions(-)
diff --git a/sci-biology/OBO-Edit/ChangeLog b/sci-biology/OBO-Edit/ChangeLog
index e1de6ad..77732a7 100644
--- a/sci-biology/OBO-Edit/ChangeLog
+++ b/sci-biology/OBO-Edit/ChangeLog
@@ -2,6 +2,14 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*OBO-Edit-2.1.0 (26 Dec 2011)
+
+ 26 Dec 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+ -OBO-Edit-2.1_beta8.ebuild, +OBO-Edit-2.1.0.ebuild, files/response.varfile:
+ Sync ebuild to use install4j as in sci-biology/tablet-bin. Awaiting a fix
+ from upstream so that the installer really respects --destination or -dir
+ options.
+
25 Jun 2011; Justin Lecher <jlec@gentoo.org> OBO-Edit-2.1_beta8.ebuild:
Cleaned ebuild
diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild
new file mode 100644
index 0000000..77bd240
--- /dev/null
+++ b/sci-biology/OBO-Edit/OBO-Edit-2.1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 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 '-')
+
+DESCRIPTION="Java-based editor optimized for the OBO biological ontology file format"
+HOMEPAGE="http://www.oboedit.org/"
+SRC_URI="http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/OBO-Edit%20"${PV}"/"${MY_PV}"_unix_install4j.sh/download -> OBO-Edit_unix_install4j-"${PV}".sh
+ http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/OBO-Edit%20"${PV}"/ReleaseNotes-"${PV}".txt"
+
+LICENSE="OBO-Edit" # Artistic-like
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/rpm2targz"
+RDEPEND="virtual/jre"
+
+S="${WORKDIR}"
+
+src_install(){
+ mkdir -p "${D}"/opt/OBO-Edit2/.install4j || die "Cannot pre-create "${D}"/opt/OBO-Edit2/.install4j/"
+ sed "s#\"\${D}\"#"${D}"#g" "${FILESDIR}"/response.varfile > "${D}"/opt/OBO-Edit2/.install4j/response.varfile || die "sed failed"
+ sed "s#/bin/java\" -Dinstall4j.jvmDir#/bin/java\" -Duser.home="${D}"/../temp -Dinstall4j.jvmDir#" -i "${DISTDIR}"/OBO-Edit_unix_install4j-"${PV}".sh || die "failed to set userHome value"
+
+ sh "${DISTDIR}"/OBO-Edit_unix_install4j-"${PV}".sh -q -overwrite --varfile="${D}"/opt/OBO-Edit2/.install4j/response.varfile --destination="${D}"/opt/OBO-Edit2 -dir "${D}"/opt/OBO-Edit2 || die "Failed to run the self-extracting "${DISTDIR}"/OBO-Edit_unix_install4j-"${PV}".sh file"
+ find . -name firstrun -delete
+ find . -name .svn -exec rm -rf '{}' \;
+
+ insinto /opt/
+ doins -r OBO-Edit2
+ chmod 755 "${ED}"/opt/OBO-Edit2/*
+
+ dodoc "${DISTDIR}"/ReleaseNotes-2.1.0.txt
+}
diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild
deleted file mode 100644
index 8842bcd..0000000
--- a/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit rpm
-
-DESCRIPTION="Java-based editor optimized for the OBO biological ontology file format"
-HOMEPAGE="http://www.oboedit.org/"
-#SRC_URI="http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/oboedit2.1beta8/oboedit_2_1_8_unix_install4j.sh"
-SRC_URI="http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/oboedit2.1beta8/oboedit_2_1_8_linux_install4j.rpm"
-
-LICENSE="OBO-Edit" # Artistic-like
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/rpm2targz"
-RDEPEND="virtual/jre"
-
-S="${WORKDIR}"/opt
-
-src_install(){
- # sh "${DISTDIR}"/oboedit_2_1_8_unix_install4j.sh -q -overwrite --var-file="${FILESDIR}"/response.varfile --destination="${D}"/opt/OBO-Edit2
- find . -name firstrun -delete
- find . -name .svn -exec rm -rf '{}' \;
-
- insinto /opt/
- doins -r OBO-Edit2
- chmod 755 "${ED}"/opt/OBO-Edit2/*
-}
diff --git a/sci-biology/OBO-Edit/files/response.varfile b/sci-biology/OBO-Edit/files/response.varfile
index 2fcaa29..149a4e2 100644
--- a/sci-biology/OBO-Edit/files/response.varfile
+++ b/sci-biology/OBO-Edit/files/response.varfile
@@ -2,4 +2,5 @@ executeLauncherAction$Boolean=false
sys.programGroupDisabled$Boolean=true
sys.symlinkDir="${D}"usr/bin
sys.languageId=en
+sys.userHome="${D}"/../temp
sys.installationDir="${D}"opt/OBO-Edit2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/
@ 2011-02-18 22:49 Martin Mokrejs
0 siblings, 0 replies; 4+ messages in thread
From: Martin Mokrejs @ 2011-02-18 22:49 UTC (permalink / raw
To: gentoo-commits
commit: bcbf775ce52aa68ca0b216c50faffa99c64c67e9
Author: Martin Mokrejs <mmokrejs <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 18 21:46:55 2011 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Feb 18 21:46:55 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bcbf775c
sci-biology/OBO-Edit: Java-based editor optimized for the OBO biological ontology file format
(Portage version: 2.1.9.28/git/Linux i686, unsigned Manifest commit)
---
sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild | 33 ++++++++++++++++++++++++
sci-biology/OBO-Edit/files/response.varfile | 5 +++
sci-biology/OBO-Edit/metadata.xml | 9 ++++++
3 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild b/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild
new file mode 100644
index 0000000..debd89f
--- /dev/null
+++ b/sci-biology/OBO-Edit/OBO-Edit-2.1_beta8.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+DESCRIPTION="Java-based editor optimized for the OBO biological ontology file format"
+HOMEPAGE="http://www.oboedit.org/"
+#SRC_URI="http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/oboedit2.1beta8/oboedit_2_1_8_unix_install4j.sh"
+SRC_URI="http://sourceforge.net/projects/geneontology/files/OBO-Edit%202%20%5BLatest%20versions%5D/oboedit2.1beta8/oboedit_2_1_8_linux_install4j.rpm"
+
+LICENSE="OBO-Edit" # Artistic-like
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/rpm2targz"
+RDEPEND="${DEPEND}
+ virtual/jre"
+
+src_unpack() {
+ cd "${WORKDIR}"
+ rpm2targz "${DISTDIR}/oboedit_2_1_8_linux_install4j.rpm" || die
+ tar -xzf "${WORKDIR}/oboedit_2_1_8_linux_install4j.tar.gz" || die
+}
+
+src_install(){
+ # sh "${DISTDIR}"/oboedit_2_1_8_unix_install4j.sh -q -overwrite --var-file="${FILESDIR}"/response.varfile --destination="${D}"/opt/OBO-Edit2
+ mkdir -p "${D}"/opt/ || die
+ cp -rp opt/OBO-Edit2 "${D}"/opt/ || die
+ find "${D}"/opt -name firstrun | xargs rm -f # drop a world writable file
+ find "${D}"/opt -name .svn | xargs rm -rf
+}
diff --git a/sci-biology/OBO-Edit/files/response.varfile b/sci-biology/OBO-Edit/files/response.varfile
new file mode 100644
index 0000000..2fcaa29
--- /dev/null
+++ b/sci-biology/OBO-Edit/files/response.varfile
@@ -0,0 +1,5 @@
+executeLauncherAction$Boolean=false
+sys.programGroupDisabled$Boolean=true
+sys.symlinkDir="${D}"usr/bin
+sys.languageId=en
+sys.installationDir="${D}"opt/OBO-Edit2
diff --git a/sci-biology/OBO-Edit/metadata.xml b/sci-biology/OBO-Edit/metadata.xml
new file mode 100644
index 0000000..07b5255
--- /dev/null
+++ b/sci-biology/OBO-Edit/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>sci-biology</herd>
+ <maintainer>
+ <email>mmokrejs@fold.natur.cuni.cz</email>
+ <name>Martin Mokrejs</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-25 14:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 23:39 [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/ Martin Mokrejs
-- strict thread matches above, loose matches on Subject: below --
2022-01-25 14:27 Andrew Ammerlaan
2011-12-26 17:11 Martin Mokrejs
2011-02-18 22:49 Martin Mokrejs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox