updated packaging scripts to use sqlcipher system package

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-09-21 14:25:58 +00:00
parent 0697f29289
commit 9963cca4a6
4 changed files with 18 additions and 6 deletions

View File

@ -7,3 +7,15 @@ the svn repository of RetroShare. The various files here are:
clean.sh : compiles the source package. Produce a binary pkg for a given ubuntu distribution
make_tgz.sh : rebuilds the basic directory structure if some config/debian files where modified
in the retroshare-0.5 directory
Notes about pbuilder
====================
To add a ppa dependency:
- add this line to ~/.pbuilderrc: OTHERMIRROR="deb http://ppa.launchpad.net/guardianproject/ppa/ubuntu precise main"
pbuilder-dist precise login --save-after-login
# apt-key adv --keyserver pgp.mit.edu --recv-keys 2234F563
# exit
pbuilder-dist precise update --release-only # the --release-only is really required!

View File

@ -2,7 +2,7 @@ Source: retroshare06
Section: devel
Priority: standard
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, libcurl4-openssl-dev, libcv-dev, libopencv-core-dev, libhighgui-dev, tcl8.5, libsqlite3-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, libcv-dev, libopencv-core-dev, libhighgui-dev, tcl8.5, libsqlcipher-dev
Standards-Version: 3.9.3
Homepage: http://retroshare.sourceforge.net

View File

@ -12,10 +12,10 @@ build-stamp: builddir/Makefile
dh_testdir
# Add here commands to compile the package.
cd libssh-0.5.4 && mkdir build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
cd sqlcipher && ./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto" && make
#cd sqlcipher && ./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto" && make
mkdir lib
cp -r libssh-0.5.4 lib/
cp -r sqlcipher lib/
#cp -r sqlcipher lib/
#cd src/rsctrl/src && make
cd src && qmake-qt4 CONFIG=release RetroShare.pro && make
touch $@

View File

@ -57,9 +57,9 @@ cd $workdir
tar zxvf ../libssh-0.5.4.tar.gz
cd ..
cd $workdir
git clone https://github.com/sqlcipher/sqlcipher.git
cd ..
# cd $workdir
# git clone https://github.com/sqlcipher/sqlcipher.git
# cd ..
# cleaning up protobof generated files