diff --git a/build_scripts/Ubuntu_src/BaseRetroShareDirs.tgz b/build_scripts/Ubuntu_src/BaseRetroShareDirs.tgz index fa7409cca..e2a1b44db 100644 Binary files a/build_scripts/Ubuntu_src/BaseRetroShareDirs.tgz and b/build_scripts/Ubuntu_src/BaseRetroShareDirs.tgz differ diff --git a/build_scripts/Ubuntu_src/clean.sh b/build_scripts/Ubuntu_src/clean.sh index 2cf4bd4b6..6b889dadb 100755 --- a/build_scripts/Ubuntu_src/clean.sh +++ b/build_scripts/Ubuntu_src/clean.sh @@ -5,6 +5,7 @@ rm ./retroshare_0.5-1_source.build rm ./retroshare_0.5.orig.tar.gz rm ./retroshare_0.5-1_source.changes rm ./retroshare_0.5-1.dsc +rm -r ./retroshare-0.5 rm *~ find . -name "*~" -exec rm {} \; diff --git a/build_scripts/Ubuntu_src/make.sh b/build_scripts/Ubuntu_src/make.sh index 75992de6f..4339f9109 100755 --- a/build_scripts/Ubuntu_src/make.sh +++ b/build_scripts/Ubuntu_src/make.sh @@ -13,8 +13,14 @@ read svn # ./clean.sh # ./makeSourcePackage.sh -sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist karmic build *.dsc -cp /var/cache/pbuilder/karmic_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_karmic_amd64.deb +#sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist lucid i386 build *.dsc +#cp /var/cache/pbuilder/lucid-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_lucid_i386.deb +# +#sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist lucid build *.dsc +#cp /var/cache/pbuilder/lucid_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_lucid_amd64.deb +# +#sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist karmic build *.dsc +#cp /var/cache/pbuilder/karmic_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_karmic_amd64.deb sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist karmic i386 build *.dsc cp /var/cache/pbuilder/karmic-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_karmic_i386.deb @@ -22,6 +28,9 @@ cp /var/cache/pbuilder/karmic-i386_result/retroshare_0.5-1_i386.deb ./RetroShare sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist jaunty build *.dsc cp /var/cache/pbuilder/jaunty_result/retroshare_0.5-1_amd64.deb ./RetroShare_0.5."$svn"_jaunty_amd64.deb -sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist jaunty i386 build *.dsc -cp /var/cache/pbuilder/jaunty-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_jaunty_i386.deb +#sudo PBUILDFOLDER=/var/cache/pbuilder pbuilder-dist jaunty i386 build *.dsc +#cp /var/cache/pbuilder/jaunty-i386_result/retroshare_0.5-1_i386.deb ./RetroShare_0.5."$svn"_jaunty_i386.deb + +mv /media/disc2/csoler/RetroShare_Releases/*.deb /media/disc2/csoler/RetroShare_Releases/Old/ +mv *.deb /media/disc2/csoler/RetroShare_Releases/ diff --git a/build_scripts/Ubuntu_src/makeSourcePackage.sh b/build_scripts/Ubuntu_src/makeSourcePackage.sh index 4e27e4a2f..614361262 100755 --- a/build_scripts/Ubuntu_src/makeSourcePackage.sh +++ b/build_scripts/Ubuntu_src/makeSourcePackage.sh @@ -5,6 +5,10 @@ if test -d "RetroShare" ; then exit fi +echo Please enter the svn number: +read svnnumber + +version=0.5.0."$svnnumber" packages="." tar zxvf $packages/BaseRetroShareDirs.tgz @@ -40,6 +44,9 @@ cp -r retroshare-0.5/src retroshare-0.5.orig # Call debuild to make the source debian package +cat retroshare-0.5/debian/control | sed -e s/XXXXXX/"$version"/g > retroshare-0.5/debian/control.tmp +mv -f retroshare-0.5/debian/control.tmp retroshare-0.5/debian/control + cd retroshare-0.5 debuild -S -kC737CA98