.. _spkg_jmol:

jmol: Java viewer for chemical structures in 3D
===============================================

Description
-----------

Java viewer for chemical structures in 3D.

This provides files necessary for Jmol (java).

This package does not install JSmol (javascript), which upstream bundles with Jmol.


License
-------

GPLv2+


Upstream Contact
----------------

-  http://jmol.sourceforge.net
-  Bob Hanson
-  e-mail: hansonr@stolaf.edu
-  Homepage: https://www.stolaf.edu/people/hansonr/
-  Development page: https://github.com/BobHanson/Jmol-SwingJS
-  Download page: https://sourceforge.net/projects/jmol/files/Jmol/

Dependencies
------------

No build-time dependencies.

The commandline jmol requires java at runtime.


Special Build Instructions
--------------------------

To avoid depending on ``unzip`` at build time, we have to repack the
tarball, see ``spkg-src``. We take the opportunity to remove some
unnecessary subdirectories, see
http://wiki.jmol.org/index.php/Jmol_JavaScript_Object#In_detail

Type
----

standard


Dependencies
------------


Version Information
-------------------

package-version.txt::

    14.29.52


Equivalent System Packages
--------------------------

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  jmol


conda:

.. CODE-BLOCK:: bash

    $ conda install  jmol


macports:
install the following packages: jmol

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install jmol


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install jmol


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  jmol


See https://repology.org/project/jmol/versions


However, these system packages will not be used for building Sage
because spkg-configure.m4 has not been written for this package;
see :trac:`27330`

