Skip to content

Commit

Permalink
Initial configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alextrical committed Dec 1, 2023
1 parent 484b924 commit aca0b9b
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 68 deletions.
93 changes: 26 additions & 67 deletions config/files/usr/share/ublue-os/firstboot/yafti.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
title: Welcome to uBlue
title: Welcome to Makerspace Kinoite
properties:
mode: "run-on-change"
screens:
first-screen:
source: yafti.screen.title
values:
title: "Welcome to uBlue (Alpha)"
title: "Welcome to Makerspace Kinoite (Alpha)"
icon: "/path/to/icon"
description: |
This guided installer will help you get started with your new system.
Expand Down Expand Up @@ -53,79 +53,38 @@ screens:
user: false
system: true
groups:
Core GNOME Apps:
description: Core system applications for the GNOME desktop environment.
default: true
packages:
- Calculator: org.gnome.Calculator
- Calendar: org.gnome.Calendar
- Camera: org.gnome.Snapshot
- Characters: org.gnome.Characters
- Clocks: org.gnome.clocks
- Connections: org.gnome.Connections
- Contacts: org.gnome.Contacts
- Disk Usage Analyzer: org.gnome.baobab
- Document Scanner: org.gnome.SimpleScan
- Document Viewer: org.gnome.Evince
- Extension Manager: com.mattjakeman.ExtensionManager
- Font Viewer: org.gnome.font-viewer
- Image Viewer: org.gnome.Loupe
- Logs: org.gnome.Logs
- Maps: org.gnome.Maps
- Photos (Organizer): org.gnome.Photos
- Sushi (Nautilus Previewer): org.gnome.NautilusPreviewer
- Text Editor: org.gnome.TextEditor
- Videos (Player): org.gnome.Totem
- Weather: org.gnome.Weather
System Apps:
description: System applications for all desktop environments.
default: true
packages:
- Deja Dup Backups: org.gnome.DejaDup
- Fedora Media Writer: org.fedoraproject.MediaWriter
- Flatseal (Permission Manager): com.github.tchx84.Flatseal
- Font Downloader: org.gustavoperedo.FontDownloader
- Mozilla Firefox: org.mozilla.firefox
Web Browsers:
description: Additional browsers to complement or replace Firefox.
default: false
packages:
- Brave: com.brave.Browser
- GNOME Web: org.gnome.Epiphany
- Google Chrome: com.google.Chrome
- Microsoft Edge: com.microsoft.Edge
- Opera: com.opera.Opera
Gaming:
description: "Rock and Stone!"
default: false
packages:
- Bottles: com.usebottles.bottles
- Discord: com.discordapp.Discord
- Heroic Games Launcher: com.heroicgameslauncher.hgl
- Steam: com.valvesoftware.Steam
- Gamescope (Utility): org.freedesktop.Platform.VulkanLayer.gamescope
- MangoHUD (Utility): org.freedesktop.Platform.VulkanLayer.MangoHud//22.08
- SteamTinkerLaunch (Utility): com.valvesoftware.Steam.Utility.steamtinkerlaunch
- Proton Updater for Steam: net.davidotek.pupgui2
Office:
description: Boost your productivity.
default: false
- Breeze Theme: org.gtk.Gtk3theme.Breeze
Maker Apps:
description: Makerspace applications.
default: true
packages:
- Lutris: net.lutris.Lutris
- LibreOffice: org.libreoffice.LibreOffice
- OnlyOffice: org.onlyoffice.desktopeditors
- Obsidian: md.obsidian.Obsidian
- Slack: com.slack.Slack
- Standard Notes: org.standardnotes.standardnotes
- Thunderbird Email: org.mozilla.Thunderbird
Streaming:
description: Stream to the Internet.
default: false
CAD/CAM Apps:
description: Makerspace applications.
default: true
packages:
- Inkscape: org.inkscape.Inkscape
- Blender: org.blender.Blender
- FreeCAD: org.freecadweb.FreeCAD
- LibreCAD: org.librecad.librecad
- OpenSCAD: org.openscad.OpenSCAD
- PrusaSlicer: com.prusa3d.PrusaSlicer
Developer Apps:
description: Software Development applications.
default: true
packages:
- OBS Studio: com.obsproject.Studio
- VkCapture for OBS: com.obsproject.Studio.OBSVkCapture
- Gstreamer for OBS: com.obsproject.Studio.Plugin.Gstreamer
- Gstreamer VAAPI for OBS: com.obsproject.Studio.Plugin.GStreamerVaapi
- Boatswain for Streamdeck: com.feaneron.Boatswain
- VSCodium: com.vscodium.codium
- Arduino2: cc.arduino.IDE2
- RPi Imager: org.raspberrypi.rpi-imager

final-screen:
source: yafti.screen.title
Expand All @@ -134,10 +93,10 @@ screens:
icon: "/path/to/icon"
links:
- "Install More Applications":
run: /usr/bin/gnome-software
run: /usr/bin/plasma-discover
- "Website":
run: /usr/bin/xdg-open https://ublue.it
run: /usr/bin/xdg-open https://Makerspace Kinoite.it
- "Join the Discord Community":
run: /usr/bin/xdg-open https://discord.gg/XjG48C7VHx
description: |
Thanks for trying uBlue, we hope you enjoy it!
Thanks for trying Makerspace Kinoite, we hope you enjoy it!
14 changes: 13 additions & 1 deletion config/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ modules:
install:
# - micro
# - starship
- mesa-libGLU #Required by SheetCAM
- webkit2gtk4.0 #Required by OrcaSlicer
- wine-core
- wine-core.i686
- wine-ldap
- wine-mono
- patch
- cabextract
remove:
- firefox # default firefox removed in favor of flatpak
- firefox-langpacks # langpacks needs to also be removed to prevent dependency problems
Expand All @@ -43,7 +51,7 @@ modules:
# - devpod # https://devpod.sh/ as an rpm
# - gnome-vrr # enables gnome-vrr for your image
# - container-tools # installs container-related tools onto /usr/bin: kind, kubectx, docker-compose and kubens
# - laptop # installs TLP and configures your system for laptop usage
- laptop # installs TLP and configures your system for laptop usage
# - flatpaksync # allows synchronization of user-installed flatpaks, see separate documentation section


Expand All @@ -54,8 +62,12 @@ modules:
# this section is optional
# - Celluloid: io.github.celluloid_player.Celluloid
# - Krita: org.kde.krita
- Inkscape: org.inkscape.Inkscape

- type: script
scripts:
# # Gets the latest plugins
# - flathub.sh
# - inkscape.sh
# this sets up the proper policy & signing files for signed images to work
- signing.sh
12 changes: 12 additions & 0 deletions config/scripts/flathub.sh
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
73 changes: 73 additions & 0 deletions config/scripts/inkscape.sh
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
46 changes: 46 additions & 0 deletions config/scripts/inkstitch.sh
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'"

0 comments on commit aca0b9b

Please sign in to comment.