[SCM] UNNAMED PROJECT branch, debian-unstable, updated. 3ee9d5a018d873823da8cc9551a66bd401d167af

Drew Parsons dparsons at debian.org
Fri Mar 27 05:21:10 UTC 2009


The following commit has been merged in the debian-unstable branch:
commit 8e16f23e160a9a7697c4e96d9e3dabf0c66fef31
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Mar 27 16:03:35 2009 +1100

    Load up existing debian subdir into git. Standards version 3.8.1.
    
    Change Maintainer to Debian Science, leave myself as Uploader.

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c9cc5c9
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,18 @@
+viewmol for Debian
+------------------
+
+The default VIEWMOLPATH has been set to /etc/viewmol, rather than 
+/usr/local/lib/viewmol.  It contains the default resource file, viewmolrc, 
+and the X resource files Xdefaults.<language> for different languages.
+
+Note that the X11 applications default directory for Debian is 
+/etc/X11/app-defaults/, not /usr/lib/X11/app-defaults as suggested in the 
+Viewmol HTML manual.  This is important when you want to change the default
+language for viewmol to something other than English.
+
+As per Debian policy, binaries on Intel ia-32 (i386) have been optimised 
+for i486. If you run on i686 (e.g. Pentium-4), you may find a 5-10% speed 
+increase if you recompile for your own system. Do this by setting the value
+of processor in source/getmachine, line 72.
+
+ -- Drew Parsons <dparsons at debian.org>, 1 Dec 2004
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1511922
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,289 @@
+viewmol (2.4.1-15) UNRELEASED; urgency=low
+
+  * Transfer to group maintainership with Debian Science.
+  * Standards version: 3.8.1.
+
+ -- Drew Parsons <dparsons at debian.org>  Fri, 27 Mar 2009 16:01:35 +1100
+
+viewmol (2.4.1-14) unstable; urgency=low
+
+  * Add symlink from main dir /usr/lib/viewmol to docs. Closes: #478551.
+  * Standards-Version: 3.8.0.
+  * Specify that copyright is GPL v2.
+  * Add dh_desktop to debian/rules to register mimetypes in desktop file.
+
+ -- Drew Parsons <dparsons at debian.org>  Mon, 23 Feb 2009 23:44:29 +1100
+
+viewmol (2.4.1-13) unstable; urgency=low
+
+  * Use PyObject_Del to deallocate PyObjects instead of PyMem_DEL.
+    Thanks Barry deFreese for the patch.  Closes: #469008.
+  * Don't create separate links for KDE support files in /usr/share/applnk
+    anymore. These are handled generically (for all compliant Desktop
+    environments including Gnome) via
+    /usr/share/applications/viewmol.desktop.  Closes: #466998.
+  * Update debian/viewmol.sgml and doc-base to encode Jörg-Rüdiger's
+    name in UTF-8. Regenerate viewmol.1 using docbook2man.
+  * Where pythonlib is defined in source/getmachine, add 
+    	  | xargs echo | awk '{print $1}'
+    to ensure only one path is passed to dirname.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue, 18 Mar 2008 16:02:08 +1100
+
+viewmol (2.4.1-12) unstable; urgency=low
+
+  * What's so special about American English?  Change en_US locale to
+    just en in /usr/lib/viewmol/locale (and /usr/share/viewmol/locale)
+    and use it as a fallback in setAtomColors.py. Move existing
+    /etc/viewmol/locale/en_US to .../en in preinst. Closes: #446755.
+  * Disable kde/install's copying of "uninstall" in /usr/local.
+  * Link 32x32/apps/viewmol.png into /usr/share/pixmaps so Gnome can
+    get the menu icon too.
+  * Standards-Version: 3.7.3.
+  * Updated menu section to "Applications/Science/Chemistry".
+    Use /usr/share/pixmaps/viewmol.png as icon.
+  * Delete libraries from LIBS in source/getmachine flagged by
+    dpkg-shlibdeps as not actually used by viewmol (-lz -lXp -lXext
+    -lpthread -lutil -ldl).  Likewise remove -lm in source/Makefile
+    for tm and readgamess.
+  * source/getmachine: use -march instead of -mcpu for i386.
+
+ -- Drew Parsons <dparsons at debian.org>  Mon, 14 Jan 2008 02:28:26 +1100
+
+viewmol (2.4.1-11) unstable; urgency=low
+
+  * Add build support for GNU/kFreeBSD (and probably Hurd too).
+    Closes: #415591.
+
+ -- Drew Parsons <dparsons at debian.org>  Thu, 28 Jun 2007 10:58:10 +1000
+
+viewmol (2.4.1-10) unstable; urgency=low
+
+  * Update for new python policy and new default python version 2.4,
+    use dh_python. Closes: #380982.
+  * Change to Depends:, not merely Suggests: python. A debatable point
+    since viewmol will in fact work without python, but you do need
+    python in order to get the full proffered functionality.
+  * Use debhelper 5 (>= 5.0.37.2 to be precise, to use dh_python)
+
+ -- Drew Parsons <dparsons at debian.org>  Sat, 19 Aug 2006 19:00:52 +1000
+
+viewmol (2.4.1-9) unstable; urgency=low
+
+  * Updated Build-Depends to reflect current mesa packages.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue,  6 Jun 2006 23:51:17 +1000
+
+viewmol (2.4.1-8) unstable; urgency=low
+
+  * Added Categories=Education;Science;Chemistry; to
+    /usr/share/applnk/Graphics/viewmol.desktop (adds a menu entry to
+    freedesktop.org compliant environments). Thanks, Daniel Leidert.
+    Closes: #370683.
+  * Add #!/usr/bin/awk to readdmol.awk (removes a lintian warning).
+  * Standards version 3.7.2.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue,  6 Jun 2006 22:55:28 +1000
+
+viewmol (2.4.1-7) unstable; urgency=low
+
+  * Recompile for new C++ ABI.
+
+ -- Drew Parsons <dparsons at debian.org>  Fri, 12 Aug 2005 18:19:06 +1000
+
+viewmol (2.4.1-6) unstable; urgency=medium
+
+  * Exec should be /usr/bin/viewmol not /usr/local/bin/viewmol in
+    /usr/share/applnk/Graphics/viewmol.desktop. Closes: #290641.
+
+ -- Drew Parsons <dparsons at debian.org>  Sun, 16 Jan 2005 14:11:50 +1100
+
+viewmol (2.4.1-5) unstable; urgency=high
+
+  * Remarkable. The buildds aren't reporting failure over unknown -mcpu
+    either.  Enable -mcpu only for i386 and powerpc (in source/getmachine).
+
+ -- Drew Parsons <dparsons at debian.org>  Wed, 22 Dec 2004 10:41:33 +1100
+
+viewmol (2.4.1-4) unstable; urgency=high
+
+  * Use `dpkg --print-architecture` to identify the processor, and only
+    compile with -malign-double on i386 (in source/getmachine). Why on earth
+    do the buildds say "maybe-successful" when they cannot compile because
+    the compilation flags are wrong???
+
+ -- Drew Parsons <dparsons at debian.org>  Tue, 21 Dec 2004 19:24:32 +1100
+
+viewmol (2.4.1-3) unstable; urgency=high
+
+  * Actually, remove the Build-Dependency on libdb4.3-dev altogether.
+    Viewmol 2.4 no longer compiles with -ldb.  Thank goodness.
+    Closes: #286600.
+  * Split xlibs-dev again while we're at it.
+  * By the way, the russian fonts are working fine after all. Most likely I
+    hadn't restarted the X server after installing xfonts-cyrillic.
+  * Selecting a language and saving doesn't seem to have any effect when
+    viewmol is started the next time, unless you do "xrdb ~/.Xdefaults" or
+    login afresh.  Otherwise you need to reset the language again each time.
+    This needs to get fixed.  Logged at
+    http://sourceforge.net/tracker/index.php?func=detail&atid=106845&aid=1088821&group_id=6845.
+  * The menu entries at Annotate and below are not aligned against the
+    margin correctly, and some of them are being blanked out by the margin.
+    This is logged at
+    http://sourceforge.net/tracker/index.php?func=detail&atid=106845&aid=1088824&group_id=6845
+  * Did you notice all the scripts are now working in 2.4.1. You can colour
+    your atoms various shades of green, or be mesmerised by the demo.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue, 21 Dec 2004 16:13:27 +1100
+
+viewmol (2.4.1-2) unstable; urgency=medium
+
+  * Restore lost changelog entries (2.4-2..2.4-5).
+  * Reinstate changes to kde/install. Closes: #285409.
+  * i386 optimisation is left at i486: tests indicated that i586 offers
+    small advantage (in fact performance degraded on my i686 test system).
+    As mentioned in README.Debian, recompile for yourself if you use i686.
+
+ -- Drew Parsons <dparsons at debian.org>  Wed, 15 Dec 2004 11:01:10 +1100
+
+viewmol (2.4.1-1) unstable; urgency=low
+
+  * New upstream version.
+  * Upgraded Build-Depends: libtiff4-dev, libdb4.3-dev
+  * Altered Build-Depends: mesag-dev|libgl-dev due to conflict between
+    mesag-dev and libgl-dev.
+  * Added Suggests: xfonts-cyrillic to help make sure Russian fonts are there
+    when needed. Actually, they're screwed anyway. No size 14 koi8 fonts. Pity.
+  * Updated the description to that given in the spec file.
+  * Compile with -mcpu=i586 on i386.  In my opinion, compiling for i486 runs
+    too slow.  Let me know if you really need to run viewmol on a true i486.
+
+ -- Drew Parsons <dparsons at debian.org>  Thu,  2 Dec 2004 01:11:45 +1100
+
+viewmol (2.4-5) unstable; urgency=medium
+
+  * Recompiled against libtiff4 (updated Build-Depends in debian/control).
+
+ -- Drew Parsons <dparsons at debian.org>  Sun,  1 Aug 2004 01:04:44 +1000
+
+viewmol (2.4-4) unstable; urgency=low
+
+  * Removed use of -mcpu altogether from source/getmachine, since it's
+    just too much trouble when porting to all architectures.
+  * Altered kde/install to install KDE icons in
+    /usr/share/icons/crystalsvg, not .../default.kde, since default.kde is
+    supposed to be a symlink to crystalsvg, supplied by kdelibs-data.
+    Otherwise there will be a problem with viewmol's real default.kde
+    directory, if viewmol is installed before kdelibs-data.  Installing
+    into crystalsvg was recommended by the KDE guys at the debian-qt-kde
+    mailing list. Closes: #254247.
+
+ -- Drew Parsons <dparsons at debian.org>  Wed, 16 Jun 2004 15:06:08 +1000
+
+viewmol (2.4-3) unstable; urgency=low
+
+  * Altered source/getmachine to handle different machine
+    architectures under Linux. In particular, use "powerpc" rather
+    than "ppc", "i386" instead of "i686" and use -malign-double only
+    with "i386".
+
+ -- Drew Parsons <dparsons at debian.org>  Mon, 14 Jun 2004 16:31:52 +1000
+
+viewmol (2.4-2) unstable; urgency=low
+
+  * Rationalised the mesa build-dependencies (libglu-dev, libgl-dev) in
+    debian/control.
+  * There is some python problem with setAtomColors.py, so remove it
+    for now out of scripts into examples.  Let me know if you know how
+    to fix it. 
+
+ -- Drew Parsons <dparsons at debian.org>  Sun, 13 Jun 2004 18:28:32 +1000
+
+viewmol (2.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Use `uname -m` not `uname -p` in source/getmachine.
+    This means my Pentium II compiles with -mcpu=i686, but gcc docs
+    say the binary will nevertheless be compatible with i386, so I won't
+    fiddle with it further.
+  * KDE support files are now installed in their proper place.
+  * Russian font references (locale/ru/Viewmol, init.c) changed to refer to
+    fixed-cyrillic.  But I couldn't fixed the russian display of the menu and
+    the background text at the same time ;(  I left it in favour of the menu.
+
+ -- Drew Parsons <dparsons at debian.org>  Wed,  7 Jan 2004 09:42:51 +1100
+
+viewmol (2.3-7) unstable; urgency=low
+
+  * Recompile for new default python version, python 2.3.
+  * Changed Build-Depends to libdb4.1-dev from libdb2-dev. I wonder if I can
+    get rid of it altogether, is it really used?
+  * Remove man compilation line from debian/rules, along with
+    Build-Dependency on docbook-to-man.  Compile the man page once for all
+    during packaging, using docbook2man (gives better results than
+    docbook-to-man). Fixed some unknown entities in viewmol.sgml. Use
+    dh_installman not dh_installmanpages in debian/rules.
+  * Standards version 3.6.1.
+  * BTW, I've submitted a patch to convert the development version (v2.4)
+    to automake, but there were problems with it for non-Debian systems.
+    If you want to help fix it up, give me (or upstream) a buzz.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue,  9 Sep 2003 19:32:19 +1000
+
+viewmol (2.3-6) unstable; urgency=low
+
+  * Standards version 3.5.8.
+  * Changed menu entry to Apps/Science, hint "Chemistry".
+  * Suggests: openbabel (babel directory no longer needed in
+    /usr/share/doc/viewmol).
+  * Bumped Build-Depends on lesstif-dev to lesstif2-dev (seems to work fine).
+  * Removed debian/conffiles: debhelper now marks everything in /etc as a
+    conffile.
+  * As a side effect, automated dependency on python is updated to current
+    default (python2.2).  Closes: #171044.
+
+ -- Drew Parsons <dparsons at debian.org>  Thu, 12 Dec 2002 20:10:04 +1100
+
+viewmol (2.3-5) unstable; urgency=low
+
+  * Added doc-base control file.
+  * Standards version 3.5.6.0.
+
+ -- Drew Parsons <dparsons at debian.org>  Sat,  8 Dec 2001 01:01:22 +1100
+
+viewmol (2.3-4) unstable; urgency=low
+
+  * Added -lXmu to default LIBS in source/getmachine. Closes: #90459 (really).
+
+ -- Drew Parsons <dparsons at debian.org>  Tue,  3 Apr 2001 23:33:24 +1000
+
+viewmol (2.3-3) unstable; urgency=low
+
+  * Added xlibs-dev to Build-depends.  Closes: #90459.
+
+ -- Drew Parsons <dparsons at debian.org>  Mon, 26 Mar 2001 23:15:15 +1000
+
+viewmol (2.3-2) unstable; urgency=low
+
+  * Removed -malign-double from default OPT for Linux in source/getmachine.
+    Closes: #89898.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue, 20 Mar 2001 00:03:33 +1100
+
+viewmol (2.3-1) unstable; urgency=low
+
+  * Initial Release.  Closes: #89051.
+  * DEFAULTPATH in getrc.c changed from /usr/local/lib/viewmol to
+    /etc/viewmol.  This defined the default value of $VIEWMOLPATH,
+    where viewmolrc resides.
+  * Location of supplementary binaries and sources as defined in default
+    viewmolrc was split into /usr/lib/viewmol (C binaries) and 
+    /usr/share/viewmol (scripts).
+  * -m486 option deleted from default OPT definition for Linux in
+    source/getmachine.
+
+ -- Drew Parsons <dparsons at debian.org>  Mon, 12 Mar 2001 01:14:55 +1100
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8d0f112
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: viewmol
+Section: science
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Drew Parsons <dparsons at debian.org>
+Build-Depends: debhelper (>= 5.0.37.2), libtiff4-dev, libpng12-dev, zlib1g-dev, libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev, lesstif2-dev, libxmu-dev, libxp-dev, libxi-dev, libxext-dev, libxt-dev, libx11-dev, python-dev, python-support (>= 0.3)
+Standards-Version: 3.8.1
+
+Package: viewmol
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Suggests: openbabel, xfonts-cyrillic
+XB-Python-Version: ${python:Versions}
+Description: A graphical front end for computational chemistry programs.
+ Viewmol is a graphical front end for computational chemistry programs.
+ It is able to graphically aid in the generation of molecular structures for
+ computations and to visualize their results. 
+ .
+ At present Viewmol includes input filters for Discover, DMol3, Gamess,
+ Gaussian 9x/03, Gulp, Mopac, PQS, Turbomole, and Vamp outputs as well as
+ for PDB files. Structures can be saved as Accelrys' car-files, MDL files,
+ and Turbomole coordinate files. Viewmol can generate input files for
+ Gaussian 9x/03. Viewmol's file format has been added to OpenBabel so that
+ OpenBabel can serve as an input as well as an output filter for
+ coordinates.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..752a2dc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,9 @@
+This package was debianized by Drew Parsons <dparsons at debian.org> on
+Sun, 11 Mar 2001 16:23:55 +1100.
+
+It was downloaded from http://viewmol.sourceforge.net/
+
+Upstream Author: Jörg-Rüdiger Hill <joehill at users.sourceforge.net>
+
+Copyright: 1996-2004. GNU General Public License, version 2.
+See /usr/share/common-licenses/GPL-2.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..281fb7b
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,15 @@
+usr/bin
+usr/share/viewmol
+usr/lib/viewmol
+etc/viewmol
+etc/viewmol/locale
+usr/share/icons/crystalsvg/32x32/mimetypes
+usr/share/icons/crystalsvg/32x32/apps
+usr/share/icons/crystalsvg/48x48/mimetypes
+usr/share/icons/crystalsvg/48x48/apps
+usr/share/icons/crystalsvg/64x64/mimetypes
+usr/share/icons/crystalsvg/64x64/apps
+usr/share/icons/crystalsvg/128x128/mimetypes
+usr/share/icons/crystalsvg/128x128/apps
+usr/share/applications
+usr/share/pixmaps
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..1faf1ac
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,13 @@
+Document: viewmol
+Title: Viewmol Manual
+Author: Jörg-Rüdiger Hill (joehill at users.sourceforge.net)
+Abstract: This manual describes the configuration and use of viewmol,
+ a graphical front end for computational chemistry programs.
+Section: Science/Chemistry
+
+Format: pdf
+Files: /usr/share/doc/viewmol/viewmol.pdf.gz
+
+Format: HTML
+Index: /usr/share/doc/viewmol/viewmol.html
+Files: /usr/share/doc/viewmol/html/*.html
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..055e61a
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+viewmol-2.4.1-1.spec
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..c856467
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,3 @@
+etc/viewmol/viewmolrc usr/lib/viewmol/viewmolrc
+usr/share/viewmol/tests usr/share/doc/viewmol/tests
+usr/share/doc/viewmol usr/lib/viewmol/doc
\ No newline at end of file
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..5add866
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,5 @@
+?package(viewmol):needs="X11" section="Applications/Science/Chemistry"\
+  title="viewmol" \
+  command="/usr/bin/viewmol" \
+  hints="Chemistry" \
+  icon="/usr/share/pixmaps/viewmol.png"
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 0000000..ca1e200
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+# rename locale/en_US to en (from 2.4.1-12)
+if [ "$1" = "upgrade" ]; then
+    if dpkg --compare-versions "$2" lt-nl 2.4.1-12; then
+	if [ -d /etc/viewmol/locale/en_US/ ] && [ ! -d /etc/viewmol/locale/en/ ]; then
+		echo "Moving /etc/viewmol/locale/en_US/ to .../en"
+		mv /etc/viewmol/locale/en_US /etc/viewmol/locale/en
+	fi
+    fi
+fi
+
+
+#DEBHELPER#
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f94be02
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,105 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/viewmol
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) -C source
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f source/Makefile ] || $(MAKE) -C source clean
+	# viewmol's make clean does not clean out the '$$(os)' directory, so do it here.
+	-rm -r source/Linux source/.config.Linux
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# install the package into debian/viewmol.
+	cd source; ./install $(DESTDIR)/usr
+
+	# put arch-independent files into /usr/share/viewmol (make FHS compliant)
+	mv $(DESTDIR)/usr/lib/viewmol/viewmolrc  $(DESTDIR)/etc/viewmol
+	# why didn't this link work? Use dh_link instead ;/
+	#ln -s /etc/viewmol/viewmolrc $(DESTDIR)/usr/lib/viewmol/viewmolrc
+	cd $(DESTDIR)/usr/lib/viewmol; mv readdmol readgulp readpqs writecar \
+	    writegauss.py writemol writetm readdmol.awk \
+	    $(DESTDIR)/usr/share/viewmol
+	cd $(DESTDIR)/usr/lib/viewmol; mv examples locale scripts tests \
+	    $(DESTDIR)/usr/share/viewmol
+	# viewmol has no standard English, so change en_US to en
+	# or else other English locales fail
+	cd $(DESTDIR)/usr/share/viewmol/locale; mv en_US en
+
+	# localised Viewmol settings may be user-configurable 
+	# (conffiles go in /etc)
+	for i in $(DESTDIR)/usr/share/viewmol/locale/*; do \
+	    mkdir $(DESTDIR)/etc/viewmol/locale/`basename $${i}` ; \
+	    mv $${i}/Viewmol $(DESTDIR)/etc/viewmol/locale/`basename $${i}` ; \
+	    ln -s /etc/viewmol/locale/`basename $${i}`/Viewmol  $${i}/Viewmol ; \
+	done
+	
+	
+	# Viewmol scripts heavily depend on VIEWMOLPATH, without
+	# distinguishing between ../share and ../lib, so make a symlink.
+	for i in $(DESTDIR)/usr/share/viewmol/*; do \
+	    ln -s /usr/share/viewmol/`basename $${i}` $(DESTDIR)/usr/lib/viewmol/`basename $${i}` ; \
+	done
+	
+	# install KDE (and generic Desktop) support files
+	cd kde; KDEDIR=$(DESTDIR)/usr ./install
+	ln -s /usr/share/icons/crystalsvg/32x32/apps/viewmol.png $(DESTDIR)/usr/share/pixmaps
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs $(DESTDIR)/usr/lib/viewmol/doc/*
+	rm -r $(DESTDIR)/usr/lib/viewmol/doc
+	# don't want to compress examples, so don't use dh_installexamples
+	ln -s /usr/share/viewmol/examples/ $(DESTDIR)/usr/share/doc/viewmol
+	dh_installmenu
+	dh_installman debian/viewmol.1
+	dh_installchangelogs 
+	dh_link
+	dh_pysupport
+	dh_desktop
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/viewmol.1 b/debian/viewmol.1
new file mode 100644
index 0000000..ae39369
--- /dev/null
+++ b/debian/viewmol.1
@@ -0,0 +1,102 @@
+.\" This manpage has been automatically generated by docbook2man 
+.\" from a DocBook document.  This tool can be found at:
+.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
+.\" Please send any bug reports, improvements, comments, patches, 
+.\" etc. to Steve Cheng <steve at ggi-project.org>.
+.TH "VIEWMOL" "1" "18 March 2008" "" ""
+
+.SH NAME
+viewmol \- a graphical front end for computational chemistry programs
+.SH SYNOPSIS
+
+\fBviewmol\fR
+
+.SH "DESCRIPTION"
+.PP
+\fBviewmol\fR is a graphical front end for
+computational chemistry programs. 
+It is able to graphically aid in the generation of molecular structures for
+computations and to visualize their results. The program's capabilities
+include:
+.TP 0.2i
+\(bu
+Building and editing of molecules
+.TP 0.2i
+\(bu
+Visualization of the geometry of a molecule
+.TP 0.2i
+\(bu
+Tracing of a geometry optimization or a MD trajectory
+.TP 0.2i
+\(bu
+Animation of normal vibrations or to show them as arrows
+.TP 0.2i
+\(bu
+Drawing of IR, Raman, and inelastic neutron scattering spectra
+.TP 0.2i
+\(bu
+Drawing of an MO energy level or density of states diagram
+.TP 0.2i
+\(bu
+Drawing of basis functions, molecular orbitals, and electron densities
+.TP 0.2i
+\(bu
+Display of forces acting on each atom in a certain configuration
+.TP 0.2i
+\(bu
+Display of Miller planes in crystals
+.TP 0.2i
+\(bu
+Calculation of thermodynamic properties for molecules andreactions
+.TP 0.2i
+\(bu
+Drawings generated by \fBviewmol\fR can be saved as TIFF, HPGL, or
+PostScript files
+.TP 0.2i
+\(bu
+Animations of normal modes can be converted to a video file (MPEG),
+e.\~g. for inclusion into World Wide Web documents (requires additional
+programs available on the Internet)
+.TP 0.2i
+\(bu
+Interface to the freeware ray tracing program \fBRAYSHADE\fR (input
+file generation and use of \fBRAYSHADE\fR from within \fBviewmol\fR)
+.TP 0.2i
+\(bu
+Input and output in a variety of formats, new formats can be added
+easily by the user 
+\fBviewmol\fR includes a Python interpreter for automation.
+.PP
+At present \fBviewmol\fR includes input filters for
+\fBDISCOVER\fR, \fBDMOL\fR,
+\fBGAMESS\fR, \fBGAUSSIAN 9X\fR,
+\fBGULP\fR, \fBMOPAC\fR, and
+\fBTURBOMOLE\fR
+outputs as well as for PDB files (\fBviewmol\fR is therefore suited as a viewer
+for structural data on the World Wide Web). Structures can be saved as MSI
+car-files, MDL files, and \fBTURBOMOLE\fR coordinate files. \fBviewmol\fR\&'s
+file format has been added to \fBBABEL\fR so that
+\fBBABEL\fR can serve as an
+input as well as an output filter for coordinates.
+.PP
+\fBviewmol\fR supports a space ball as input device.
+.PP
+The support programs for converting to and from the various
+coordinate file types may potentially be useful as stand alone
+utilities. They are split between /usr/share/viewmol (scripts)
+and /usr/lib/viewmol (C binaries), but individual documentation
+for them is not available.
+.SH "SEE ALSO"
+.PP
+rasmol (1), gperiodic (1).
+.PP
+Complete HTML documentation may be found in
+/usr/share/doc/viewmol.
+.SH "AUTHOR"
+.PP
+\fBviewmol\fR was written by
+Jörg-Rüdiger Hill
+<joehill at users.sourceforge.net>\&.
+.PP
+This manual page was written by Drew Parsons <dparsons at debian.org> for
+the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/viewmol.sgml b/debian/viewmol.sgml
new file mode 100644
index 0000000..92a6a78
--- /dev/null
+++ b/debian/viewmol.sgml
@@ -0,0 +1,156 @@
+<!doctype refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
+
+  <!ENTITY dhfirstname "<firstname>Drew</firstname>">
+  <!ENTITY dhsurname   "<surname>Parsons</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>March 11, 2001</date>">
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>dparsons at debian.org</email>">
+  <!ENTITY dhusername  "Drew Parsons">
+  <!ENTITY dhucpackage "<refentrytitle>VIEWMOL</refentrytitle>">
+  <!ENTITY dhpackage   "viewmol">
+
+  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+  <docinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2001</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </docinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>a graphical front end for computational chemistry programs</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para><command>&dhpackage;</command> is a graphical front end for
+	    computational chemistry programs. 
+It is able to graphically aid in the generation of molecular structures for
+computations and to visualize their results. The program's capabilities
+include:
+
+<ITEMIZEDLIST MARK="bullet" >
+<LISTITEM><para>Building and editing of molecules</para></LISTITEM>
+<LISTITEM><para>Visualization of the geometry of a molecule</para></LISTITEM>
+<LISTITEM><para>Tracing of a geometry optimization or a MD trajectory</para></LISTITEM>
+<LISTITEM><para>Animation of normal vibrations or to show them as arrows</para></LISTITEM>
+<LISTITEM><para>Drawing of IR, Raman, and inelastic neutron scattering spectra</para></LISTITEM>
+<LISTITEM><para>Drawing of an MO energy level or density of states diagram</para></LISTITEM>
+<LISTITEM><para>Drawing of basis functions, molecular orbitals, and electron densities</para></LISTITEM>
+<LISTITEM><para>Display of forces acting on each atom in a certain configuration</para></LISTITEM>
+<LISTITEM><para>Display of Miller planes in crystals</para></LISTITEM>
+<LISTITEM><para>Calculation of thermodynamic properties for molecules andreactions</para></LISTITEM>
+<LISTITEM><para>Drawings generated by <command>&dhpackage;</command> can be saved as TIFF, HPGL, or
+PostScript files</para></LISTITEM>
+<LISTITEM><para>Animations of normal modes can be converted to a video file (MPEG),
+e.&nbsp;g. for inclusion into World Wide Web documents (requires additional
+programs available on the Internet)</para>
+</LISTITEM>
+<LISTITEM><para>Interface to the freeware ray tracing program <application>RAYSHADE</application> (input
+file generation and use of <application>RAYSHADE</application> from within <command>&dhpackage;</command>)
+</para></LISTITEM>
+<LISTITEM><para>Input and output in a variety of formats, new formats can be added
+easily by the user 
+</para></LISTITEM>
+</ITEMIZEDLIST>
+<command>&dhpackage;</command> includes a Python interpreter for automation.
+</para>
+
+<para>
+At present <command>&dhpackage;</command> includes input filters for
+<application>DISCOVER</application>, <application>DMOL</application>,
+<application>GAMESS</application>, <application>GAUSSIAN 9X</application>,
+<application>GULP</application>, <application>MOPAC</application>, and
+<application>TURBOMOLE</application>
+outputs as well as for PDB files (<command>&dhpackage;</command> is therefore suited as a viewer
+for structural data on the World Wide Web). Structures can be saved as MSI
+car-files, MDL files, and <application>TURBOMOLE</application> coordinate files. <command>&dhpackage;</command>'s
+file format has been added to <application>BABEL</application> so that
+<application>BABEL</application> can serve as an
+input as well as an output filter for coordinates.
+</para>
+
+<para>
+<command>&dhpackage;</command> supports a space ball as input device.
+</para>
+
+<para>The support programs for converting to and from the various
+      coordinate file types may potentially be useful as stand alone
+      utilities. They are split between /usr/share/viewmol (scripts)
+      and /usr/lib/viewmol (C binaries), but individual documentation
+      for them is not available.
+</para>
+  </refsect1>
+
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>rasmol (1), gperiodic (1).</para>
+
+<para>Complete HTML documentation may be found in
+	    /usr/share/doc/viewmol.
+</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+	  <para><command>&dhpackage;</command> was written by
+	  Jörg-Rüdiger Hill
+	 <email>joehill at users.sourceforge.net</email>.
+      </para>
+
+<para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).</para>
+
+
+    <!-- <para>Permission is granted to copy, distribute and/or modify
+      this document under the terms of the <acronym>GNU</acronym> Free
+      Documentation License, Version 1.1 or any later version
+      published by the Free Software Foundation; with no Invariant
+      Sections, no Front-Cover Texts and no Back-Cover Texts.  A copy
+      of the license can be found under
+      <filename>/usr/share/common-licenses/FDL</filename>.</para> -->
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+

-- 
UNNAMED PROJECT



More information about the debian-science-commits mailing list