Browse Source

Remove old config

Bob Mottram 6 months ago
parent
commit
77763e5006
1 changed files with 0 additions and 148 deletions
  1. 0 148
      distros/parabola_old

+ 0 - 148
distros/parabola_old

@@ -1,148 +0,0 @@
-#!/bin/bash
-# On Parabola GNU/Linux
-# The Emacs package on Parabola usually works, but sometimes breaks
-
-CURR_DIR=$(pwd)
-
-EMACS_VERSION=26.2
-
-if [ ! -d ~/Downloads ]; then
-    mkdir ~/Downloads
-fi
-
-if [ -d "/home/$USER/Desktop" ]; then
-    { echo '#!/usr/bin/env xdg-open';
-      echo '[Desktop Entry]';
-      echo 'Name=Emacs';
-      echo 'GenericName=Text Editor';
-      echo 'Comment=Edit text';
-      echo 'MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;';
-      echo 'Exec=emacs %F';
-      echo 'Icon=emacs';
-      echo 'Type=Application';
-      echo 'Terminal=false';
-      echo 'Categories=Development;TextEditor;';
-      echo 'StartupWMClass=Emacs';
-      echo 'Keywords=Text;Editor;'; } > "/home/$USER/Desktop/emacs.desktop"
-    chmod +x "/home/$USER/Desktop/emacs.desktop"
-
-    { echo '#!/usr/bin/env xdg-open';
-      echo '[Desktop Entry]';
-      echo 'Name=KeePassX';
-      echo 'GenericName=Cross Platform Password Manager';
-      echo 'Exec=keepassxc %f';
-      echo 'Icon=keepassx';
-      echo 'Comment=Cross Platform Password Manager';
-      echo 'Terminal=false';
-      echo 'Type=Application';
-      echo 'Categories=Qt;Utility;Security;';
-      echo 'MimeType=application/x-keepass;';
-      echo 'X-SuSE-translate=true'; } > "/home/$USER/Desktop/keepassx.desktop"
-    chmod +x "/home/$USER/Desktop/keepassx.desktop"
-
-    { echo '#!/usr/bin/env xdg-open';
-      echo '[Desktop Entry]';
-      echo 'Name=MATE Terminal';
-      echo 'TryExec=mate-terminal';
-      echo 'Exec=mate-terminal';
-      echo 'Icon=utilities-terminal';
-      echo 'Type=Application';
-      echo 'X-MATE-DocPath=mate-terminal/index.html';
-      echo 'X-MATE-Bugzilla-Bugzilla=MATE';
-      echo 'X-MATE-Bugzilla-Product=mate-terminal';
-      echo 'X-MATE-Bugzilla-Component=BugBuddyBugs';
-      echo 'X-MATE-Bugzilla-Version=1.14.1';
-      echo 'Categories=System;GTK;Utility;TerminalEmulator;';
-      echo 'StartupNotify=true'; } > "/home/$USER/Desktop/mate-terminal.desktop"
-    chmod +x "/home/$USER/Desktop/mate-terminal.desktop"
-
-    { echo '[Desktop Entry]';
-      echo 'Version=1.0';
-      echo 'Type=Application';
-      echo 'Name=qTox';
-      echo 'GenericName=Tox client';
-      echo 'Comment=qTox is a powerful Tox client that follows the Tox design guidelines.';
-      echo 'TryExec=qtox';
-      echo 'Exec=qtox -p toxic_profile';
-      echo 'Icon=qtox';
-      echo 'Categories=InstantMessaging;AudioVideo;Network;';
-      echo 'Terminal=false';
-      echo 'MimeType=x-scheme-handler/tox;application/x-tox;'; } > "/home/$USER/Desktop/qtox.desktop"
-    chmod +x "/home/$USER/Desktop/qtox.desktop"
-fi
-
-# install emacs and package dependencies
-#sudo pacman-key --refresh-keys
-#sudo pacman -Syu
-sudo pacman -R --noconfirm emacs
-sudo pacman -S --noconfirm git make automake autoconf cmake gcc gdb
-sudo pacman -S --noconfirm openssl clang mpd vlc tor
-sudo pacman -S --noconfirm curl wget gnutls qt5-base
-sudo pacman -S --noconfirm keepassxc android-tools gnuplot sqlite graphviz xdot avahi gajim python2-pip openssh ntp
-sudo pacman -S --noconfirm syncthing calibre qtox youtube-dl
-sudo pacman -S --noconfirm llvm39 gimp
-sudo pacman -S --noconfirm shellcheck gnutls xorg-xrdb
-sudo pacman -S --noconfirm libdbusmenu-gtk3 libdbusmenu-gtk2 libdbusmenu-glib
-#sudo pacman -S --noconfirm ttf-fonts-meta
-
-sudo pacman -S --noconfirm adobe-source-code-pro-fonts adobe-source-sans-pro-fonts
-sudo pacman -S --noconfirm adobe-source-serif-pro-fonts artwiz-fonts font-bitstream-speedo fonts-tlwg
-sudo pacman -S --noconfirm gnu-free-fonts libsigsegv libsynctex  noto-fonts noto-fonts-cjk
-sudo pacman -S --noconfirm noto-fonts-emoji noto-fonts-extra otf-fira-mono otf-fira-sans
-sudo pacman -S --noconfirm otf-font-awesome otf-ipafont otf-overpass otf-stix potrace tex-gyre-fonts
-sudo pacman -S --noconfirm texlive-bin texlive-core texlive-fontsextra
-sudo pacman -S --noconfirm ttf-anonymous-pro ttf-arphic-ukai ttf-arphic-uming  ttf-asana-math
-sudo pacman -S --noconfirm ttf-baekmuk ttf-bitstream-vera ttf-croscore  ttf-droid ttf-font-awesome
-sudo pacman -S --noconfirm ttf-freebanglafont ttf-freefont ttf-gentium
-sudo pacman -S --noconfirm ttf-gentium-plus ttf-hack ttf-hanazono ttf-inconsolata ttf-indic-otf
-sudo pacman -S --noconfirm ttf-ionicons ttf-junicode ttf-khmer ttf-liberation ttf-linux-libertine
-sudo pacman -S --noconfirm ttf-linux-libertine-g ttf-mph-2b-damase ttf-roboto
-sudo pacman -S --noconfirm ttf-sazanami ttf-tibetan-machine ttf-ubraille xorg-bdftopcf
-sudo pacman -S --noconfirm xorg-font-utils xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-alias
-sudo pacman -S --noconfirm xorg-fonts-type1
-
-sudo pacman -S --noconfirm make
-
-cd ~/Downloads || exit 3647624
-if [ ! -f emacs-${EMACS_VERSION}.tar.gz ]; then
-    wget http://ftp.gnu.org/gnu/emacs/emacs-${EMACS_VERSION}.tar.gz
-fi
-hashval=$(sha256sum emacs-${EMACS_VERSION}.tar.gz | awk -F ' ' '{print $1}')
-if [[ "$hashval" != "4f99e52a38a737556932cc57479e85c305a37a8038aaceb5156625caf102b4eb" ]]; then
-    echo "Incorrect hash $hashval"
-    rm emacs-${EMACS_VERSION}.tar.gz
-    exit 7892363
-fi
-tar -xzvf emacs-${EMACS_VERSION}.tar.gz
-cd emacs-${EMACS_VERSION} || exit 734348
-./autogen.sh
-./configure --with-gnutls=no
-make bootstrap
-make
-sudo make install
-if [ ! -f /usr/local/bin/emacs ]; then
-    echo 'Emacs was not installed'
-    exit 78352
-fi
-cp /usr/local/bin/emacs /usr/bin/emacs
-
-#sudo pip2 install python-axolotl==0.1.35
-#sudo pip2 install cryptography
-#sudo pip2 install protobuf==2.6.1
-#mkdir ~/.local/share/gajim/plugins -p
-#cd ~/.local/share/gajim/plugins || exit 26782474
-#git clone https://github.com/omemo/gajim-omemo
-
-# start the daemons
-sudo systemctl enable tor
-sudo systemctl start tor
-sudo systemctl enable avahi-daemon
-sudo systemctl start avahi-daemon
-sudo systemctl enable ntpd
-sudo systemctl start ntpd
-
-cd "$CURR_DIR" || exit 364873568
-cd ..
-./install.sh
-git config --global core.editor emacs
-exit 0