mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
made branch v0.5.0 to stabilise the dev of v0.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2524 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5e0c8e062e
commit
b4d8c398ce
12 changed files with 80 additions and 27 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
###################### PARAMETERS ####################
|
||||
version="0.4.12"
|
||||
version="0.5-alpha1"
|
||||
arch=`dpkg --print-architecture`
|
||||
packager="Cyril Soler <csoler@users.sourceforge.net>"
|
||||
######################################################
|
||||
|
@ -11,14 +11,15 @@ svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
|||
echo done.
|
||||
version="$version"."$svn"
|
||||
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
|
||||
rsdir="../.."
|
||||
|
||||
echo Building retroshare debian package version $version for Ubuntu $arch.
|
||||
echo Please check that:
|
||||
echo " "- you have sudo access and that root has right to write in this directory and the subdirectories.
|
||||
echo " "- you have compiled libretroshare and retroshare-gui in ../../libretroshare/src/
|
||||
echo " "and ../../retroshare-gui/src/
|
||||
echo " "- you have updated version numbers in ../../retroshare-gui/src/util/rsversion.cpp
|
||||
echo " "and ../../retroshare-gui/src/retroshare.nsi
|
||||
echo " "- you have compiled libretroshare and retroshare-gui in "$rsdir"/libretroshare/src/
|
||||
echo " "and "$rsdir"/retroshare-gui/src/
|
||||
echo " "- you have updated version numbers in "$rsdir"/retroshare-gui/src/util/rsversion.cpp
|
||||
echo " "and "$rsdir"/retroshare-gui/src/retroshare.nsi
|
||||
echo " "- version and name will be: $pkgname
|
||||
|
||||
if ! test `whoami` = "root" ; then
|
||||
|
@ -47,22 +48,22 @@ mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
|||
find retroshare -name "*~" -exec \rm -f {} \;
|
||||
|
||||
# copy executables at the right place
|
||||
if ! test -f ../../retroshare-gui/src/RetroShare; then
|
||||
echo Can not find executable ../../retroshare-gui/src/RetroShare. Please fix this.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
if ! test -f ../../retroshare-nogui/src/retroshare-nogui; then
|
||||
echo Can not find executable ../../retroshare-nogui/src/retroshare-nogui. Please fix this.
|
||||
if ! test -f "$rsdir"/retroshare-gui/src/RetroShare; then
|
||||
echo Can not find executable "$rsdir"/retroshare-gui/src/RetroShare. Please fix this.
|
||||
echo
|
||||
exit ;
|
||||
fi
|
||||
#if ! test -f "$rsdir"/retroshare-nogui/src/retroshare-nogui; then
|
||||
# echo Can not find executable "$rsdir"/retroshare-nogui/src/retroshare-nogui. Please fix this.
|
||||
# echo
|
||||
# exit ;
|
||||
#fi
|
||||
|
||||
echo Stripping executables...
|
||||
cp ../../retroshare-gui/src/RetroShare retroshare/usr/bin/
|
||||
cp "$rsdir"/retroshare-gui/src/RetroShare retroshare/usr/bin/
|
||||
strip retroshare/usr/bin/RetroShare
|
||||
cp ../../retroshare-nogui/src/retroshare-nogui retroshare/usr/bin/
|
||||
strip retroshare/usr/bin/retroshare-nogui
|
||||
#cp ../../retroshare-nogui/src/retroshare-nogui retroshare/usr/bin/
|
||||
#strip retroshare/usr/bin/retroshare-nogui
|
||||
|
||||
# compute md5 sums
|
||||
echo Computing/setting md5 sums...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue