1 |
commit: f187f9d3b00a6837e8a279b268e19694b3dfc714 |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Tue Feb 7 14:00:43 2012 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Tue Feb 7 14:00:43 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f187f9d3 |
7 |
|
8 |
adjust PATH to point to the installation place, few comment lines changes |
9 |
|
10 |
(Portage version: 2.1.10.45/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sci-biology/OBO-Edit/ChangeLog | 4 ++++ |
14 |
sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild | 11 ++++++++--- |
15 |
2 files changed, 12 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/OBO-Edit/ChangeLog b/sci-biology/OBO-Edit/ChangeLog |
18 |
index abf523e..0632e05 100644 |
19 |
--- a/sci-biology/OBO-Edit/ChangeLog |
20 |
+++ b/sci-biology/OBO-Edit/ChangeLog |
21 |
@@ -4,6 +4,10 @@ |
22 |
|
23 |
07 Feb 2012; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
24 |
OBO-Edit-2.1.1.6.ebuild: |
25 |
+ adjust PATH to point to the installation place, few comment lines changes |
26 |
+ |
27 |
+ 07 Feb 2012; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
28 |
+ OBO-Edit-2.1.1.6.ebuild: |
29 |
added the addpredict() trick from tablet-bin*.ebuild to make the ACCESS DENIED |
30 |
messages quiet, bugs #402507 (learned from bug #387227) |
31 |
|
32 |
|
33 |
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 |
34 |
index 19c5de0..ec0e64f 100644 |
35 |
--- a/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild |
36 |
+++ b/sci-biology/OBO-Edit/OBO-Edit-2.1.1.6.ebuild |
37 |
@@ -53,15 +53,20 @@ src_prepare(){ |
38 |
sed -e "s@/bin/java\" -Dinstall4j.jvmDir=\"\$app_java_home\"@/bin/java\" -Duser.home="${TMPDIR}" -Dinstall4j.jvmDir="${TMPDIR}" -Dsys.symlinkDir="${D}"usr/bin -Djava.util.prefs.systemRoot="${TMPDIR}"@" -i "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh || die "failed to set userHome and jvmDir where JAVA .systemPrefs can be found" |
39 |
|
40 |
chmod u+rx "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh |
41 |
- grep Duser "${DISTDIR}"/"${PN}"_unix_install4j-"${PV}".sh |
42 |
} |
43 |
|
44 |
src_install(){ |
45 |
- cat "${TMPDIR}"/.install4j/response.varfile |
46 |
- chmod a-w "${TMPDIR}"/.install4j/response.varfile |
47 |
+ # it looks install4j removes the target installation direcotry before writing into it :(( |
48 |
+ # |
49 |
+ # cat "${TMPDIR}"/.install4j/response.varfile |
50 |
+ # chmod a-w "${TMPDIR}"/.install4j/response.varfile |
51 |
+ |
52 |
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" |
53 |
find . -name firstrun -delete |
54 |
find . -name .svn -exec rm -rf '{}' \; |
55 |
|
56 |
dodoc "${DISTDIR}"/"${PN}"_ReleaseNotes-"${PV}".txt |
57 |
+ |
58 |
+ echo "PATH=/opt/OBO-Edit2" > 99OBO-Edit |
59 |
+ doenvd 99OBO-Edit || die |
60 |
} |