[gnome-continuous] manifest: Use rust binaries



commit 3bc59e999bcc1decc8292e1cd4d17263f543b444
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Mar 28 18:56:22 2017 +0100

    manifest: Use rust binaries
    
    We need rust to build rust. This is the first step
    
    Second try: Its a bit hacky but I can not think in other way

 manifest.json               |    5 +++++
 patches/rust-buildapi.patch |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 44a4a3e..aab8804 100644
--- a/manifest.json
+++ b/manifest.json
@@ -686,6 +686,11 @@
 
                {"src": "gnome:libcroco"},
 
+               {"src": 
"tarball:https://static.rust-lang.org/dist/rust-1.16.0-x86_64-unknown-linux-gnu.tar.gz";,
+                "name": "rust",
+                "checksum": "48621912c242753ba37cad5145df375eeba41c81079df46f93ffb4896542e8fd",
+                "patches": ["rust-buildapi.patch"]},
+
                {"src": "gnome:librsvg",
                 "tag": "2.40.16",
                 "tag-reason": "We need to add meta-rust to our yocto image"},
diff --git a/patches/rust-buildapi.patch b/patches/rust-buildapi.patch
new file mode 100644
index 0000000..7787c96
--- /dev/null
+++ b/patches/rust-buildapi.patch
@@ -0,0 +1,39 @@
+From d7d440015c4cc062ce24950b10729645768ed639 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon gnome org>
+Date: Mon, 27 Mar 2017 16:38:50 +0100
+Subject: [PATCH] build-sys: Add configure and Makefile
+
+Implement the GNOME Build API for Continuous.
+
+See: http://people.gnome.org/~walters/docs/build-api.txt
+---
+ Makefile  | 5 +++++
+ configure | 4 ++++
+ 2 files changed, 9 insertions(+)
+ create mode 100644 Makefile
+ create mode 100755 configure
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..0cf5170
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,5 @@
++# rust *development* Makefile
++all: ;
++
++install:
++      ./install.sh --prefix=/usr --destdir=$(DESTDIR)
+diff --git a/configure b/configure
+new file mode 100755
+index 0000000..29eccbc
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,4 @@
++#!/bin/bash
++# http://people.gnome.org/~walters/docs/build-api.txt
++#buildapi-variable-no-builddir
++exit 0
+-- 
+2.12.1
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]