diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2014-01-24 16:12:27 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2014-01-24 16:12:27 -0800 |
commit | b124b623944c574d2325589cd20198d2a79bb993 (patch) | |
tree | 8ab541848c8efe209e197b1bcab868e8118361c3 /tools/dev_env_setup/playbooks/setup_jhbuild.yaml | |
parent | 2ecb92e744b088e65ff41a8c8189fc4395e1565b (diff) | |
parent | d5697c2531ae8f6e4ad8a462f0483aca47ae0665 (diff) |
Merge pull request #493 from endlessm/issues/1620
First round of dev vm preparation scripts
Diffstat (limited to 'tools/dev_env_setup/playbooks/setup_jhbuild.yaml')
-rw-r--r-- | tools/dev_env_setup/playbooks/setup_jhbuild.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/tools/dev_env_setup/playbooks/setup_jhbuild.yaml b/tools/dev_env_setup/playbooks/setup_jhbuild.yaml new file mode 100644 index 0000000..a8749a6 --- /dev/null +++ b/tools/dev_env_setup/playbooks/setup_jhbuild.yaml @@ -0,0 +1,50 @@ +--- +# vim:ff=unix ts=2 sw=2 ai expandtab + +- name: "Ensuring that git is installed" + apt: name=git update_cache=true cache_valid_time=259200 + +- name: "Creating checkout directory" + file: path=~/checkout state=directory mode=755 + sudo: False + +- name: "Cloning jhbuild" + git: repo=git://git.gnome.org/jhbuild + dest=~/checkout/jhbuild + sudo: False + +- name: "Installing jhbuild - autogen" + shell: cd ~/checkout/jhbuild && ./autogen.sh + sudo: False + +- name: "Installing jhbuild - make" + shell: cd ~/checkout/jhbuild && make + sudo: False + +- name: "Installing jhbuild - make install" + shell: cd ~/checkout/jhbuild && make install + sudo: False + +- name: "Creating glib schemas dir" + file: path=~/install/share/glib-2.0/schemas state=directory mode=755 + sudo: False + + +- name: "Creating /opt/gnome directory" + file: path=/opt/gnome state=directory mode=777 + +- name: "Updating apt-file cache" + shell: apt-file update + + +- name: "Installing jhbuild dependencies - this may take a very long time" + shell: executable=/bin/bash echo -e "y\n" | ~/.local/bin/jhbuild sysdeps --install + sudo: False + +- name: "Installing auth key" + template: src=../templates/.jhbuildrc-auth.j2 dest=~/.jhbuildrc-auth + sudo: False + +- name: "Cloning relevant modules - this will take a very long time - use htop and watch for git processes" + shell: executable=/bin/bash ~/.local/bin/jhbuild update endless-apps + sudo: False |