From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RuudL-00046D-If for garchives@archives.gentoo.org; Tue, 07 Feb 2012 23:39:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97E85E080D; Tue, 7 Feb 2012 23:39:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B69CE080D for ; Tue, 7 Feb 2012 23:39:08 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A075B1B402F for ; Tue, 7 Feb 2012 23:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BBA5C80043 for ; Tue, 7 Feb 2012 23:39:06 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/OBO-Edit/files/, sci-biology/OBO-Edit/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/OBO-Edit/ChangeLog sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild sci-biology/OBO-Edit/files/response.varfile X-VCS-Directories: sci-biology/OBO-Edit/files/ sci-biology/OBO-Edit/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: ffb0d2032a35ca86e9f613f2a99bf8f09f2373b3 Date: Tue, 7 Feb 2012 23:39:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5c9cbceb-5ec2-4e60-b85d-fcd7c364e439 X-Archives-Hash: f9e69973771b8851c8ab8c19ebf8f9fc commit: ffb0d2032a35ca86e9f613f2a99bf8f09f2373b3 Author: Martin Mokrejs fold natur cuni cz> AuthorDate: Tue Feb 7 13:04:27 2012 +0000 Commit: Martin Mokrejs fold natur cuni cz> CommitDate: Tue Feb 7 13:04:27 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Dffb0d203 sci-biology/OBO-Edit: more attempts to get rid of sandbox ACCESS VIOLATIO= N 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/Change= Log 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: $ =20 +*OBO-Edit-2.1.1.6 (07 Feb 2012) + + 07 Feb 2012; Martin Mokrejs + +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) =20 26 Dec 2011; Martin Mokrejs diff --git a/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild b/sci-biology/O= BO-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=3D4 + +inherit toolchain-funcs versionator java-pkg-2 + +# MY_PV=3D$(replace_all_version_separators '-') +MY_PV=3D"oboedit_2_1_1-b6" +MY_VER=3D"2.1.1-b6" +MY_PV=3D$(replace_all_version_separators '-') + +DESCRIPTION=3D"Java-based editor optimized for the OBO biological ontolo= gy file format" +HOMEPAGE=3D"http://www.oboedit.org/" +SRC_URI=3D"http://downloads.sourceforge.net/project/geneontology/OBO-Edi= t%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%5BL= atest%20versions%5D/"${MY_PV}"/ReleaseNotes-"${MY_VER}".txt -> "${PN}"_Re= leaseNotes-"${PV}".txt" + +LICENSE=3D"OBO-Edit" # Artistic-like +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"" + +DEPEND=3D"app-arch/rpm2targz" +RDEPEND=3D"virtual/jre" + +S=3D"${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/.i= nstall4j/response.varfile + sed -e "s#\"\${D}\"#"${D}"#g" "${FILESDIR}"/response.varfile | \ + sed -e "s#\"\${TMPDIR}\"#"${TMPDIR}"#g" | \ + sed -e "s@sys.symlinkDir=3D/usr/local/bin@#sys.symlinkDir=3D/usr/local/= bin@" > \ + "${D}"/opt/OBO-Edit2/.install4j/response.varfile || die "sed fai= led" + cp -r "${D}"/opt/OBO-Edit2/.install4j "${TMPDIR}" + + # for user root install4j writes into /opt/icedtea-bin-7.2.0/jre/.syste= mPrefs 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=3D\"\$app_java_home\"@/bin/jav= a\" -Duser.home=3D"${TMPDIR}" -Dinstall4j.jvmDir=3D"${TMPDIR}" -Dsys.syml= inkDir=3D"${D}"usr/bin@" -i "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".s= h || die "failed to set userHome and jvmDir where JAVA .systemPrefs can b= e 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=3D"yes" HOME=3D"${TMPDIR}" "${DISTDIR}"/"${PN}"_uni= x_install4j-"${PV}".sh -q --varfile=3D"${TMPDIR}"/.install4j/response.var= file --destination=3D"${D}"/opt/OBO-Edit2 -dir "${D}"/opt/OBO-Edit2 || di= e "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/OB= O-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=3Dfalse +#install4j response file for OBO-Edit2 2.1.1-b6 +#Tue Feb 07 03:08:04 MET 2012 +sys.component.89$Boolean=3Dfalse +createDesktopLinkAction$Boolean=3Dfalse +oboedit.memoryAlloc$Integer=3D3456 sys.programGroupDisabled$Boolean=3Dtrue +sys.component.61$Boolean=3Dtrue sys.symlinkDir=3D"${D}"usr/bin sys.languageId=3Den -sys.userHome=3D"${D}"/../temp sys.installationDir=3D"${D}"opt/OBO-Edit2