fixed compilation of proto files with all versions (always recreated)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-01-30 17:45:33 +00:00
parent b1ffc14954
commit 02aa54152d
3 changed files with 13 additions and 4 deletions

View file

@ -2,7 +2,7 @@ Source: retroshare
Section: devel Section: devel
Priority: standard Priority: standard
Maintainer: Cyril Soler <csoler@users.sourceforge.net> Maintainer: Cyril Soler <csoler@users.sourceforge.net>
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqtmultimediakit1, qtmobility-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libsqlite3-dev, libcurl4-openssl-dev Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libqt4-opengl-dev, libqtmultimediakit1, qtmobility-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libcurl4-openssl-dev
Standards-Version: 3.9.1 Standards-Version: 3.9.1
Homepage: http://retroshare.sourceforge.net Homepage: http://retroshare.sourceforge.net
@ -32,6 +32,7 @@ Description: RetroShare LinksCloud plugin
Package: retroshare-nogui Package: retroshare-nogui
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
Conflicts: retroshare
Description: Secure communication with friends Description: Secure communication with friends
This is the command-line client for RetroShare network. This client This is the command-line client for RetroShare network. This client
can be contacted and talked-to using SSL. Clients exist for portable can be contacted and talked-to using SSL. Clients exist for portable
@ -40,6 +41,7 @@ Description: Secure communication with friends
Package: retroshare Package: retroshare
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
Conflicts: retroshare-nogui
Description: Secure communication with friends Description: Secure communication with friends
RetroShare is a Open Source cross-platform, private and secure decentralised RetroShare is a Open Source cross-platform, private and secure decentralised
commmunication platform. It lets you to securely chat and share files with your commmunication platform. It lets you to securely chat and share files with your

View file

@ -13,6 +13,7 @@ build-stamp: builddir/Makefile
# Add here commands to compile the package. # Add here commands to compile the package.
cd libssh-0.5.2 && mkdir build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make cd libssh-0.5.2 && mkdir build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
cp -r libssh-0.5.2 .. cp -r libssh-0.5.2 ..
cd src/rsctrl/src && make
cd src && qmake-qt4 CONFIG=release RetroShare.pro && make cd src && qmake-qt4 CONFIG=release RetroShare.pro && make
touch $@ touch $@
@ -40,6 +41,7 @@ install: build
install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare-nogui/usr/share/RetroShare/bdboot.txt install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare-nogui/usr/share/RetroShare/bdboot.txt
install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare/usr/share/RetroShare/bdboot.txt install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare/usr/share/RetroShare/bdboot.txt
install -D -m 755 src/retroshare-nogui/src/retroshare-nogui $(CURDIR)/debian/retroshare-nogui/usr/bin/RetroShare-nogui install -D -m 755 src/retroshare-nogui/src/retroshare-nogui $(CURDIR)/debian/retroshare-nogui/usr/bin/RetroShare-nogui
install -D -m 755 src/retroshare-nogui/src/retroshare-nogui $(CURDIR)/debian/retroshare/usr/bin/RetroShare-nogui
install -D -m 755 src/retroshare-gui/src/RetroShare $(CURDIR)/debian/retroshare/usr/bin/RetroShare install -D -m 755 src/retroshare-gui/src/RetroShare $(CURDIR)/debian/retroshare/usr/bin/RetroShare
# Add here commands to install the package into debian/your_appname # Add here commands to install the package into debian/your_appname

View file

@ -2,13 +2,12 @@
###################### PARAMETERS #################### ###################### PARAMETERS ####################
version="0.5.4" version="0.5.4"
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
workdir=retroshare-$version
###################################################### ######################################################
echo This script is going to build the debian source package for RetroShare, from the svn. echo This script is going to build the debian source package for RetroShare, from the svn.
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
workdir=retroshare-$version
if test -d "$workdir" ; then if test -d "$workdir" ; then
echo Please remove the $workdir directory first. echo Please remove the $workdir directory first.
exit exit
@ -56,6 +55,12 @@ cd $workdir
tar zxvf ../libssh-0.5.2.tar.gz tar zxvf ../libssh-0.5.2.tar.gz
cd .. cd ..
# cleaning up protobof generated files
\rm -f $workdir/src/rsctrl/src/gencc/*.pb.h
\rm -f $workdir/src/rsctrl/src/gencc/*.pb.cpp
\rm -f $workdir/src/retroshare-nogui/src/rpc/proto/gencc/*.pb.h
\rm -f $workdir/src/retroshare-nogui/src/rpc/proto/gencc/*.pb.cc
echo Setting version numbers... echo Setting version numbers...
# setup version numbers # setup version numbers