blob: 487de52676b804d899b4cfb60130395b2bb69bdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
#!/bin/bash
#
# Copyright (C) 2012-2015 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
set -e
source "$SRCDIR/scripts/fix-committer-info"
# Create a repository
repo="$DATADIR/test-repo"
mkdir "$repo"
cd "$repo"
git init --quiet
echo 'version: 6' > VERSION
git add VERSION
git commit --quiet -m "add VERSION file"
# Define a stratum for the GTK stack
cat <<EOF > gtk-stack.morph
name: gtk-stack
kind: stratum
build-depends: []
chunks:
- name: freetype
repo: test:test-repo
ref: master
build-mode: bootstrap
build-system: manual
- name: fontconfig
repo: test:test-repo
ref: master
build-mode: bootstrap
build-system: manual
- name: cairo
repo: test:test-repo
ref: master
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-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
- glib
- pango
- name: dbus
repo: test:test-repo
ref: master
build-mode: bootstrap
build-system: manual
- name: dbus-glib
repo: test:test-repo
ref: master
build-system: manual
build-depends:
- dbus
- glib
EOF
git add gtk-stack.morph
git commit --quiet -m "add gtk-stack.morph stratum"
# Define a stratum for the Xfce core
cat <<EOF > xfce-core.morph
name: xfce-core
kind: stratum
build-depends:
- morph: gtk-stack
chunks:
- name: libxfce4util
repo: test:test-repo
ref: master
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-system: manual
- name: xfce4-panel
repo: test:test-repo
ref: master
build-system: manual
build-depends:
- libxfce4ui
- exo
- garcon
- name: xfce4-settings
repo: test:test-repo
ref: master
build-system: manual
build-depends:
- libxfce4ui
- exo
- xfconf
- name: xfce4-session
repo: test:test-repo
ref: master
build-system: manual
build-depends:
- libxfce4ui
- exo
- xfconf
- 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
- xfconf
- name: gtk-xfce-engine
repo: test:test-repo
ref: master
build-system: manual
build-depends:
- libxfce4ui
- garcon
- xfconf
EOF
git add xfce-core.morph
git commit --quiet -m "add xfce-core.morph stratum"
cat <<EOF > xfce-system.morph
name: xfce-system
kind: system
arch: $("$SRCDIR/scripts/test-morph" print-architecture)
strata:
- morph: xfce-core
EOF
git add xfce-system.morph
git commit --quiet -m "add xfce-system"
|