mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
Install the icon of the application in the hicolor XDG icon theme; this way it can be properly loaded by XDG menus in the currently set XDG icon theme, without looking in the legacy pixmaps location. As result, adapt the desktop file by removing the full path to the icon (which was already buggy for installations in prefixes different than /usr), so the bare icon name will be searched in the XDG icon theme as expected. Also, remove the manual icon copying in a bundle script, as the icon is installed in the right place now.
#scripts folder
This folder contains a series of platform-dependent scripts to build and deploy MeshLab.
Every platform folder contains:
1_build.sh: a script that builds MeshLab. Requires a Qt environment properly set, withcmakeaccessible. Takes as inputh the build directory (default:src/build), the install directory (default:src/install) and the number of cores used to build MeshLab (default:-j4). Example of call:bash 1_build.sh --build_path=path/to/build --install_path=path/to/install -j82_deploy.sh: a script that deploys MeshLab, making sure that the folder will be a self-contained MeshLab, without Qt library dependencies. Requires a properly built MeshLab in the directory passed as an argument (default:src/install). Example of call:bash 2_deploy.sh --install_path=path/to/deploy3_$installer$.sh: a script that computes a platform-dependent self-contained package/installer of MeshLab. Requires a properly deployed MeshLab in the directory passed as an argument (default:src/install). The result will be saved in the parent directory of the given argument.make_it.sh: a script that computes all the three previous scripts: starting from the source code, it will produce a self-contained package/installer of MeshLab (arguments are the same of1_build.sh). Example of call:bash makeit.sh --build_path=path/to/build --install_path=path/to/install -j8
Note for Windows: scripts are written in bash, therefore they should be run in a linux subsystem environment. See in each platform subfolder for details and other platform-dependent requirements: