Package Details: meshlab 1.3.3-4

Git Clone URL: https://aur.archlinux.org/meshlab.git (read-only)
Package Base: meshlab
Description: System for processing and editing triangular meshes
Upstream URL: http://meshlab.sourceforge.net/
Licenses: GPL2
Submitter: net147
Maintainer: net147
Last Packager: net147
Votes: 74
Popularity: 2.953929
First Submitted: 2009-10-04 10:58
Last Updated: 2015-08-26 01:58

Latest Comments

nivata commented on 2015-08-26 13:36

Yep, it works now. Awesome!

net147 commented on 2015-08-26 02:29

nivata: I have fixed linking libfilter_csg.so to system MPIR so it should work now

nivata commented on 2015-08-24 19:52

Hi. Meshlab crashes when I try to perform CSG operations, with the following message:

meshlab: symbol lookup error: /opt/meshlab/plugins/libfilter_csg.so: undefined symbol: __gmpz_init_set_si


Is the CSG plugin correctly linked to the system MPIR/GMP?

dejavu commented on 2015-03-12 22:51

@net147: Wow, that was fast! Recompilation worked also. Now we can open the files per file manager ;-).
Thanks!

net147 commented on 2015-03-12 21:59

dejavu: done

dejavu commented on 2015-03-12 21:56

Please use following lines in the meshlab.desktop file, the first line allows selecting the application in "Open With" in the file managers.
Exec=meshlab %U
TryExec=meshlab

sftrytry commented on 2014-10-29 01:45

@net147
NVM. I borrow gentoo ebuild to make a 1.3.2 PKGBUILD. I post it in case anyone needs it.

# Maintainer: Jiaxi Hu <sftrytry@gmail.com>
pkgname=meshlab
pkgver=1.3.2
pkgrel=1
_gentoo_patch_root=http://data.gpo.zugaina.org/gentoo/media-gfx/${pkgname}/files/${pkgver}
pkgdesc="System for processing and editing triangular meshes"
arch=('i686' 'x86_64')
url="http://meshlab.sourceforge.net/"
license=('GPL2')
depends=('bzip2' 'desktop-file-utils' 'glu' 'lapack' 'mpir' 'openssl' 'qt4' 'lib3ds' 'muparser' 'glew' 'qhull' 'openctm' 'levmar' 'libunwind')
install="${pkgname}.install"
source=("http://downloads.sourceforge.net/project/meshlab/meshlab/MeshLab%20v${pkgver//[a-z]/}/MeshLabSrc_AllInc_v${pkgver//./}.tgz"
"${_gentoo_patch_root}/01_crash-on-save.patch"
"${_gentoo_patch_root}/02_cstddef.patch"
"${_gentoo_patch_root}/03_disable-updates.patch"
"${_gentoo_patch_root}/05_externals.patch"
"${_gentoo_patch_root}/06_format-security.patch"
"${_gentoo_patch_root}/07_gcc47.patch"
"${_gentoo_patch_root}/08_lib3ds.patch"
"${_gentoo_patch_root}/09_libbz2.patch"
"${_gentoo_patch_root}/10_muparser.patch"
"${_gentoo_patch_root}/11_openctm.patch"
"${_gentoo_patch_root}/12_overflow.patch"
"${_gentoo_patch_root}/13_pluginsdir.patch"
"${_gentoo_patch_root}/14_ply_numeric.patch"
"${_gentoo_patch_root}/15_qhull.patch"
"${_gentoo_patch_root}/16_shadersdir.patch"
"${_gentoo_patch_root}/17_structuresynth.patch"
"${_gentoo_patch_root}/18_glew.c18p1.patch"
"${_gentoo_patch_root}/19_CONFLICTS_IN_rpath.patch"
"${_gentoo_patch_root}/20_rpath.c18p2.patch"
"${_gentoo_patch_root}/21_RESOLUTION.patch"
"${_gentoo_patch_root}/22_aliasing.patch"
"meshlab.1"
"meshlabserver.1"
"meshlab.desktop")
noextract=("MeshLabSrc_AllInc_v${pkgver//./}.tgz")
md5sums=('3cba61f6d34559f98129d9d0a3126f81'
'6ac8d34314a4ea93fe14834177544dfe'
'd5c6678a1d851d46cf24140b1f77d1ba'
'5c1ab7821beaa7b140c224736a781af8'
'6fd005de854da603e8467382d10cadd4'
'2b2b9c33711679b3a96a203e0264cb08'
'b436b333f30029beb88c4c0dcbc3a13d'
'b220d370c6642cb4284f15dcb562b9f0'
'703fcc9ad67e2d5c0fc8c0223c0e83ff'
'1d7696609af3d8989943653bee987175'
'bbe5e858c43cff57f98d6e78190bf6bd'
'5e771fc525dc258ca28de369433f1746'
'94b9e2024e6b18a6bdddf5dd740d770b'
'037db02dbaa1774e348affd197316c53'
'd16ead4be706c54918e4116435ba778f'
'dcb25f33bb3daf6739911fb3ba8eadde'
'6e7ce0d0208884b1657ddde2aba722b5'
'0798c4abaef050bfe58e26c69af5d77b'
'7acd84f283ea03405b4c7fa0ef1ec4a9'
'891b8129c62ff67dc0039fa951ec947c'
'af48d908d6291f6a864e4371a239d11d'
'7beb7c417942ee4e6b4e0551ad3328d9'
'32a52b0a8dab1b4816b028b463e7fd9c'
'0af205a93961dbfcb6b003765f79c4cf'
'bf7ad5ae4a408ba2b66ad9a06ca24346')

