summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-08-28 12:46:47 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-08-28 12:46:47 +0000
commita4f3b3d10c7dda583359d2a481c1dfc4a28ecc8b (patch)
tree98f3a145c17f75c30483bd5093f80a7bc52f46d4
parent529cf76e1a276e6324ffa38eef71dcf7d700ad12 (diff)
parenta7d16e0cc2f467d79a32af2dd9489b2f0cedc5be (diff)
downloaddefinitions-a4f3b3d10c7dda583359d2a481c1dfc4a28ecc8b.tar.gz
Merge branch 'baserock/jjardon/cleanup-graphical-strata'
Reviewed-by: Richard Maw +2
-rw-r--r--strata/genivi-wayland-armv7-versatile.morph15
-rw-r--r--strata/genivi-wayland-generic.morph (renamed from strata/genivi-wayland-x86_64-generic.morph)4
-rw-r--r--strata/graphics-common.morph53
-rw-r--r--strata/graphics-common/freefont-otf.morph5
-rw-r--r--strata/gtk-deps.morph4
-rw-r--r--strata/gtk3.morph2
-rw-r--r--strata/input-common.morph39
-rw-r--r--strata/mesa-common.morph10
-rw-r--r--strata/mesa-common/mesa.morph (renamed from strata/x-generic/mesa-x.morph)15
-rw-r--r--strata/wayland-armv7-versatile.morph136
-rw-r--r--strata/wayland-armv7-versatile/cairo.morph5
-rw-r--r--strata/wayland-armv7-versatile/freefont-otf.morph5
-rw-r--r--strata/wayland-armv7-versatile/linux-api-headers.morph9
-rw-r--r--strata/wayland-armv7-versatile/mesa-wayland.morph7
-rw-r--r--strata/wayland-armv7-versatile/wayland-ivi-extension.morph8
-rw-r--r--strata/wayland-generic.morph16
-rw-r--r--strata/wayland-generic/wayland.morph (renamed from strata/wayland-armv7-versatile/wayland.morph)0
-rw-r--r--strata/wayland-x86_64-generic.morph136
-rw-r--r--strata/wayland-x86_64-generic/cairo.morph5
-rw-r--r--strata/wayland-x86_64-generic/freefont-otf.morph5
-rw-r--r--strata/wayland-x86_64-generic/linux-api-headers.morph9
-rw-r--r--strata/wayland-x86_64-generic/mesa-wayland.morph7
-rw-r--r--strata/wayland-x86_64-generic/wayland-ivi-extension.morph8
-rw-r--r--strata/wayland-x86_64-generic/wayland.morph7
-rw-r--r--strata/wayland-x86_64-generic/weston.morph53
-rw-r--r--strata/weston-genivi.morph26
-rw-r--r--strata/weston-genivi/weston.morph (renamed from strata/wayland-armv7-versatile/weston.morph)4
-rw-r--r--strata/x-generic.morph8
-rw-r--r--systems/genivi-baseline-system-armv7lhf-versatile.morph10
-rw-r--r--systems/genivi-baseline-system-x86_64-generic.morph12
30 files changed, 182 insertions, 441 deletions
diff --git a/strata/genivi-wayland-armv7-versatile.morph b/strata/genivi-wayland-armv7-versatile.morph
deleted file mode 100644
index b61d861a..00000000
--- a/strata/genivi-wayland-armv7-versatile.morph
+++ /dev/null
@@ -1,15 +0,0 @@
-name: genivi-wayland-armv7-versatile
-kind: stratum
-description: Software components designed by genivi, for genivi.
-build-depends:
-- morph: strata/core.morph
-- morph: strata/foundation.morph
-- morph: strata/genivi-foundation.morph
-- morph: strata/genivi.morph
-- morph: strata/wayland-armv7-versatile.morph
-chunks:
-- name: layer_management-wayland
- repo: upstream:layer_management
- ref: 206d6709d0a3b3932a02b30ccacaa02b3eab8493
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
diff --git a/strata/genivi-wayland-x86_64-generic.morph b/strata/genivi-wayland-generic.morph
index eedbecc2..3f9eb240 100644
--- a/strata/genivi-wayland-x86_64-generic.morph
+++ b/strata/genivi-wayland-generic.morph
@@ -1,4 +1,4 @@
-name: genivi-wayland-x86_64-generic
+name: genivi-wayland-generic
kind: stratum
description: Software components designed by genivi, for genivi.
build-depends:
@@ -6,7 +6,7 @@ build-depends:
- morph: strata/foundation.morph
- morph: strata/genivi-foundation.morph
- morph: strata/genivi.morph
-- morph: strata/wayland-x86_64-generic.morph
+- morph: strata/wayland-generic.morph
chunks:
- name: layer_management-wayland
repo: upstream:layer_management
diff --git a/strata/graphics-common.morph b/strata/graphics-common.morph
new file mode 100644
index 00000000..279ede02
--- /dev/null
+++ b/strata/graphics-common.morph
@@ -0,0 +1,53 @@
+name: graphics-common
+kind: stratum
+build-depends:
+- morph: strata/mesa-common.morph
+- morph: strata/x-common.morph
+- morph: strata/wayland-generic.morph
+chunks:
+- name: pixman
+ repo: upstream:pixman
+ ref: 958bd334b3c17f529c80f2eeef4224f45c62f292
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: freetype2
+ repo: upstream:freetype2
+ ref: 2ba18ba1ce730ed79672801b20f986f10a628c95
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: fontconfig
+ repo: upstream:fontconfig
+ ref: 72b0480a21958f0f8c115d8e0a5bfbd8d358b5c3
+ unpetrify-ref: baserock/morph
+ build-depends:
+ - freetype2
+- name: freefont-otf
+ morph: strata/graphics-common/freefont-otf.morph
+ repo: upstream:freefont-otf
+ ref: 75fa95a912718bb94a135d4bf6b13bb38e186ce7
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: cairo
+ repo: upstream:cairo
+ ref: c373daa9d4bade91b3fc8b7850163db4b3aec40a
+ unpetrify-ref: baserock/genivi/1.12.10
+ build-depends:
+ - fontconfig
+ - freetype2
+ - pixman
+- name: harfbuzz
+ repo: upstream:harfbuzz
+ ref: 09b5393874e56fcfd63a92d28e6c1c2ddeee0942
+ unpetrify-ref: baserock/0.9.12
+ build-depends:
+ - freetype2
+- name: pango
+ repo: upstream:pango
+ ref: f8b1566e81af9e36ac018af4f0ae85ee7db4b8fd
+ unpetrify-ref: baserock/1.36.3
+ build-depends:
+ - cairo
+ - harfbuzz
+ - fontconfig
+ - freetype2
+ - freefont-otf
diff --git a/strata/graphics-common/freefont-otf.morph b/strata/graphics-common/freefont-otf.morph
new file mode 100644
index 00000000..f021480d
--- /dev/null
+++ b/strata/graphics-common/freefont-otf.morph
@@ -0,0 +1,5 @@
+name: freefont-otf
+kind: chunk
+install-commands:
+- mkdir -p "$DESTDIR"/usr/share/fonts/opentype/freefont
+- install -p *.otf "$DESTDIR"/usr/share/fonts/opentype/freefont
diff --git a/strata/gtk-deps.morph b/strata/gtk-deps.morph
index 71637b17..dbee2e69 100644
--- a/strata/gtk-deps.morph
+++ b/strata/gtk-deps.morph
@@ -3,9 +3,7 @@ kind: stratum
description: the GTK+ dependencies stratum
build-depends:
- morph: strata/foundation.morph
-- morph: strata/x-common.morph
-- morph: strata/x-generic.morph
-- morph: strata/wayland-x86_64-generic.morph
+- morph: strata/graphics-common.morph
chunks:
- name: shared-mime-info
morph: strata/gtk-deps/shared-mime-info.morph
diff --git a/strata/gtk3.morph b/strata/gtk3.morph
index 3452621d..d70c5b5f 100644
--- a/strata/gtk3.morph
+++ b/strata/gtk3.morph
@@ -4,7 +4,7 @@ description: the gtk3 stratum
build-depends:
- morph: strata/gtk-deps.morph
- morph: strata/x-generic.morph
-- morph: strata/wayland-x86_64-generic.morph
+- morph: strata/wayland-generic.morph
chunks:
- name: gtk3
morph: strata/gtk3/gtk3.morph
diff --git a/strata/input-common.morph b/strata/input-common.morph
new file mode 100644
index 00000000..f8680849
--- /dev/null
+++ b/strata/input-common.morph
@@ -0,0 +1,39 @@
+name: input-common
+kind: stratum
+build-depends:
+- morph: strata/build-essential.morph
+- morph: strata/x-common.morph
+chunks:
+- name: mtdev
+ repo: upstream:mtdev-git
+ ref: 4381b78fea54de0e775bf54952b2f95e5a06c57d
+ unpetrify-ref: baserock/genivi/baseline
+ build-depends: []
+- name: xorg-lib-libxkbfile
+ repo: upstream:xorg-lib-libxkbfile
+ ref: 7381c2f9013ef7784c78091fa671e652a62ca706
+ unpetrify-ref: baserock/morph
+ build-depends: []
+- name: xorg-app-xkbcomp
+ repo: upstream:xorg-app-xkbcomp
+ ref: 705b9bbb426410f9510601c7010da51184919b36
+ unpetrify-ref: baserock/morph
+ build-depends:
+ - xorg-lib-libxkbfile
+- name: xkeyboard-config
+ repo: upstream:xkeyboard-config
+ ref: b4be67b48fb11989f1824dd0b1c8c399430162b0
+ unpetrify-ref: baserock/morph
+ build-depends:
+ - xorg-app-xkbcomp
+- name: libevdev
+ repo: upstream:libevdev
+ ref: b23649e1ba9fd5c72fa9318e417b4f17f5f6f528
+ unpetrify-ref: baserock/genivi/baseline
+ build-depends: []
+- name: libinput
+ repo: upstream:libinput
+ ref: 0.5.0
+ build-depends:
+ - mtdev
+ - libevdev
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-x.morph b/strata/mesa-common/mesa.morph
index a5a51500..733e1b1f 100644
--- a/strata/x-generic/mesa-x.morph
+++ b/strata/mesa-common/mesa.morph
@@ -1,4 +1,4 @@
-name: mesa-x
+name: mesa
kind: chunk
build-system: autotools
configure-commands:
@@ -13,9 +13,10 @@ configure-commands:
;;
esac
./autogen.sh --prefix="$PREFIX" \
- --enable-gles2 \
- --disable-gallium-egl \
- --with-egl-platforms=x11,drm \
- --enable-gbm --enable-shared-glapi \
- --with-gallium-drivers=swrast \
- --with-dri-drivers=$DRIDRIVERS
+ --enable-gles2 \
+ --disable-gallium-egl \
+ --with-egl-platforms=x11,drm,wayland \
+ --enable-gbm \
+ --enable-shared-glapi \
+ --with-gallium-drivers=swrast \
+ --with-dri-drivers="$DRIDRIVERS"
diff --git a/strata/wayland-armv7-versatile.morph b/strata/wayland-armv7-versatile.morph
deleted file mode 100644
index e9891869..00000000
--- a/strata/wayland-armv7-versatile.morph
+++ /dev/null
@@ -1,136 +0,0 @@
-name: wayland-armv7-versatile
-kind: stratum
-build-depends:
-- morph: strata/x-common.morph
-chunks:
-- name: libxkbcommon
- repo: upstream:xorg-lib-libxkbcommon
- ref: b721254769212d671a4729f1c88b059979b80efc
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
-- name: wayland
- morph: strata/wayland-armv7-versatile/wayland.morph
- repo: upstream:wayland
- ref: cbd8ab5ba7f3f0dba6c9b04176b3a2da965cd21c
- unpetrify-ref: baserock/1.4.0
- build-depends:
- - libxkbcommon
-- name: mesa-wayland
- morph: strata/wayland-armv7-versatile/mesa-wayland.morph
- repo: upstream:mesa
- ref: e51e5d4f9875e9a970d7560c6ac0bfed933facc5
- unpetrify-ref: baserock/arm/10.0.4-gallium
- build-depends:
- - wayland
-- name: pixman
- repo: upstream:pixman
- ref: 958bd334b3c17f529c80f2eeef4224f45c62f292
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: freetype2
- repo: upstream:freetype2
- ref: 2ba18ba1ce730ed79672801b20f986f10a628c95
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: fontconfig
- repo: upstream:fontconfig
- ref: 72b0480a21958f0f8c115d8e0a5bfbd8d358b5c3
- unpetrify-ref: baserock/morph
- build-depends:
- - freetype2
-- name: freefont-otf
- morph: strata/wayland-armv7-versatile/freefont-otf.morph
- repo: upstream:freefont-otf
- ref: 75fa95a912718bb94a135d4bf6b13bb38e186ce7
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: cairo
- morph: strata/wayland-armv7-versatile/cairo.morph
- repo: upstream:cairo
- ref: c373daa9d4bade91b3fc8b7850163db4b3aec40a
- unpetrify-ref: baserock/genivi/1.12.10
- build-depends:
- - fontconfig
- - freetype2
- - wayland
- - mesa-wayland
- - pixman
-- name: mtdev
- repo: upstream:mtdev-git
- ref: 4381b78fea54de0e775bf54952b2f95e5a06c57d
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
-- name: xorg-lib-libxkbfile
- repo: upstream:xorg-lib-libxkbfile
- ref: 7381c2f9013ef7784c78091fa671e652a62ca706
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: xorg-app-xkbcomp
- repo: upstream:xorg-app-xkbcomp
- ref: 705b9bbb426410f9510601c7010da51184919b36
- unpetrify-ref: baserock/morph
- build-depends:
- - xorg-lib-libxkbfile
-- name: xkeyboard-config
- repo: upstream:xkeyboard-config
- ref: b4be67b48fb11989f1824dd0b1c8c399430162b0
- unpetrify-ref: baserock/morph
- build-depends:
- - xorg-app-xkbcomp
-- name: libevdev
- repo: upstream:libevdev
- ref: b23649e1ba9fd5c72fa9318e417b4f17f5f6f528
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
-- name: linux-api-headers
- morph: strata/wayland-armv7-versatile/linux-api-headers.morph
- repo: upstream:linux
- ref: 316df4c3eb667636eadf4b663f4087f1f9cc3cfe
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: libinput
- repo: upstream:libinput
- ref: f0fd32db8f3df558e1d763dfa2db76cdca260323
- unpetrify-ref: baserock/genivi/baseline
- build-depends:
- - libxkbcommon
- - mtdev
- - libevdev
- - linux-api-headers
-- name: harfbuzz
- repo: upstream:harfbuzz
- ref: 09b5393874e56fcfd63a92d28e6c1c2ddeee0942
- unpetrify-ref: baserock/0.9.12
- build-depends:
- - freetype2
-- name: pango
- repo: upstream:pango
- ref: f8b1566e81af9e36ac018af4f0ae85ee7db4b8fd
- unpetrify-ref: baserock/1.36.3
- build-depends:
- - cairo
- - harfbuzz
- - fontconfig
- - freetype2
- - freefont-otf
-- name: weston
- morph: strata/wayland-armv7-versatile/weston.morph
- repo: upstream:weston
- ref: 8658e06e69cc3944e89684a2de619e479751633f
- unpetrify-ref: baserock/genivi/baseline-h-1.1
- build-depends:
- - pango
- - pixman
- - libxkbcommon
- - wayland
- - mesa-wayland
- - libinput
- - cairo
-- name: wayland-ivi-extension
- morph: strata/wayland-armv7-versatile/wayland-ivi-extension.morph
- repo: upstream:genivi/wayland-ivi-extension
- ref: 8b59529cf3b279a948f253bc79263d00d3f051a5
- unpetrify-ref: baserock/genivi/baseline-h-1.1
- build-depends:
- - wayland
- - weston
diff --git a/strata/wayland-armv7-versatile/cairo.morph b/strata/wayland-armv7-versatile/cairo.morph
deleted file mode 100644
index f91ac385..00000000
--- a/strata/wayland-armv7-versatile/cairo.morph
+++ /dev/null
@@ -1,5 +0,0 @@
-name: cairo
-kind: chunk
-build-system: autotools
-configure-commands:
-- ./autogen.sh --prefix="$PREFIX" --enable-glesv2
diff --git a/strata/wayland-armv7-versatile/freefont-otf.morph b/strata/wayland-armv7-versatile/freefont-otf.morph
deleted file mode 100644
index e5c6c482..00000000
--- a/strata/wayland-armv7-versatile/freefont-otf.morph
+++ /dev/null
@@ -1,5 +0,0 @@
-name: freefont-otf
-kind: chunk
-install-commands:
-- mkdir -p $DESTDIR/usr/share/fonts/opentype/freefont
-- install -p *.otf $DESTDIR/usr/share/fonts/opentype/freefont
diff --git a/strata/wayland-armv7-versatile/linux-api-headers.morph b/strata/wayland-armv7-versatile/linux-api-headers.morph
deleted file mode 100644
index 595138fe..00000000
--- a/strata/wayland-armv7-versatile/linux-api-headers.morph
+++ /dev/null
@@ -1,9 +0,0 @@
-name: linux-api-headers
-kind: chunk
-build-commands:
-- make mrproper
-- make headers_check
-install-commands:
-- make INSTALL_HDR_PATH=dest headers_install
-- install -d "$DESTDIR${PREFIX-/usr}/include"
-- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include"
diff --git a/strata/wayland-armv7-versatile/mesa-wayland.morph b/strata/wayland-armv7-versatile/mesa-wayland.morph
deleted file mode 100644
index f39c4241..00000000
--- a/strata/wayland-armv7-versatile/mesa-wayland.morph
+++ /dev/null
@@ -1,7 +0,0 @@
-name: mesa-wayland
-kind: chunk
-build-system: autotools
-configure-commands:
-- ./autogen.sh --prefix="$PREFIX" --enable-gles2 --enable-gallium-egl --with-egl-platforms=wayland,drm
- --enable-gbm --enable-dri --enable-shared-glapi --with-gallium-drivers=swrast --with-dri-drivers=swrast
- --with-state-trackers=egl
diff --git a/strata/wayland-armv7-versatile/wayland-ivi-extension.morph b/strata/wayland-armv7-versatile/wayland-ivi-extension.morph
deleted file mode 100644
index c3308ce7..00000000
--- a/strata/wayland-armv7-versatile/wayland-ivi-extension.morph
+++ /dev/null
@@ -1,8 +0,0 @@
-name: wayland-ivi-extension
-kind: chunk
-configure-commands:
-- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX
-build-commands:
-- make
-install-commands:
-- make install DESTDIR=$DESTDIR
diff --git a/strata/wayland-generic.morph b/strata/wayland-generic.morph
new file mode 100644
index 00000000..e21a5d5d
--- /dev/null
+++ b/strata/wayland-generic.morph
@@ -0,0 +1,16 @@
+name: wayland-generic
+kind: stratum
+build-depends:
+- morph: strata/x-common.morph
+chunks:
+- name: libxkbcommon
+ repo: upstream:xorg-lib-libxkbcommon
+ ref: b721254769212d671a4729f1c88b059979b80efc
+ unpetrify-ref: baserock/genivi/baseline
+ build-depends: []
+- name: wayland
+ morph: strata/wayland-generic/wayland.morph
+ repo: upstream:wayland
+ ref: baserock/gnome
+ build-depends:
+ - libxkbcommon
diff --git a/strata/wayland-armv7-versatile/wayland.morph b/strata/wayland-generic/wayland.morph
index 752a5d6e..752a5d6e 100644
--- a/strata/wayland-armv7-versatile/wayland.morph
+++ b/strata/wayland-generic/wayland.morph
diff --git a/strata/wayland-x86_64-generic.morph b/strata/wayland-x86_64-generic.morph
deleted file mode 100644
index 9827068f..00000000
--- a/strata/wayland-x86_64-generic.morph
+++ /dev/null
@@ -1,136 +0,0 @@
-name: wayland-x86_64-generic
-kind: stratum
-build-depends:
-- morph: strata/x-common.morph
-chunks:
-- name: libxkbcommon
- repo: upstream:xorg-lib-libxkbcommon
- ref: b721254769212d671a4729f1c88b059979b80efc
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
-- name: wayland
- morph: strata/wayland-x86_64-generic/wayland.morph
- repo: upstream:wayland
- ref: cbd8ab5ba7f3f0dba6c9b04176b3a2da965cd21c
- unpetrify-ref: baserock/1.4.0
- build-depends:
- - libxkbcommon
-- name: mesa-wayland
- morph: strata/wayland-x86_64-generic/mesa-wayland.morph
- repo: upstream:mesa
- ref: a77b370b4ba1045e2612650503cf45827af94a12
- unpetrify-ref: baserock/10.0.4-gallium
- build-depends:
- - wayland
-- name: pixman
- repo: upstream:pixman
- ref: 958bd334b3c17f529c80f2eeef4224f45c62f292
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: freetype2
- repo: upstream:freetype2
- ref: 2ba18ba1ce730ed79672801b20f986f10a628c95
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: fontconfig
- repo: upstream:fontconfig
- ref: 72b0480a21958f0f8c115d8e0a5bfbd8d358b5c3
- unpetrify-ref: baserock/morph
- build-depends:
- - freetype2
-- name: freefont-otf
- morph: strata/wayland-x86_64-generic/freefont-otf.morph
- repo: upstream:freefont-otf
- ref: 75fa95a912718bb94a135d4bf6b13bb38e186ce7
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: cairo
- morph: strata/wayland-x86_64-generic/cairo.morph
- repo: upstream:cairo
- ref: c373daa9d4bade91b3fc8b7850163db4b3aec40a
- unpetrify-ref: baserock/genivi/1.12.10
- build-depends:
- - fontconfig
- - freetype2
- - wayland
- - mesa-wayland
- - pixman
-- name: mtdev
- repo: upstream:mtdev-git
- ref: 4381b78fea54de0e775bf54952b2f95e5a06c57d
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
-- name: xorg-lib-libxkbfile
- repo: upstream:xorg-lib-libxkbfile
- ref: 7381c2f9013ef7784c78091fa671e652a62ca706
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: xorg-app-xkbcomp
- repo: upstream:xorg-app-xkbcomp
- ref: 705b9bbb426410f9510601c7010da51184919b36
- unpetrify-ref: baserock/morph
- build-depends:
- - xorg-lib-libxkbfile
-- name: xkeyboard-config
- repo: upstream:xkeyboard-config
- ref: b4be67b48fb11989f1824dd0b1c8c399430162b0
- unpetrify-ref: baserock/morph
- build-depends:
- - xorg-app-xkbcomp
-- name: libevdev
- repo: upstream:libevdev
- ref: b23649e1ba9fd5c72fa9318e417b4f17f5f6f528
- unpetrify-ref: baserock/genivi/baseline
- build-depends: []
-- name: linux-api-headers
- morph: strata/wayland-x86_64-generic/linux-api-headers.morph
- repo: upstream:linux
- ref: 316df4c3eb667636eadf4b663f4087f1f9cc3cfe
- unpetrify-ref: baserock/morph
- build-depends: []
-- name: libinput
- repo: upstream:libinput
- ref: f0fd32db8f3df558e1d763dfa2db76cdca260323
- unpetrify-ref: baserock/genivi/baseline
- build-depends:
- - libxkbcommon
- - mtdev
- - libevdev
- - linux-api-headers
-- name: harfbuzz
- repo: upstream:harfbuzz
- ref: 09b5393874e56fcfd63a92d28e6c1c2ddeee0942
- unpetrify-ref: baserock/0.9.12
- build-depends:
- - freetype2
-- name: pango
- repo: upstream:pango
- ref: f8b1566e81af9e36ac018af4f0ae85ee7db4b8fd
- unpetrify-ref: baserock/1.36.3
- build-depends:
- - cairo
- - harfbuzz
- - fontconfig
- - freetype2
- - freefont-otf
-- name: weston
- morph: strata/wayland-x86_64-generic/weston.morph
- repo: upstream:weston
- ref: 8658e06e69cc3944e89684a2de619e479751633f
- unpetrify-ref: baserock/genivi/baseline-h-1.1
- build-depends:
- - pango
- - wayland
- - mesa-wayland
- - libinput
- - cairo
- - pixman
- - libxkbcommon
-- name: wayland-ivi-extension
- morph: strata/wayland-x86_64-generic/wayland-ivi-extension.morph
- repo: upstream:genivi/wayland-ivi-extension
- ref: 8b59529cf3b279a948f253bc79263d00d3f051a5
- unpetrify-ref: baserock/genivi/baseline-h-1.1
- build-depends:
- - wayland
- - weston
diff --git a/strata/wayland-x86_64-generic/cairo.morph b/strata/wayland-x86_64-generic/cairo.morph
deleted file mode 100644
index f91ac385..00000000
--- a/strata/wayland-x86_64-generic/cairo.morph
+++ /dev/null
@@ -1,5 +0,0 @@
-name: cairo
-kind: chunk
-build-system: autotools
-configure-commands:
-- ./autogen.sh --prefix="$PREFIX" --enable-glesv2
diff --git a/strata/wayland-x86_64-generic/freefont-otf.morph b/strata/wayland-x86_64-generic/freefont-otf.morph
deleted file mode 100644
index e5c6c482..00000000
--- a/strata/wayland-x86_64-generic/freefont-otf.morph
+++ /dev/null
@@ -1,5 +0,0 @@
-name: freefont-otf
-kind: chunk
-install-commands:
-- mkdir -p $DESTDIR/usr/share/fonts/opentype/freefont
-- install -p *.otf $DESTDIR/usr/share/fonts/opentype/freefont
diff --git a/strata/wayland-x86_64-generic/linux-api-headers.morph b/strata/wayland-x86_64-generic/linux-api-headers.morph
deleted file mode 100644
index 595138fe..00000000
--- a/strata/wayland-x86_64-generic/linux-api-headers.morph
+++ /dev/null
@@ -1,9 +0,0 @@
-name: linux-api-headers
-kind: chunk
-build-commands:
-- make mrproper
-- make headers_check
-install-commands:
-- make INSTALL_HDR_PATH=dest headers_install
-- install -d "$DESTDIR${PREFIX-/usr}/include"
-- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include"
diff --git a/strata/wayland-x86_64-generic/mesa-wayland.morph b/strata/wayland-x86_64-generic/mesa-wayland.morph
deleted file mode 100644
index 06dfeee3..00000000
--- a/strata/wayland-x86_64-generic/mesa-wayland.morph
+++ /dev/null
@@ -1,7 +0,0 @@
-name: mesa-wayland
-kind: chunk
-build-system: autotools
-configure-commands:
-- ./autogen.sh --prefix="$PREFIX" --enable-gles2 --enable-gallium-egl --with-egl-platforms=wayland,drm
- --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/wayland-x86_64-generic/wayland-ivi-extension.morph b/strata/wayland-x86_64-generic/wayland-ivi-extension.morph
deleted file mode 100644
index c3308ce7..00000000
--- a/strata/wayland-x86_64-generic/wayland-ivi-extension.morph
+++ /dev/null
@@ -1,8 +0,0 @@
-name: wayland-ivi-extension
-kind: chunk
-configure-commands:
-- cmake -DCMAKE_INSTALL_PREFIX=$PREFIX
-build-commands:
-- make
-install-commands:
-- make install DESTDIR=$DESTDIR
diff --git a/strata/wayland-x86_64-generic/wayland.morph b/strata/wayland-x86_64-generic/wayland.morph
deleted file mode 100644
index 752a5d6e..00000000
--- a/strata/wayland-x86_64-generic/wayland.morph
+++ /dev/null
@@ -1,7 +0,0 @@
-name: wayland
-kind: chunk
-description: Wayland server
-build-system: autotools
-configure-commands:
-- autoreconf -ivf
-- ./configure --prefix="$PREFIX" --disable-documentation
diff --git a/strata/wayland-x86_64-generic/weston.morph b/strata/wayland-x86_64-generic/weston.morph
deleted file mode 100644
index 8ce58496..00000000
--- a/strata/wayland-x86_64-generic/weston.morph
+++ /dev/null
@@ -1,53 +0,0 @@
-name: weston
-kind: chunk
-description: weston compositor
-build-system: autotools
-configure-commands:
-- autoreconf -ivf
-- |
- LDFLAGS='-L/lib64 -lrt' \
- ./configure --prefix=$PREFIX --with-cairo-glesv2 --disable-xwayland \
- --disable-drm-compositor --disable-x11-compositor \
- --disable-wayland-compositor --disable-weston-launch --enable-egl \
- --enable-clients --enable-demo-clients-install --enable-fbdev-compositor
-post-install-commands:
-- install -d "$DESTDIR/usr/share/weston"
-- install -m 0644 data/*.png "$DESTDIR/usr/share/weston/"
-- sed -i 's,/weston.build/data/,/usr/share/weston/,g' ivi-shell/weston.ini
-- sed -i 's,/weston.build/clients/,/usr/bin/,g' ivi-shell/weston.ini
-- sed -i 's,/weston.build/,/usr/libexec/,g' ivi-shell/weston.ini
-- sed -i '/^\[ivi-launcher\]/,$d' ivi-shell/weston.ini
-- |
- cat <<EOF >> ivi-shell/weston.ini
- [ivi-launcher]
- workspace-id=0
- icon-id=4001
- icon=/usr/share/weston/icon_ivi_flower.png
- path=/usr/bin/weston-flower
-
- [ivi-launcher]
- workspace-id=0
- icon-id=4002
- icon=/usr/share/weston/icon_ivi_clickdot.png
- path=/usr/bin/weston-clickdot
-
- [ivi-launcher]
- workspace-id=1
- icon-id=4003
- icon=/usr/share/weston/icon_ivi_simple-egl.png
- path=/usr/bin/weston-simple-egl
-
- [ivi-launcher]
- workspace-id=1
- icon-id=4004
- icon=/usr/share/weston/icon_ivi_simple-shm.png
- path=/usr/bin/weston-simple-shm
-
- [ivi-launcher]
- workspace-id=2
- icon-id=4005
- icon=/usr/share/weston/icon_ivi_smoke.png
- path=/usr/bin/weston-smoke
- EOF
-- install -d "$DESTDIR/usr/share/doc/weston"
-- install -m 0644 ivi-shell/weston.ini "$DESTDIR/usr/share/doc/weston/ivi-shell-weston.ini"
diff --git a/strata/weston-genivi.morph b/strata/weston-genivi.morph
new file mode 100644
index 00000000..5d1c9ab1
--- /dev/null
+++ b/strata/weston-genivi.morph
@@ -0,0 +1,26 @@
+name: weston-genivi
+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:
+- name: linux-pam
+ repo: upstream:linux-pam
+ ref: master
+ build-depends: []
+- name: weston
+ morph: strata/weston-genivi/weston.morph
+ repo: upstream:weston
+ ref: 8658e06e69cc3944e89684a2de619e479751633f
+ unpetrify-ref: baserock/genivi/baseline-h-1.1
+ build-depends:
+ - linux-pam
+- name: wayland-ivi-extension
+ repo: upstream:genivi/wayland-ivi-extension
+ ref: 8b59529cf3b279a948f253bc79263d00d3f051a5
+ unpetrify-ref: baserock/genivi/baseline-h-1.1
+ build-depends:
+ - weston
diff --git a/strata/wayland-armv7-versatile/weston.morph b/strata/weston-genivi/weston.morph
index 8ce58496..892adfb4 100644
--- a/strata/wayland-armv7-versatile/weston.morph
+++ b/strata/weston-genivi/weston.morph
@@ -7,8 +7,8 @@ configure-commands:
- |
LDFLAGS='-L/lib64 -lrt' \
./configure --prefix=$PREFIX --with-cairo-glesv2 --disable-xwayland \
- --disable-drm-compositor --disable-x11-compositor \
- --disable-wayland-compositor --disable-weston-launch --enable-egl \
+ --disable-x11-compositor \
+ --disable-wayland-compositor --enable-egl \
--enable-clients --enable-demo-clients-install --enable-fbdev-compositor
post-install-commands:
- install -d "$DESTDIR/usr/share/weston"
diff --git a/strata/x-generic.morph b/strata/x-generic.morph
index 1f68e064..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-x
- morph: strata/x-generic/mesa-x.morph
- repo: upstream:mesa
- ref: b8e3777eb34a6f585d7c168003bd8ebd69bf107c
- unpetrify-ref: baserock/genivi/morph
- 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-x
- pixman
- xorg-font-util
- xorg-lib-libXaw
diff --git a/systems/genivi-baseline-system-armv7lhf-versatile.morph b/systems/genivi-baseline-system-armv7lhf-versatile.morph
index 7844e429..7c283170 100644
--- a/systems/genivi-baseline-system-armv7lhf-versatile.morph
+++ b/systems/genivi-baseline-system-armv7lhf-versatile.morph
@@ -23,8 +23,14 @@ strata:
morph: strata/multimedia.morph
- name: genivi
morph: strata/genivi.morph
-- name: wayland-armv7-versatile
- morph: strata/wayland-armv7-versatile.morph
+- name: wayland-generic
+ morph: strata/wayland-generic.morph
+- name: graphics-common
+ morph: strata/graphics-common.morph
+- name: input-common
+ morph: strata/input-common.morph
+- name: weston-genivi
+ morph: strata/weston-genivi.morph
configuration-extensions:
- set-hostname
- add-config-files
diff --git a/systems/genivi-baseline-system-x86_64-generic.morph b/systems/genivi-baseline-system-x86_64-generic.morph
index 1e5e687c..fe7447ee 100644
--- a/systems/genivi-baseline-system-x86_64-generic.morph
+++ b/systems/genivi-baseline-system-x86_64-generic.morph
@@ -23,8 +23,16 @@ strata:
morph: strata/multimedia.morph
- name: genivi
morph: strata/genivi.morph
-- name: wayland-x86_64-generic
- morph: strata/wayland-x86_64-generic.morph
+- name: wayland-generic
+ morph: strata/wayland-generic.morph
+- name: graphics-common
+ morph: strata/graphics-common.morph
+- name: input-common
+ morph: strata/input-common.morph
+- name: mesa-common
+ morph: strata/mesa-common.morph
+- name: weston-genivi
+ morph: strata/weston-genivi.morph
configuration-extensions:
- set-hostname
- add-config-files