Improved packaging scripts

- use the hierarchy in the svn
- removed binary archives, replaced by actual files (easier to handle)
- added packaging rules for FeedReader
- added one package for retroshare-nogui (not anymore in the main package)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6097 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-01-28 14:29:23 +00:00
parent eed8fb7bfb
commit 959d7a0855
26 changed files with 560 additions and 155 deletions

View File

@ -1,12 +1,12 @@
#!/bin/sh
rm ./retroshare_0.5.4-0.*_source.build
rm ./retroshare_0.5.4-0.*_source.changes
rm ./retroshare_0.5.4-0.*.tar.gz
rm ./retroshare_0.5.4-0.*.diff.gz
rm ./retroshare_0.5.4-0.*.dsc
rm *.upload
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
rm -f ./retroshare_0.5.4-0.*.diff.gz
rm -f ./retroshare_0.5.4-0.*.dsc
rm -f *.upload
rm *~
rm -f *~
find . -name "*~" -exec rm {} \;

View File

@ -1,8 +0,0 @@
#!/bin/sh
tmpfile=/tmp/toto42314321
cat "$1" | grep -v "CONFIG += version_detail_bash_script" > $tmpfile
echo "INCLUDEPATH += ../libretroshare ../retroshare-gui" > $1
cat $tmpfile >> $1

View File

@ -1,9 +0,0 @@
#!/bin/sh
tmpfile=/tmp/toto42314321
cat "$1" | grep -v "CONFIG += version_detail_bash_script" > $tmpfile
echo "INCLUDEPATH += ../../libretroshare ../../retroshare-gui" > $1
cat $tmpfile >> $1

View File

@ -1,9 +0,0 @@
#!/bin/sh
tmpfile=/tmp/toto42314321
cat "$1" | grep -v "CONFIG += version_detail_bash_script" > $tmpfile
echo "INCLUDEPATH += ../../libretroshare ../../retroshare-gui" > $1
cat $tmpfile >> $1

View File

@ -1,10 +0,0 @@
#!/bin/sh
tmpfile=/tmp/toto42314321
cat "$1" | grep -v "CONFIG += version_detail_bash_script" > $tmpfile
echo "INCLUDEPATH += ../../libretroshare ../../retroshare-gui" > $1
cat $tmpfile >> $1
echo "FORMS += gui/PopupChatDialog.ui" >> $1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=RetroShare
Comment=Securely share files with your friends
Exec=/usr/bin/RetroShare
Icon=/usr/share/pixmaps/retroshare.xpm
Terminal=false
Type=Application
Categories=Application;Network;

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -0,0 +1,310 @@
/* XPM */
static char *toto[] = {
/* columns rows colors chars-per-pixel */
"48 48 256 2 ",
" c #151514",
". c #0D1119",
"X c #162930",
"o c #292928",
"O c #2A363B",
"+ c #373939",
"@ c #2A3C44",
"# c #3B3F44",
"$ c #173273",
"% c #3B484C",
"& c #1F4C61",
"* c #3B5B67",
"= c #396B7D",
"- c #4E4E4E",
"; c #434545",
": c #465948",
"> c #474E51",
", c #4A5559",
"< c #545454",
"1 c #5C5C5C",
"2 c #565758",
"3 c #605F5F",
"4 c #457A45",
"5 c #565E62",
"6 c #405F6B",
"7 c #586468",
"8 c #436D7D",
"9 c #596C73",
"0 c #5D727A",
"q c #636363",
"w c #6B6C6C",
"e c #64686A",
"r c #677478",
"t c #747374",
"y c #737A7C",
"u c #7B7B7B",
"i c #767777",
"p c #6E6F6F",
"a c #9A5215",
"s c #B66C2F",
"d c #FF7401",
"f c #FF7909",
"g c #F17C18",
"h c #C97E37",
"j c #9A785D",
"k c #AB7A4C",
"l c #1A971A",
"z c #04AE04",
"x c #02B002",
"c c #0EB50E",
"v c #18AB19",
"b c #11B611",
"n c #3A8B3A",
"m c #24BB24",
"M c #36BA37",
"N c #40B93F",
"B c #449344",
"V c #569E56",
"C c #46B84A",
"Z c #558D62",
"A c #58A474",
"S c #69B871",
"D c #4DC94D",
"F c #77CB77",
"G c #FE821A",
"H c #FF8017",
"J c #FF953B",
"K c #958E75",
"L c #AB9574",
"P c #EF9C56",
"I c #EE9449",
"U c #FFA75D",
"Y c #CF9660",
"T c #FEB375",
"R c #FFAD65",
"E c #3D788F",
"W c #4E798A",
"Q c #6C7D83",
"! c #787F82",
"~ c #4B71BF",
"^ c #1F62D8",
"/ c #3671D5",
"( c #024CFF",
") c #0349F1",
"_ c #0D55FF",
"` c #0F51EC",
"' c #1D60FF",
"] c #2767FB",
"[ c #3872F7",
"{ c #4B7EF7",
"} c #598A9C",
"| c #538293",
" . c #6A8C99",
".. c #7B8D94",
"X. c #7D929A",
"o. c #788986",
"O. c #70B186",
"+. c #5793A8",
"@. c #4D99B6",
"#. c #549DB8",
"$. c #5090A8",
"%. c #6694A6",
"&. c #7C99A4",
"*. c #719AA5",
"=. c #6D9FB2",
"-. c #4BA0BF",
";. c #59A2BC",
":. c #63A3BB",
">. c #6EA6BB",
",. c #6FA6BB",
"<. c #77A7B8",
"1. c #6CA0AA",
"2. c #449BCB",
"3. c #4497D2",
"4. c #5B9BD2",
"5. c #508CD5",
"6. c #6396D4",
"7. c #7790CA",
"8. c #47A4C7",
"9. c #55AAC6",
"0. c #4EB2D9",
"q. c #54B6DA",
"w. c #45ADD5",
"e. c #6DACC4",
"r. c #62A7C1",
"t. c #73AEC4",
"y. c #64B0CC",
"u. c #77B1C6",
"i. c #75ACD7",
"p. c #6DB8D3",
"a. c #78BAD5",
"s. c #598BFF",
"d. c #5384F5",
"f. c #6894FD",
"g. c #7099FC",
"h. c #4BBCE6",
"j. c #4DBFEA",
"k. c #50BFE9",
"l. c #7DC0D9",
"z. c #4EC0EB",
"x. c #53C1EB",
"c. c #5CC5EC",
"v. c #62C6EC",
"b. c #66C9EE",
"n. c #6CCAEE",
"m. c #6BC4E6",
"M. c #73CCEE",
"N. c #79CFEF",
"B. c #78C7E5",
"V. c #6CCCF0",
"C. c #74CEF0",
"Z. c #7DD1F0",
"A. c #7CD0EF",
"S. c #838383",
"D. c #8C8C8C",
"F. c #879598",
"G. c #939393",
"H. c #9B9C9C",
"J. c #939A9C",
"K. c #839489",
"L. c #8CA29D",
"P. c #949FA4",
"I. c #8DA3AB",
"U. c #9BA6AA",
"Y. c #98A6AB",
"T. c #85AEBD",
"R. c #87AAB7",
"E. c #9BACB3",
"W. c #98B1BB",
"Q. c #A4A4A5",
"!. c #AAAAAB",
"~. c #A8A7A6",
"^. c #ADB4B7",
"/. c #B5B5B5",
"(. c #BBBBBA",
"). c #AEAFB0",
"_. c #D3B393",
"`. c #DDBCA1",
"'. c #8ECD90",
"]. c #9CE09B",
"[. c #8DC2AA",
"{. c #96C3A5",
"}. c #8EC7BD",
"|. c #B4E6B4",
" X c #F9C293",
".X c #FFD8B7",
"XX c #82B2C4",
"oX c #87B7C9",
"OX c #95B7C4",
"+X c #80BDD4",
"@X c #8BA3D4",
"#X c #A5BCC5",
"$X c #B7BFC2",
"%X c #87AAFC",
"&X c #A0BCFF",
"*X c #8BC5DA",
"=X c #87C1D7",
"-X c #97C7D9",
";X c #9ED4DB",
":X c #A8CAD7",
">X c #B7CACC",
",X c #83C9E4",
"<X c #8DCBE3",
"1X c #82CFEB",
"2X c #94CCE2",
"3X c #9BCEE1",
"4X c #94D3EB",
"5X c #9BD6EC",
"6X c #9DD8EE",
"7X c #96D0E6",
"8X c #83D3F1",
"9X c #8CD6F2",
"0X c #91D7F2",
"qX c #94D9F3",
"wX c #9BDBF3",
"eX c #8CD3EE",
"rX c #A4D2E4",
"tX c #A6D8EC",
"yX c #B5DBEA",
"uX c #A4DEF4",
"iX c #ABDEF2",
"pX c #A7E0F5",
"aX c #ABE1F5",
"sX c #AFE4F8",
"dX c #B3E3F6",
"fX c #BAE6F7",
"gX c #BFE8F7",
"hX c #BAE7F8",
"jX c #BCE8F9",
"kX c #B3E4F9",
"lX c #C7C6C6",
"zX c #C4DACC",
"xX c #C6D9D8",
"cX c #D4D4D4",
"vX c #DDDDDD",
"bX c #C2EBC2",
"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.OXOXoX#.@.$.r `.nXT d d d h 9.z.z.z.z.h.n.ZXW.UXUXUX",
"UXUXUXE XX:XmXCXZXSXSXZXF ].'.m z z 4 t w w e 5 5 3 1 1 2 j U H f f G g <.V.x.z.z.z.j.dXOXUXUXUX",
"UXUXi G.J.G.J.>XCXSXSXSXS m z x b M B % , : ; # O O O @ O a H d f I J h p.Z.8X8Xn.-.} F...UXUXUX",
"UXS.lXcX!.t i P.DXCXCXCX[.v c v n B N A 3X;X-XoX:.-.w.w.-.s s s I U I K.k.k.k.v.T.^./.!.G.u UXUX",
"UX/.GXvXp < S.i P.NXNXNXfXO.C V t < V ;XkXiXuXwXC.z.z.z.z.$.y p L Y K.q.c.c.c.9.U.GXvXG.1 1 e UX",
"1 (.lXH.< < 1 < Q dXjXjXhXkXW.O.u 1 .pXuXuXwXqXx.z.z.z.z.+.i 7 +.y.c.c.v.c.v.+.lXFX(.1 - - 1 - ",
"; i r 2 < 7 9 q Q iXdXdXdXkXsXiXF.e 5 7XuXwXwXN.z.z.z.z.0.r 3 W v.v.b.b.v.v.b.} ~.~.t - < 3 1 ; ",
"UX- , , 5 j S.w &.aXaXkXaXaXaXaXXXr ; *.wXqX9Xx.z.z.z.z.$.3 : ;.b.b.b.b.b.b.v.} 3 1 - 1 t i e + ",
"UX; e j !.H.D.Q 2XuXuXuXuXuXuXuX2XQ - % <XqXc.j.z.z.z.0.9 - * m.n.n.n.b.n.n.n.y.7 1 p D.D.D.3 UX",
"UXUXUXy Q.P.%.+XwXwXuXwXqXwXqXqXwX<.1 o W c.j.h.z.z.z.| > + +.V.n.M.M.M.M.M.M.n.#.y !.~.G.w UXUX",
"UXUXUX| i.,Xn.C.9XqXqXqXwXqXwXqXuX7X0 + X 2.h.h.k.x.8., + * m.M.C.M.M.M.M.M.N.M.N.-XXX*.9 UXUXUX",
"UXUXUXUX,Xb.8XN.v.n.8X0XqXqXqX9XZ.V.@.# . & 3.5.3.2.8 + O :.Z.A.N.N.N.N.Z.N.N.8XuX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XUXUXUXUXG.Q.q < 3 r 3XpXaXuXaXaXiXaXuXpXiXaXpXrXJ.H.q < q 2 UXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUX< 2 2 t i Q iXpXuXuXaXaXaXaXaXaXaXuXuXtXQ 2 2 i S.3 UXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXw S.G.y <.uXkXdXkXaXaXaXaXaXaXaXsXkXaX<.e S.G.u UXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXt.a.<X5XuXiXiXiXiXuX6X2X=Xt.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX>.t.u.t.t.>.UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX",
"UXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUXUX"
};

View File

@ -0,0 +1,6 @@
retroshare for Debian
---------------------
<possible notes regarding this package - if none, delete this file>
-- Cyril Soler <csoler@sourceforge.net> Sat, 06 Feb 2010 07:15:46 +0100

View File

@ -0,0 +1 @@
7

View File

@ -0,0 +1,50 @@
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, libqtmultimediakit1, qtmobility-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libprotobuf-dev, protobuf-compiler, cmake, libsqlite3-dev, 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
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
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.

View File

@ -0,0 +1,44 @@
This package was debianized by:
Cyril Soler <csoler@sourceforge.net> <csoler@sourceforge.net> on Sat, 06 Feb 2010 07:15:46 +0100
It was downloaded from:
<url://example.com>
Upstream Author(s):
<put author's name and email here>
<likewise for another author>
Copyright:
<Copyright (C) YYYY Firstname Lastname>
<likewise for another author>
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
The Debian packaging is:
Copyright (C) 2010 Cyril Soler <csoler@sourceforge.net> <csoler@sourceforge.net>
and is licensed under the GPL version 3, see above.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.

View File

@ -0,0 +1,8 @@
usr/bin
usr/sbin
usr/share/pixmaps
usr/share/applications/
usr/share/RetroShare/
usr/share/icons/hicolor/24x24/apps/
usr/share/icons/hicolor/48x48/apps/
usr/share/icons/hicolor/64x64/apps/

