From fc902b797ed9f8eacb5bd4687cf3d66e5a0b8157 Mon Sep 17 00:00:00 2001
From: Norman Feske <norman.feske@genode-labs.com>
Date: Fri, 26 Jan 2018 21:13:18 +0100
Subject: [PATCH] depot: runtime definitions for sculpt installation

This patch supplements 'runtime' files to several pkg archives,
which thereby become deployable by the depot_deploy tool.

Issue #2676
---
 .../dde_ipxe/recipes/pkg/ipxe_nic_drv/README  |  2 +
 .../recipes/pkg/ipxe_nic_drv/archives         |  1 +
 repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/hash  |  1 +
 .../dde_ipxe/recipes/pkg/ipxe_nic_drv/runtime | 12 +++
 repos/dde_linux/recipes/pkg/wifi/archives     |  1 +
 repos/dde_linux/recipes/pkg/wifi/runtime      | 38 ++++++++++
 repos/gems/recipes/pkg/nano3d/README          |  2 +
 repos/gems/recipes/pkg/nano3d/archives        |  1 +
 repos/gems/recipes/pkg/nano3d/hash            |  1 +
 repos/gems/recipes/pkg/nano3d/runtime         | 12 +++
 .../recipes/pkg/sticks_blue_backdrop/README   |  1 +
 .../recipes/pkg/sticks_blue_backdrop/archives |  3 +
 .../recipes/pkg/sticks_blue_backdrop/hash     |  1 +
 .../recipes/pkg/sticks_blue_backdrop/runtime  | 18 +++++
 repos/gems/recipes/pkg/themed_wm/archives     |  3 +
 repos/gems/recipes/pkg/themed_wm/runtime      | 23 ++++++
 .../raw/sticks_blue_backdrop/backdrop.config  | 13 ++++
 .../raw/sticks_blue_backdrop/content.mk       |  9 +++
 .../recipes/raw/sticks_blue_backdrop/hash     |  1 +
 .../raw/themed_wm/decorator_init.config       |  2 +-
 repos/gems/recipes/raw/wm/wm.config           |  4 +-
 repos/gems/recipes/src/nano3d/content.mk      |  2 +
 repos/gems/recipes/src/nano3d/hash            |  1 +
 repos/gems/recipes/src/nano3d/used_apis       |  9 +++
 repos/libports/recipes/pkg/pdf_view/archives  |  1 +
 repos/libports/recipes/pkg/pdf_view/runtime   | 21 ++++++
 .../libports/recipes/raw/pdf_view/content.mk  |  4 +
 repos/libports/recipes/raw/pdf_view/hash      |  1 +
 .../recipes/raw/pdf_view/pdf_view.config      | 39 ++++++++++
 repos/os/recipes/pkg/chroot/README            |  2 +
 repos/os/recipes/pkg/chroot/archives          |  1 +
 repos/os/recipes/pkg/chroot/hash              |  1 +
 repos/os/recipes/pkg/chroot/runtime           | 13 ++++
 repos/os/recipes/pkg/nic_router-nat/README    |  2 +
 repos/os/recipes/pkg/nic_router-nat/archives  |  1 +
 repos/os/recipes/pkg/nic_router-nat/hash      |  1 +
 repos/os/recipes/pkg/nic_router-nat/runtime   | 26 +++++++
 repos/os/recipes/pkg/nit_focus/README         |  2 +
 repos/os/recipes/pkg/nit_focus/archives       |  1 +
 repos/os/recipes/pkg/nit_focus/hash           |  1 +
 repos/os/recipes/pkg/nit_focus/runtime        | 18 +++++
 repos/os/recipes/pkg/rom_filter/README        |  2 +
 repos/os/recipes/pkg/rom_filter/archives      |  1 +
 repos/os/recipes/pkg/rom_filter/hash          |  1 +
 repos/os/recipes/pkg/rom_filter/runtime       | 13 ++++
 repos/ports/recipes/pkg/noux-system/README    |  3 +
 repos/ports/recipes/pkg/noux-system/archives  | 11 +++
 repos/ports/recipes/pkg/noux-system/hash      |  1 +
 repos/ports/recipes/pkg/noux-system/runtime   | 29 ++++++++
 .../recipes/pkg/vbox5-nova-sculpt/README      |  2 +
 .../recipes/pkg/vbox5-nova-sculpt/archives    | 12 +++
 .../ports/recipes/pkg/vbox5-nova-sculpt/hash  |  1 +
 .../recipes/pkg/vbox5-nova-sculpt/runtime     | 26 +++++++
 .../ports/recipes/raw/noux-system/content.mk  |  4 +
 repos/ports/recipes/raw/noux-system/hash      |  1 +
 .../ports/recipes/raw/noux-system/init.config | 58 +++++++++++++++
 .../recipes/raw/vbox5-nova-sculpt/content.mk  |  4 +
 .../ports/recipes/raw/vbox5-nova-sculpt/hash  |  1 +
 .../recipes/raw/vbox5-nova-sculpt/init.config | 74 +++++++++++++++++++
 59 files changed, 537 insertions(+), 3 deletions(-)
 create mode 100644 repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/README
 create mode 100644 repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/archives
 create mode 100644 repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/hash
 create mode 100755 repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/runtime
 create mode 100755 repos/dde_linux/recipes/pkg/wifi/runtime
 create mode 100644 repos/gems/recipes/pkg/nano3d/README
 create mode 100644 repos/gems/recipes/pkg/nano3d/archives
 create mode 100644 repos/gems/recipes/pkg/nano3d/hash
 create mode 100644 repos/gems/recipes/pkg/nano3d/runtime
 create mode 100644 repos/gems/recipes/pkg/sticks_blue_backdrop/README
 create mode 100644 repos/gems/recipes/pkg/sticks_blue_backdrop/archives
 create mode 100644 repos/gems/recipes/pkg/sticks_blue_backdrop/hash
 create mode 100644 repos/gems/recipes/pkg/sticks_blue_backdrop/runtime
 create mode 100644 repos/gems/recipes/pkg/themed_wm/runtime
 create mode 100644 repos/gems/recipes/raw/sticks_blue_backdrop/backdrop.config
 create mode 100644 repos/gems/recipes/raw/sticks_blue_backdrop/content.mk
 create mode 100644 repos/gems/recipes/raw/sticks_blue_backdrop/hash
 create mode 100644 repos/gems/recipes/src/nano3d/content.mk
 create mode 100644 repos/gems/recipes/src/nano3d/hash
 create mode 100644 repos/gems/recipes/src/nano3d/used_apis
 create mode 100644 repos/libports/recipes/pkg/pdf_view/runtime
 create mode 100644 repos/libports/recipes/raw/pdf_view/content.mk
 create mode 100644 repos/libports/recipes/raw/pdf_view/hash
 create mode 100644 repos/libports/recipes/raw/pdf_view/pdf_view.config
 create mode 100644 repos/os/recipes/pkg/chroot/README
 create mode 100755 repos/os/recipes/pkg/chroot/archives
 create mode 100644 repos/os/recipes/pkg/chroot/hash
 create mode 100755 repos/os/recipes/pkg/chroot/runtime
 create mode 100644 repos/os/recipes/pkg/nic_router-nat/README
 create mode 100755 repos/os/recipes/pkg/nic_router-nat/archives
 create mode 100644 repos/os/recipes/pkg/nic_router-nat/hash
 create mode 100755 repos/os/recipes/pkg/nic_router-nat/runtime
 create mode 100644 repos/os/recipes/pkg/nit_focus/README
 create mode 100755 repos/os/recipes/pkg/nit_focus/archives
 create mode 100644 repos/os/recipes/pkg/nit_focus/hash
 create mode 100755 repos/os/recipes/pkg/nit_focus/runtime
 create mode 100644 repos/os/recipes/pkg/rom_filter/README
 create mode 100755 repos/os/recipes/pkg/rom_filter/archives
 create mode 100644 repos/os/recipes/pkg/rom_filter/hash
 create mode 100755 repos/os/recipes/pkg/rom_filter/runtime
 create mode 100644 repos/ports/recipes/pkg/noux-system/README
 create mode 100644 repos/ports/recipes/pkg/noux-system/archives
 create mode 100644 repos/ports/recipes/pkg/noux-system/hash
 create mode 100644 repos/ports/recipes/pkg/noux-system/runtime
 create mode 100644 repos/ports/recipes/pkg/vbox5-nova-sculpt/README
 create mode 100755 repos/ports/recipes/pkg/vbox5-nova-sculpt/archives
 create mode 100644 repos/ports/recipes/pkg/vbox5-nova-sculpt/hash
 create mode 100755 repos/ports/recipes/pkg/vbox5-nova-sculpt/runtime
 create mode 100644 repos/ports/recipes/raw/noux-system/content.mk
 create mode 100644 repos/ports/recipes/raw/noux-system/hash
 create mode 100644 repos/ports/recipes/raw/noux-system/init.config
 create mode 100644 repos/ports/recipes/raw/vbox5-nova-sculpt/content.mk
 create mode 100644 repos/ports/recipes/raw/vbox5-nova-sculpt/hash
 create mode 100755 repos/ports/recipes/raw/vbox5-nova-sculpt/init.config

diff --git a/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/README b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/README
new file mode 100644
index 0000000000..84d4e2151e
--- /dev/null
+++ b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/README
@@ -0,0 +1,2 @@
+
+   Runtime for deploying the iPXE NIC driver from the depot
diff --git a/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/archives b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/archives
new file mode 100644
index 0000000000..a58945b7c5
--- /dev/null
+++ b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/archives
@@ -0,0 +1 @@
+_/src/ipxe_nic_drv
diff --git a/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/hash b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/hash
new file mode 100644
index 0000000000..5babf161df
--- /dev/null
+++ b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/hash
@@ -0,0 +1 @@
+2018-02-08 8dbf7e5fa1c1cf4887589fa8233d1e48c5a7f440
diff --git a/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/runtime b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/runtime
new file mode 100755
index 0000000000..efae109543
--- /dev/null
+++ b/repos/dde_ipxe/recipes/pkg/ipxe_nic_drv/runtime
@@ -0,0 +1,12 @@
+<runtime ram="16M" caps="300" binary="nic_drv">
+
+	<provides> <nic/> </provides>
+
+	<config/>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="nic_drv"/>
+	</content>
+
+</runtime>
diff --git a/repos/dde_linux/recipes/pkg/wifi/archives b/repos/dde_linux/recipes/pkg/wifi/archives
index e28d3eb87b..145c4ce1d7 100644
--- a/repos/dde_linux/recipes/pkg/wifi/archives
+++ b/repos/dde_linux/recipes/pkg/wifi/archives
@@ -2,4 +2,5 @@ _/src/wifi_drv
 _/src/libcrypto
 _/src/libssl
 _/src/vfs_jitterentropy
+_/src/libc
 _/raw/wifi_firmware
diff --git a/repos/dde_linux/recipes/pkg/wifi/runtime b/repos/dde_linux/recipes/pkg/wifi/runtime
new file mode 100755
index 0000000000..1c6c09f0b0
--- /dev/null
+++ b/repos/dde_linux/recipes/pkg/wifi/runtime
@@ -0,0 +1,38 @@
+<runtime ram="54M" caps="300" binary="wifi_drv">
+
+	<requires> <rom label="wlan_configuration"/> </requires>
+	<provides> <nic/> </provides>
+
+	<config ld_verbose="yes" verbose="yes" use_11n="no" connected_scan_interval="0">
+		<vfs>
+			<dir name="dev"> <log/> <rtc/> <null/>
+				<jitterentropy name="random"/>
+				<jitterentropy name="urandom"/>
+			</dir>
+			<dir name="config"> <ram/> </dir>
+		</vfs>
+		<libc stdout="/dev/null" stderr="/dev/log" rtc="/dev/rtc"/>
+	</config>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="wifi_drv"/>
+		<rom label="libcrypto.lib.so"/>
+		<rom label="libc.lib.so"/>
+		<rom label="libm.lib.so"/>
+		<rom label="vfs_jitterentropy.lib.so"/>
+		<rom label="libssl.lib.so"/>
+		<rom label="wifi.lib.so"/>
+		<rom label="wpa_driver_nl80211.lib.so"/>
+		<rom label="wpa_supplicant.lib.so"/>
+		<rom label="iwlwifi-1000-5.ucode.lib.so"/>
+		<rom label="iwlwifi-3160-16.ucode"/>
+		<rom label="iwlwifi-6000-4.ucode"/>
+		<rom label="iwlwifi-6000g2a-6.ucode"/>
+		<rom label="iwlwifi-6000g2b-6.ucode"/>
+		<rom label="iwlwifi-7260-16.ucode"/>
+		<rom label="iwlwifi-7265-16.ucode"/>
+		<rom label="iwlwifi-7265D-16.ucode"/>
+		<rom label="iwlwifi-8000C-16.ucode"/>
+	</content>
+</runtime>
diff --git a/repos/gems/recipes/pkg/nano3d/README b/repos/gems/recipes/pkg/nano3d/README
new file mode 100644
index 0000000000..404fd8cb33
--- /dev/null
+++ b/repos/gems/recipes/pkg/nano3d/README
@@ -0,0 +1,2 @@
+
+   Simple software-rendering demo application
diff --git a/repos/gems/recipes/pkg/nano3d/archives b/repos/gems/recipes/pkg/nano3d/archives
new file mode 100644
index 0000000000..cfcbf62468
--- /dev/null
+++ b/repos/gems/recipes/pkg/nano3d/archives
@@ -0,0 +1 @@
+_/src/nano3d
diff --git a/repos/gems/recipes/pkg/nano3d/hash b/repos/gems/recipes/pkg/nano3d/hash
new file mode 100644
index 0000000000..a9d03054d6
--- /dev/null
+++ b/repos/gems/recipes/pkg/nano3d/hash
@@ -0,0 +1 @@
+2018-01-29 202a86fee398e3faa640daa615bf828e644a7ecb
diff --git a/repos/gems/recipes/pkg/nano3d/runtime b/repos/gems/recipes/pkg/nano3d/runtime
new file mode 100644
index 0000000000..468a91b48a
--- /dev/null
+++ b/repos/gems/recipes/pkg/nano3d/runtime
@@ -0,0 +1,12 @@
+<runtime ram="4M" caps="200" binary="nano3d">
+
+	<requires> <nitpicker/> <timer/> </requires>
+
+	<config/>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="nano3d"/>
+	</content>
+
+</runtime>
diff --git a/repos/gems/recipes/pkg/sticks_blue_backdrop/README b/repos/gems/recipes/pkg/sticks_blue_backdrop/README
new file mode 100644
index 0000000000..e5e805ac47
--- /dev/null
+++ b/repos/gems/recipes/pkg/sticks_blue_backdrop/README
@@ -0,0 +1 @@
+Backdrop composed of a blueish underwater picture, a grid, and a Genode logo
diff --git a/repos/gems/recipes/pkg/sticks_blue_backdrop/archives b/repos/gems/recipes/pkg/sticks_blue_backdrop/archives
new file mode 100644
index 0000000000..92ea992a54
--- /dev/null
+++ b/repos/gems/recipes/pkg/sticks_blue_backdrop/archives
@@ -0,0 +1,3 @@
+_/pkg/backdrop
+_/raw/genode_bg
+_/raw/sticks_blue_backdrop
diff --git a/repos/gems/recipes/pkg/sticks_blue_backdrop/hash b/repos/gems/recipes/pkg/sticks_blue_backdrop/hash
new file mode 100644
index 0000000000..4c2ac20e6e
--- /dev/null
+++ b/repos/gems/recipes/pkg/sticks_blue_backdrop/hash
@@ -0,0 +1 @@
+2018-01-26 1d32f9c93c20fdc1b9f7ae894bdbbe1394208ce6
diff --git a/repos/gems/recipes/pkg/sticks_blue_backdrop/runtime b/repos/gems/recipes/pkg/sticks_blue_backdrop/runtime
new file mode 100644
index 0000000000..d165422814
--- /dev/null
+++ b/repos/gems/recipes/pkg/sticks_blue_backdrop/runtime
@@ -0,0 +1,18 @@
+<runtime ram="48M" caps="300" binary="backdrop" config="backdrop.config">
+
+	<requires> <nitpicker/> </requires>
+
+	<content>
+		<rom label="backdrop.config"/>
+		<rom label="ld.lib.so"/>
+		<rom label="libc.lib.so"/>
+		<rom label="libm.lib.so"/>
+		<rom label="backdrop"/>
+		<rom label="sticks_blue.png"/>
+		<rom label="grid.png"/>
+		<rom label="genode_logo.png"/>
+		<rom label="libpng.lib.so"/>
+		<rom label="zlib.lib.so"/>
+	</content>
+
+</runtime>
diff --git a/repos/gems/recipes/pkg/themed_wm/archives b/repos/gems/recipes/pkg/themed_wm/archives
index 7720907eeb..93bfc67a7d 100644
--- a/repos/gems/recipes/pkg/themed_wm/archives
+++ b/repos/gems/recipes/pkg/themed_wm/archives
@@ -1,3 +1,6 @@
 _/pkg/wm
 _/raw/themed_wm
 _/src/themed_decorator
+_/src/libc
+_/src/libpng
+_/src/zlib
diff --git a/repos/gems/recipes/pkg/themed_wm/runtime b/repos/gems/recipes/pkg/themed_wm/runtime
new file mode 100644
index 0000000000..fadf1a188a
--- /dev/null
+++ b/repos/gems/recipes/pkg/themed_wm/runtime
@@ -0,0 +1,23 @@
+<runtime ram="28M" caps="1000" binary="init" config="wm.config">
+
+	<requires> <nitpicker/> <timer/> </requires>
+
+	<provides> <nitpicker/> </provides>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="libc.lib.so"/>
+		<rom label="libm.lib.so"/>
+		<rom label="libpng.lib.so"/>
+		<rom label="zlib.lib.so"/>
+		<rom label="report_rom"/>
+		<rom label="themed_decorator"/>
+		<rom label="floating_window_layouter"/>
+		<rom label="wm"/>
+		<rom label="wm.config"/>
+		<rom label="decorator_init.config"/>
+		<rom label="layouter.config"/>
+		<rom label="plain_decorator_theme.tar"/>
+	</content>
+
+</runtime>
diff --git a/repos/gems/recipes/raw/sticks_blue_backdrop/backdrop.config b/repos/gems/recipes/raw/sticks_blue_backdrop/backdrop.config
new file mode 100644
index 0000000000..3329a92098
--- /dev/null
+++ b/repos/gems/recipes/raw/sticks_blue_backdrop/backdrop.config
@@ -0,0 +1,13 @@
+<config>
+	<libc/>
+	<vfs>
+		<rom name="genode_logo.png"/>
+		<rom name="grid.png"/>
+		<rom name="sticks_blue.png"/>
+	</vfs>
+	<fill color="#223344" />
+	<image png="sticks_blue.png" scale="zoom" anchor="bottom_left" alpha="200"/>
+	<image png="grid.png"        tiled="yes" alpha="200" />
+	<image png="genode_logo.png" anchor="bottom_right" alpha="150"
+	                             xpos="-20" ypos="-20" />
+</config>
diff --git a/repos/gems/recipes/raw/sticks_blue_backdrop/content.mk b/repos/gems/recipes/raw/sticks_blue_backdrop/content.mk
new file mode 100644
index 0000000000..71e6d25024
--- /dev/null
+++ b/repos/gems/recipes/raw/sticks_blue_backdrop/content.mk
@@ -0,0 +1,9 @@
+content: backdrop.config
+
+backdrop.config:
+	cp $(REP_DIR)/recipes/raw/sticks_blue_backdrop/$@ $@
+
+content: sticks_blue.png
+
+sticks_blue.png:
+	wget --quiet https://genode.org/files/turmvilla/sticks_blue.png
diff --git a/repos/gems/recipes/raw/sticks_blue_backdrop/hash b/repos/gems/recipes/raw/sticks_blue_backdrop/hash
new file mode 100644
index 0000000000..e058a06dd5
--- /dev/null
+++ b/repos/gems/recipes/raw/sticks_blue_backdrop/hash
@@ -0,0 +1 @@
+2018-02-07 ec649db3a6f5af0dc346494cabbcece4fc6678f8
diff --git a/repos/gems/recipes/raw/themed_wm/decorator_init.config b/repos/gems/recipes/raw/themed_wm/decorator_init.config
index 5dfa459fef..418b944716 100644
--- a/repos/gems/recipes/raw/themed_wm/decorator_init.config
+++ b/repos/gems/recipes/raw/themed_wm/decorator_init.config
@@ -8,7 +8,7 @@
 		<service name="Timer"/>
 		<service name="Report"/>
 	</parent-provides>
-	<start name="decorator" caps="200">
+	<start name="decorator" caps="300">
 		<binary name="themed_decorator"/>
 		<resource name="RAM" quantum="8M"/>
 		<config>
diff --git a/repos/gems/recipes/raw/wm/wm.config b/repos/gems/recipes/raw/wm/wm.config
index 1388353367..0d29da8e59 100644
--- a/repos/gems/recipes/raw/wm/wm.config
+++ b/repos/gems/recipes/raw/wm/wm.config
@@ -36,7 +36,7 @@
 		</config>
 	</start>
 
-	<start name="wm" caps="150">
+	<start name="wm" caps="250">
 		<resource name="RAM" quantum="6M"/>
 		<provides>
 			<service name="Nitpicker"/>
@@ -71,7 +71,7 @@
 		</route>
 	</start>
 
-	<start name="decorator" caps="250">
+	<start name="decorator" caps="350">
 		<binary name="init"/>
 		<resource name="RAM" quantum="12M"/>
 		<route>
diff --git a/repos/gems/recipes/src/nano3d/content.mk b/repos/gems/recipes/src/nano3d/content.mk
new file mode 100644
index 0000000000..c2332c315a
--- /dev/null
+++ b/repos/gems/recipes/src/nano3d/content.mk
@@ -0,0 +1,2 @@
+SRC_DIR = src/app/nano3d
+include $(GENODE_DIR)/repos/base/recipes/src/content.inc
diff --git a/repos/gems/recipes/src/nano3d/hash b/repos/gems/recipes/src/nano3d/hash
new file mode 100644
index 0000000000..8f94c3a713
--- /dev/null
+++ b/repos/gems/recipes/src/nano3d/hash
@@ -0,0 +1 @@
+2018-01-29 112c19a8f27de169dd91bd26b157076da17ff1c2
diff --git a/repos/gems/recipes/src/nano3d/used_apis b/repos/gems/recipes/src/nano3d/used_apis
new file mode 100644
index 0000000000..f72748f505
--- /dev/null
+++ b/repos/gems/recipes/src/nano3d/used_apis
@@ -0,0 +1,9 @@
+base
+os
+blit
+framebuffer_session
+input_session
+nitpicker_session
+timer_session
+nano3d
+polygon_gfx
diff --git a/repos/libports/recipes/pkg/pdf_view/archives b/repos/libports/recipes/pkg/pdf_view/archives
index 4aa34cd7f6..39b0006859 100644
--- a/repos/libports/recipes/pkg/pdf_view/archives
+++ b/repos/libports/recipes/pkg/pdf_view/archives
@@ -8,3 +8,4 @@ _/src/pdf_view
 _/src/openjpeg
 _/src/zlib
 _/src/nit_fb
+_/raw/pdf_view
diff --git a/repos/libports/recipes/pkg/pdf_view/runtime b/repos/libports/recipes/pkg/pdf_view/runtime
new file mode 100644
index 0000000000..1fa7e0f90e
--- /dev/null
+++ b/repos/libports/recipes/pkg/pdf_view/runtime
@@ -0,0 +1,21 @@
+<runtime ram="64M" caps="2000" binary="init" config="pdf_view.config">
+
+	<requires> <timer/> <nitpicker/> <rom label="slides.pdf"/> </requires>
+
+	<content>
+		<rom label="pdf_view.config"/>
+		<rom label="ld.lib.so"/>
+		<rom label="libc.lib.so"/>
+		<rom label="libm.lib.so"/>
+		<rom label="libpng.lib.so"/>
+		<rom label="zlib.lib.so"/>
+		<rom label="pdf_view"/>
+		<rom label="mupdf.lib.so"/>
+		<rom label="nit_fb"/>
+		<rom label="freetype.lib.so"/>
+		<rom label="jbig2dec.lib.so"/>
+		<rom label="jpeg.lib.so"/>
+		<rom label="openjpeg.lib.so"/>
+	</content>
+
+</runtime>
diff --git a/repos/libports/recipes/raw/pdf_view/content.mk b/repos/libports/recipes/raw/pdf_view/content.mk
new file mode 100644
index 0000000000..95c8314fa4
--- /dev/null
+++ b/repos/libports/recipes/raw/pdf_view/content.mk
@@ -0,0 +1,4 @@
+content: pdf_view.config
+
+pdf_view.config:
+	cp $(REP_DIR)/recipes/raw/pdf_view/$@ $@
diff --git a/repos/libports/recipes/raw/pdf_view/hash b/repos/libports/recipes/raw/pdf_view/hash
new file mode 100644
index 0000000000..c4faae6984
--- /dev/null
+++ b/repos/libports/recipes/raw/pdf_view/hash
@@ -0,0 +1 @@
+2018-01-26 dddda7ba6d4b95110621e1eb4140382e1e07624e
diff --git a/repos/libports/recipes/raw/pdf_view/pdf_view.config b/repos/libports/recipes/raw/pdf_view/pdf_view.config
new file mode 100644
index 0000000000..612559f6d8
--- /dev/null
+++ b/repos/libports/recipes/raw/pdf_view/pdf_view.config
@@ -0,0 +1,39 @@
+<config>
+	<parent-provides>
+		<service name="ROM"/>
+		<service name="PD"/>
+		<service name="RM"/>
+		<service name="CPU"/>
+		<service name="LOG"/>
+		<service name="Nitpicker"/>
+		<service name="Timer"/>
+	</parent-provides>
+
+	<default-route>
+		<any-service> <parent/> <any-child/> </any-service>
+	</default-route>
+
+	<default caps="100"/>
+
+	<start name="nit_fb">
+		<resource name="RAM" quantum="16M"/>
+		<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
+		<config xpos="64" ypos="64" initial_width="320" initial_height="240"/>
+	</start>
+
+	<start name="pdf_view" caps="300">
+		<binary name="pdf_view"/>
+		<resource name="RAM" quantum="100M"/>
+		<config>
+			<vfs>
+				<rom name="test.pdf" />
+				<dir name="dev"> <log/> </dir>
+			</vfs>
+			<libc stdout="/dev/log" stderr="/dev/log"/>
+		</config>
+		<route>
+			<service name="ROM" label="test.pdf"> <parent label="slides.pdf"/> </service>
+			<any-service> <parent/> <any-child/> </any-service>
+		</route>
+	</start>
+</config>
diff --git a/repos/os/recipes/pkg/chroot/README b/repos/os/recipes/pkg/chroot/README
new file mode 100644
index 0000000000..1378b86677
--- /dev/null
+++ b/repos/os/recipes/pkg/chroot/README
@@ -0,0 +1,2 @@
+
+   Runtime for deploying the chroot component from the depot
diff --git a/repos/os/recipes/pkg/chroot/archives b/repos/os/recipes/pkg/chroot/archives
new file mode 100755
index 0000000000..380ffb610d
--- /dev/null
+++ b/repos/os/recipes/pkg/chroot/archives
@@ -0,0 +1 @@
+_/src/chroot
diff --git a/repos/os/recipes/pkg/chroot/hash b/repos/os/recipes/pkg/chroot/hash
new file mode 100644
index 0000000000..c01799d65e
--- /dev/null
+++ b/repos/os/recipes/pkg/chroot/hash
@@ -0,0 +1 @@
+2018-02-01 87ba95cdfd0cfa50394a309d9975b8bb77ba35ad
diff --git a/repos/os/recipes/pkg/chroot/runtime b/repos/os/recipes/pkg/chroot/runtime
new file mode 100755
index 0000000000..36588389b7
--- /dev/null
+++ b/repos/os/recipes/pkg/chroot/runtime
@@ -0,0 +1,13 @@
+<runtime ram="1M" caps="100" binary="chroot">
+
+	<requires> <file_system/> </requires>
+	<provides> <file_system/> </provides>
+
+	<config/>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="chroot"/>
+	</content>
+
+</runtime>
diff --git a/repos/os/recipes/pkg/nic_router-nat/README b/repos/os/recipes/pkg/nic_router-nat/README
new file mode 100644
index 0000000000..91f9b32e9d
--- /dev/null
+++ b/repos/os/recipes/pkg/nic_router-nat/README
@@ -0,0 +1,2 @@
+
+     Runtime for using the NIC router for network-address translation
diff --git a/repos/os/recipes/pkg/nic_router-nat/archives b/repos/os/recipes/pkg/nic_router-nat/archives
new file mode 100755
index 0000000000..df092b0f38
--- /dev/null
+++ b/repos/os/recipes/pkg/nic_router-nat/archives
@@ -0,0 +1 @@
+_/src/nic_router
diff --git a/repos/os/recipes/pkg/nic_router-nat/hash b/repos/os/recipes/pkg/nic_router-nat/hash
new file mode 100644
index 0000000000..18bb75eca5
--- /dev/null
+++ b/repos/os/recipes/pkg/nic_router-nat/hash
@@ -0,0 +1 @@
+2018-02-08-a 1f186691c2297428b0a348d821d143252657c474
diff --git a/repos/os/recipes/pkg/nic_router-nat/runtime b/repos/os/recipes/pkg/nic_router-nat/runtime
new file mode 100755
index 0000000000..ee5dbd76b0
--- /dev/null
+++ b/repos/os/recipes/pkg/nic_router-nat/runtime
@@ -0,0 +1,26 @@
+<runtime ram="10M" caps="300" binary="nic_router">
+
+	<requires> <nic/> </requires>
+	<provides> <nic/> </provides>
+
+	<config verbose_domain_state="yes">
+		<default-policy domain="default" />
+		<domain name="uplink">
+			<nat domain="default" tcp-ports="1000" udp-ports="1000"/>
+		</domain>
+		<domain name="default" interface="10.0.1.1/24">
+			<dhcp-server ip_first="10.0.1.2"
+			             ip_last="10.0.1.200"
+			             ip_lease_time_sec="360"
+			             dns_server="213.73.91.35"/>
+			<tcp dst="0.0.0.0/0"><permit-any domain="uplink"/></tcp>
+			<udp dst="0.0.0.0/0"><permit-any domain="uplink"/></udp>
+		</domain>
+	</config>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="nic_router"/>
+	</content>
+
+</runtime>
diff --git a/repos/os/recipes/pkg/nit_focus/README b/repos/os/recipes/pkg/nit_focus/README
new file mode 100644
index 0000000000..9c5a93c238
--- /dev/null
+++ b/repos/os/recipes/pkg/nit_focus/README
@@ -0,0 +1,2 @@
+
+   Runtime for deploying the default nitpicker focus policy
diff --git a/repos/os/recipes/pkg/nit_focus/archives b/repos/os/recipes/pkg/nit_focus/archives
new file mode 100755
index 0000000000..82a4c3dcd8
--- /dev/null
+++ b/repos/os/recipes/pkg/nit_focus/archives
@@ -0,0 +1 @@
+_/src/nit_focus
diff --git a/repos/os/recipes/pkg/nit_focus/hash b/repos/os/recipes/pkg/nit_focus/hash
new file mode 100644
index 0000000000..7bf2f956ff
--- /dev/null
+++ b/repos/os/recipes/pkg/nit_focus/hash
@@ -0,0 +1 @@
+2018-02-14 bfe065ce8afc7f5e0838dbec1454dea9817df2db
diff --git a/repos/os/recipes/pkg/nit_focus/runtime b/repos/os/recipes/pkg/nit_focus/runtime
new file mode 100755
index 0000000000..af195b9d10
--- /dev/null
+++ b/repos/os/recipes/pkg/nit_focus/runtime
@@ -0,0 +1,18 @@
+<runtime ram="1M" caps="100" binary="nit_focus">
+
+	<requires>
+		<rom label="clicked"/>
+		<report label="focus"/>
+	</requires>
+
+	<config>
+		<policy label_prefix="leitzentrale" focus="no"/>
+		<default-policy focus="yes"/>
+	</config>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="nit_focus"/>
+	</content>
+
+</runtime>
diff --git a/repos/os/recipes/pkg/rom_filter/README b/repos/os/recipes/pkg/rom_filter/README
new file mode 100644
index 0000000000..c8ab91b588
--- /dev/null
+++ b/repos/os/recipes/pkg/rom_filter/README
@@ -0,0 +1,2 @@
+
+   Runtime for deploying the ROM-filter component from the depot
diff --git a/repos/os/recipes/pkg/rom_filter/archives b/repos/os/recipes/pkg/rom_filter/archives
new file mode 100755
index 0000000000..73adf212e7
--- /dev/null
+++ b/repos/os/recipes/pkg/rom_filter/archives
@@ -0,0 +1 @@
+_/src/rom_filter
diff --git a/repos/os/recipes/pkg/rom_filter/hash b/repos/os/recipes/pkg/rom_filter/hash
new file mode 100644
index 0000000000..5ef87f0874
--- /dev/null
+++ b/repos/os/recipes/pkg/rom_filter/hash
@@ -0,0 +1 @@
+2018-02-08-a c12dfe5a845663b1c9b21199f64bb209af3438f2
diff --git a/repos/os/recipes/pkg/rom_filter/runtime b/repos/os/recipes/pkg/rom_filter/runtime
new file mode 100755
index 0000000000..599646189e
--- /dev/null
+++ b/repos/os/recipes/pkg/rom_filter/runtime
@@ -0,0 +1,13 @@
+<runtime ram="2M" caps="100" binary="rom_filter">
+
+	<requires> <rom/> </requires>
+	<provides> <rom/> </provides>
+
+	<config/>
+
+	<content>
+		<rom label="ld.lib.so"/>
+		<rom label="rom_filter"/>
+	</content>
+
+</runtime>
diff --git a/repos/ports/recipes/pkg/noux-system/README b/repos/ports/recipes/pkg/noux-system/README
new file mode 100644
index 0000000000..84eea89ab7
--- /dev/null
+++ b/repos/ports/recipes/pkg/noux-system/README
@@ -0,0 +1,3 @@
+Noux runtime that allows the user to interact with a 'report' file system
+(mounted at /report), a 'config' file system (mounted at /config), and a
+'target' file system (mounted at /rw).
diff --git a/repos/ports/recipes/pkg/noux-system/archives b/repos/ports/recipes/pkg/noux-system/archives
new file mode 100644
index 0000000000..53448b68a0
--- /dev/null
+++ b/repos/ports/recipes/pkg/noux-system/archives
@@ -0,0 +1,11 @@
+_/raw/noux-system
+_/src/noux
+_/src/bash-minimal
+_/src/vim-minimal
+_/src/coreutils-minimal
+_/src/libc
+_/src/posix
+_/src/ncurses
+_/src/nit_fb
+_/src/terminal
+_/src/init
diff --git a/repos/ports/recipes/pkg/noux-system/hash b/repos/ports/recipes/pkg/noux-system/hash
new file mode 100644
index 0000000000..36fd2dc20d
--- /dev/null
+++ b/repos/ports/recipes/pkg/noux-system/hash
@@ -0,0 +1 @@
+2018-01-29-e bc5e5d535ab18b4b48080a00ca5b8bc24cfb1b32
diff --git a/repos/ports/recipes/pkg/noux-system/runtime b/repos/ports/recipes/pkg/noux-system/runtime
new file mode 100644
index 0000000000..53d94725a9
--- /dev/null
+++ b/repos/ports/recipes/pkg/noux-system/runtime
@@ -0,0 +1,29 @@
+<runtime ram="72M" caps="1000" binary="init" config="init.config">
+
+	<requires>
+		<nitpicker/>
+		<timer/>
+		<file_system label="config" writeable="yes"/>
+		<file_system label="report" writeable="no"/>
+		<file_system label="target" writeable="yes"/>
+		<rom label="vimrc"/>
+	</requires>
+
+	<content>
+		<rom label="init.config"/>
+		<rom label="ld.lib.so"/>
+		<rom label="libc.lib.so"/>
+		<rom label="libm.lib.so"/>
+		<rom label="init"/>
+		<rom label="nit_fb"/>
+		<rom label="terminal"/>
+		<rom label="noux"/>
+		<rom label="libc_noux.lib.so"/>
+		<rom label="posix.lib.so"/>
+		<rom label="ncurses.lib.so"/>
+		<rom label="bash-minimal.tar"/>
+		<rom label="coreutils-minimal.tar"/>
+		<rom label="vim-minimal.tar"/>
+	</content>
+
+</runtime>
diff --git a/repos/ports/recipes/pkg/vbox5-nova-sculpt/README b/repos/ports/recipes/pkg/vbox5-nova-sculpt/README
new file mode 100644
index 0000000000..65e2382a96
--- /dev/null
+++ b/repos/ports/recipes/pkg/vbox5-nova-sculpt/README
@@ -0,0 +1,2 @@
+
+      VirtualBox runtime for hosting a large VM in the Sculpt scenario
diff --git a/repos/ports/recipes/pkg/vbox5-nova-sculpt/archives b/repos/ports/recipes/pkg/vbox5-nova-sculpt/archives
new file mode 100755
index 0000000000..113ebddb36
--- /dev/null
+++ b/repos/ports/recipes/pkg/vbox5-nova-sculpt/archives
@@ -0,0 +1,12 @@
+_/raw/vbox5-nova-sculpt
+_/src/vbox5-nova
+_/src/base-nova
+_/src/libc
+_/src/init
+_/src/nit_fb
+_/src/libc
+_/src/posix
+_/src/zlib
+_/src/nit_fb
+_/src/libiconv
+_/src/stdcxx
diff --git a/repos/ports/recipes/pkg/vbox5-nova-sculpt/hash b/repos/ports/recipes/pkg/vbox5-nova-sculpt/hash
new file mode 100644
index 0000000000..db8a177e0f
--- /dev/null
+++ b/repos/ports/recipes/pkg/vbox5-nova-sculpt/hash
@@ -0,0 +1 @@
+2018-02-01 83ec4873444077800447ee48620c852e36a8e465
diff --git a/repos/ports/recipes/pkg/vbox5-nova-sculpt/runtime b/repos/ports/recipes/pkg/vbox5-nova-sculpt/runtime
new file mode 100755
index 0000000000..44f98a7773
--- /dev/null
+++ b/repos/ports/recipes/pkg/vbox5-nova-sculpt/runtime
@@ -0,0 +1,26 @@
+<runtime ram="8300M" caps="1500" binary="init" config="init.config">
+
+	<requires>
+		<file_system label="vm"/>
+		<file_system label="shared"/>
+		<nic/>
+	</requires>
+
+	<content>
+		<rom label="init.config"/>
+		<rom label="ld.lib.so"/>
+		<rom label="init"/>
+		<rom label="nit_fb"/>
+		<rom label="timer"/>
+		<rom label="virtualbox5-nova"/>
+		<rom label="libc.lib.so"/>
+		<rom label="libc_pipe.lib.so"/>
+		<rom label="libc_terminal.lib.so"/>
+		<rom label="libm.lib.so"/>
+		<rom label="pthread.lib.so"/>
+		<rom label="libiconv.lib.so"/>
+		<rom label="qemu-usb.lib.so"/>
+		<rom label="stdcxx.lib.so"/>
+	</content>
+
+</runtime>
diff --git a/repos/ports/recipes/raw/noux-system/content.mk b/repos/ports/recipes/raw/noux-system/content.mk
new file mode 100644
index 0000000000..89ca42cdb7
--- /dev/null
+++ b/repos/ports/recipes/raw/noux-system/content.mk
@@ -0,0 +1,4 @@
+content: init.config
+
+init.config:
+	cp $(REP_DIR)/recipes/raw/noux-system/$@ $@
diff --git a/repos/ports/recipes/raw/noux-system/hash b/repos/ports/recipes/raw/noux-system/hash
new file mode 100644
index 0000000000..665c247182
--- /dev/null
+++ b/repos/ports/recipes/raw/noux-system/hash
@@ -0,0 +1 @@
+2018-02-08 c584f68d8457ce4ef8c9c31e5879902642f2e438
diff --git a/repos/ports/recipes/raw/noux-system/init.config b/repos/ports/recipes/raw/noux-system/init.config
new file mode 100644
index 0000000000..da1f160e4f
--- /dev/null
+++ b/repos/ports/recipes/raw/noux-system/init.config
@@ -0,0 +1,58 @@
+<config>
+	<parent-provides>
+		<service name="ROM"/>
+		<service name="PD"/>
+		<service name="RM"/>
+		<service name="CPU"/>
+		<service name="LOG"/>
+		<service name="Timer"/>
+		<service name="File_system"/>
+		<service name="Nitpicker"/>
+	</parent-provides>
+
+	<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
+
+	<default caps="100"/>
+
+	<start name="nit_fb">
+		<resource name="RAM" quantum="4M"/>
+		<provides> <service name="Framebuffer"/> <service name="Input"/> </provides>
+		<config xpos="10" ypos="10" initial_width="800" initial_height="600"/>
+	</start>
+
+	<start name="terminal">
+		<resource name="RAM" quantum="4M"/>
+		<provides> <service name="Terminal"/> </provides>
+		<config> <keyboard layout="none"/> <font size="16" /> </config>
+	</start>
+
+	<start name="noux" caps="500">
+		<resource name="RAM" quantum="60M" />
+		<exit propagate="yes"/>
+		<config>
+			<fstab>
+				<tar name="bash-minimal.tar" />
+				<tar name="coreutils-minimal.tar" />
+				<tar name="vim-minimal.tar" />
+				<dir name="dev"> <zero/> <null/> </dir>
+				<dir name="rw">     <fs label="target"/> </dir>
+				<dir name="report"> <fs label="report"/> </dir>
+				<dir name="config"> <fs label="config"/> </dir>
+				<dir name="tmp"> <ram /> </dir>
+				<dir name="share"> <dir name="vim"> <rom name="vimrc"/> </dir> </dir>
+			</fstab>
+			<start name="/bin/bash">
+				<env name="TERM" value="linux" />
+				<env name="PS1" value="noux:$PWD> " />
+			</start>
+		</config>
+		<route>
+			<service name="File_system" label="target"> <parent label="target"/> </service>
+			<service name="File_system" label="config"> <parent label="config"/> </service>
+			<service name="File_system" label="report"> <parent label="report"/> </service>
+			<service name="ROM" label="vimrc"> <parent label="vimrc"/> </service>
+			<service name="Terminal"> <child name="terminal"/> </service>
+			<any-service> <parent/> </any-service>
+		</route>
+	</start>
+</config>
diff --git a/repos/ports/recipes/raw/vbox5-nova-sculpt/content.mk b/repos/ports/recipes/raw/vbox5-nova-sculpt/content.mk
new file mode 100644
index 0000000000..792266c390
--- /dev/null
+++ b/repos/ports/recipes/raw/vbox5-nova-sculpt/content.mk
@@ -0,0 +1,4 @@
+content: init.config
+
+init.config:
+	cp $(REP_DIR)/recipes/raw/vbox5-nova-sculpt/$@ $@
diff --git a/repos/ports/recipes/raw/vbox5-nova-sculpt/hash b/repos/ports/recipes/raw/vbox5-nova-sculpt/hash
new file mode 100644
index 0000000000..b86121dc8d
--- /dev/null
+++ b/repos/ports/recipes/raw/vbox5-nova-sculpt/hash
@@ -0,0 +1 @@
+2018-02-08 703a35fea40e7de5089229dc3cae37292c52fc33
diff --git a/repos/ports/recipes/raw/vbox5-nova-sculpt/init.config b/repos/ports/recipes/raw/vbox5-nova-sculpt/init.config
new file mode 100755
index 0000000000..02c392ac62
--- /dev/null
+++ b/repos/ports/recipes/raw/vbox5-nova-sculpt/init.config
@@ -0,0 +1,74 @@
+<config verbose="yes" prio_levels="2">
+
+	<parent-provides>
+		<service name="ROM"/>
+		<service name="PD"/>
+		<service name="RM"/>
+		<service name="CPU"/>
+		<service name="LOG"/>
+		<service name="Nitpicker"/>
+		<service name="Timer"/>
+		<service name="Rtc"/>
+		<service name="Report"/>
+		<service name="File_system"/>
+		<service name="Usb"/>
+		<service name="Nic"/>
+	</parent-provides>
+
+	<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
+
+	<default caps="100"/>
+
+	<start name="timer">
+		<resource name="RAM" quantum="1M"/>
+		<provides><service name="Timer"/></provides>
+		<config/>
+		<route>
+			<service name="ROM" label="hypervisor_info_page">
+				<parent label="hypervisor_info_page"/> </service>
+			<any-service> <parent/> </any-service>
+		</route>
+	</start>
+
+	<start name="nit_fb" priority="0">
+		<resource name="RAM" quantum="8M" />
+		<provides>
+			<service name="Framebuffer" /> <service name="Input" />
+		</provides>
+		<config xpos="32" ypos="32" initial_width="-64" initial_height="-64" />
+		<route>
+			<service name="Nitpicker"> <parent label=""/> </service>
+			<any-service> <parent/> </any-service>
+		</route>
+	</start>
+
+	<start name="vbox" priority="-1" caps="1000">
+		<binary name="virtualbox5-nova" />
+		<resource name="RAM" quantum="8G"/>
+		<exit propagate="yes"/>
+		<config vbox_file="machine.vbox" xhci="yes" vm_name="linux" capslock="ROM">
+			<vfs>
+				<dir name="dev">
+					<log/>
+					<rtc/>
+				 </dir>
+				<dir name="shared"> <fs label="shared" writeable="yes"/> </dir>
+				<fs writeable="yes"/>
+			</vfs>
+			<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
+		</config>
+		<route>
+			<service name="Audio_out"> <parent/> </service>
+			<service name="File_system" label="shared"> <parent label="shared"/> </service>
+			<service name="File_system">                <parent label="vm"/> </service>
+			<service name="ROM" label="usb_devices"> <parent label="usb_devices"/> </service>
+			<service name="ROM" label="capslock"> <parent label="capslock"/> </service>
+			<service name="ROM" label="hypervisor_info_page">
+				<parent label="hypervisor_info_page"/> </service>
+			<service name="Nic"> <parent/> </service>
+			<service name="Report" label="shape"> <parent label="shape"/> </service>
+			<any-service> <parent/> <child name="nit_fb"/> </any-service>
+		</route>
+	</start>
+
+</config>