Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
ansible/host_vars/libvirt-centos-7/main.yml | 1 +
ansible/host_vars/libvirt-debian-8/main.yml | 1 +
ansible/host_vars/libvirt-debian-9/main.yml | 1 +
ansible/host_vars/libvirt-fedora-25/main.yml | 1 +
ansible/host_vars/libvirt-fedora-26/main.yml | 1 +
ansible/host_vars/libvirt-fedora-rawhide/main.yml | 1 +
ansible/host_vars/libvirt-freebsd-11/main.yml | 1 +
ansible/host_vars/libvirt-ubuntu-16/main.yml | 1 +
ansible/tasks/build.yml | 12 ++++++++----
ansible/vars/libvirt-glib/CentOS-7.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/Debian-8.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/Debian-9.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/Fedora-25.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/Fedora-26.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/Fedora-Rawhide.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/FreeBSD-11.yml | 16 ++++++++++++++++
ansible/vars/libvirt-glib/Ubuntu-16.yml | 16 ++++++++++++++++
17 files changed, 144 insertions(+), 4 deletions(-)
create mode 100644 ansible/vars/libvirt-glib/CentOS-7.yml
create mode 100644 ansible/vars/libvirt-glib/Debian-8.yml
create mode 100644 ansible/vars/libvirt-glib/Debian-9.yml
create mode 100644 ansible/vars/libvirt-glib/Fedora-25.yml
create mode 100644 ansible/vars/libvirt-glib/Fedora-26.yml
create mode 100644 ansible/vars/libvirt-glib/Fedora-Rawhide.yml
create mode 100644 ansible/vars/libvirt-glib/FreeBSD-11.yml
create mode 100644 ansible/vars/libvirt-glib/Ubuntu-16.yml
diff --git a/ansible/host_vars/libvirt-centos-7/main.yml
b/ansible/host_vars/libvirt-centos-7/main.yml
index ec2e50f..87b39f3 100644
--- a/ansible/host_vars/libvirt-centos-7/main.yml
+++ b/ansible/host_vars/libvirt-centos-7/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-cim
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-debian-8/main.yml
b/ansible/host_vars/libvirt-debian-8/main.yml
index 7508f19..06aed9d 100644
--- a/ansible/host_vars/libvirt-debian-8/main.yml
+++ b/ansible/host_vars/libvirt-debian-8/main.yml
@@ -3,3 +3,4 @@ projects:
- base
- libosinfo
- libvirt
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-debian-9/main.yml
b/ansible/host_vars/libvirt-debian-9/main.yml
index 7508f19..06aed9d 100644
--- a/ansible/host_vars/libvirt-debian-9/main.yml
+++ b/ansible/host_vars/libvirt-debian-9/main.yml
@@ -3,3 +3,4 @@ projects:
- base
- libosinfo
- libvirt
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-fedora-25/main.yml
b/ansible/host_vars/libvirt-fedora-25/main.yml
index ec2e50f..87b39f3 100644
--- a/ansible/host_vars/libvirt-fedora-25/main.yml
+++ b/ansible/host_vars/libvirt-fedora-25/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-cim
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-fedora-26/main.yml
b/ansible/host_vars/libvirt-fedora-26/main.yml
index ec2e50f..87b39f3 100644
--- a/ansible/host_vars/libvirt-fedora-26/main.yml
+++ b/ansible/host_vars/libvirt-fedora-26/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-cim
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
index ec2e50f..87b39f3 100644
--- a/ansible/host_vars/libvirt-fedora-rawhide/main.yml
+++ b/ansible/host_vars/libvirt-fedora-rawhide/main.yml
@@ -4,3 +4,4 @@ projects:
- libosinfo
- libvirt
- libvirt-cim
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-freebsd-11/main.yml
b/ansible/host_vars/libvirt-freebsd-11/main.yml
index a8766a0..1acdd66 100644
--- a/ansible/host_vars/libvirt-freebsd-11/main.yml
+++ b/ansible/host_vars/libvirt-freebsd-11/main.yml
@@ -10,3 +10,4 @@ projects:
- base
- libosinfo
- libvirt
+ - libvirt-glib
diff --git a/ansible/host_vars/libvirt-ubuntu-16/main.yml
b/ansible/host_vars/libvirt-ubuntu-16/main.yml
index 7508f19..06aed9d 100644
--- a/ansible/host_vars/libvirt-ubuntu-16/main.yml
+++ b/ansible/host_vars/libvirt-ubuntu-16/main.yml
@@ -3,3 +3,4 @@ projects:
- base
- libosinfo
- libvirt
+ - libvirt-glib
diff --git a/ansible/tasks/build.yml b/ansible/tasks/build.yml
index 2a26024..17f5bf3 100644
--- a/ansible/tasks/build.yml
+++ b/ansible/tasks/build.yml
@@ -39,7 +39,8 @@
when:
- ( project == 'libosinfo' or
project == 'libvirt' or
- project == 'libvirt-cim' )
+ project == 'libvirt-cim' or
+ project == 'libvirt-glib' )
- name: '{{ project }}: Run configure'
command: './configure {{ configure_options }}'
@@ -55,7 +56,8 @@
when:
- ( project == 'libosinfo' or
project == 'libvirt' or
- project == 'libvirt-cim' )
+ project == 'libvirt-cim' or
+ project == 'libvirt-glib' )
- name: '{{ project }}: Run sanity checks'
command: '{{ make }} -j{{ smp }} syntax-check'
@@ -64,7 +66,8 @@
when:
- ( project == 'libosinfo' or
( project == 'libvirt' and
- os_name != 'FreeBSD' ) )
+ os_name != 'FreeBSD' ) or
+ project == 'libvirt-glib' )
- name: '{{ project }}: Run test suite'
command: '{{ make }} -j{{ smp }} check'
@@ -73,7 +76,8 @@
when:
- ( ( project == 'libvirt' and
os_name != 'FreeBSD' ) or
- project == 'libvirt-cim' )
+ project == 'libvirt-cim' or
+ project == 'libvirt-glib' )
- name: '{{ project }}: Build RPM package'
command: '{{ make }} -j{{ smp }} rpm'
diff --git a/ansible/vars/libvirt-glib/CentOS-7.yml
b/ansible/vars/libvirt-glib/CentOS-7.yml
new file mode 100644
index 0000000..513284d
--- /dev/null
+++ b/ansible/vars/libvirt-glib/CentOS-7.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - glib2-devel
+ - gobject-introspection-devel
+ - gtk-doc
+ - intltool
+ - libxml2-devel
+ - vala
+
+extra_packages:
+ - libvirt-devel
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/Debian-8.yml
b/ansible/vars/libvirt-glib/Debian-8.yml
new file mode 100644
index 0000000..7c8660e
--- /dev/null
+++ b/ansible/vars/libvirt-glib/Debian-8.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - gtk-doc-tools
+ - intltool
+ - libgirepository1.0-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - valac
+
+extra_packages:
+ - libvirt-dev
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/Debian-9.yml
b/ansible/vars/libvirt-glib/Debian-9.yml
new file mode 100644
index 0000000..7c8660e
--- /dev/null
+++ b/ansible/vars/libvirt-glib/Debian-9.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - gtk-doc-tools
+ - intltool
+ - libgirepository1.0-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - valac
+
+extra_packages:
+ - libvirt-dev
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/Fedora-25.yml
b/ansible/vars/libvirt-glib/Fedora-25.yml
new file mode 100644
index 0000000..513284d
--- /dev/null
+++ b/ansible/vars/libvirt-glib/Fedora-25.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - glib2-devel
+ - gobject-introspection-devel
+ - gtk-doc
+ - intltool
+ - libxml2-devel
+ - vala
+
+extra_packages:
+ - libvirt-devel
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/Fedora-26.yml
b/ansible/vars/libvirt-glib/Fedora-26.yml
new file mode 100644
index 0000000..513284d
--- /dev/null
+++ b/ansible/vars/libvirt-glib/Fedora-26.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - glib2-devel
+ - gobject-introspection-devel
+ - gtk-doc
+ - intltool
+ - libxml2-devel
+ - vala
+
+extra_packages:
+ - libvirt-devel
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/Fedora-Rawhide.yml
b/ansible/vars/libvirt-glib/Fedora-Rawhide.yml
new file mode 100644
index 0000000..513284d
--- /dev/null
+++ b/ansible/vars/libvirt-glib/Fedora-Rawhide.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - glib2-devel
+ - gobject-introspection-devel
+ - gtk-doc
+ - intltool
+ - libxml2-devel
+ - vala
+
+extra_packages:
+ - libvirt-devel
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/FreeBSD-11.yml
b/ansible/vars/libvirt-glib/FreeBSD-11.yml
new file mode 100644
index 0000000..c0eff32
--- /dev/null
+++ b/ansible/vars/libvirt-glib/FreeBSD-11.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - glib
+ - gobject-introspection
+ - gtk-doc
+ - intltool
+ - libxml2
+ - vala
+
+extra_packages:
+ - libvirt
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
diff --git a/ansible/vars/libvirt-glib/Ubuntu-16.yml
b/ansible/vars/libvirt-glib/Ubuntu-16.yml
new file mode 100644
index 0000000..7c8660e
--- /dev/null
+++ b/ansible/vars/libvirt-glib/Ubuntu-16.yml
@@ -0,0 +1,16 @@
+---
+packages:
+ - gtk-doc-tools
+ - intltool
+ - libgirepository1.0-dev
+ - libglib2.0-dev
+ - libxml2-dev
+ - valac
+
+extra_packages:
+ - libvirt-dev
+
+features:
+ enable_gtk_doc: --enable-gtk-doc
+ enable_introspection: --enable-introspection
+ enable_vala: --enable-vala
--
2.13.6