forked from blue-build/legacy-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
484b924
commit aca0b9b
Showing
5 changed files
with
170 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Tell this script to exit if there are any errors. | ||
# You should have this in every custom script, to ensure that your completed | ||
# builds actually ran successfully without any errors! | ||
set -oue pipefail | ||
|
||
# #Change flatpak to use flathub | ||
# flatpak remote-delete --system --force fedora | ||
# flatpak remote-delete --user --force fedora | ||
# flatpak remove --system --noninteractive --all | ||
# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Tell this script to exit if there are any errors. | ||
# You should have this in every custom script, to ensure that your completed | ||
# builds actually ran successfully without any errors! | ||
set -oue pipefail | ||
|
||
# This script grabs the latest mightyscape-1.2 repo | ||
# https://github.com/eridur-de/mightyscape-1.2 | ||
mkdir -p /usr/share/inkscape/git | ||
mkdir -p /usr/share/inkscape/extensions | ||
git clone https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.2.git /usr/share/inkscape/git/mightyscape-1.2 | ||
mv /usr/share/inkscape/git/mightyscape-1.2/extensions/fablabchemnitz /usr/share/inkscape/extensions/fablab | ||
#pip install -r /usr/share/inkscape/git/mightyscape-1.2/requirements.txt | ||
#python -m pip install --upgrade pip #upgrade pip first | ||
#pip install --upgrade --quiet --no-cache-dir -r /usr/share/inkscape/requirements.txt | ||
#cat /usr/share/inkscape/requirements.txt | sed '/^#/d' | xargs -n 1 pip install --upgrade --quiet --no-cache-dir #use this in case the previous command failed (skip errors) | ||
rm -rf /usr/share/inkscape/git | ||
|
||
# This script grabs the latest inkstitch release | ||
curl -s https://api.github.com/repos/inkstitch/inkstitch/releases/latest \ | ||
| grep "browser_download_url.*-linux.tar.xz" \ | ||
| cut -d : -f 2,3 \ | ||
| tr -d \" \ | ||
| xargs wget -qO - \ | ||
| xz -d \ | ||
| tar -xf - -C /usr/share/inkscape/ | ||
|
||
# #Requirements | ||
# pip install debugpy | ||
# pip install lxml | ||
# pip install moderngl | ||
# pip install numpy | ||
# pip install networkx | ||
# pip install opencv-python | ||
# pip install pyclipper | ||
# pip install pillow | ||
# pip install scipy | ||
# pip install scour | ||
# pip install shapely | ||
# pip install svg-to-gcode | ||
# pip install svgpathtools | ||
# pip install vpype | ||
# pip install vpype-dxf | ||
# #GitPython required by mightyscape updater extension | ||
# pip install GitPython | ||
# pip install wheel | ||
# pip install pytesseract | ||
# pip install cairosvg | ||
# pip install PyQt5 | ||
# pip install PySide6 | ||
# #brother_ql required by iventory_sticker extension | ||
# pip install brother_ql | ||
# #cssselect required by boxes.py and mightyscape updater extension | ||
# pip install cssselect | ||
# #affine required by boxes.py extension | ||
# pip install affine | ||
# #pip install openmesh #Removed as it crashes on install | ||
# wget https://gitlab.vci.rwth-aachen.de:9000/OpenMesh/openmesh-python/-/jobs/artifacts/master/download?job=deploy-3.9-linux -O "openmesh.zip" | ||
# unzip "openmesh.zip" | ||
# rm -f "openmesh.zip" | ||
# pip install | ||
|
||
|
||
# #vpype occult plugin setup | ||
# pip install git+https://github.com/abey79/occult.git#egg=occult | ||
|
||
# #vpype deduplicate plugin setup | ||
# pip install tqdm | ||
# pip install git+https://github.com/LoicGoulefert/deduplicate.git#egg=deduplicate | ||
|
||
# #plycutter | ||
# pip install git+https://github.com/tjltjl/plycutter.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Tell this script to exit if there are any errors. | ||
# You should have this in every custom script, to ensure that your completed | ||
# builds actually ran successfully without any errors! | ||
set -oue pipefail | ||
|
||
#Get latest release | ||
# mkdir -p /usr/share/inkscape | ||
curl -s https://api.github.com/repos/inkstitch/inkstitch/releases/latest \ | ||
| grep "browser_download_url.*-linux.tar.xz" \ | ||
| cut -d : -f 2,3 \ | ||
| tr -d \" \ | ||
| xargs wget -qO - \ | ||
| xz -d \ | ||
| tar -xf - -C /usr/share/inkscape/ | ||
|
||
# # get up to date inkex version (March 18 2023) | ||
# pip install "inkex @ git+https://gitlab.com/inkscape/extensions.git@29205f3cc6c39283e190a36d72d01ef428f668e5" | ||
|
||
# #pip install "wxPython>=4.1.1" | ||
# pip install -U \ | ||
# -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/fedora-38 \ | ||
# wxPython | ||
|
||
# pip install backports.functools_lru_cache | ||
# pip install networkx | ||
# pip install shapely | ||
# pip install lxml | ||
# pip install appdirs | ||
# pip install numpy | ||
# pip install "jinja2>2.9" | ||
# pip install requests | ||
|
||
# # colormath - last official release: 3.0.0 | ||
# # we need already submitted fixes - so let's grab them from the github repository | ||
# pip install "colormath @ git+https://github.com/gtaylor/python-colormath.git@4a076831fd5136f685aa7143db81eba27b2cd19a" | ||
|
||
# pip install "flask>=2.2.0" | ||
# pip install fonttools | ||
# pip install "trimesh>=3.15.2" | ||
# pip install scipy | ||
# pip install diskcache | ||
# pip install flask-cors | ||
# pip install "pywinutils ; sys_platform == 'win32'" | ||
# pip install "pywin32 ; sys_platform == 'win32'" |