summaryrefslogtreecommitdiff
path: root/graphics/meshlab/meshlab.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2014-04-14 05:55:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-14 05:55:10 +0700
commit936e218d368c1843778aaff34d676e3f7ef5878f (patch)
treea7527cda6f6189d86abd35499809c39649ecd7e3 /graphics/meshlab/meshlab.SlackBuild
parent6d85eac3b9375ebde70784c1f1241a4ecb4d8653 (diff)
downloadslackbuilds-936e218d368c1843778aaff34d676e3f7ef5878f.tar.gz
graphics/meshlab: Updated for version 1.3.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/meshlab/meshlab.SlackBuild')
-rw-r--r--graphics/meshlab/meshlab.SlackBuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/graphics/meshlab/meshlab.SlackBuild b/graphics/meshlab/meshlab.SlackBuild
index f2d71a4e86..122fff357f 100644
--- a/graphics/meshlab/meshlab.SlackBuild
+++ b/graphics/meshlab/meshlab.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=meshlab
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,20 +73,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# gcc-4.7 fixes:
-# see http://sourceforge.net/p/meshlab/bugs/308/
-sed -i -e 's/m\.vert\.math::Swap/m.vert.math/' vcglib/wrap/gl/trimesh.h
# see http://sourceforge.net/p/meshlab/bugs/342/
patch -p1 < $CWD/plystuff.diff
-# see https://bugzilla.redhat.com/show_bug.cgi?id=904282
-sed -i -e 's/this->::Clear();/Histogram<ScalarType>::Clear();/' \
- meshlab/src/meshlabplugins/decorate_base/colorhistogram.h
-
-# Other fixes (thanks to net147 over at Arch)
-# fix silly lapack error in ancient levmar
+# fix silly lapack error in ancient levmar (thanks to net147 over at Arch)
patch -p1 -d meshlab < $CWD/lapack.patch
-# qt-4.8 fixes
-patch -p1 -d meshlab < $CWD/qt-4.8.patch
# Build all the dependencies. These will be statically linked into meshlab.
# (Horrible duplication and many out of date, but avoids version clashes)
@@ -126,7 +116,7 @@ cp \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.txt ../../how_to_compile.txt \
+ README.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild