From a61842d2257b273e73cce0ebbb0e8cba4e936da9 Mon Sep 17 00:00:00 2001
From: Tibor Nagy <xnagytibor@gmail.com>
Date: Thu, 29 Mar 2018 00:22:52 +0200
Subject: [PATCH] Add Orbital as a runtime dependency for the GUI apps And also
 make Orbital depend on the orbdata package

---
 recipes/netsurf/recipe.sh       | 2 +-
 recipes/orbital/recipe.sh       | 1 +
 recipes/orbterm/recipe.sh       | 1 +
 recipes/orbutils/recipe.sh      | 1 +
 recipes/pastel/recipe.sh        | 1 +
 recipes/periodictable/recipe.sh | 1 +
 recipes/pixelcannon/recipe.sh   | 1 +
 recipes/rs-nes/recipe.sh        | 1 +
 recipes/rust64/recipe.sh        | 1 +
 recipes/rustual-boy/recipe.sh   | 1 +
 10 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/recipes/netsurf/recipe.sh b/recipes/netsurf/recipe.sh
index b092b9f9b..42e0c72e7 100644
--- a/recipes/netsurf/recipe.sh
+++ b/recipes/netsurf/recipe.sh
@@ -1,7 +1,7 @@
 VERSION=3.7
 TAR=http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$VERSION.tar.gz
 BUILD_DEPENDS=(curl expat libjpeg libpng openssl sdl zlib freetype)
-DEPENDS="ca-certificates"
+DEPENDS="ca-certificates orbital"
 
 function recipe_version {
     echo "$VERSION"
diff --git a/recipes/orbital/recipe.sh b/recipes/orbital/recipe.sh
index be4992a37..9b6801174 100644
--- a/recipes/orbital/recipe.sh
+++ b/recipes/orbital/recipe.sh
@@ -1 +1,2 @@
 GIT=https://github.com/redox-os/orbital.git
+DEPENDS="orbdata"
diff --git a/recipes/orbterm/recipe.sh b/recipes/orbterm/recipe.sh
index 7b0c62a2c..309de8afa 100644
--- a/recipes/orbterm/recipe.sh
+++ b/recipes/orbterm/recipe.sh
@@ -1,2 +1,3 @@
 GIT=https://github.com/redox-os/orbterm.git
 BINDIR=/ui/bin
+DEPENDS="orbital"
diff --git a/recipes/orbutils/recipe.sh b/recipes/orbutils/recipe.sh
index e049cafdc..9f25fdd71 100644
--- a/recipes/orbutils/recipe.sh
+++ b/recipes/orbutils/recipe.sh
@@ -1,2 +1,3 @@
 GIT=https://github.com/redox-os/orbutils.git
 BINDIR=/ui/bin
+DEPENDS="orbital"
diff --git a/recipes/pastel/recipe.sh b/recipes/pastel/recipe.sh
index 1b2740d77..ddeda7865 100644
--- a/recipes/pastel/recipe.sh
+++ b/recipes/pastel/recipe.sh
@@ -1,6 +1,7 @@
 GIT=https://github.com/redox-os/pastel.git
 GIT_UPSTREAM=https://github.com/robbycerantola/pastel.git
 BINDIR=/ui/bin
+DEPENDS="orbital"
 
 function recipe_stage {
 	mkdir "$1/ui"
diff --git a/recipes/periodictable/recipe.sh b/recipes/periodictable/recipe.sh
index 17f2c6ac3..00ab0290c 100644
--- a/recipes/periodictable/recipe.sh
+++ b/recipes/periodictable/recipe.sh
@@ -1,5 +1,6 @@
 GIT=https://github.com/redox-os/periodictable.git
 BINDIR="/ui/bin"
+DEPENDS="orbital"
 
 function recipe_stage {
     mkdir -pv "$1/ui/apps"
diff --git a/recipes/pixelcannon/recipe.sh b/recipes/pixelcannon/recipe.sh
index 4d660db0f..1b140e727 100644
--- a/recipes/pixelcannon/recipe.sh
+++ b/recipes/pixelcannon/recipe.sh
@@ -1,5 +1,6 @@
 GIT=https://github.com/jackpot51/pixelcannon.git
 BINDIR=/ui/bin
+DEPENDS="orbital"
 
 function recipe_stage {
     mkdir -pv "$1/apps/pixelcannon"
diff --git a/recipes/rs-nes/recipe.sh b/recipes/rs-nes/recipe.sh
index 18a3a7f64..840cab934 100755
--- a/recipes/rs-nes/recipe.sh
+++ b/recipes/rs-nes/recipe.sh
@@ -1,2 +1,3 @@
 GIT=https://github.com/redox-os/rs-nes.git
 GIT_UPSTREAM=https://github.com/bgourlie/rs-nes.git
+DEPENDS="orbital"
diff --git a/recipes/rust64/recipe.sh b/recipes/rust64/recipe.sh
index 602ce8032..441a34a19 100755
--- a/recipes/rust64/recipe.sh
+++ b/recipes/rust64/recipe.sh
@@ -1,2 +1,3 @@
 GIT=https://github.com/redox-os/rust64.git
 GIT_UPSTREAM=https://github.com/kondrak/rust64.git
+DEPENDS="orbital"
diff --git a/recipes/rustual-boy/recipe.sh b/recipes/rustual-boy/recipe.sh
index 7e232b2c8..8706fcf18 100755
--- a/recipes/rustual-boy/recipe.sh
+++ b/recipes/rustual-boy/recipe.sh
@@ -1,5 +1,6 @@
 GIT=https://github.com/redox-os/rustual-boy.git
 GIT_UPSTREAM=https://github.com/emu-rs/rustual-boy.git
+DEPENDS="orbital"
 
 function recipe_update {
     cd rustual-boy-cli
-- 
GitLab