Skip to content

Commit 130bd40

Browse files
author
Zoltan Arvai
committed
Add --no-ssh for using http protocol with init-repository and some fixes
1 parent a792cdd commit 130bd40

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

clone-sources.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ else
1818
git clone [email protected]:qt/qt5.git qt5
1919
cd qt5
2020
git checkout $qt5hash
21-
./init-repository --ssh --module-subset=qtbase,qtxmlpatterns,qtjsbackend,qtscript,qtdeclarative,qtsensors,qtlocation,qt3d,qtimageformats,qtquick1
21+
./init-repository $use_ssh --module-subset=qtbase,qtxmlpatterns,qtjsbackend,qtscript,qtdeclarative,qtsensors,qtlocation,qt3d,qtimageformats,qtquick1
2222
(cd qtbase && git fetch http://codereview.qt-project.org/p/qt/qtbase refs/changes/54/15954/1 && git cherry-pick FETCH_HEAD)
2323
(cd qtquick1 && git fetch http://codereview.qt-project.org/p/qt/qtquick1 refs/changes/81/15981/1 && git cherry-pick FETCH_HEAD)
2424
fi

common.sh

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ webkit="qtwebkit-webkit2-dev"
7979
release=
8080
valgrind=
8181
clean=
82+
use_ssh=--ssh
8283
while [ $# -gt 0 ]; do
8384
case $1 in
8485
--release)
@@ -117,6 +118,10 @@ while [ $# -gt 0 ]; do
117118
clean=1
118119
shift
119120
;;
121+
--no-ssh)
122+
use_ssh=
123+
shift
124+
;;
120125
*)
121126
die "unknown flag $1"
122127
break

create-icecc-env.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ while [ $# != 0 ] ; do
99
icecc_environment=$2
1010
shift
1111
else
12-
echo "Please pass --environment [host | scratchbox]"
12+
echo "Please pass --environment [host | scratchbox | cross]"
1313
exit 1
1414
fi
1515
;;
@@ -121,7 +121,7 @@ elif [ "x$icecc_environment" = "xscratchbox" ] ; then
121121
echo $workdir
122122
wget http://ftp.suse.com/pub/projects/icecream/icecc-0.9.7.tar.bz2 -O $workdir/icecc.tar.bz2
123123
tar xvjpf $workdir/icecc.tar.bz2 -C $workdir/
124-
echo "cd /home/$USER/icecc/$(basename $workdir)/icecc-* && ./configure CC=host-gcc CXX=host-g++ && make -j2" | $sbdir/login -s
124+
echo "cd /home/$USER/icecc/$(basename $workdir)/icecc-* && ./configure CC=gcc CXX=g++ && make -j2" | $sbdir/login -s
125125
echo "Done building... Need to install the binaries..."
126126
sudo cp $workdir/icecc-*/client/icecc $sbdir/tools/bin/icecc
127127
sudo ln -s icecc $sbdir/tools/bin/icecc++

0 commit comments

Comments
 (0)