updated packaging for ubuntu/debian for 0.6. Executables and resources will have dfferent names, so that packages for 0.5 and 0.6 can be installed simultaneously

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-09-06 16:45:42 +00:00
parent 05be764186
commit 35a51235fd
10 changed files with 48 additions and 57 deletions

View File

@ -1,3 +1,10 @@
retroshare06 (0.6.0-0.XXXXXX~YYYYYY) YYYYYY; urgency=low
* Improvements
* But fixes
-- Cyril Soler <csoler@users.sourceforge.net> Thu, 09 Jan 2014 20:00:00 +0100
retroshare (0.5.5-0.XXXXXX~YYYYYY) YYYYYY; urgency=low retroshare (0.5.5-0.XXXXXX~YYYYYY) YYYYYY; urgency=low
* Improvements * Improvements

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
rm -f ./libssh-0.5.4.tar.gz.* rm -f ./libssh-0.5.4.tar.gz.*
rm -f ./retroshare_0.5.5-0.*_source.build rm -f ./retroshare06_0.6.0-0.*_source.build
rm -f ./retroshare_0.5.5-0.*_source.changes rm -f ./retroshare06_0.6.0-0.*_source.changes
rm -f ./retroshare_0.5.5-0.*.tar.gz rm -f ./retroshare06_0.6.0-0.*.tar.gz
rm -f ./retroshare_0.5.5-0.*.diff.gz rm -f ./retroshare06_0.6.0-0.*.diff.gz
rm -f ./retroshare_0.5.5-0.*.dsc rm -f ./retroshare06_0.6.0-0.*.dsc
rm -f *.upload rm -f *.upload
rm -f *~ rm -f *~

View File

@ -1,47 +1,39 @@
Source: retroshare Source: retroshare06
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, 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, libcv-dev, libopencv-core-dev, libhighgui-dev, tcl8.5, libsqlite3-dev
Standards-Version: 3.9.1 Standards-Version: 3.9.3
Homepage: http://retroshare.sourceforge.net Homepage: http://retroshare.sourceforge.net
Package: retroshare-voip-plugin Package: retroshare06-voip-plugin
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare, libspeex1, libspeexdsp1, libqtmultimediakit1 Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06, libspeex1, libspeexdsp1, libqtmultimediakit1
Description: RetroShare VOIP plugin Description: RetroShare VOIP plugin
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
plateform. The plugin adds voice-over-IP functionality to the private chat window. Both plateform. The plugin adds voice-over-IP functionality to the private chat window. Both
friends chatting together need the plugin installed to be able to talk together. friends chatting together need the plugin installed to be able to talk together.
Package: retroshare-linkscloud-plugin Package: retroshare06-feedreader-plugin
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare06
Description: RetroShare LinksCloud plugin
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
plateform. The plugin adds a pool of html links that friends can share, and includes a
voting system to promote links.
Package: retroshare-feedreader-plugin
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare
Description: RetroShare LinksCloud plugin Description: RetroShare LinksCloud plugin
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
plateform. The plugin adds a RSS feed reader tab to retroshare. plateform. The plugin adds a RSS feed reader tab to retroshare.
Package: retroshare-nogui Package: retroshare06-nogui
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
Conflicts: retroshare Conflicts: retroshare06
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
devices running e.g. Android. devices running e.g. Android.
Package: retroshare Package: retroshare06
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
Conflicts: retroshare-nogui Conflicts: retroshare06-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

@ -1,2 +0,0 @@
usr/lib/retroshare/extensions/libLinksCloud.so

View File

