summaryrefslogtreecommitdiff
path: root/academic/wxmacmolplt
diff options
context:
space:
mode:
Diffstat (limited to 'academic/wxmacmolplt')
-rw-r--r--academic/wxmacmolplt/README5
-rw-r--r--academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch12
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.SlackBuild7
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.info8
4 files changed, 24 insertions, 8 deletions
diff --git a/academic/wxmacmolplt/README b/academic/wxmacmolplt/README
index 75a7315230..11396494b0 100644
--- a/academic/wxmacmolplt/README
+++ b/academic/wxmacmolplt/README
@@ -1,7 +1,8 @@
The MacMolPlt molecular visualization program
MacMolPlt is designed to display the input and output of the GAMESS(US)
-and PCGAMESS quantum chemistry packages. It produces animations and/or
-publication quality output from a variety of input file formats.
+and patched to support PCGAMESS/Firefly quantum chemistry packages.
+It produces animations and/or publication quality output from a variety
+of input file formats.
This requires wxGTK built with OpenGL support and ming.
diff --git a/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch b/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch
new file mode 100644
index 0000000000..f9e48f9d6b
--- /dev/null
+++ b/academic/wxmacmolplt/wxmacmolplt-7.4.3-kdiag.patch
@@ -0,0 +1,12 @@
+--- src/Files.cpp.orig 2012-03-24 18:51:08.000000000 +0400
++++ src/Files.cpp 2012-03-24 18:51:54.000000000 +0400
+@@ -3892,7 +3892,9 @@
+ sscanf(&(LineText[6]), "%d", &temp);
+ SetDiag(temp);
+ }
++ Buffer->SetFilePos(EndPos);
+ }
++
+ long MolDisplayWin::OpenGAMESSTRJ(BufferFile * Buffer, bool Append, long flip, float offset)
+ {
+ TypeOfRun runType=InvalidRunType;
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
index b0d865f8e3..eead56518a 100644
--- a/academic/wxmacmolplt/wxmacmolplt.SlackBuild
+++ b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
@@ -5,7 +5,7 @@
# Written by Daniil Bratashov <dn2010@gmail.com>
PRGNAM=wxmacmolplt
-VERSION=${VERSION:-7.4.2}
+VERSION=${VERSION:-7.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,9 @@ patch -p1 < $CWD/wxmacmolplt-7.2.1-raman.patch
# Fix for Firefly format autodetection
patch -p1 < $CWD/wxmacmolplt-7.4-firefly.patch
+# Fix for endless loop in system group read
+patch -p0 < $CWD/wxmacmolplt-7.4.3-kdiag.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,7 +86,7 @@ mkdir -p $PKG/usr/share/applications
cp resources/wxmacmolplt.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s ../../share/$PRGNAM misc )
diff --git a/academic/wxmacmolplt/wxmacmolplt.info b/academic/wxmacmolplt/wxmacmolplt.info
index ad3ac5b3e9..17e736797b 100644
--- a/academic/wxmacmolplt/wxmacmolplt.info
+++ b/academic/wxmacmolplt/wxmacmolplt.info
@@ -1,10 +1,10 @@
PRGNAM="wxmacmolplt"
-VERSION="7.4.2"
+VERSION="7.4.3"
HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
-DOWNLOAD="http://www.scl.ameslab.gov/MacMolPlt/download/wxmacmolplt-7.4.2.tar.gz"
-MD5SUM="493d96d7bc9fe0e82feeade75bb30fd1"
+DOWNLOAD="http://www.scl.ameslab.gov/MacMolPlt/download/wxmacmolplt-7.4.3.tar.gz"
+MD5SUM="d4fb4788fec48dcb7f206c812541d09a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Daniil Bratashov"
EMAIL="dn2010@gmail.com"
-APPROVED="rworkman"
+APPROVED="dsomero"