mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
VARA - Initial support for WINE and VARA
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 17 December 2024
|
||||
# Updated : 31 December 2024
|
||||
# Updated : 28 January 2025
|
||||
# Purpose : Install QtTermTCP
|
||||
set -e
|
||||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
|
||||
@@ -17,6 +17,22 @@ INSTALL_DIR="/opt/${APP}-${VERSION}"
|
||||
INSTALL_BIN_DIR="${INSTALL_DIR}/bin"
|
||||
LINK_PATH="/opt/${APP}"
|
||||
|
||||
et-log "Enabling i386 architecture support.."
|
||||
dpkg --add-architecture i386
|
||||
apt update
|
||||
|
||||
et-log "Installing QtTermTCP 32-bit build dependencies..."
|
||||
apt install \
|
||||
qtbase5-dev:i386 \
|
||||
qtbase5-dev-tools:i386 \
|
||||
qt5-qmake:i386 \
|
||||
qtchooser:i386 \
|
||||
qtmultimedia5-dev:i386 \
|
||||
libqt5serialport5-dev:i386 \
|
||||
libfftw3-dev:i386 \
|
||||
qttools5-dev-tools:i386 \
|
||||
-y
|
||||
|
||||
et-log "Installing QtTermTCP build dependencies..."
|
||||
apt install \
|
||||
qtbase5-dev \
|
||||
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 20 January 2025
|
||||
# Updated : 1 February 2025
|
||||
# Purpose : Install WINE to support VARA
|
||||
|
||||
WIN32_DIR="${HOME}/.win32"
|
||||
|
||||
et-log "Installing WINE..."
|
||||
|
||||
# Check for an existing i386 architecture
|
||||
ARCH_OUT=$(dpkg --print-foreign-architectures | grep i386)
|
||||
[ $? -ne 0 ] && dpkg --add-architecture i386
|
||||
|
||||
#if [ ! -e "/etc/apt/keyrings/winehq-archive.key" ]; then
|
||||
# et-log "Adding apt keys for official wine repo"
|
||||
# mkdir -pm755 /etc/apt/keyrings
|
||||
# wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
|
||||
# wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
|
||||
# apt update
|
||||
# apt install --install-recommends winehq-stable
|
||||
#fi
|
||||
|
||||
apt install \
|
||||
wine \
|
||||
winetricks \
|
||||
exe-thumbnailer \
|
||||
-y
|
||||
|
||||
dialog --textbox wine.txt 15 74
|
||||
tput sgr 0 && clear
|
||||
+3
-1
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 16 March 2024
|
||||
# Updated : 31 December 2024
|
||||
# Updated : 20 January 2025
|
||||
# Purpose : Main installer for EmComm Tools OS Community
|
||||
|
||||
. ./env.sh
|
||||
@@ -57,3 +57,5 @@ exitIfNotRoot
|
||||
# Add user-specific data
|
||||
./download-osm-maps.sh
|
||||
./download-wikipedia.sh
|
||||
|
||||
./install-wine.sh
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
The base WINE applications have been installed to support a future
|
||||
installation of Windows programs such as VARA HF, VARA FM, and VARA
|
||||
Terminal. However, these applications can't be installed within this
|
||||
session of Cubic. They must be installed on a running version of
|
||||
EmComm Tools Community via a desktop session.
|
||||
|
||||
If you previously made a backup copy of your WINE installation using
|
||||
the "$HOME/add-ons/wine/06-backup-wine-install.sh" script and would
|
||||
like to bake it into this ISO image, perform the following:
|
||||
|
||||
1. Change into the skeleton directory now with:
|
||||
|
||||
cd /etc/skel
|
||||
|
||||
2. Copy your etc-wine-backup-*.tar.gz file using Cubic to this
|
||||
directory.
|
||||
|
||||
3. Restore the backup into this directory with:
|
||||
|
||||
tar -xzf etc-wine-backup-*.tar.gz
|
||||
|
||||
4. Confirm that you see a `.wine32` directory here.
|
||||
|
||||
5. Delete the compressed backup file to reduce the size of the
|
||||
final image.
|
||||
|
||||
rm etc-wine-backup-*.tar.gz
|
||||
Reference in New Issue
Block a user