@ -12,8 +12,10 @@ build-stamp: builddir/Makefile
dh_testdir dh_testdir
# Add here commands to compile the package. # Add here commands to compile the package.
cd libssh-0.5.4 && mkdir build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make 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
mkdir lib mkdir lib
cp -r libssh-0.5.4 lib cp -r libssh-0.5.4 lib/
cp -r sqlcipher lib/
#cd src/rsctrl/src && make #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 $@
@ -31,19 +33,18 @@ install: build
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
install -D -m 644 src/data/retroshare.desktop $(CURDIR)/debian/retroshare/usr/share/applications/retroshare.desktop install -D -m 644 src/data/retroshare.desktop $(CURDIR)/debian/retroshare06/usr/share/applications/retroshare06.desktop
install -D -m 644 src/data/24x24/retroshare.png $(CURDIR)/debian/retroshare/usr/share/icons/hicolor/24x24/apps/retroshare.png install -D -m 644 src/data/24x24/retroshare.png $(CURDIR)/debian/retroshare06/usr/share/icons/hicolor/24x24/apps/retroshare.png
install -D -m 644 src/data/48x48/retroshare.png $(CURDIR)/debian/retroshare/usr/share/icons/hicolor/48x48/apps/retroshare.png install -D -m 644 src/data/48x48/retroshare.png $(CURDIR)/debian/retroshare06/usr/share/icons/hicolor/48x48/apps/retroshare.png
install -D -m 644 src/data/64x64/retroshare.png $(CURDIR)/debian/retroshare/usr/share/icons/hicolor/64x64/apps/retroshare.png install -D -m 644 src/data/64x64/retroshare.png $(CURDIR)/debian/retroshare06/usr/share/icons/hicolor/64x64/apps/retroshare.png
install -D -m 644 src/data/retroshare.xpm $(CURDIR)/debian/retroshare/usr/share/pixmaps/retroshare.xpm install -D -m 644 src/data/retroshare.xpm $(CURDIR)/debian/retroshare06/usr/share/pixmaps/retroshare.xpm
install -D -m 644 src/plugins/VOIP/libVOIP.so.1.0.0 $(CURDIR)/debian/retroshare-voip-plugin/usr/lib/retroshare/extensions/libVOIP.so install -D -m 644 src/plugins/VOIP/libVOIP.so.1.0.0 $(CURDIR)/debian/retroshare06-voip-plugin/usr/lib/retroshare06/extensions/libVOIP.so
install -D -m 644 src/plugins/LinksCloud/libLinksCloud.so.1.0.0 $(CURDIR)/debian/retroshare-linkscloud-plugin/usr/lib/retroshare/extensions/libLinksCloud.so install -D -m 644 src/plugins/FeedReader/libFeedReader.so.1.0.0 $(CURDIR)/debian/retroshare06-feedreader-plugin/usr/lib/retroshare06/extensions/libFeedReader.so
install -D -m 644 src/plugins/FeedReader/libFeedReader.so.1.0.0 $(CURDIR)/debian/retroshare-feedreader-plugin/usr/lib/retroshare/extensions/libFeedReader.so install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/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/retroshare06/usr/share/RetroShare06/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/retroshare06-nogui/usr/bin/RetroShare06-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/retroshare06/usr/bin/RetroShare06-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/retroshare06/usr/bin/RetroShare06
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
# cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install # cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install

View File

@ -1,11 +1,10 @@
#!/bin/sh #!/bin/sh
###################### PARAMETERS #################### ###################### PARAMETERS ####################
version="0.5.5" version="0.6.0"
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/" svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
workdir=retroshare-$version workdir=retroshare06-$version
#use_gxs="Y" # comment out to compile without gxs #bubba3="Y" # comment out to compile for bubba3
#bubba3="Y" # comment out to compile for bubba3
###################################################### ######################################################
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.
@ -40,13 +39,8 @@ echo version is $version
echo Extracting base archive... echo Extracting base archive...
mkdir -p $workdir/src mkdir -p $workdir/src
if test "$use_gxs" = "Y" ; then
cp -r debian.gxs $workdir/debian
else
cp -r debian $workdir/debian
fi
cp -r data $workdir/src/ cp -r data $workdir/src/
cp -r debian $workdir/debian
echo Checking out latest snapshot in libbitdht... echo Checking out latest snapshot in libbitdht...
cd $workdir/src/ cd $workdir/src/
@ -63,11 +57,9 @@ cd $workdir
tar zxvf ../libssh-0.5.4.tar.gz tar zxvf ../libssh-0.5.4.tar.gz
cd .. cd ..
if ! test "$specific" = "" ; then cd $workdir
cd $workdir git clone https://github.com/sqlcipher/sqlcipher.git
git clone https://github.com/sqlcipher/sqlcipher.git cd ..
cd ..
fi
# cleaning up protobof generated files # cleaning up protobof generated files
@ -98,11 +90,12 @@ find $workdir -name ".svn" -exec rm -rf {} \; # remove all svn repositories
cd $workdir cd $workdir
#for i in wheezy; do #for i in wheezy; do
#for i in sid ; do #for i in sid ; do
#for i in precise; do for i in precise; do
#for i in lucid precise quantal raring; do #for i in lucid precise quantal raring; do
for i in wheezy squeeze lucid precise quantal raring saucy; do #for i in wheezy squeeze lucid precise quantal raring saucy; do
#for i in sid squeeze; do #for i in sid squeeze; do
echo copying changelog for $i echo copying changelog for $i
cat ../changelog | sed -e s/XXXXXX/"$svn"/g | sed -e s/YYYYYY/"$i"/g > debian/changelog cat ../changelog | sed -e s/XXXXXX/"$svn"/g | sed -e s/YYYYYY/"$i"/g > debian/changelog