summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-23 17:36:18 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-12-04 11:49:55 +0000
commit6a9f3738dae2818a2e8ebbec7fd6a82231d3b9fd (patch)
treeffcad27bfa7d4bc7470ce8683caff92a28f03843 /strata
parent028a6c319204755de025e2ac4523d383bfc75a48 (diff)
downloaddefinitions-6a9f3738dae2818a2e8ebbec7fd6a82231d3b9fd.tar.gz
Fix elements where we can't run autoreconf
BuildStream changed its defaults in be08caa06d6b8ba780aa so that autoreconf always runs. A few components need fixing as a result, mostly those which were not correctly depending on autotools
Diffstat (limited to 'strata')
-rw-r--r--strata/NetworkManager-common.morph1
-rw-r--r--strata/NetworkManager-common/readline6.morph8
-rw-r--r--strata/core.morph10
-rw-r--r--strata/core/gperf.morph2
-rw-r--r--strata/core/readline.morph3
-rw-r--r--strata/devtools.morph1
-rw-r--r--strata/devtools/pv.morph5
-rw-r--r--strata/foundation/rsync.morph2
-rw-r--r--strata/glib-common.morph2
-rw-r--r--strata/glib-common/gtk-doc-stub.morph8
10 files changed, 40 insertions, 2 deletions
diff --git a/strata/NetworkManager-common.morph b/strata/NetworkManager-common.morph
index 28a0f3bb..b1b47e5d 100644
--- a/strata/NetworkManager-common.morph
+++ b/strata/NetworkManager-common.morph
@@ -32,6 +32,7 @@ chunks:
unpetrify-ref: v1.6
build-system: autotools
- name: readline6
+ morph: strata/NetworkManager-common/readline6.morph
repo: upstream:readline
ref: 7628b745a813aac53586b640da056a975f1c443e
unpetrify-ref: readline-6.3
diff --git a/strata/NetworkManager-common/readline6.morph b/strata/NetworkManager-common/readline6.morph
new file mode 100644
index 00000000..e3776357
--- /dev/null
+++ b/strata/NetworkManager-common/readline6.morph
@@ -0,0 +1,8 @@
+name: readline6
+kind: chunk
+build-system: autotools
+
+configure-commands:
+# Skip the autoreconf step, it's broken for some reason and the generated
+# files are committed to the Git repo.
+- ./configure --prefix="$PREFIX"
diff --git a/strata/core.morph b/strata/core.morph
index 24f892c0..2d2c0253 100644
--- a/strata/core.morph
+++ b/strata/core.morph
@@ -80,6 +80,10 @@ chunks:
ref: 670c2bbcffe873a2b8589ed140c12e7923ef20c0
unpetrify-ref: file-5.22
build-system: autotools
+ build-depends:
+ - autoconf
+ - automake
+ - libtool-tarball
- name: libexpat
morph: strata/core/libexpat.morph
repo: upstream:libexpat
@@ -124,6 +128,10 @@ chunks:
ref: 24adc227bc29cd17e39df097fbca389c7724cd14
unpetrify-ref: sqlite-autoconf-3080801
build-system: autotools
+ build-depends:
+ - autoconf
+ - automake
+ - libtool-tarball
- name: python3
morph: strata/core/python3.morph
repo: upstream:cpython
@@ -457,6 +465,8 @@ chunks:
unpetrify-ref: baserock/morph
build-system: autotools
build-depends:
+ - autoconf
+ - automake
- perl
- flex
- texinfo-tarball
diff --git a/strata/core/gperf.morph b/strata/core/gperf.morph
index e4f598c5..ca515880 100644
--- a/strata/core/gperf.morph
+++ b/strata/core/gperf.morph
@@ -1,3 +1,5 @@
name: gperf
kind: chunk
build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX"
diff --git a/strata/core/readline.morph b/strata/core/readline.morph
index 08c9586c..3a63a5c4 100644
--- a/strata/core/readline.morph
+++ b/strata/core/readline.morph
@@ -1,8 +1,9 @@
name: readline
kind: chunk
build-system: autotools
-pre-configure-commands:
+configure-commands:
- cp /usr/share/automake*/config.guess support
- cp /usr/share/automake*/config.sub support
+- ./configure --prefix="$PREFIX"
build-commands:
- make SHLIB_LIBS=-lncurses
diff --git a/strata/devtools.morph b/strata/devtools.morph
index 41dd501c..57fa7e3a 100644
--- a/strata/devtools.morph
+++ b/strata/devtools.morph
@@ -21,6 +21,7 @@ chunks:
ref: 07c2c06799e0579e6bfb1a7d98acf38e36a98f79
unpetrify-ref: baserock/morph
- name: pv
+ morph: strata/devtools/pv.morph
repo: upstream:pv
ref: d6ce7cfec684fa72d7a919d7b1aa817a0ca6102a
unpetrify-ref: baserock/morph
diff --git a/strata/devtools/pv.morph b/strata/devtools/pv.morph
new file mode 100644
index 00000000..392bff6a
--- /dev/null
+++ b/strata/devtools/pv.morph
@@ -0,0 +1,5 @@
+name: pv
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX"
diff --git a/strata/foundation/rsync.morph b/strata/foundation/rsync.morph
index 54337412..0060e386 100644
--- a/strata/foundation/rsync.morph
+++ b/strata/foundation/rsync.morph
@@ -1,6 +1,8 @@
name: rsync
kind: chunk
build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX"
build-commands:
- make proto
- make
diff --git a/strata/glib-common.morph b/strata/glib-common.morph
index fd1018a3..bbeb8f3c 100644
--- a/strata/glib-common.morph
+++ b/strata/glib-common.morph
@@ -6,10 +6,10 @@ build-depends:
- morph: strata/pcre-utils.morph
chunks:
- name: gtk-doc-stub
+ morph: strata/glib-common/gtk-doc-stub.morph
repo: upstream:gtk-doc-stub
ref: 58ec0d8593541ef7ae522ce42ebec6f98536c4e0
unpetrify-ref: baserock/morph
- build-system: autotools
- name: gnome-common
repo: upstream:gnome-common
ref: 5d61b55e8bea32fe2b52e21682ee4b3719b290c5
diff --git a/strata/glib-common/gtk-doc-stub.morph b/strata/glib-common/gtk-doc-stub.morph
new file mode 100644
index 00000000..89abc97b
--- /dev/null
+++ b/strata/glib-common/gtk-doc-stub.morph
@@ -0,0 +1,8 @@
+name: gtk-doc-stub
+kind: chunk
+build-system: autotools
+
+# This package doesn't actually use Autotools, it has a hand-written
+# `configure` script and Makefile.
+configure-commands:
+- ./configure --prefix="$PREFIX"