mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 07:29:38 -05:00
updated packaging scripts to handle various cases (ubuntu lucid, bubba3 arm)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6544 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1ebf18c282
commit
2f409230a5
@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -f ./libssh-0.5.4.tar.gz.*
|
||||
rm -f ./retroshare_0.5.4-0.*_source.build
|
||||
rm -f ./retroshare_0.5.4-0.*_source.changes
|
||||
rm -f ./retroshare_0.5.4-0.*.tar.gz
|
||||
|
52
build_scripts/Ubuntu_src/control.squeeze_bubba3
Normal file
52
build_scripts/Ubuntu_src/control.squeeze_bubba3
Normal file
@ -0,0 +1,52 @@
|
||||
Source: retroshare
|
||||
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, libqt4-multimedia-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libcurl4-openssl-dev
|
||||
Standards-Version: 3.9.1
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
Package: retroshare-voip-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare, libspeex1, libspeexdsp1, libqtmultimediakit1
|
||||
Description: RetroShare VOIP plugin
|
||||
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
|
||||
friends chatting together need the plugin installed to be able to talk together.
|
||||
|
||||
Package: retroshare-linkscloud-plugin
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, retroshare
|
||||
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
|
||||
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication
|
||||
plateform. The plugin adds a RSS feed reader tab to retroshare.
|
||||
|
||||
Package: retroshare-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare
|
||||
Description: Secure communication with friends
|
||||
This is the command-line client for RetroShare network. This client
|
||||
can be contacted and talked-to using SSL. Clients exist for portable
|
||||
devices running e.g. Android.
|
||||
|
||||
Package: retroshare
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, gnome-keyring
|
||||
Conflicts: retroshare-nogui
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
commmunication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
|
||||
|
@ -4,7 +4,8 @@
|
||||
version="0.5.4"
|
||||
svnpath="svn://csoler@svn.code.sf.net/p/retroshare/code/"
|
||||
workdir=retroshare-$version
|
||||
gxs=".gxs" # comment out to compile without gxs
|
||||
use_gxs="Y" # comment out to compile without gxs
|
||||
bubba3="Y" # comment out to compile for bubba3
|
||||
######################################################
|
||||
|
||||
echo This script is going to build the debian source package for RetroShare, from the svn.
|
||||
@ -39,7 +40,12 @@ echo version is $version
|
||||
echo Extracting base archive...
|
||||
|
||||
mkdir -p $workdir/src
|
||||
cp -r debian"$gxs" $workdir/debian
|
||||
|
||||
if test "$use_gxs" = "Y" ; then
|
||||
cp -r debian.gxs $workdir/debian
|
||||
else
|
||||
cp -r debian $workdir/debian
|
||||
fi
|
||||
cp -r data $workdir/src/
|
||||
|
||||
echo Checking out latest snapshot in libbitdht...
|
||||
@ -51,22 +57,20 @@ cd ../..
|
||||
cp $workdir/src/retroshare-gui/src/gui/chat/PopupChatDialog.ui $workdir/src/plugins/VOIP/gui/PopupChatDialog.ui
|
||||
|
||||
# handling of libssh-0.5.4
|
||||
|
||||
wget https://red.libssh.org/attachments/download/41/libssh-0.5.4.tar.gz
|
||||
cd $workdir
|
||||
tar zxvf ../libssh-0.5.4.tar.gz
|
||||
cd ..
|
||||
|
||||
if ! test "$gxs" = "" ; then
|
||||
if ! test "$specific" = "" ; then
|
||||
cd $workdir
|
||||
git clone https://github.com/sqlcipher/sqlcipher.git
|
||||
# cat src/retroshare-gui/src/retroshare-gui.pro | sed -e s/-lsqlite3/..\\\/..\\\/..\\\/lib\\\/sqlcipher\\\/.libs\\\/libsqlite3.a/g > /tmp/tutu3278
|
||||
cp /tmp/tutu3278 src/retroshare-gui/src/retroshare-gui.pro
|
||||
cd ..
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
@ -88,26 +92,28 @@ cp /tmp/toto4463 $workdir/src/retroshare-gui/src/util/rsversion.h
|
||||
echo Cleaning...
|
||||
find $workdir -name ".svn" -exec rm -rf {} \; # remove all svn repositories
|
||||
|
||||
echo Calling debuild...
|
||||
cat $workdir/debian/control | sed -e s/XXXXXX/"$version"/g > $workdir/debian/control.tmp
|
||||
mv -f $workdir/debian/control.tmp $workdir/debian/control
|
||||
#echo Calling debuild...
|
||||
#cat $workdir/debian/control | sed -e s/XXXXXX/"$version"/g > $workdir/debian/control.tmp
|
||||
#mv -f $workdir/debian/control.tmp $workdir/debian/control
|
||||
|
||||
cd $workdir
|
||||
|
||||
#for i in sid squeeze; do
|
||||
#for i in wheezy; do
|
||||
#for i in sid ; do
|
||||
#for i in precise; do
|
||||
for i in natty oneiric precise quantal raring; do
|
||||
#for i in natty precise lucid quantal raring; do
|
||||
|
||||
for i in sid squeeze; do
|
||||
echo copying changelog for $i
|
||||
cat ../changelog | sed -e s/XXXXXX/"$svn"/g | sed -e s/YYYYYY/"$i"/g > debian/changelog
|
||||
|
||||
# This is the key for "Cyril Soler <csoler@sourceforge.net>"
|
||||
debuild -S -kC737CA98
|
||||
done
|
||||
for i in lucid; do
|
||||
echo copying changelog for $i
|
||||
cat ../changelog | sed -e s/XXXXXX/"$svn"/g | sed -e s/YYYYYY/"$i"/g > debian/changelog
|
||||
cp ../control.ubuntu_lucid debian/control
|
||||
if test "$i" = "lucid" ; then
|
||||
cp ../control.ubuntu_lucid debian/control
|
||||
elif test "$bubba3" = "Y" ; then
|
||||
cp ../control.squeeze_bubba3 debian/control
|
||||
else
|
||||
cp ../debian/control debian/control
|
||||
fi
|
||||
|
||||
# This is the key for "Cyril Soler <csoler@sourceforge.net>"
|
||||
debuild -S -kC737CA98
|
||||
|
Loading…
Reference in New Issue
Block a user