install pinta from source for jammy, migrate postman,qbittorrent,remmina

This commit is contained in:
Teja Swaroop Pothala 2025-02-19 00:43:40 +00:00
parent 035013b207
commit c40d134ed0
No known key found for this signature in database
GPG Key ID: FA5E53D328E228D2
6 changed files with 46 additions and 13 deletions

View File

@ -126,14 +126,14 @@ multiImages:
- src/ubuntu/install/slack/** - src/ubuntu/install/slack/**
- name: pinta - name: pinta
singleapp: true singleapp: true
base: core-ubuntu-focal base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-pinta dockerfile: dockerfile-kasm-pinta
changeFiles: changeFiles:
- dockerfile-kasm-pinta - dockerfile-kasm-pinta
- src/ubuntu/install/pinta/** - src/ubuntu/install/pinta/**
- name: qbittorrent - name: qbittorrent
singleapp: true singleapp: true
base: core-ubuntu-focal base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-qbittorrent dockerfile: dockerfile-kasm-qbittorrent
changeFiles: changeFiles:
- dockerfile-kasm-qbittorrent - dockerfile-kasm-qbittorrent
@ -155,7 +155,7 @@ multiImages:
- src/ubuntu/install/cleanup/** - src/ubuntu/install/cleanup/**
- name: remmina - name: remmina
singleapp: true singleapp: true
base: core-ubuntu-focal base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-remmina dockerfile: dockerfile-kasm-remmina
changeFiles: changeFiles:
- dockerfile-kasm-remmina - dockerfile-kasm-remmina
@ -792,7 +792,7 @@ singleImages:
- src/ubuntu/install/cleanup/** - src/ubuntu/install/cleanup/**
- name: postman - name: postman
singleapp: true singleapp: true
base: core-ubuntu-focal base: core-ubuntu-jammy
dockerfile: dockerfile-kasm-postman dockerfile: dockerfile-kasm-postman
changeFiles: changeFiles:
- dockerfile-kasm-postman - dockerfile-kasm-postman

View File

@ -1,5 +1,5 @@
ARG BASE_TAG="develop" ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-ubuntu-focal" ARG BASE_IMAGE="core-ubuntu-jammy"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root USER root

View File

@ -1,5 +1,5 @@
ARG BASE_TAG="develop" ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-ubuntu-focal" ARG BASE_IMAGE="core-ubuntu-jammy"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root USER root

View File

@ -1,5 +1,5 @@
ARG BASE_TAG="develop" ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-ubuntu-focal" ARG BASE_IMAGE="core-ubuntu-jammy"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root USER root

View File

@ -1,5 +1,5 @@
ARG BASE_TAG="develop" ARG BASE_TAG="develop"
ARG BASE_IMAGE="core-ubuntu-focal" ARG BASE_IMAGE="core-ubuntu-jammy"
FROM kasmweb/$BASE_IMAGE:$BASE_TAG FROM kasmweb/$BASE_IMAGE:$BASE_TAG
USER root USER root

View File

@ -2,12 +2,45 @@
set -ex set -ex
# Install Pinta # Install Pinta
apt-get update # For Jammy, build pinta from source because standard package is buggy
apt-get install -y pinta if grep -q Jammy /etc/os-release; then
# install requirements for building pinta from source
apt update -y
apt-get install -y dotnet-sdk-8.0
apt-get install -y libgtk-3-dev
apt install -y autotools-dev autoconf-archive gettext intltool libadwaita-1-dev
# download and install pinta 2.1.2 source
wget -q https://github.com/PintaProject/Pinta/releases/download/2.1.2/pinta-2.1.2.tar.gz -O /tmp/pinta-2.1.2.tar.gz
tar -xvzf /tmp/pinta-2.1.2.tar.gz -C /tmp/
cd /tmp/pinta-2.1.2
./configure --prefix=/usr/local
make install
# Default settings and desktop icon # cleanup
cp /usr/share/applications/pinta.desktop $HOME/Desktop/ rm -rf /tmp/pinta-2.1.2.tar.gz /tmp/pinta-2.1.2
chmod +x $HOME/Desktop/pinta.desktop
# create desktop file
cat >/usr/share/applications/pinta.desktop <<EOL
[Desktop Entry]
Name=Pinta
Comment=Simple Drawing/Editing Program
Exec=/usr/local/bin/pinta
Icon=/usr/local/share/icons/hicolor/96x96/apps/pinta.png
Terminal=false
Type=Application
Categories=Graphics;2DGraphics;RasterGraphics;
EOL
chmod +x /usr/share/applications/pinta.desktop
cp /usr/share/applications/pinta.desktop $HOME/Desktop/
else
apt-get update
apt-get install -y pinta
# Default settings and desktop icon
cp /usr/share/applications/pinta.desktop $HOME/Desktop/
chmod +x $HOME/Desktop/pinta.desktop
fi
# Cleanup for app layer # Cleanup for app layer
chown -R 1000:0 $HOME chown -R 1000:0 $HOME