renamed packaging scripts, removed binary package scripts
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
@ -1,5 +0,0 @@
|
||||||
Packing building for Ubuntu 32bits and 64bits
|
|
||||||
=============================================
|
|
||||||
|
|
||||||
Just type 'sudo ./make.sh', and follow the instructions from the script .
|
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# @author Cyril Soler, Thomas Eimers
|
|
||||||
|
|
||||||
###################### PARAMETERS ####################
|
|
||||||
version="0.5.4"
|
|
||||||
arch=`dpkg --print-architecture`
|
|
||||||
packager="Thomas Eimers <retroshare@notdefine.de>"
|
|
||||||
######################################################
|
|
||||||
|
|
||||||
echo attempting to get svn revision number...
|
|
||||||
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
|
||||||
echo done.
|
|
||||||
version="$version"."$svn"
|
|
||||||
pkgname=RetroShare_"$version"_debian_"$arch".deb
|
|
||||||
|
|
||||||
echo Building retroshare debian package version $version for Debian $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 " "- version and name will be: $pkgname
|
|
||||||
|
|
||||||
if ! test `whoami` = "root" ; then
|
|
||||||
echo Please run this script as root.
|
|
||||||
echo
|
|
||||||
exit ;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo Press [ENTER] when ok, else quit with Ctrl+C.
|
|
||||||
read tmp
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo Unzipping...
|
|
||||||
tar zxvf retroshare.tgz
|
|
||||||
echo Changing ownership...
|
|
||||||
chown -R root.root retroshare
|
|
||||||
|
|
||||||
# setup version numbers and arch in DEBIAN/control
|
|
||||||
|
|
||||||
echo Setting up version numbers...
|
|
||||||
cat retroshare/DEBIAN/control | sed -e s/XXXXXX/"$version"/g | sed -e s/YYYYYY/"$arch"/g | sed -e s/ZZZZZZ/"$packager"/g > retroshare/DEBIAN/control.tmp
|
|
||||||
mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
|
||||||
|
|
||||||
# clean
|
|
||||||
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.
|
|
||||||
# echo
|
|
||||||
# exit ;
|
|
||||||
#fi
|
|
||||||
|
|
||||||
echo Stripping executables...
|
|
||||||
cp ../../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
|
|
||||||
|
|
||||||
# compute md5 sums
|
|
||||||
echo Computing/setting md5 sums...
|
|
||||||
cd retroshare
|
|
||||||
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
|
|
||||||
cd ..
|
|
||||||
echo Creating package $pkgname
|
|
||||||
dpkg-deb -b retroshare $pkgname
|
|
||||||
|
|
||||||
# cleaning
|
|
||||||
echo Cleaning up...
|
|
||||||
\rm -rf retroshare
|
|
||||||
|
|
||||||
echo Done.
|
|
|
@ -1,5 +0,0 @@
|
||||||
Packing building for Ubuntu 32bits and 64bits
|
|
||||||
=============================================
|
|
||||||
|
|
||||||
Just type 'sudo ./make.sh', and follow the instructions from the script .
|
|
||||||
|
|
|
@ -1,79 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
###################### PARAMETERS ####################
|
|
||||||
version="0.4.12"
|
|
||||||
arch=`dpkg --print-architecture`
|
|
||||||
packager="Cyril Soler <csoler@users.sourceforge.net>"
|
|
||||||
######################################################
|
|
||||||
|
|
||||||
echo attempting to get svn revision number...
|
|
||||||
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
|
|
||||||
echo done.
|
|
||||||
version="$version"."$svn"
|
|
||||||
pkgname=RetroShare_"$version"_ubuntu_"$arch".deb
|
|
||||||
|
|
||||||
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 " "- version and name will be: $pkgname
|
|
||||||
|
|
||||||
if ! test `whoami` = "root" ; then
|
|
||||||
echo Please run this script as root.
|
|
||||||
echo
|
|
||||||
exit ;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo Press [ENTER] when ok, else quit with Ctrl+C.
|
|
||||||
read tmp
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo Unzipping...
|
|
||||||
tar zxvf retroshare.tgz
|
|
||||||
echo Changing ownership...
|
|
||||||
chown -R root.root retroshare
|
|
||||||
|
|
||||||
# setup version numbers and arch in DEBIAN/control
|
|
||||||
|
|
||||||
echo Setting up version numbers...
|
|
||||||
cat retroshare/DEBIAN/control | sed -e s/XXXXXX/"$version"/g | sed -e s/YYYYYY/"$arch"/g | sed -e s/ZZZZZZ/"$packager"/g > retroshare/DEBIAN/control.tmp
|
|
||||||
mv retroshare/DEBIAN/control.tmp retroshare/DEBIAN/control
|
|
||||||
|
|
||||||
# clean
|
|
||||||
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.
|
|
||||||
echo
|
|
||||||
exit ;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Stripping executables...
|
|
||||||
cp ../../retroshare-gui/src/RetroShare retroshare/usr/bin/RetroShare06
|
|
||||||
strip retroshare/usr/bin/RetroShare06
|
|
||||||
cp ../../retroshare-nogui/src/retroshare-nogui retroshare/usr/bin/RetroShare06-nogui
|
|
||||||
strip retroshare/usr/bin/RetroShare06-nogui
|
|
||||||
|
|
||||||
# compute md5 sums
|
|
||||||
echo Computing/setting md5 sums...
|
|
||||||
cd retroshare
|
|
||||||
find usr -type f -exec md5sum {} \; > DEBIAN/md5sums
|
|
||||||
cd ..
|
|
||||||
echo Creating package $pkgname
|
|
||||||
dpkg-deb -b retroshare $pkgname
|
|
||||||
|
|
||||||
# cleaning
|
|
||||||
echo Cleaning up...
|
|
||||||
\rm -rf retroshare
|
|
||||||
|
|
||||||
echo Done.
|
|