From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/
Date: Tue, 25 Jan 2022 14:27:43 +0000 (UTC) [thread overview]
Message-ID: <1643120831.7885a590926759db288d422f38d3b907397dde47.andrewammerlaan@gentoo> (raw)
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>
next reply other threads:[~2022-01-25 14:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-25 14:27 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-07 23:39 [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/ Martin Mokrejs
2011-12-26 17:11 Martin Mokrejs
2011-02-18 22:49 Martin Mokrejs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1643120831.7885a590926759db288d422f38d3b907397dde47.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox