using pathcelf instead of chrpath

This commit is contained in:
alemuntoni 2020-06-16 12:02:05 +02:00
parent df4755e92a
commit c85feea1a5
5 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install -y mesa-common-dev libglu1-mesa-dev libglew-dev libeigen3-dev libgmp-dev
sudo apt-get install -y libxkbcommon-x11-0 chrpath
sudo apt-get install -y libxkbcommon-x11-0 chrpath patchelf
- name: Setup env variables
id: envs
run: |

View File

@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install -y mesa-common-dev libglu1-mesa-dev libglew-dev libeigen3-dev libgmp-dev
sudo apt-get install -y libxkbcommon-x11-0 chrpath
sudo apt-get install -y libxkbcommon-x11-0 chrpath patchelf
- name: Setup env variables
id: envs
run: |

View File

@ -39,7 +39,7 @@ $INSTALL_PATH/resources/linuxdeployqt usr/share/applications/meshlab.desktop -ap
mv *.AppImage ../MeshLab$VERSION-linux.AppImage
chmod +x ../MeshLab$VERSION-linux.AppImage
chrpath -r '$ORIGIN/usr/lib:$ORIGIN/usr/lib/meshlab' AppRun
patchelf --set-rpath '$ORIGIN/usr/lib:$ORIGIN/usr/lib/meshlab' AppRun
chmod +x usr/bin/meshlab
chmod +x usr/bin/meshlabserver

View File

@ -24,7 +24,7 @@ cd $DISTRIB_PATH
$INSTALL_PATH/resources/linuxdeployqt usr/share/applications/meshlab.desktop -bundle-non-qt-libs -executable=usr/bin/meshlabserver
chrpath -r '$ORIGIN/usr/lib:$ORIGIN/usr/lib/meshlab' AppRun
patchelf --set-rpath '$ORIGIN/usr/lib:$ORIGIN/usr/lib/meshlab' AppRun
chmod +x usr/bin/meshlab
chmod +x usr/bin/meshlabserver

View File

@ -5,5 +5,5 @@
# Run this script if you never installed any of the MeshLab dependencies.
sudo apt-get update
sudo apt-get install -y qt5-default qttools5-dev-tools qtdeclarative5-dev libqt5xmlpatterns5-dev mesa-common-dev libglu1-mesa-dev lib3ds-dev libglew-dev libeigen3-dev libopenctm-dev libgmp-dev libqhull-dev #libmuparser-dev
sudo apt-get install -y qt5-default qttools5-dev-tools qtdeclarative5-dev libqt5xmlpatterns5-dev mesa-common-dev libglu1-mesa-dev lib3ds-dev libglew-dev libeigen3-dev libopenctm-dev libgmp-dev libqhull-dev patchelf chrpath #libmuparser-dev
sudo apt-get install -y chrpath