Update FreeCAD app to deb version
parent
fea8f5e2e6
commit
0b18031e02
@ -1,4 +0,0 @@
|
||||
This version of FreeCAD has already been compiled for Raspberry Pi.
|
||||
Botspot followed Scruss's compilation instructions for FreeCAD 0.18.4, on a Raspberry Pi 4B4, on 9/21/2020.
|
||||
To run: Menu -> Graphics -> FreeCAD
|
||||
To run in a terminal: FreeCAD
|
Binary file not shown.
Before Width: | Height: | Size: 951 B |
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB |
@ -1,24 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Get dependencies
|
||||
"${DIRECTORY}/pkg-install" "cmake build-essential libtool lsb-release swig libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-thread-dev libcoin-dev libeigen3-dev libgts-bin libgts-dev libkdtree++-dev libmedc-dev libopencv-dev libproj-dev libvtk6-dev libx11-dev libxerces-c-dev libzipios++-dev qt4-dev-tools libqt4-dev libqt4-opengl-dev libqtwebkit-dev libshiboken-dev libpyside-dev pyside-tools python-dev python-matplotlib python-pivy python-ply python-pyside libocct*-dev occt-draw libocct-data-exchange-dev libocct-draw-dev libocct-visualization-dev libsimage-dev doxygen libcoin-doc dh-exec libspnav-dev" "$(dirname "$0")" || exit 1
|
||||
|
||||
#download from google drive
|
||||
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=10zsGG86z2iCN4bIfs4D4wg2hZJ4J5hGF' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=10zsGG86z2iCN4bIfs4D4wg2hZJ4J5hGF" -O freecad-precompiled.zip || error "failed to download archive from Google Drive!"
|
||||
|
||||
rm -f /tmp/cookies.txt || echo "Warning: failed to remove cookies.txt."
|
||||
|
||||
rm -rf freecad-build FreeCAD-0.18.4 || error "Failed to delete freecad-build and FreeCAD-0.18.4 folders!"
|
||||
|
||||
unzip -q ~/freecad-precompiled.zip || error "Failed to extract archive!"
|
||||
rm -f ~/freecad-precompiled.zip || error "Failed to delete archive!"
|
||||
|
||||
cd freecad-build || error "Failed to enter directory!"
|
||||
sudo make install || error "sudo make install failed!"
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
|
||||
|
||||
sudo rm -f $(cat ~/freecad-build/install_manifest.txt) ~/.local/share/applications/org.freecadweb.FreeCAD.desktop || error "failed to remove every installed file!"
|
||||
|
||||
rm -rf ~/freecad-precompiled ~/FreeCAD-0.18.4 || error "failed to remove both installation folders!"
|
@ -1 +0,0 @@
|
||||
https://github.com/Botspot/FreeCAD-precompiled
|
@ -1,4 +1,4 @@
|
||||
3D designer software. Unlike the repository's version of FreeCAD, this one actually works.
|
||||
Warning: Takes several hours to compile! Compiling consumes 100% of the CPU, and 4GB of RAM.
|
||||
Thanks to @chunky-milk, the FreeCAD app is now a deb, and installs in a few minutes instead of many hours!
|
||||
To run: Menu -> Graphics -> FreeCAD
|
||||
To run in a terminal: FreeCAD
|
||||
|
Loading…
Reference in New Issue