Pinta ist ein Grafikprogramm, für diejenigen, denen das einfache KolourPaint nicht reicht, aber Gimp oder Krita zu kompliziert, oder zu aufwendig zur Benutzung erscheint. Pnta startet auch sehr viel flotter, als die fetten Grafikprogramme, und kann dennoch erstaunlich viel.
Pinta ist über Snap oder Flatpak verfügbar, jeweils aber nicht so aktuell, wie das selbstgebaute Pinta aus dem Git. Wer also das aktuellste Pinta haben möchte, und auch nicht durch Snap Restriktionen behindert werden möchte, kann sich mit diesem Bash alias das jeweils aktuellste Pinta selbst bauen, das geht erstaunlich schnell.
alias pintaneu='INSTALLATIONSDISK=$HOME/Installationsdisk && \
PINTA_BASE=$INSTALLATIONSDISK/Pinta_Base && \
PINTA_SRC=$PINTA_BASE/Pinta && \
APP_NAME=Pinta && \
PREFIX=/usr && \
TMPFS_SIZE=0 && \
ID=$(id --user) && \
sudo apt install \
build-essential \
dotnet10 \
librust-gsk4-sys-dev \
librust-gtk4-dev \
librust-gtk4-sys-dev \
librust-libadwaita-dev \
librust-libadwaita-sys-dev \
librust-wayland* \
librust-winit-dev \
librust-x11* \
librust-xkbcommon-dl-dev && \
echo "apt-get OK" || echo "apt-get Error" && \
[ ! -d $INSTALLATIONSDISK ] && mkdir -pv $INSTALLATIONSDISK || echo "$INSTALLATIONSDISK exists" && \
[ ! -d $PINTA_BASE ] && mkdir -pv $PINTA_BASE || echo "$PINTA_BASE exists" && \
[ -d $PINTA_SRC ] && yes | sudo rm -rf $PINTA_SRC && \
echo "Builddir removed, OK" || echo "No need remove Builddir, OK." && \
[ ! -d $PINTA_SRC ] && mkdir -pv $PINTA_SRC || echo "$PINTA_SRC exists" && \
sudo mount -v tmpfs $PINTA_SRC -t tmpfs -o mode=777,size=$TMPFS_SIZE,uid=$ID && \
[ ! -d $PINTA_SRC/.git ] && git clone https://github.com/PintaProject/Pinta.git $PINTA_SRC && \
printf "\n \033[45m\033[1;36m==> $APP_NAME Sourcecode cloned. \033[0m\033[42m\033[1;36m ==> ... \033[0m \n \n" || \
printf "\n \033[45m\033[1;36m==> $APP_NAME Sourcecode found. \033[0m\033[42m\033[1;36m ==> ... \033[0m \n \n" && \
printf "\n \033[45m\033[1;36m==> Update $APP_NAME Sourcecode. \033[0m\033[42m\033[1;36m ==> ... \033[0m \n \n" && \
git -C $PINTA_SRC pull && \
echo "git pull done, OK." || echo "No git pull, OK." && \
git -C $PINTA_SRC submodule update --init --recursive && \
echo "submodule update done." || echo "No submodule update." && \
printf "\n \033[45m\033[1;36m==> Config $APP_NAME for build. \033[0m\033[42m\033[1;36m ==> ... \033[0m \n \n" && \
cd $PINTA_SRC && \
rm -rfv $PINTA_SRC/snap && \
time ./autogen.sh --prefix=$PREFIX && \
time ./configure --prefix=$PREFIX && \
printf "\n \033[45m\033[1;36m==> Build $APP_NAME. \033[0m\033[42m\033[1;36m ==> ... \033[0m \n \n" && \
time make -j $(nproc --all) && \
printf "\n \033[45m\033[1;36m==> Install $APP_NAME. \033[0m\033[42m\033[1;36m ==> ... \033[0m \n \n" && \
sudo porg -lp pinta "make install" && \
printf "\n \033[45m\033[1;36m==> Install $APP_NAME successful. \033[0m\033[42m\033[1;36m ==> Done.\033[0m \n \n" && \
printf "\n \033[45m\033[1;36m==> $APP_NAME deinstall: \033[0m\033[43m\033[1;36m sudo porg -rv pinta <== \033[0m \n \n" || \
printf "\n \033[41m\033[1;36m==> Install $APP_NAME failed.\033[0m \n \n" | tee -a $HOME/buildfail.log ; \
cd $HOME ; \
sudo ldconfig ; \
sudo umount -fv $PINTA_SRC ; \
[ -d $PINTA_SRC ] && yes | sudo rm -rf $PINTA_SRC && \
echo "Builddir cleaned." || echo "Builddir was clean." && \
cd $HOME'
porg muss zuvor installiert sein.