From 21f3b393c61c80fb2e4e1257badeb71df6ea6011 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 27 Oct 2015 12:12:05 +0900 Subject: 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 --- strata/gnome.morph | 22 ++++++++++++++++++++++ strata/gnome/gnutls.morph | 6 ++++++ strata/gnome/nettle.morph | 6 ++++++ 3 files changed, 34 insertions(+) create mode 100644 strata/gnome/gnutls.morph create mode 100644 strata/gnome/nettle.morph 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 -- cgit v1.2.1