summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-27 12:12:05 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-27 18:32:17 +0900
commit21f3b393c61c80fb2e4e1257badeb71df6ea6011 (patch)
treec0cfe27be534bf40f68031ea483f2a7051503ced
parente9f1605526d8fd4c04f8bd36ddd6bacc8a1d9c00 (diff)
downloaddefinitions-21f3b393c61c80fb2e4e1257badeb71df6ea6011.tar.gz
Build glib-networking in gnome strata
glib-networking provides the TLS implementation for GIO tls APIs, when this is installed then libsoup becomes TLS enabled, this is a runtime requirement for geoclue. This patch consequently also adds gnutls & nettle which are build requirements for glib-networking. Change-Id: Ib804635605e7abb13ec7766406ad804a6315f5dc
-rw-r--r--strata/gnome.morph22
-rw-r--r--strata/gnome/gnutls.morph6
-rw-r--r--strata/gnome/nettle.morph6
3 files changed, 34 insertions, 0 deletions
diff --git a/strata/gnome.morph b/strata/gnome.morph
index d4157500..0a56b520 100644
--- a/strata/gnome.morph
+++ b/strata/gnome.morph
@@ -444,3 +444,25 @@ chunks:
- hyphen
- libnotify
- libsecret
+- name: nettle
+ morph: strata/gnome/nettle.morph
+ repo: upstream:nettle
+ ref: 549e2853d6f3fa9cefb099970209c7f5bf5673b7
+ unpetrify-ref: nettle_3.1.1_release_20150424
+- name: gnutls
+ morph: strata/gnome/gnutls.morph
+ repo: upstream:gnutls
+ ref: a9bcd4881a539e64bd948eff3fa3434e23973262
+ unpetrify-ref: gnutls_3_4_6
+ build-system: autotools
+ build-depends:
+ - nettle
+ - libtasn1
+ - p11-kit
+- name: glib-networking
+ repo: upstream:gnome/glib-networking
+ ref: 32ee55186d7df497e3d402a1940cddfabd9dbc21
+ unpetrify-ref: 2.46.0
+ build-system: autotools
+ build-depends:
+ - gnutls
diff --git a/strata/gnome/gnutls.morph b/strata/gnome/gnutls.morph
new file mode 100644
index 00000000..f31cbf12
--- /dev/null
+++ b/strata/gnome/gnutls.morph
@@ -0,0 +1,6 @@
+name: gnutls
+kind: chunk
+build-system: autotools
+configure-commands:
+- make autoreconf
+- ./configure --prefix="$PREFIX" --sysconfdir=/etc --with-nettle-mini --disable-tools --disable-doc
diff --git a/strata/gnome/nettle.morph b/strata/gnome/nettle.morph
new file mode 100644
index 00000000..80bdbf51
--- /dev/null
+++ b/strata/gnome/nettle.morph
@@ -0,0 +1,6 @@
+name: nettle
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./.bootstrap
+- ./configure --prefix="$PREFIX" --libdir="$PREFIX"/lib --sysconfdir=/etc --disable-documentation --enable-mini-gmp