<runtime ram="512M" caps="10000" binary="init">

	<requires>
		<file_system/>
		<nic/>
		<nitpicker/>
		<report label="clipboard"/>
		<report label="shape"/>
		<rm/>
		<rtc/>
	</requires>

	<content>

		<!-- common for Qt GUI applications -->

		<rom label="egl.lib.so"/>
		<rom label="egl_swrast.lib.so"/>
		<rom label="expat.lib.so"/>
		<rom label="freetype.lib.so"/>
		<rom label="glapi.lib.so"/>
		<rom label="jpeg.lib.so"/>
		<rom label="libc.lib.so"/>
		<rom label="libc_pipe.lib.so"/>
		<rom label="libm.lib.so"/>
		<rom label="libpng.lib.so"/>
		<rom label="mesa.lib.so"/>
		<rom label="pcre16.lib.so"/>
		<rom label="qt5_core.lib.so"/>
		<rom label="qt5_dejavusans.tar"/>
		<rom label="qt5_gui.lib.so"/>
		<rom label="qt5_qjpeg.lib.so"/>
		<rom label="qt5_qpa_nitpicker.lib.so"/>
		<rom label="stdcxx.lib.so"/>
		<rom label="vfs.lib.so"/>
		<rom label="zlib.lib.so"/>

		<!-- application -->

		<rom label="vfs"/>
		<rom label="arora"/>
		<rom label="icu.lib.so"/>
		<rom label="libcrypto.lib.so"/>
		<rom label="libssl.lib.so"/>
		<rom label="lxip.lib.so"/>
		<rom label="qt5_angle.lib.so"/>
		<rom label="qt5_jscore.lib.so"/>
		<rom label="qt5_network.lib.so"/>
		<rom label="qt5_opengl.lib.so"/>
		<rom label="qt5_printsupport.lib.so"/>
		<rom label="qt5_qnitpickerviewwidget.lib.so"/>
		<rom label="qt5_qpluginwidget.lib.so"/>
		<rom label="qt5_scriptclassic.lib.so"/>
		<rom label="qt5_sql.lib.so"/>
		<rom label="qt5_ui_tools.lib.so"/>
		<rom label="qt5_webcore.lib.so"/>
		<rom label="qt5_webkit.lib.so"/>
		<rom label="qt5_webkitwidgets.lib.so"/>
		<rom label="qt5_widgets.lib.so"/>
		<rom label="qt5_wtf.lib.so"/>
		<rom label="vfs_jitterentropy.lib.so"/>
		<rom label="vfs_lxip.lib.so"/>

	</content>

	<config>
		<parent-provides>
			<service name="CPU"/>
			<service name="LOG"/>
			<service name="RM"/>
			<service name="ROM"/>
			<service name="PD"/>
			<service name="File_system"/>
			<service name="Nic"/>
			<service name="Nitpicker"/>
			<service name="Report"/>
			<service name="Rtc"/>
			<service name="Timer"/>
		</parent-provides>

		<default-route>
			<any-service> <parent/> <any-child/> </any-service>
		</default-route>

		<start name="vfs" caps="250">
			<resource name="RAM" quantum="32M"/>
			<provides> <service name="File_system"/> </provides>
			<config>
				<vfs> <lxip dhcp="yes"/> </vfs>
				<default-policy writeable="yes" root="/"/>
			</config>
		</start>

		<start name="arora" caps="9750">
			<resource name="RAM" quantum="480M"/>
			<config clipboard="yes">
				<vfs>
					<dir name="parent"> <fs/> </dir>
					<dir name="socket"> <fs label="socket"/> </dir>
					<tar name="qt5_dejavusans.tar"/>
					<dir name="dev">
						<jitterentropy name="random"/>
						<log/>
						<rtc/>
					</dir>
				</vfs>
				<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" socket="/socket"/>
			</config>
			<route>
				<service name="File_system" label="socket">
					<child name="vfs"/> </service>
				<service name="File_system">
					<parent/> </service>
				<service name="ROM" label="egl_drv.lib.so">
					<parent label="egl_swrast.lib.so" /> </service>
				<service name="Report" label="shape">
					<parent label="shape"/> </service>
				<service name="Report" label="clipboard">
					<parent label="clipboard"/> </service>
				<any-service> <parent /> </any-service>
			</route>
		</start>
	</config>

</runtime>
