2016-09-03 17:26:14 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
error_handler()
|
|
|
|
{
|
|
|
|
ERR_CODE=$?
|
|
|
|
echo
|
|
|
|
echo "Error $ERR_CODE with command '$BASH_COMMAND' on line ${BASH_LINENO[0]}. Exiting."
|
|
|
|
echo
|
|
|
|
exit $ERR_CODE
|
|
|
|
}
|
|
|
|
|
|
|
|
trap error_handler ERR
|
|
|
|
|
|
|
|
./bootstrap.sh
|
|
|
|
|
|
|
|
echo
|
2019-04-12 10:11:27 -04:00
|
|
|
echo "--> Building with ./configure --enable-notifications --enable-icons --enable-otr --enable-pgp --enable-omemo --enable-plugins --enable-c-plugins --enable-python-plugins --with-xscreensaver"
|
2016-09-03 17:26:14 -04:00
|
|
|
echo
|
2019-04-12 10:11:27 -04:00
|
|
|
./configure --enable-notifications --enable-icons --enable-otr --enable-pgp --enable-omemo --enable-plugins --enable-c-plugins --enable-python-plugins --with-xscreensaver
|
2016-09-03 17:26:14 -04:00
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
2019-04-12 10:11:27 -04:00
|
|
|
echo "--> Building with ./configure --disable-notifications --disable-icons --disable-otr --disable-pgp --disable-omemo --disable-plugins --disable-c-plugins --disable-python-plugins --without-xscreensaver"
|
2016-09-03 17:26:14 -04:00
|
|
|
echo
|
2019-04-12 10:11:27 -04:00
|
|
|
./configure --disable-notifications --disable-icons --disable-otr --disable-pgp --disable-omemo --disable-plugins --disable-c-plugins --disable-python-plugins --without-xscreensaver
|
2016-09-03 17:26:14 -04:00
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-notifications"
|
|
|
|
echo
|
|
|
|
./configure --disable-notifications
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-icons"
|
|
|
|
echo
|
|
|
|
./configure --disable-icons
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-otr"
|
|
|
|
echo
|
|
|
|
./configure --disable-otr
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-pgp"
|
|
|
|
echo
|
|
|
|
./configure --disable-pgp
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
2019-04-12 10:11:27 -04:00
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-omemo"
|
|
|
|
echo
|
|
|
|
./configure --disable-omemo
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
2016-09-03 17:26:14 -04:00
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-pgp --disable-otr"
|
|
|
|
echo
|
|
|
|
./configure --disable-pgp --disable-otr
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
2019-04-12 10:11:27 -04:00
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-pgp --disable-otr --disable-omemo"
|
|
|
|
echo
|
|
|
|
./configure --disable-pgp --disable-otr --disable-omemo
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
2016-09-03 17:26:14 -04:00
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-plugins"
|
|
|
|
echo
|
|
|
|
./configure --disable-plugins
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-python-plugins"
|
|
|
|
echo
|
|
|
|
./configure --disable-python-plugins
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-c-plugins"
|
|
|
|
echo
|
|
|
|
./configure --disable-c-plugins
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --disable-c-plugins --disable-python-plugins"
|
|
|
|
echo
|
|
|
|
./configure --disable-c-plugins --disable-python-plugins
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure --without-xscreensaver"
|
|
|
|
echo
|
|
|
|
./configure --without-xscreensaver
|
|
|
|
make
|
|
|
|
./profanity -v
|
|
|
|
make clean
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "--> Building with ./configure"
|
|
|
|
echo
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make check
|
|
|
|
./profanity -v
|
|
|
|
make clean
|