diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2012-05-31 21:00:55 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2012-05-31 21:00:55 +0000 |
commit | 6496da4341f51e7c9d8366afa05c6c4e93a773ef (patch) | |
tree | 8a8e835fb9b108a201a52574a9a4c28dc7a3d29e /sci-chemistry | |
parent | Adding ~x86 (diff) | |
download | historical-6496da4341f51e7c9d8366afa05c6c4e93a773ef.tar.gz historical-6496da4341f51e7c9d8366afa05c6c4e93a773ef.tar.bz2 historical-6496da4341f51e7c9d8366afa05c6c4e93a773ef.zip |
Latest version
Package-Manager: portage-2.1.10.63/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/jmol/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/jmol/Manifest | 25 | ||||
-rw-r--r-- | sci-chemistry/jmol/files/jmol-12.2.27-nointl.patch | 330 | ||||
-rw-r--r-- | sci-chemistry/jmol/jmol-12.2.27.ebuild | 120 |
4 files changed, 461 insertions, 22 deletions
diff --git a/sci-chemistry/jmol/ChangeLog b/sci-chemistry/jmol/ChangeLog index 179e1b816284..cf56564811b3 100644 --- a/sci-chemistry/jmol/ChangeLog +++ b/sci-chemistry/jmol/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/jmol # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/jmol/ChangeLog,v 1.12 2012/02/15 14:14:10 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/jmol/ChangeLog,v 1.13 2012/05/31 21:00:54 je_fro Exp $ + +*jmol-12.2.27 (31 May 2012) + + 31 May 2012; Jeff Gardner <je_fro@gentoo.org> +jmol-12.2.27.ebuild, + +files/jmol-12.2.27-nointl.patch: + Latest version 15 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> jmol-11.0.3-r1.ebuild: Fix SRC_URI diff --git a/sci-chemistry/jmol/Manifest b/sci-chemistry/jmol/Manifest index 9b469ce49d73..15ec2c8c1481 100644 --- a/sci-chemistry/jmol/Manifest +++ b/sci-chemistry/jmol/Manifest @@ -1,33 +1,16 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX 12.0.45/jmol-manifest.patch 3726 RMD160 03e1e11fdd29fb63de15934fff166348577084b0 SHA1 925a957bc30e1fbab9fd773dc07f83411f667d30 SHA256 74cdf274352161ffdf155b34b8d9110dad9c4a15720467f73d301104005566bd AUX 12.0.45/jmol-nointl.patch 13315 RMD160 9b6ca307d5e40af72bf07e668d3ad58bbde66a48 SHA1 f98f3df84369a2c63e54fd891ed1f63410dc6472 SHA256 6bbf13c59bc3633dc089346c1133ad2b3d0614463abdf364f5ec2e2ccd658df0 AUX caffeine.xyz 1116 RMD160 92b432c6584cd927fa1bfb155ea41011ab7a82d8 SHA1 d0f35a447b333b8ea51c15ab0ac67d887556e43c SHA256 45a9afac0b247780595944a98f8e1076a7e7e0dbb3e02cb54cecb0764b1cb67f AUX index.html 328 RMD160 60d2a573c228e018a864fd7d9cfc7554264ccd6b SHA1 7ab256d768d3a4da43b5e497dfb1c3a53a8068a9 SHA256 8cba2c5eb7f25c0ecf23bc007eb61549a7d2177ac327db6c1e5f51f333ae2451 AUX jmol-11.0.3-manifest.patch 3726 RMD160 03e1e11fdd29fb63de15934fff166348577084b0 SHA1 925a957bc30e1fbab9fd773dc07f83411f667d30 SHA256 74cdf274352161ffdf155b34b8d9110dad9c4a15720467f73d301104005566bd AUX jmol-11.0.3-nointl.patch 11109 RMD160 ea8808469e488c3c7d8a75d2273fefdae32c3011 SHA1 891b83352cdf940c0da2d903b1cf6a9da31f67d7 SHA256 56ad460779a0ecfb90ad61cf4cfae2fad9b017f9f78581a720241e4ea208b49a +AUX jmol-12.2.27-nointl.patch 13821 RMD160 4d6a6a598f4b550b6c2e3665c01b4f915d39c563 SHA1 2bc04f7a5e781f8628622a69f12d1f4a33b26140 SHA256 330a911405f00552d37a9c241c4a18b9d3e6812ce858933dbc4574df8248e345 DIST Jmol-12.0.45-full.tar.gz 26501382 RMD160 0d9a4212abf45852706f92cb16aedae7632763c5 SHA1 c43b0542be8bd845dadbcacdd41e47482e23fe03 SHA256 f9a3fe242841f9b56a718f8da2efe4130e497afe2c12d77f2e68344c62d7f70e +DIST Jmol-12.2.27-full.tar.gz 29493780 RMD160 e0f530e92ed079b1debf9fbd5c720ad19ba71977 SHA1 663a3a83a1fff373cea624d4cec4fdd71efcd505 SHA256 f2ca3b810ea16a488f6f57003d2a407c8ac040d610479a7ae6d95631157db801 DIST jmol-11.0.3-full.tar.gz 13578526 RMD160 53e34c52d6085635daea74cd9c5787da67ef483e SHA1 35dc9d3d3cfe08cbe3076a6939f62361b2c59c86 SHA256 210eb7d119e53ed0b7f41939321bcfcdb4d7312761d8002e340c83ff49664616 DIST jmol-selfSignedCertificate.store.tar 10240 RMD160 a6d4df5f108a2c13074190569b95d3310439ea57 SHA1 218fff84df0c542b634ba08ed2e82d3d3280a481 SHA256 416744934991ef4f1fa298c0afc8e855d43771de2f2278ed3fbc60f707ea46b2 EBUILD jmol-11.0.3-r1.ebuild 3222 RMD160 2dfaaba68c311b7aaa92ca27a9e898d35349c237 SHA1 4d5e6b6d85692313a96ec50f12d3ddcb68290085 SHA256 e05e4b2c974e280e83740cf91bd2ba03b08e9b671061f795d0a41407305f7d36 EBUILD jmol-12.0.45.ebuild 3259 RMD160 f8173f281f5f6018ac33199757a6c89eb7f487a2 SHA1 39c7b6cd6552673c323d0e3f36c0e1641c8001bb SHA256 3c1001b3c03f71ef9077dc61bcb45cc217e91e4669fe4a35986de61a88b8cfc6 -MISC ChangeLog 2181 RMD160 2f9e3718e3b575e8674df3e395da643de5322aaf SHA1 ffdb06b186607af7a2a3bf968348b99ae41ad988 SHA256 b3a11aaf4c76034a28fe922cc56bad827fce173090e403fcf3b4206f8e9ca8c8 +EBUILD jmol-12.2.27.ebuild 3222 RMD160 256894132249a1ddab0537524bee8ec52896c4ae SHA1 bbc80f7d97c1b48bc9e5d621e57b3bff146a45a8 SHA256 79900ec92287dd3d27a7cf17d36cfd8d86c97da88f0ff79be544cede8c604101 +MISC ChangeLog 2330 RMD160 031a26f6b369910ce3b38dead83888de7ecc6193 SHA1 b7f5d9f16cec0bb3c87bf4f7e97c4f40920ecb1f SHA256 21ff3bae7c1de8e5f2e30707304dc92b32fce3ca20961b5c3a68a3631f72da13 MISC metadata.xml 355 RMD160 2c279aeab8c72ba2ac5573ccd72a69726166c638 SHA1 3cf53d45ceec1ed494d8c7312f60933657356e48 SHA256 a26dbd57c95fd7f37b7ade989dca90933da7f75fe7c27ac54c030d275edf12b4 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iQIcBAEBCAAGBQJPO724AAoJEF0huFKJUZL5hGkP/2Aev8XvObtRggf0YzGXt6vU -g6joVvrGiAFxATMSy9B1G1zImE33Ctyt1wrkoK8craaIQTtb3m0POA1WWYR8esuz -+u46lutzClSvJ5e+ZKb+cHn7ROAjfCZDx4iOpaNw+VV9GqV/nXuuXBZ0HQ48M39D -NtB364kuJ1hag+fPEeQuRX/DeaalbwmR4ZIO2alElq5R2KAxAcDhc0SiEiRB6TMK -ASpT3vvkFV9xRxCegihPGpcyWRvuJTdgML0f1JO9ZEYJNfVHx+23i45eXzejePaZ -/82ZRvZ0z9xMoGJUbVqom6IvxZyTQkC/vw4Z2lK3q3nNYHfuKo3FPlvs7zy+3uzu -JX2xEbEgix6jdrRd3wEgcmA7hYp0ZPJz/qaz39c5SxuByqBYIUaM13IG4nTtlZGm -G95DUKMV5hRjUqJ0rkUEKoykj/UlZRJZgOeoSO9kiEgzSeH8o6IGseZnfmuNiqNA -1senV1ozz29u5KUm0D8rtWu7ACSTCt46hITWP3Xd1h8L5fp3cHjgk7ovjZOsaIEO -NetVPBMPQtYbI5BkG67B6OPPMKc3VITIyp4lhAVnawjZU2Y7Ez4zBcEHcBhP6DtU -u55DaPW1JX2XW/+XZbkD6Gj2ar/mX96OB5ZyXKdz2f6xnqKJLBht1fWAONPLR4/K -mfl8lbE29aZDItBU38Mz -=vq2+ ------END PGP SIGNATURE----- diff --git a/sci-chemistry/jmol/files/jmol-12.2.27-nointl.patch b/sci-chemistry/jmol/files/jmol-12.2.27-nointl.patch new file mode 100644 index 000000000000..0a43faaf653d --- /dev/null +++ b/sci-chemistry/jmol/files/jmol-12.2.27-nointl.patch @@ -0,0 +1,330 @@ +--- orig-build.xml 2012-05-31 13:42:43.943062427 -0500 ++++ build.xml 2012-05-31 14:01:01.691982062 -0500 +@@ -52,8 +52,6 @@ +
+ <property file="proxy.properties" />
+
+- <import file="tools/build-i18n.xml"/>
+-
+ <path id="project.class.path">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar" />
+@@ -111,10 +109,6 @@ + <srcfiles dir="doc/source"
+ includes="JmolGuide.docbook.xml, guide/*.docbook.xml"/>
+ </uptodate>
+- <uptodate targetfile="build/doc/JmolUserGuide_fr/index.html">
+- <srcfiles dir="doc/source"
+- includes="JmolGuide_fr.docbook.xml, guide/*_fr.docbook.xml"/>
+- </uptodate>
+ </and>
+ </condition>
+
+@@ -124,14 +118,6 @@ + <srcfiles dir="doc/source"
+ includes="JmolHistory.xml,JmolHistoryToHtml.xsl,history/changes.xml" />
+ </uptodate>
+- <uptodate targetfile="build/doc/JmolHistory/ChangeLog_fr.html">
+- <srcfiles dir="doc/source"
+- includes="JmolHistory_fr.xml,JmolHistoryToHtml.xsl,history/changes_fr.xml" />
+- </uptodate>
+- <uptodate targetfile="build/doc/JmolHistory/ChangeLog_nl.html">
+- <srcfiles dir="doc/source"
+- includes="JmolHistory_nl.xml,JmolHistoryToHtml.xsl,history/changes_nl.xml" />
+- </uptodate>
+ </and>
+ </condition>
+
+@@ -141,14 +127,6 @@ + <srcfiles dir="doc/source"
+ includes="JmolDevelopersGuide.docbook.xml"/>
+ </uptodate>
+- <uptodate targetfile="build/doc/JmolDevelopersGuide_fr.html">
+- <srcfiles dir="doc/source"
+- includes="JmolDevelopersGuide_fr.docbook.xml"/>
+- </uptodate>
+- <uptodate targetfile="build/doc/JmolDevelopersGuide_de.html">
+- <srcfiles dir="doc/source"
+- includes="JmolDevelopersGuide_de.docbook.xml"/>
+- </uptodate>
+ </and>
+ </condition>
+
+@@ -158,14 +136,6 @@ + <srcfiles dir="doc/source"
+ includes="JmolAppletGuide.docbook.xml, applet/*.docbook.xml"/>
+ </uptodate>
+- <uptodate targetfile="build/doc/JmolAppletGuide_fr.html">
+- <srcfiles dir="doc/source"
+- includes="JmolAppletGuide_fr.docbook.xml, applet/*_fr.docbook.xml"/>
+- </uptodate>
+- <uptodate targetfile="build/doc/JmolAppletGuide_de.html">
+- <srcfiles dir="doc/source"
+- includes="JmolAppletGuide_de.docbook.xml"/>
+- </uptodate>
+ </and>
+ </condition>
+
+@@ -388,17 +358,12 @@ + </target>
+
+ <target name="jar" id="jar"
+- depends="init,classes,jmolGuide,jmolHistory,jmolDevelopersGuide,libjars,main-i18n">
++ depends="init,classes,jmolGuide,jmolHistory,jmolDevelopersGuide,libjars">
+ <copy todir="${classes.dir}/org/openscience/jmol/Data/guide" >
+ <fileset dir="build/doc/JmolUserGuide">
+ <include name="**/*.html" />
+ </fileset>
+ </copy>
+- <copy todir="${classes.dir}/org/openscience/jmol/Data/guide_fr" >
+- <fileset dir="build/doc/JmolUserGuide_fr">
+- <include name="**/*.html" />
+- </fileset>
+- </copy>
+ <copy todir="${classes.dir}/org/openscience/jmol/Data" >
+ <fileset dir="build/doc/JmolHistory">
+ <include name="**/*.html" />
+@@ -603,18 +568,6 @@ + <fileset dir="${appletjars.dir}" includes="**/*"/>
+ </jar>
+
+- <for list="${all.JmolApplet.languages}" delimiter=","
+- param="current.Jmol.language">
+- <sequential>
+- <jar destfile="${jmol.applet.build.dir}/JmolApplet0_i18n_@{current.Jmol.language}.jar"
+- manifest="manifest/applet_i18n.txt" >
+- <fileset dir="${applet.classes.dir}">
+- <include name="org/jmol/translation/JmolApplet/@{current.Jmol.language}/**" />
+- </fileset>
+- </jar>
+- </sequential>
+- </for>
+-
+ <jar destfile="${jmol.applet.build.dir}/JmolApplet0_Minimize.jar" manifest="manifest/applet.txt">
+ <fileset dir="${applet.classes.dir}">
+ <include name="org/jmol/minimize/**" />
+@@ -729,7 +682,6 @@ + <include name="org/jmol/constant/**" />
+ <include name="org/jmol/g3d/**" />
+ <include name="org/jmol/geodesic/**" />
+- <include name="org/jmol/i18n/**" />
+ <include name="org/jmol/modelset/**" />
+ <include name="org/jmol/script/**" />
+ <include name="org/jmol/shape/**" />
+@@ -755,7 +707,6 @@ + <pathelement path="${jmol.applet.build.dir}/JmolApplet0_ShapeSurface.jar" />
+ <pathelement path="${jmol.applet.build.dir}/JmolApplet0_Smiles.jar" />
+ <pathelement path="${jmol.applet.build.dir}/JmolApplet0_Symmetry.jar" />
+- <fileset dir="${jmol.applet.build.dir}" includes="JmolApplet0_i18n_*.jar" />
+ </indexjars>
+ </jar>
+ <!-- changes to this must be replicated below for the signed applet -->
+@@ -868,16 +819,6 @@ + keystore="selfSignedCertificate/selfSignedCertificate.store"
+ storepass="selfSignedCertificate" alias="selfSignedCertificate" />
+
+- <for list="${all.JmolApplet.languages}" delimiter=","
+- param="current.Jmol.language">
+- <sequential>
+- <signjar jar="${jmol.applet.build.dir}/JmolApplet0_i18n_@{current.Jmol.language}.jar"
+- signedjar="${jmol.applet.build.dir}/JmolAppletSigned0_i18n_@{current.Jmol.language}.jar"
+- keystore="selfSignedCertificate/selfSignedCertificate.store"
+- storepass="selfSignedCertificate" alias="selfSignedCertificate" />
+- </sequential>
+- </for>
+-
+ <!-- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv -->
+ <!-- this one must be treated specially because of jar indexing
+ we cannot simply rename the jar file, because the index has
+@@ -905,7 +846,6 @@ + <include name="org/jmol/shape/**" />
+ <include name="org/jmol/viewer/**" />
+ <include name="org/jmol/util/**" />
+- <include name="org/jmol/i18n/**" />
+ </fileset>
+ <indexjars>
+ <pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_Console.jar" />
+@@ -924,7 +864,6 @@ + <pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_ShapeSurface.jar" />
+ <pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_Smiles.jar" />
+ <pathelement path="${jmol.applet.build.dir}/JmolAppletSigned0_Symmetry.jar" />
+- <fileset dir="${jmol.applet.build.dir}" includes="JmolAppletSigned0_i18n_*.jar" />
+ </indexjars>
+ </jar>
+ <signjar jar="${jmol.applet.build.dir}/JmolAppletSigned0.jar"
+@@ -963,18 +902,6 @@ + </fileset>
+ </jar>
+
+- <for list="${all.JmolApplet.languages}" delimiter=","
+- param="current.Jmol.language">
+- <sequential>
+- <jar destfile="${jmol.applet.build.dir}/JmolApplet0_i18n_@{current.Jmol.language}.jar"
+- manifest="manifest/applet_i18n.txt" >
+- <fileset dir="${applet.classes.dir}">
+- <include name="org/jmol/translation/JmolApplet/@{current.Jmol.language}/**" />
+- </fileset>
+- </jar>
+- </sequential>
+- </for>
+-
+ <jar destfile="${jmol.applet.build.dir}/JmolApplet0_Minimize.jar" manifest="manifest/applet.txt">
+ <fileset dir="${applet.classes.dir}">
+ <include name="org/jmol/minimize/**" />
+@@ -1088,7 +1015,6 @@ + <include name="org/jmol/constant/**" />
+ <include name="org/jmol/g3d/**" />
+ <include name="org/jmol/geodesic/**" />
+- <include name="org/jmol/i18n/**" />
+ <include name="org/jmol/modelset/**" />
+ <include name="org/jmol/script/**" />
+ <include name="org/jmol/shape/**" />
+@@ -1114,7 +1040,6 @@ + <pathelement path="${jmol.applet.build.dir}/JmolApplet0_ShapeSurface.jar" />
+ <pathelement path="${jmol.applet.build.dir}/JmolApplet0_Smiles.jar" />
+ <pathelement path="${jmol.applet.build.dir}/JmolApplet0_Symmetry.jar" />
+- <fileset dir="${jmol.applet.build.dir}" includes="JmolApplet0_i18n_*.jar" />
+ </indexjars>
+ </jar>
+ <!-- changes to this must be replicated below for the signed applet -->
+@@ -1123,7 +1048,7 @@ + </target>
+
+ <target name="dist" id="dist"
+- depends="doc,main-i18n,main,signed-applet">
++ depends="doc,main,signed-applet">
+ <!-- first build binary distribution -->
+ <delete dir="build/dist/jmol-${version}"/>
+ <mkdir dir="build/dist/jmol-${version}"/>
+@@ -1183,7 +1108,6 @@ + <fileset dir=".">
+ <include name="applet.classes" />
+ <include name="build.xml" />
+- <include name="build-i18n.xml" />
+ </fileset>
+ </copy>
+
+@@ -1278,7 +1202,6 @@ + <fileset dir=".">
+ <include name="apisio.classes" />
+ <include name="build.xml" />
+- <include name="build-i18n.xml" />
+ </fileset>
+ </copy>
+
+@@ -1374,7 +1297,7 @@ + <target name="xclean" id="xclean">
+ </target>
+
+- <target name="spotless" id="spotless" depends="clean,spotless-i18n">
++ <target name="spotless" id="spotless" depends="clean">
+ <delete dir="build"/>
+ <delete dir="${javadoc.dir}"/>
+ <delete dir="packaging/rpm/dist"/>
+@@ -1438,16 +1361,6 @@ + <arg value="../../../doc/source/JmolGuide.docbook.xml" />
+ <arg value="../../${docbook-xsl}/html/chunk.xsl" />
+ </java>
+- <echo message="Generating user's guide (fr)" />
+- <mkdir dir="build/doc/JmolUserGuide_fr" />
+- <java fork="true" dir="build/doc/JmolUserGuide_fr"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <jvmarg value="${proxyHost}" />
+- <jvmarg value="${proxyPort}" />
+- <arg value="../../../doc/source/JmolGuide_fr.docbook.xml" />
+- <arg value="../../${docbook-xsl}/html/chunk.xsl" />
+- </java>
+ </target>
+
+ <target name="jmolHistory" id="jmolHistory"
+@@ -1462,26 +1375,6 @@ + <arg value="../../../doc/source/JmolHistory.xml" />
+ <arg value="../../../doc/source/JmolHistoryToHtml.xsl" />
+ </java>
+- <echo message="Generating history of changes (fr)" />
+- <java fork="true" dir="build/doc/JmolHistory"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <arg value="-o" />
+- <arg value="ChangeLog_fr.html" />
+- <arg value="../../../doc/source/JmolHistory_fr.xml" />
+- <arg value="../../../doc/source/JmolHistoryToHtml.xsl" />
+- <arg value="lang=fr" />
+- </java>
+- <echo message="Generating history of changes (nl)" />
+- <java fork="true" dir="build/doc/JmolHistory"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <arg value="-o" />
+- <arg value="ChangeLog_nl.html" />
+- <arg value="../../../doc/source/JmolHistory_nl.xml" />
+- <arg value="../../../doc/source/JmolHistoryToHtml.xsl" />
+- <arg value="lang=nl" />
+- </java>
+ </target>
+
+ <target name="jmolDevelopersGuide" id="jmolDevelopersGuide"
+@@ -1495,24 +1388,6 @@ + <arg value="../../doc/source/JmolDevelopersGuide.docbook.xml" />
+ <arg value="../${docbook-xsl}/html/docbook.xsl" />
+ </java>
+- <echo message="Generating developer's guide (fr)" />
+- <java fork="true" dir="build/doc"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <arg value="-o" />
+- <arg value="JmolDevelopersGuide_fr.html" />
+- <arg value="../../doc/source/JmolDevelopersGuide_fr.docbook.xml" />
+- <arg value="../${docbook-xsl}/html/docbook.xsl" />
+- </java>
+- <echo message="Generating developer's guide (de)" />
+- <java fork="true" dir="build/doc"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <arg value="-o" />
+- <arg value="JmolDevelopersGuide_de.html" />
+- <arg value="../../doc/source/JmolDevelopersGuide_de.docbook.xml" />
+- <arg value="../${docbook-xsl}/html/docbook.xsl" />
+- </java>
+ </target>
+
+ <target name="jmolAppletGuide" id="jmolAppletGuide" depends="initdoc"
+@@ -1526,24 +1401,6 @@ + <arg value="../../doc/source/JmolAppletGuide.docbook.xml" />
+ <arg value="../${docbook-xsl}/html/docbook.xsl" />
+ </java>
+- <echo message="Generating applet guide (fr)" />
+- <java fork="true" dir="build/doc"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <arg value="-o" />
+- <arg value="JmolAppletGuide_fr.html" />
+- <arg value="../../doc/source/JmolAppletGuide_fr.docbook.xml" />
+- <arg value="../${docbook-xsl}/html/docbook.xsl" />
+- </java>
+- <echo message="Generating applet guide (de)" />
+- <java fork="true" dir="build/doc"
+- classname="com.icl.saxon.StyleSheet"
+- classpath="${lib.dir}/saxon.jar" >
+- <arg value="-o" />
+- <arg value="JmolAppletGuide_de.html" />
+- <arg value="../../doc/source/JmolAppletGuide_de.docbook.xml" />
+- <arg value="../${docbook-xsl}/html/docbook.xsl" />
+- </java>
+ </target>
+
+ <target name="test" id="test" depends="main,compile-tests">
+@@ -1575,12 +1432,4 @@ + <jar destfile="${tests.dir}/Tests.jar" basedir="${test-classes.dir}" />
+ </target>
+
+- <!-- i18n stuff -->
+- <target name="main-i18n" depends="classes">
+- <ant antfile="tools/build-i18n.xml" target="main-i18n"/>
+- </target>
+- <target name="spotless-i18n">
+- <ant antfile="tools/build-i18n.xml" target="spotless-i18n"/>
+- </target>
+-
+ </project>
diff --git a/sci-chemistry/jmol/jmol-12.2.27.ebuild b/sci-chemistry/jmol/jmol-12.2.27.ebuild new file mode 100644 index 000000000000..6700142545d6 --- /dev/null +++ b/sci-chemistry/jmol/jmol-12.2.27.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/jmol/jmol-12.2.27.ebuild,v 1.1 2012/05/31 21:00:54 je_fro Exp $ + +EAPI=1 +WEBAPP_OPTIONAL="yes" + +inherit eutils webapp java-pkg-2 java-ant-2 + +MY_P="Jmol" + +DESCRIPTION="Jmol is a java molecular viever for 3-D chemical structures." +SRC_URI=" + mirror://sourceforge/${PN}/${MY_P}-${PV}-full.tar.gz + http://dev.gentoo.org/~jlec/distfiles/${PN}-selfSignedCertificate.store.tar" + +HOMEPAGE="http://jmol.sourceforge.net/" +KEYWORDS="~x86 ~amd64" +LICENSE="LGPL-2.1" + +IUSE="client-only vhosts" + +WEBAPP_MANUAL_SLOT="yes" +SLOT="0" + +COMMON_DEP="dev-java/commons-cli + dev-java/itext:0 + sci-libs/jmol-acme + sci-libs/vecmath-objectclub + sci-libs/naga" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + dev-java/saxon:6.5 + !client-only? ( ${WEBAPP_DEPEND} ) + ${COMMON_DEP}" + +pkg_setup() { + + use client-only || webapp_pkg_setup + java-pkg-2_pkg_setup +} + +src_unpack() { + + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-nointl.patch + + rm -v "${S}"/*.jar "${S}"/plugin-jars/*.jar || die + cd "${S}/jars" + +# We still have to use netscape.jar on amd64 until a nice way to include plugin.jar comes along. + if use amd64; then + mv -v netscape.jar netscape.tempjar || die "Failed to move netscape.jar." + rm -v *.jar *.tar.gz || die "Failed to remove jars." + mv -v netscape.tempjar netscape.jar || die "Failed to move netscape.tempjar." + fi + + java-pkg_jar-from vecmath-objectclub vecmath-objectclub.jar vecmath1.2-1.14.jar + java-pkg_jar-from itext iText.jar itext-1.4.5.jar + java-pkg_jar-from jmol-acme jmol-acme.jar Acme.jar + java-pkg_jar-from commons-cli-1 commons-cli.jar commons-cli-1.0.jar + java-pkg_jar-from naga + java-pkg_jar-from saxon-6.5 saxon.jar + + mkdir -p "${S}/build/appjars" || die +} + +src_compile() { + # prevent absorbing dep's classes + eant -Dlibjars.uptodate=true main +} + +src_install() { + + java-pkg_dojar build/Jmol.jar + dohtml -r build/doc/* || die "Failed to install html docs." + dodoc *.txt doc/*license* || die "Failed to install licenses." + + java-pkg_dolauncher ${PN} --main org.openscience.jmol.app.Jmol \ + --java_args "-Xmx512m" + + if ! use client-only ; then + webapp_src_preinst || die "Failed webapp_src_preinst." + cmd="cp Jmol.js build/Jmol.jar "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + cmd="cp build/JmolApplet*.jar "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + cmd="cp applet.classes "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + cmd="cp -r build/classes/* "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + cmd="cp -r build/appletjars/* "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + cmd="cp "${FILESDIR}"/caffeine.xyz "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + cmd="cp "${FILESDIR}"/index.html "${D}${MY_HTDOCSDIR}"" ; ${cmd} \ + || die "${cmd} failed." + + webapp_src_install || die "Failed running webapp_src_install" + fi +} + +pkg_postinst() { + + if ! use client-only ; then + webapp_pkg_postinst || die "webapp_pkg_postinst failed" + fi + +} + +pkg_prerm() { + + if ! use client-only ; then + webapp_pkg_prerm || die "webapp_pkg_prerm failed" + fi + +} |