2014-09-30 14:46:55 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2017-04-14 17:19:39 +00:00
|
|
|
import_from_depot genodelabs/src/[base_src] \
|
|
|
|
genodelabs/pkg/[drivers_interactive_pkg] \
|
|
|
|
genodelabs/pkg/wm \
|
|
|
|
genodelabs/raw/genode_bg \
|
|
|
|
genodelabs/pkg/backdrop \
|
|
|
|
genodelabs/src/demo \
|
|
|
|
genodelabs/src/init \
|
|
|
|
genodelabs/src/nitpicker \
|
|
|
|
genodelabs/src/nit_fb \
|
|
|
|
genodelabs/src/nit_fader \
|
|
|
|
genodelabs/src/rom_filter \
|
|
|
|
genodelabs/src/menu_view
|
|
|
|
|
|
|
|
install_config {
|
2014-09-30 14:46:55 +00:00
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
</parent-provides>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-30 14:46:55 +00:00
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2017-04-14 17:19:39 +00:00
|
|
|
</default-route>
|
2014-09-30 14:46:55 +00:00
|
|
|
|
2017-08-04 09:24:15 +00:00
|
|
|
<default caps="100"/>
|
2017-05-07 20:36:11 +00:00
|
|
|
|
2014-09-30 14:46:55 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2017-08-04 09:24:15 +00:00
|
|
|
<start name="drivers" caps="1000">
|
2017-11-07 10:28:50 +00:00
|
|
|
<resource name="RAM" quantum="32M" constrain_phys="yes"/>
|
2017-04-14 17:19:39 +00:00
|
|
|
<binary name="init"/>
|
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
|
|
|
<provides>
|
|
|
|
<service name="Input"/> <service name="Framebuffer"/>
|
|
|
|
</provides>
|
|
|
|
</start>
|
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<start name="nitpicker" caps="100">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Nitpicker"/></provides>
|
|
|
|
<config>
|
2015-09-29 15:17:08 +00:00
|
|
|
<report hover="yes" focus="yes" />
|
|
|
|
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
|
|
|
|
<domain name="panel" layer="2" content="client" label="no" hover="always" focus="transient" />
|
2015-11-18 11:17:32 +00:00
|
|
|
<domain name="default" layer="3" color="#ff0000" hover="always" focus="click" />
|
2015-09-29 15:17:08 +00:00
|
|
|
<domain name="decorator" layer="3" content="client" label="no" hover="always" focus="transient" />
|
|
|
|
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="pointer" domain="pointer"/>
|
2015-11-18 11:17:32 +00:00
|
|
|
<policy label_prefix="wm -> launcher -> menu" domain="panel"/>
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="wm -> decorator" domain="decorator"/>
|
|
|
|
<policy label_prefix="status_bar" domain="panel"/>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy domain="default"/>
|
2015-09-29 15:17:08 +00:00
|
|
|
|
2017-10-27 10:39:22 +00:00
|
|
|
<global-key name="KEY_SCROLLLOCK" label="global_keys_handler -> input" />
|
|
|
|
<global-key name="KEY_F1" label="global_keys_handler -> input" />
|
|
|
|
<global-key name="KEY_F2" label="global_keys_handler -> input" />
|
2015-09-29 15:17:08 +00:00
|
|
|
<global-key name="KEY_LEFTMETA" label="wm -> launcher" />
|
|
|
|
<global-key name="KEY_F3" label="wm -> launcher" />
|
2014-09-30 14:46:55 +00:00
|
|
|
</config>
|
2015-06-08 07:05:32 +00:00
|
|
|
<route>
|
|
|
|
<service name="Report"> <child name="report_rom"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
2014-09-30 14:46:55 +00:00
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-09-30 14:46:55 +00:00
|
|
|
<start name="pointer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<route>
|
|
|
|
<service name="Nitpicker"> <child name="nitpicker" /> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2015-09-29 15:17:08 +00:00
|
|
|
|
2017-10-27 10:39:22 +00:00
|
|
|
<start name="global_keys_handler">
|
2015-09-29 15:17:08 +00:00
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<config>
|
2017-10-27 10:39:22 +00:00
|
|
|
<bool name="xray" initial="no"/>
|
|
|
|
|
|
|
|
<press name="KEY_SCROLLLOCK" bool="xray" change="toggle"/>
|
|
|
|
<press name="KEY_F1" bool="xray" change="on"/>
|
|
|
|
<release name="KEY_F1" bool="xray" change="off"/>
|
|
|
|
<press name="KEY_F2" bool="xray" change="toggle"/>
|
|
|
|
|
|
|
|
<report name="xray" delay_ms="125">
|
|
|
|
<hovered domain="panel"/>
|
|
|
|
<hovered domain="decorator"/>
|
|
|
|
<bool name="xray"/>
|
|
|
|
</report>
|
2015-09-29 15:17:08 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<service name="Nitpicker"> <child name="nitpicker"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="status_bar">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="focus"> <child name="report_rom"/> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<service name="Nitpicker"> <child name="nitpicker"/> </service>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2014-09-30 14:46:55 +00:00
|
|
|
<start name="report_rom">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides> <service name="Report"/> <service name="ROM"/> </provides>
|
2015-09-29 15:17:08 +00:00
|
|
|
<config verbose="no">
|
2017-10-27 10:39:22 +00:00
|
|
|
<policy label="decorator_config -> xray" report="global_keys_handler -> xray"/>
|
2017-08-04 09:24:15 +00:00
|
|
|
<policy label="layouter -> window_list" report="wm -> window_list"/>
|
|
|
|
<policy label="layouter -> focus_request" report="wm -> focus_request" />
|
|
|
|
<policy label="decorator -> window_layout" report="layouter -> window_layout"/>
|
|
|
|
<policy label="wm -> resize_request" report="layouter -> resize_request"/>
|
|
|
|
<policy label="decorator -> pointer" report="wm -> pointer"/>
|
|
|
|
<policy label="layouter -> hover" report="decorator -> hover"/>
|
|
|
|
<policy label="wm -> focus" report="layouter -> focus"/>
|
|
|
|
<policy label="status_bar -> focus" report="nitpicker -> focus"/>
|
|
|
|
<policy label="launcher -> focus" report="nitpicker -> focus"/>
|
2017-10-27 10:39:22 +00:00
|
|
|
<policy label="global_keys_handler -> hover" report="nitpicker -> hover"/>
|
2017-08-04 09:24:15 +00:00
|
|
|
<policy label="layouter -> decorator_margins" report="decorator -> decorator_margins"/>
|
2014-09-30 14:46:55 +00:00
|
|
|
</config>
|
|
|
|
</start>
|
2015-09-29 15:17:08 +00:00
|
|
|
|
2017-08-04 09:24:15 +00:00
|
|
|
<start name="wm" caps="200">
|
2015-09-29 15:17:08 +00:00
|
|
|
<resource name="RAM" quantum="6M"/>
|
|
|
|
<provides>
|
|
|
|
<service name="Nitpicker"/>
|
|
|
|
</provides>
|
|
|
|
<config>
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="decorator" role="decorator"/>
|
|
|
|
<policy label_prefix="layouter" role="layouter"/>
|
2015-11-18 11:17:32 +00:00
|
|
|
<policy label_prefix="launcher -> menu" role="direct"/>
|
|
|
|
<policy label_prefix="launcher -> testnit" role="direct"/>
|
2015-09-29 15:17:08 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="focus"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM" label="resize_request"> <child name="report_rom"/> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<any-service>
|
2017-01-18 16:10:07 +00:00
|
|
|
<child name="nitpicker"/> <parent/> <any-child/>
|
2015-09-29 15:17:08 +00:00
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="layouter">
|
|
|
|
<binary name="floating_window_layouter"/>
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="window_list"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM" label="focus_request"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM" label="hover"> <child name="report_rom"/> </service>
|
|
|
|
<service name="ROM" label="decorator_margins"> <child name="report_rom"/> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<any-service>
|
2017-01-18 16:10:07 +00:00
|
|
|
<child name="wm"/> <parent/> <any-child/>
|
2015-09-29 15:17:08 +00:00
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="decorator">
|
|
|
|
<binary name="decorator"/>
|
|
|
|
<resource name="RAM" quantum="8M"/>
|
|
|
|
<route>
|
2017-04-14 17:19:39 +00:00
|
|
|
<service name="ROM" label="config">
|
2015-09-29 15:17:08 +00:00
|
|
|
<child name="decorator_config"/> </service>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="window_layout">
|
|
|
|
<child name="report_rom"/> </service>
|
|
|
|
<service name="ROM" label="pointer">
|
|
|
|
<child name="report_rom"/> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<any-service>
|
2017-01-18 16:10:07 +00:00
|
|
|
<child name="wm"/> <parent/> <any-child/>
|
2015-09-29 15:17:08 +00:00
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
<start name="decorator_config">
|
|
|
|
<binary name="rom_filter"/>
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<provides><service name="ROM"/></provides>
|
|
|
|
<config verbose="yes">
|
|
|
|
|
|
|
|
<input name="xray_enabled" rom="xray" node="xray">
|
|
|
|
<attribute name="enabled" />
|
|
|
|
</input>
|
|
|
|
|
|
|
|
<output node="config">
|
|
|
|
<inline>
|
|
|
|
<controls>
|
|
|
|
<title/> <minimizer/> <maximizer/> <closer/>
|
|
|
|
</controls>
|
|
|
|
</inline>
|
|
|
|
<if>
|
|
|
|
<has_value input="xray_enabled" value="yes" />
|
|
|
|
<then>
|
|
|
|
<inline>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy color="#ff0000" gradient="75" />
|
2015-09-29 15:17:08 +00:00
|
|
|
</inline>
|
|
|
|
</then>
|
|
|
|
</if>
|
|
|
|
</output>
|
|
|
|
|
|
|
|
</config>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="xray"> <child name="report_rom"/> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<start name="launcher" caps="1000">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="60M" />
|
2015-09-29 15:17:08 +00:00
|
|
|
<config focus_prefix="wm -> launcher -> ">
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="scout" title="Scout" caps="200">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="20M" />
|
|
|
|
<binary name="scout" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="testnit1" title="Nitpicker Test" caps="25">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="2M" />
|
|
|
|
<binary name="testnit" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="testnit2" title="Nitpicker Test 2" caps="25">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="2M" />
|
|
|
|
<binary name="testnit" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="testnit3" title="Nitpicker Test 3" caps="25">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="2M" />
|
|
|
|
<binary name="testnit" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="scout2" title="Scoutx" caps="25">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="20M" />
|
|
|
|
<binary name="scout" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="testnit4" title="Nitpicker Testx" caps="25">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="2M" />
|
|
|
|
<binary name="testnit" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="testnit5" title="Nitpicker Test5" caps="25">
|
2014-09-30 14:46:55 +00:00
|
|
|
<resource name="RAM" quantum="2M" />
|
|
|
|
<binary name="testnit" />
|
|
|
|
</subsystem>
|
2017-05-07 20:36:11 +00:00
|
|
|
<subsystem name="backdrop" title="Backdrop" caps="25">
|
2015-09-29 15:17:08 +00:00
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<binary name="backdrop" />
|
|
|
|
<config>
|
|
|
|
<libc>
|
|
|
|
<vfs>
|
|
|
|
</vfs>
|
|
|
|
</libc>
|
|
|
|
<fill color="#224433" />
|
|
|
|
</config>
|
2014-09-30 14:46:55 +00:00
|
|
|
</subsystem>
|
2015-09-29 15:17:08 +00:00
|
|
|
|
2014-09-30 14:46:55 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
2017-01-18 16:10:07 +00:00
|
|
|
<service name="ROM" label="focus"> <child name="report_rom" /> </service>
|
2015-09-29 15:17:08 +00:00
|
|
|
<any-service> <child name="wm"/> <parent/> <any-child/> </any-service>
|
2014-09-30 14:46:55 +00:00
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
2017-10-27 10:39:22 +00:00
|
|
|
build { app/launcher test/nitpicker app/status_bar app/global_keys_handler }
|
2015-06-08 07:05:32 +00:00
|
|
|
|
2017-10-27 10:39:22 +00:00
|
|
|
build_boot_image { testnit launcher global_keys_handler status_bar }
|
2014-09-30 14:46:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
run_genode_until forever
|