View File

View File

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

View File

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

View File

@ -0,0 +1,6 @@
usr/bin
usr/bin/RetroShare-nogui
usr/share
usr/share/RetroShare
usr/share/RetroShare/bdboot.txt

View File

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

View File

@ -0,0 +1,10 @@
usr/share/applications/retroshare.desktop
usr/share/pixmaps/retroshare.xpm
usr/share/RetroShare/bdboot.txt
usr/share/icons/hicolor/48x48/apps/retroshare.png
usr/share/icons/hicolor/24x24/apps/retroshare.png
usr/share/icons/hicolor/64x64/apps/retroshare.png
usr/bin
usr/bin/RetroShare
usr/bin/RetroShare-nogui

View File

@ -0,0 +1,70 @@
#!/usr/bin/make -f
builddir:
mkdir -p builddir
builddir/Makefile: builddir
touch $@
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir
# Add here commands to compile the package.
cd libssh-0.5.2 && mkdir build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
cp -r libssh-0.5.2 ..
cd src && qmake-qt4 CONFIG=release RetroShare.pro && make
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
rm -rf builddir
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
install -D -m 644 src/data/retroshare.desktop $(CURDIR)/debian/retroshare/usr/share/applications/retroshare.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/48x48/retroshare.png $(CURDIR)/debian/retroshare/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/retroshare.xpm $(CURDIR)/debian/retroshare/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/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/retroshare-feedreader-plugin/usr/lib/retroshare/extensions/libFeedReader.so
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 755 src/retroshare-nogui/src/retroshare-nogui $(CURDIR)/debian/retroshare-nogui/usr/bin/RetroShare-nogui
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
# cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

View File

