summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2014-08-28 01:22:15 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-28 11:46:22 +0100
commitae380fa19f904931f173089ee0e98a33a0e8b41f (patch)
treec75bd6a8198ff1af879c6c0ffda84b44c82573b0
parent7bbdf1f098496546481db75fb37077776ee62aa8 (diff)
downloaddefinitions-ae380fa19f904931f173089ee0e98a33a0e8b41f.tar.gz
Do not build the same mesa in different strata, move to its own stratum
-rw-r--r--strata/graphics-common.morph1
-rw-r--r--strata/mesa-common.morph10
-rw-r--r--strata/mesa-common/mesa.morph (renamed from strata/x-generic/mesa.morph)0
-rw-r--r--strata/wayland-generic.morph7
-rw-r--r--strata/wayland-generic/mesa.morph7
-rw-r--r--strata/weston-genivi.morph1
-rw-r--r--strata/x-generic.morph8
7 files changed, 13 insertions, 21 deletions
diff --git a/strata/graphics-common.morph b/strata/graphics-common.morph
index bc1a7da7..279ede02 100644
--- a/strata/graphics-common.morph
+++ b/strata/graphics-common.morph
@@ -1,6 +1,7 @@
name: graphics-common
kind: stratum
build-depends:
+- morph: strata/mesa-common.morph
- morph: strata/x-common.morph
- morph: strata/wayland-generic.morph
chunks:
diff --git a/strata/mesa-common.morph b/strata/mesa-common.morph
new file mode 100644
index 00000000..b5a3ec6c
--- /dev/null
+++ b/strata/mesa-common.morph
@@ -0,0 +1,10 @@
+name: mesa-common
+kind: stratum
+build-depends:
+- morph: strata/x-common.morph
+- morph: strata/wayland-generic.morph
+chunks:
+- name: mesa
+ repo: upstream:mesa
+ ref: baserock/unified
+ build-depends: []
diff --git a/strata/x-generic/mesa.morph b/strata/mesa-common/mesa.morph
index 38078d12..38078d12 100644
--- a/strata/x-generic/mesa.morph
+++ b/strata/mesa-common/mesa.morph
diff --git a/strata/wayland-generic.morph b/strata/wayland-generic.morph
index d24ffccc..e21a5d5d 100644
--- a/strata/wayland-generic.morph
+++ b/strata/wayland-generic.morph
@@ -14,10 +14,3 @@ chunks:
ref: baserock/gnome
build-depends:
- libxkbcommon
-- name: mesa
- morph: strata/wayland-generic/mesa.morph
- repo: upstream:mesa
- ref: b8e3777eb34a6f585d7c168003bd8ebd69bf107c
- unpetrify-ref: baserock/gnome
- build-depends:
- - wayland
diff --git a/strata/wayland-generic/mesa.morph b/strata/wayland-generic/mesa.morph
deleted file mode 100644
index ea85006e..00000000
--- a/strata/wayland-generic/mesa.morph
+++ /dev/null
@@ -1,7 +0,0 @@
-name: mesa
-kind: chunk
-build-system: autotools
-configure-commands:
-- ./autogen.sh --prefix="$PREFIX" --enable-gles2 --enable-gallium-egl --with-egl-platforms=wayland,drm,x11
- --enable-gbm --enable-dri --enable-shared-glapi --with-gallium-drivers=swrast --with-dri-drivers=,i915,i965,swrast
- --with-state-trackers=egl
diff --git a/strata/weston-genivi.morph b/strata/weston-genivi.morph
index c29020a1..569f69b5 100644
--- a/strata/weston-genivi.morph
+++ b/strata/weston-genivi.morph
@@ -3,6 +3,7 @@ kind: stratum
build-depends:
- morph: strata/graphics-common.morph
- morph: strata/input-common.morph
+- morph: strata/mesa-common.morph
- morph: strata/x-common.morph
- morph: strata/wayland-generic.morph
chunks:
diff --git a/strata/x-generic.morph b/strata/x-generic.morph
index 03d19daf..13cf8747 100644
--- a/strata/x-generic.morph
+++ b/strata/x-generic.morph
@@ -1,14 +1,9 @@
name: x-generic
kind: stratum
build-depends:
+- morph: strata/mesa-common.morph
- morph: strata/x-common.morph
chunks:
-- name: mesa
- morph: strata/x-generic/mesa.morph
- repo: upstream:mesa
- ref: b8e3777eb34a6f585d7c168003bd8ebd69bf107c
- unpetrify-ref: baserock/gnome
- build-depends: []
- name: xorg-lib-libxkbfile
repo: upstream:xorg-lib-libxkbfile
ref: 7381c2f9013ef7784c78091fa671e652a62ca706
@@ -103,7 +98,6 @@ chunks:
unpetrify-ref: baserock/morph
build-depends:
- libsha1
- - mesa
- pixman
- xorg-font-util
- xorg-lib-libXaw