summaryrefslogtreecommitdiff
path: root/tests/show-dependencies.setup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/show-dependencies.setup')
-rwxr-xr-xtests/show-dependencies.setup72
1 files changed, 24 insertions, 48 deletions
diff --git a/tests/show-dependencies.setup b/tests/show-dependencies.setup
index 366da8ad..487de526 100755
--- a/tests/show-dependencies.setup
+++ b/tests/show-dependencies.setup
@@ -24,29 +24,10 @@ mkdir "$repo"
cd "$repo"
git init --quiet
-echo 'version: 5' > VERSION
+echo 'version: 6' > VERSION
git add VERSION
git commit --quiet -m "add VERSION file"
-# Define a couple of chunk morphologies for the GTK stack
-gtkcomponents=(freetype fontconfig cairo pango glib gdk-pixbuf gtk
- dbus-glib dbus)
-for component in "${gtkcomponents[@]}"
-do
- cat <<EOF > $component.morph
-name: $component
-kind: chunk
-build-commands:
- - gcc -o hello hello.c
-install-commands:
- - install -d "\$DESTDIR"/etc
- - install -d "\$DESTDIR"/bin
- - install hello "\$DESTDIR"/bin/$component
-EOF
- git add $component.morph
-done
-git commit --quiet -m "add GTK chunk morphologies"
-
# Define a stratum for the GTK stack
cat <<EOF > gtk-stack.morph
name: gtk-stack
@@ -56,37 +37,40 @@ chunks:
- name: freetype
repo: test:test-repo
ref: master
- build-depends: []
build-mode: bootstrap
+ build-system: manual
- name: fontconfig
repo: test:test-repo
ref: master
- build-depends: []
build-mode: bootstrap
+ build-system: manual
- name: cairo
repo: test:test-repo
ref: master
- build-depends: []
build-mode: bootstrap
+ build-system: manual
- name: pango
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- freetype
- fontconfig
- name: glib
repo: test:test-repo
ref: master
- build-depends: []
build-mode: bootstrap
+ build-system: manual
- name: gdk-pixbuf
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- glib
- name: gtk
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- cairo
- gdk-pixbuf
@@ -95,11 +79,12 @@ chunks:
- name: dbus
repo: test:test-repo
ref: master
- build-depends: []
build-mode: bootstrap
+ build-system: manual
- name: dbus-glib
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- dbus
- glib
@@ -107,26 +92,6 @@ EOF
git add gtk-stack.morph
git commit --quiet -m "add gtk-stack.morph stratum"
-# Define a couple of chunk morphologies for the GTK stack
-xfcecomponents=(xfce4-dev-tools libxfce4util libxfce4ui exo xfconf garcon
- thunar tumbler xfce4-panel xfce4-settings xfce4-session
- xfwm4 xfdesktop xfce4-appfinder gtk-xfce-engine)
-for component in "${xfcecomponents[@]}"
-do
- cat <<EOF > $component.morph
-name: $component
-kind: chunk
-build-commands:
- - gcc -o hello hello.c
-install-commands:
- - install -d "\$DESTDIR"/etc
- - install -d "\$DESTDIR"/bin
- - install hello "\$DESTDIR"/bin/$component
-EOF
- git add $component.morph
-done
-git commit --quiet -m "add .c source file and GTK chunk morphologies"
-
# Define a stratum for the Xfce core
cat <<EOF > xfce-core.morph
name: xfce-core
@@ -137,40 +102,46 @@ chunks:
- name: libxfce4util
repo: test:test-repo
ref: master
- build-depends: []
+ build-system: manual
- name: xfconf
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4util
- name: libxfce4ui
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- xfconf
- name: exo
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4util
- name: garcon
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4util
- name: thunar
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- exo
- name: tumbler
repo: test:test-repo
ref: master
- build-depends: []
+ build-system: manual
- name: xfce4-panel
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- exo
@@ -178,6 +149,7 @@ chunks:
- name: xfce4-settings
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- exo
@@ -185,6 +157,7 @@ chunks:
- name: xfce4-session
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- exo
@@ -192,18 +165,21 @@ chunks:
- name: xfwm4
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- xfconf
- name: xfdesktop
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- xfconf
- name: xfce4-appfinder
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- garcon
@@ -211,6 +187,7 @@ chunks:
- name: gtk-xfce-engine
repo: test:test-repo
ref: master
+ build-system: manual
build-depends:
- libxfce4ui
- garcon
@@ -225,7 +202,6 @@ kind: system
arch: $("$SRCDIR/scripts/test-morph" print-architecture)
strata:
- morph: xfce-core
- build-mode: bootstrap
EOF
git add xfce-system.morph
git commit --quiet -m "add xfce-system"