@ -1,9 +1,14 @@
#!/bin/sh
###################### PARAMETERS ####################
version="0.5.4"
######################################################
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-0.5
workdir=retroshare-$version
if test -d "$workdir" ; then
echo Please remove the $workdir directory first.
exit
@ -11,10 +16,6 @@ fi
svn update
###################### PARAMETERS ####################
version="0.5.4"
######################################################
if test "$1" = "" ; then
echo attempting to get svn revision number...
svn=`svn info | grep 'Revision:' | cut -d\ -f2`
@ -36,113 +37,43 @@ echo SVN number is $svn
echo version is $version
echo Extracting base archive...
tar zxvf $packages/BaseRetroShareDirs.tgz 2> /dev/null
mkdir -p $workdir/src
cp -r debian $workdir/
cp -r data $workdir/src/
echo Checking out latest snapshot in libbitdht...
cd $workdir/src/libbitdht/
svn co -r$svn $svnpath/trunk/libbitdht/src . 2> /dev/null
cd ../../..
#
echo Checking out latest snapshot in openpgpsdk...
cd $workdir/src/openpgpsdk/
svn co -r$svn $svnpath/trunk/openpgpsdk/src . 2> /dev/null
cd ../../..
#
echo Checking out latest snapshot in libretroshare...
cd $workdir/src/libretroshare/
svn co -r$svn $svnpath/trunk/libretroshare/src . 2> /dev/null
cd ../../..
#
echo Checking out latest snapshot in retroshare-gui...
cd $workdir/src/retroshare-gui/
svn co -r$svn $svnpath/trunk/retroshare-gui/src . 2> /dev/null
cd ../../..
#
echo Checking out latest snapshot in retroshare-nogui...
cd $workdir/src/retroshare-nogui/
svn co -r$svn $svnpath/trunk/retroshare-nogui/src . 2> /dev/null
cd ../../..
cd $workdir/src/
svn co -r$svn $svnpath/trunk/ .
cd ../..
# LinksCloud plugin
echo Checking out latest snapshot in LinksCloud plugin
mkdir -p $workdir/src/plugins/LinksCloud
cd $workdir/src/plugins/LinksCloud
svn co -r$svn $svnpath/trunk/plugins/LinksCloud . 2> /dev/null
cd ../../../..
# VOIP tweak
cp $workdir/src/retroshare-gui/src/gui/chat/PopupChatDialog.ui $workdir/src/plugins/VOIP/gui/PopupChatDialog.ui
# FeedReader plugin
echo Checking out latest snapshot in FeedReader plugin
mkdir -p $workdir/src/plugins/FeedReader
cd $workdir/src/plugins/FeedReader
svn co -r$svn $svnpath/trunk/plugins/FeedReader . 2> /dev/null
cd ../../../..
# VOIP plugin
echo Checking out latest snapshot in VOIP plugin
mkdir -p $workdir/src/plugins/VOIP
cd $workdir/src/plugins/VOIP
svn co -r$svn $svnpath/trunk/plugins/VOIP . 2> /dev/null
cd ../../../..
cp $workdir/src/retroshare-gui/gui/chat/PopupChatDialog.ui $workdir/src/plugins/VOIP/gui/PopupChatDialog.ui
# common directory in Plugins
cd $workdir/src/plugins
mkdir -p Common
cd Common
svn co -r$svn $svnpath/trunk/plugins/Common . 2> /dev/null
cd ../../../..
# bdboot.txt file
#echo Copying bdboot.txt file at installation place
#cp $workdir/src/libbitdht/bitdht/bdboot.txt
# handling of libssh-0.5.2
wget http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz
cd $workdir
tar zxvf ../libssh-0.5.2.tar.gz
cd ..
echo Setting version numbers...
# setup version numbers
cat $workdir/src/libretroshare/util/rsversion.h | grep -v SVN_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto2342
cat $workdir/src/libretroshare/src/util/rsversion.h | grep -v SVN_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto2342
echo \#define SVN_REVISION \"Revision: "$version" date : `date`\" >> /tmp/toto2342
echo \#define SVN_REVISION_NUMBER $svn >> /tmp/toto2342
cp /tmp/toto2342 $workdir/src/libretroshare/util/rsversion.h
cp /tmp/toto2342 $workdir/src/libretroshare/src/util/rsversion.h
cat $workdir/src/retroshare-gui/util/rsversion.h | grep -v GUI_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto4463
cat $workdir/src/retroshare-gui/src/util/rsversion.h | grep -v GUI_REVISION | grep -v SVN_REVISION_NUMBER > /tmp/toto4463
echo \#define GUI_REVISION \"Revision: "$version" date : `date`\" >> /tmp/toto4463
echo \#define SVN_REVISION_NUMBER $svn >> /tmp/toto4463
cp /tmp/toto4463 $workdir/src/retroshare-gui/util/rsversion.h
cp /tmp/toto4463 $workdir/src/retroshare-gui/src/util/rsversion.h
# Various cleaning
echo Cleaning...
find $workdir -name ".svn" -exec rm -rf {} \; # remove all svn repositories
echo Preparing package
#mv $workdir/src/retroshare-gui/RetroShare.pro $workdir/src/retroshare-gui/retroshare-gui.pro
./cleanProFile.sh $workdir/src/libretroshare/libretroshare.pro
./cleanProFile.sh $workdir/src/retroshare-gui/retroshare-gui.pro
./cleanProFile.sh $workdir/src/retroshare-nogui/retroshare-nogui.pro
./cleanProFile_voip.sh $workdir/src/plugins/VOIP/VOIP.pro
./cleanProFile_linkscloud.sh $workdir/src/plugins/LinksCloud/LinksCloud.pro
./cleanProFile_feedreader.sh $workdir/src/plugins/FeedReader/FeedReader.pro
echo "DESTDIR = ../../libretroshare/src/lib/" > /tmp/toto75299
cat $workdir/src/libretroshare/libretroshare.pro /tmp/toto75299 > /tmp/toto752992
cp /tmp/toto752992 $workdir/src/libretroshare/libretroshare.pro
echo "DESTDIR = ../../libbitdht/src/lib/" > /tmp/toto75299
cat $workdir/src/libbitdht/libbitdht.pro /tmp/toto75299 > /tmp/toto752992
cp /tmp/toto752992 $workdir/src/libbitdht/libbitdht.pro
echo "DESTDIR = ../../openpgpsdk/src/lib/" > /tmp/toto75299
cat $workdir/src/openpgpsdk/openpgpsdk.pro /tmp/toto75299 > /tmp/toto752992
cp /tmp/toto752992 $workdir/src/openpgpsdk/openpgpsdk.pro
#cat retroshare-gui-ext.pro >> $workdir/src/retroshare-gui/retroshare-gui.pro
#echo Building orig directory...
#mkdir $workdir.orig
#cp -r $workdir/src $workdir.orig
# Call debuild to make the source debian package
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
@ -150,8 +81,8 @@ mv -f $workdir/debian/control.tmp $workdir/debian/control
cd $workdir
#for i in sid; do
#for i in natty; do
for i in sid squeeze maverick natty oneiric precise quantal ; do
#for i in precise; do
for i in maverick natty oneiric precise quantal ; do
echo copying changelog for $i
cat ../changelog | sed -e s/XXXXXX/"$svn"/g | sed -e s/YYYYYY/"$i"/g > debian/changelog