prepare() {
cd "${srcdir}"

tar -zxf "MeshLabSrc_AllInc_v${pkgver//./}.tgz"

rm ${srcdir}/meshlab/src/distrib/plugins/*.xml
rm ${srcdir}/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h
#patches from debian repo
patch -p1 < ${srcdir}/01_crash-on-save.patch
patch -p1 < ${srcdir}/02_cstddef.patch
patch -p1 < ${srcdir}/03_disable-updates.patch
patch -p1 < ${srcdir}/05_externals.patch
patch -p1 < ${srcdir}/06_format-security.patch
patch -p1 < ${srcdir}/07_gcc47.patch
patch -p1 < ${srcdir}/08_lib3ds.patch
patch -p1 < ${srcdir}/09_libbz2.patch
patch -p1 < ${srcdir}/10_muparser.patch
patch -p1 < ${srcdir}/11_openctm.patch
patch -p1 < ${srcdir}/12_overflow.patch
patch -p1 < ${srcdir}/13_pluginsdir.patch
patch -p1 < ${srcdir}/14_ply_numeric.patch
patch -p1 < ${srcdir}/15_qhull.patch
patch -p1 < ${srcdir}/16_shadersdir.patch
patch -p1 < ${srcdir}/17_structuresynth.patch
patch -p1 < ${srcdir}/18_glew.c18p1.patch
patch -p1 < ${srcdir}/19_CONFLICTS_IN_rpath.patch
patch -p1 < ${srcdir}/20_rpath.c18p2.patch
patch -p1 < ${srcdir}/21_RESOLUTION.patch
patch -p1 < ${srcdir}/22_aliasing.patch
}

build() {
cd "${srcdir}/meshlab/src"

# build external libraries
cd external
qmake-qt4 -recursive external.pro
make

# build meshlab
cd ..
qmake-qt4 -recursive meshlab_full.pro
make
}

package() {
cd "${srcdir}/meshlab/src"

# install meshlab
install -d -m755 "${pkgdir}/opt"
cp -a distrib "${pkgdir}/opt/meshlab"

# add symbolic links for executables
install -d -m755 "${pkgdir}/usr/bin"
install -d -m755 "${pkgdir}/usr/lib"
ln -s ../../opt/meshlab/meshlab "${pkgdir}/usr/bin/meshlab"
ln -s ../../opt/meshlab/meshlabserver "${pkgdir}/usr/bin/meshlabserver"
ln -s ../../opt/meshlab/libcommon.so.1.0.0 "${pkgdir}/usr/lib/libcommon.so"
ln -s ../../opt/meshlab/libcommon.so.1.0.0 "${pkgdir}/usr/lib/libcommon.so.1"
ln -s ../../opt/meshlab/libcommon.so.1.0.0 "${pkgdir}/usr/lib/libcommon.so.1.0"

# install man pages
install -d -m755 "${pkgdir}/usr/share/man/man1"
install -m644 "${srcdir}/meshlab.1" "${pkgdir}"/usr/share/man/man1
install -m644 "${srcdir}/meshlabserver.1" "${pkgdir}"/usr/share/man/man1

# install icons
install -d -m755 "${pkgdir}/usr/share/pixmaps"
install -m644 "${srcdir}/meshlab/src/meshlab/images/eye_cropped.png" "${pkgdir}/usr/share/pixmaps/meshlab.png"

# install desktop entry
install -d -m755 "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/meshlab.desktop" "${pkgdir}/usr/share/applications"
sed -i "s#Version=.*#Version=$pkgver#" "${pkgdir}/usr/share/applications/meshlab.desktop"
}

# vim:set ts=2 sw=2 et:

sftrytry commented on 2014-10-28 19:34

@net147
Do your old version? Right-click crashes 1.3.3 on my intel gpu, but 1.3.2 looks fine.
Could you shared the PKGBUILD if there is.

l0ginof commented on 2014-07-08 03:04

This build doesn't have filter 'Image alignment: Mutual Information'
Crash when I use filter 'Parameterization from registered rasters'
On windows and macos all works well.

Was compiled with mpir 2.7
Comment by soravux

2014-06-30 16:06

Installs correctly when updated to the latest version:
- pkgver=2.6.0
+ pkgver=2.7.0
- source=(http://www.mpir.org/mpir-$pkgver.tar.lzma)
+ source=(http://www.mpir.org/mpir-$pkgver-alpha9.tar.lz)
- md5sums=('cec318bffabccd4e5a5d2b63389fde0f')
+ md5sums=('SKIP')

Only on ubuntu 14.04 meshlab works well, but has version 1.3.2

net147 commented on 2014-06-01 11:27

xoan: nlufr: fixed

All comments