        === Super Simple SecondFaqtor Slackware Setup Steps: ===        

 If you're having trouble installing SecondFaqtor on Slackware or just
need a refresher on requirements and SlackBuilds, then this readme is
written for you. Please make sure to read and understand each step;
do not just copy and paste the lines into a terminal.

1) Download and install these SDL2 SlackBuild tarballs:
 a) https://slackbuilds.org/repository/14.2/libraries/SDL2/
 b) https://slackbuilds.org/repository/14.2/libraries/SDL2_image/
 c) https://slackbuilds.org/repository/14.2/libraries/SDL2_ttf/
 d) https://slackbuilds.org/repository/14.2/libraries/SDL2_mixer/
2) Download and install the QT5 SlackBuild tarball:
 a) https://slackbuilds.org/repository/14.2/libraries/qt5/
  NOTE: SecondFaqtor works with WEBENGINE=no!
 b) https://slackbuilds.org/repository/14.2/desktop/qt5ct/
 c) https://slackbuilds.org/repository/14.2/libraries/qt5-styleplugins/
  NOTE: (b) and (c) are optional, but highly recommended. if installed:
   i)  Add "export QT_QPA_PLATFORMTHEME=qt5ct" to ~/.profile
   ii) Select "gtk2" Style in QT5 Configuration Tool
3) Download and install the zbar SlackBuild tarball:
 a) https://slackbuilds.org/repository/14.2/graphics/zbar/
4) Download and install the Gambas3 SlackBuild tarball:
 a) https://slackbuilds.org/repository/14.2/development/gambas3/
5) Install the SecondFaqtor tarball


The steps will end up looking something like this:

cd ~/Downloads
mkdir SBo
cd SBo
wget https://slackbuilds.org/slackbuilds/14.2/libraries/SDL2.tar.gz
tar xzf SDL2.tar.gz
cd SDL2
wget "$(. SDL2.info; echo "$DOWNLOAD")"
sudo ./SDL2.SlackBuild
sudo installpkg /tmp/SDL2-*_SBo.tgz
sudo rm /tmp/SDL2-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/libraries/SDL2_image.tar.gz
tar xzf SDL2_image.tar.gz
cd SDL2_image
wget "$(. SDL2_image.info; echo "$DOWNLOAD")"
sudo ./SDL2_image.SlackBuild
sudo installpkg /tmp/SDL2_image-*_SBo.tgz
sudo rm /tmp/SDL2_image-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/libraries/SDL2_ttf.tar.gz
tar xzf SDL2_ttf.tar.gz
cd SDL2_ttf
wget "$(. SDL2_ttf.info; echo "$DOWNLOAD")"
sudo ./SDL2_ttf.SlackBuild
sudo installpkg /tmp/SDL2_ttf-*_SBo.tgz
sudo rm /tmp/SDL2_ttf-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/libraries/SDL2_mixer.tar.gz
tar xzf SDL2_mixer.tar.gz
cd SDL2_mixer
wget "$(. SDL2_mixer.info; echo "$DOWNLOAD")"
sudo ./SDL2_mixer.SlackBuild
sudo installpkg /tmp/SDL2_mixer-*_SBo.tgz
sudo rm /tmp/SDL2_mixer-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/development/ninja.tar.gz
tar xzf ninja.tar.gz
cd ninja
wget "$(. ninja.info; echo "$DOWNLOAD")"
sudo ./ninja.SlackBuild
sudo installpkg /tmp/ninja-*_SBo.tgz
sudo rm /tmp/ninja-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/python/python3.tar.gz
tar xzf python3.tar.gz
cd python3
wget "$(. python3.info; echo "$DOWNLOAD")"
sudo ./python3.SlackBuild
sudo installpkg /tmp/python3-*_SBo.tgz
sudo rm /tmp/python3-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/development/meson.tar.gz
tar xzf meson.tar.gz
cd meson
wget "$(. meson.info; echo "$DOWNLOAD")"
sudo ./meson.SlackBuild
sudo installpkg /tmp/meson-*_SBo.tgz
sudo rm /tmp/meson-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/libraries/libxkbcommon.tar.gz
tar xzf libxkbcommon.tar.gz
cd libxkbcommon
wget "$(. libxkbcommon.info; echo "$DOWNLOAD")"
sudo ./libxkbcommon.SlackBuild
sudo installpkg /tmp/libxkbcommon-*_SBo.tgz
sudo rm /tmp/libxkbcommon-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/libraries/qt5.tar.gz
tar xzf qt5.tar.gz
cd qt5
wget "$(. qt5.info; echo "$DOWNLOAD")"
sudo WEBENGINE=no ./qt5.SlackBuild
sudo installpkg /tmp/qt5-*_SBo.tgz
sudo rm /tmp/qt5-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/desktop/qt5ct.tar.gz
tar xzf qt5ct.tar.gz
cd qt5ct
wget "$(. qt5ct.info; echo "$DOWNLOAD")"
sudo ./qt5ct.SlackBuild
sudo installpkg /tmp/qt5ct-*_SBo.tgz
sudo rm /tmp/qt5ct-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/libraries/qt5-styleplugins.tar.gz
tar xzf qt5-styleplugins.tar.gz
cd qt5-styleplugins
wget "$(. qt5-styleplugins.info; echo "$DOWNLOAD")"
sudo ./qt5-styleplugins.SlackBuild
sudo installpkg /tmp/qt5-styleplugins-*_SBo.tgz
sudo rm /tmp/qt5-styleplugins-*_SBo.tgz

echo 'export QT_QPA_PLATFORMTHEME="qt5ct"' >> ~/.profile

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/graphics/zbar.tar.gz
tar xzf zbar.tar.gz
cd zbar
wget "$(. zbar.info; echo "$DOWNLOAD")"
sudo ./zbar.SlackBuild
sudo installpkg /tmp/zbar-*_SBo.tgz
sudo rm /tmp/zbar-*_SBo.tgz

cd ..
wget https://slackbuilds.org/slackbuilds/14.2/development/gambas3.tar.gz
tar xzf gambas3.tar.gz
cd gambas3
wget "$(. gambas3.info; echo "$DOWNLOAD")"
sudo ./gambas3.SlackBuild
sudo installpkg /tmp/gambas3-*_SBo.tgz
sudo rm /tmp/gambas3-*_SBo.tgz

cd ~/Downloads
rm -r SBo
sudo rm -r /tmp/SBo
wget https://repo.realityripple.com/slackware/secondfaqtor-1.2.6-noarch-1.tgz
sudo installpkg secondfaqtor-1.2.6-noarch-1.tgz
rm secondfaqtor-1.2.6-noarch-1.tgz