View File

@ -2,25 +2,13 @@
rm BaseRetroShareDirs.tgz
rm -rf retroshare-0.5/libbitdht/
rm -rf retroshare-0.5/libretroshare/
rm -rf retroshare-0.5/src/libbitdht/*
rm -rf retroshare-0.5/src/libbitdht/.svn/
rm -rf retroshare-0.5/src/openpgpsdk/*
rm -rf retroshare-0.5/src/openpgpsdk/.svn/
rm -rf retroshare-0.5/src/libretroshare/*
rm -rf retroshare-0.5/src/libretroshare/.svn/
rm -rf retroshare-0.5/src/retroshare-gui/*
rm -rf retroshare-0.5/src/retroshare-gui/.svn/
rm -rf retroshare-0.5/src/retroshare-nogui/*
rm -rf retroshare-0.5/src/retroshare-nogui/.svn/
rm -rf retroshare-0.5/src/plugins/VOIP/*
rm -rf retroshare-0.5/src/plugins/VOIP/.svn/
rm -rf retroshare-0.5/src/plugins/LinksCloud/*
rm -rf retroshare-0.5/src/plugins/LinksCloud/.svn/
mv retroshare-0.5/src/data retroshare-0.5/
rm -rf retroshare-0.5/libssh-0.5.2
rm -rf retroshare-0.5/src/*
mv retroshare-0.5/data retroshare-0.5/src/
find retroshare-0.5 -name "*~" -exec \rm {} \;
find retroshare-0.5 -name ".svn" -exec \rm -rf {} \;
tar zcvf BaseRetroShareDirs.tgz retroshare-0.5/