mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-22 19:45:54 -04:00
Set version to 0.4.5
This commit is contained in:
parent
9578a0b36a
commit
8120c9ebb0
@ -20,7 +20,7 @@ AS_CASE([$host_os],
|
|||||||
[cygwin], [PLATFORM="cygwin"],
|
[cygwin], [PLATFORM="cygwin"],
|
||||||
[PLATFORM="nix"])
|
[PLATFORM="nix"])
|
||||||
|
|
||||||
PACKAGE_STATUS="development"
|
PACKAGE_STATUS="release"
|
||||||
|
|
||||||
### Get git branch and revision if in development
|
### Get git branch and revision if in development
|
||||||
if test "x$PACKAGE_STATUS" = xdevelopment; then
|
if test "x$PACKAGE_STATUS" = xdevelopment; then
|
||||||
|
@ -74,6 +74,7 @@ install_lib_strophe()
|
|||||||
echo
|
echo
|
||||||
git clone git://github.com/strophe/libstrophe.git
|
git clone git://github.com/strophe/libstrophe.git
|
||||||
cd libstrophe
|
cd libstrophe
|
||||||
|
git checkout 0.8.7
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
./configure --prefix=$1
|
./configure --prefix=$1
|
||||||
make
|
make
|
||||||
@ -102,6 +103,7 @@ cyg_install_lib_strophe()
|
|||||||
echo
|
echo
|
||||||
git clone git://github.com/strophe/libstrophe.git
|
git clone git://github.com/strophe/libstrophe.git
|
||||||
cd libstrophe
|
cd libstrophe
|
||||||
|
git checkout 0.8.7
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
./bootstrap.sh # second call seems to fix problem on cygwin
|
./bootstrap.sh # second call seems to fix problem on cygwin
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
60
upgrade.sh
60
upgrade.sh
@ -1,60 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
linux_upgrade()
|
|
||||||
{
|
|
||||||
echo
|
|
||||||
echo Profanity installer... upgrading Profanity
|
|
||||||
echo
|
|
||||||
./bootstrap.sh
|
|
||||||
./configure
|
|
||||||
make clean
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
echo
|
|
||||||
echo Profanity installer... upgrade complete!
|
|
||||||
echo
|
|
||||||
echo Type \'profanity\' to run.
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
cygwin_upgrade()
|
|
||||||
{
|
|
||||||
echo
|
|
||||||
echo Profanity installer... upgrading Profanity
|
|
||||||
echo
|
|
||||||
export LIBRARY_PATH=/usr/local/lib
|
|
||||||
./bootstrap.sh
|
|
||||||
./configure
|
|
||||||
make clean
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
echo
|
|
||||||
echo Profanity installer... upgrade complete!
|
|
||||||
echo
|
|
||||||
echo Type \'profanity\' to run.
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
OS=`uname -s`
|
|
||||||
SYSTEM=unknown
|
|
||||||
|
|
||||||
if [ "${OS}" = "Linux" ]; then
|
|
||||||
SYSTEM=linux
|
|
||||||
else
|
|
||||||
echo $OS | grep -i cygwin
|
|
||||||
if [ "$?" -eq 0 ]; then
|
|
||||||
SYSTEM=cygwin
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "$SYSTEM" in
|
|
||||||
unknown) echo The upgrade script will not work on this OS.
|
|
||||||
echo Try a manual upgrade instead.
|
|
||||||
exit
|
|
||||||
;;
|
|
||||||
linux) linux_upgrade
|
|
||||||
;;
|
|
||||||
cygwin) cygwin_upgrade
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user