Download jhbuild from git
Switch gnome-shell-build-setup.sh to check out subversion from git rather than the old subversion location.
This commit is contained in:
parent
171ad80b43
commit
3de308ebe5
@ -23,7 +23,7 @@ fi
|
|||||||
# Required software:
|
# Required software:
|
||||||
#
|
#
|
||||||
# For this script:
|
# For this script:
|
||||||
# binutils, curl, gcc, make, subversion
|
# binutils, curl, gcc, make, git
|
||||||
#
|
#
|
||||||
# General build stuff:
|
# General build stuff:
|
||||||
# automake, bison, flex, git, gnome-common, gtk-doc, intltool,
|
# automake, bison, flex, git, gnome-common, gtk-doc, intltool,
|
||||||
@ -58,7 +58,7 @@ dpkg_is_installed() {
|
|||||||
if test x$system = xUbuntu -o x$system = xDebian ; then
|
if test x$system = xUbuntu -o x$system = xDebian ; then
|
||||||
reqd=""
|
reqd=""
|
||||||
for pkg in \
|
for pkg in \
|
||||||
build-essential curl subversion \
|
build-essential curl \
|
||||||
automake bison flex git-core gnome-common gtk-doc-tools \
|
automake bison flex git-core gnome-common gtk-doc-tools \
|
||||||
libdbus-glib-1-dev libgconf2-dev libgtk2.0-dev libffi-dev \
|
libdbus-glib-1-dev libgconf2-dev libgtk2.0-dev libffi-dev \
|
||||||
libgnome-menu-dev libgnomeui-dev librsvg2-dev libwnck-dev libgl1-mesa-dev \
|
libgnome-menu-dev libgnomeui-dev librsvg2-dev libwnck-dev libgl1-mesa-dev \
|
||||||
@ -78,7 +78,7 @@ fi
|
|||||||
if test x$system = xFedora ; then
|
if test x$system = xFedora ; then
|
||||||
reqd=""
|
reqd=""
|
||||||
for pkg in \
|
for pkg in \
|
||||||
binutils curl gcc make subversion \
|
binutils curl gcc make \
|
||||||
automake bison flex git gnome-common gnome-doc-utils intltool \
|
automake bison flex git gnome-common gnome-doc-utils intltool \
|
||||||
libtool pkgconfig \
|
libtool pkgconfig \
|
||||||
dbus-glib-devel GConf2-devel gnome-menus-devel gtk2-devel libffi-devel libgnomeui-devel \
|
dbus-glib-devel GConf2-devel gnome-menus-devel gtk2-devel libffi-devel libgnomeui-devel \
|
||||||
@ -143,10 +143,22 @@ if [ -d $SOURCE ] ; then : ; else
|
|||||||
echo "Created $SOURCE"
|
echo "Created $SOURCE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "Checking out jhbuild into $SOURCE/jhbuild ... "
|
if [ -d $SOURCE/jhbuild ] ; then
|
||||||
cd $SOURCE
|
if [ -d $SOURCE/jhbuild/.git ] ; then
|
||||||
svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild > /dev/null
|
echo -n "Updating jhbuild ... "
|
||||||
echo "done"
|
( cd $SOURCE/jhbuild && git pull --rebase > /dev/null ) || exit 1
|
||||||
|
echo "done"
|
||||||
|
else
|
||||||
|
echo "$SOURCE/jhbuild is not a git repository"
|
||||||
|
echo "You should remove it and rerun this script"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo -n "Checking out jhbuild into $SOURCE/jhbuild ... "
|
||||||
|
cd $SOURCE
|
||||||
|
git clone git://git.gnome.org/jhbuild > /dev/null || exit 1
|
||||||
|
echo "done"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing jhbuild..."
|
echo "Installing jhbuild..."
|
||||||
(cd $SOURCE/jhbuild && make -f Makefile.plain DISABLE_GETTEXT=1 install >/dev/null)
|
(cd $SOURCE/jhbuild && make -f Makefile.plain DISABLE_GETTEXT=1 install >/dev/null)
|
||||||
|
Loading…
Reference in New Issue
Block a user