2014-01-06 18:15:14 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
#
|
2018-11-13 10:55:46 +00:00
|
|
|
# To use the themed decorator instead of the default one, replace
|
|
|
|
# 'pkg/motif_wm' with 'pkg/themed_wm'.
|
2014-01-06 18:15:14 +00:00
|
|
|
#
|
|
|
|
|
2019-02-19 13:24:52 +00:00
|
|
|
import_from_depot [depot_user]/src/[base_src] \
|
|
|
|
[depot_user]/pkg/[drivers_interactive_pkg] \
|
|
|
|
[depot_user]/pkg/motif_wm \
|
|
|
|
[depot_user]/raw/genode_bg \
|
|
|
|
[depot_user]/pkg/backdrop \
|
|
|
|
[depot_user]/src/demo \
|
|
|
|
[depot_user]/src/init \
|
|
|
|
[depot_user]/src/nitpicker \
|
2020-06-16 11:48:09 +00:00
|
|
|
[depot_user]/src/gui_fb \
|
2019-02-19 13:24:52 +00:00
|
|
|
[depot_user]/src/vfs
|
2017-04-14 17:19:39 +00:00
|
|
|
|
|
|
|
install_config {
|
2014-08-25 16:27:33 +00:00
|
|
|
<config prio_levels="2">
|
2014-01-06 18:15:14 +00:00
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="IRQ"/>
|
|
|
|
<service name="IO_MEM"/>
|
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2017-04-14 17:19:39 +00:00
|
|
|
</default-route>
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
2014-01-06 18:15:14 +00:00
|
|
|
|
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2020-07-10 11:04:12 +00:00
|
|
|
<start name="drivers" caps="1500" managing_system="yes">
|
|
|
|
<resource name="RAM" quantum="64M"/>
|
2017-04-14 17:19:39 +00:00
|
|
|
<binary name="init"/>
|
|
|
|
<route>
|
|
|
|
<service name="ROM" label="config"> <parent label="drivers.config"/> </service>
|
2020-07-01 20:26:11 +00:00
|
|
|
<service name="Timer"> <child name="timer"/> </service>
|
|
|
|
<service name="Capture"> <child name="nitpicker"/> </service>
|
2020-07-16 09:28:18 +00:00
|
|
|
<service name="Event"> <child name="nitpicker"/> </service>
|
2017-04-14 17:19:39 +00:00
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
|
2014-01-06 18:15:14 +00:00
|
|
|
<start name="nitpicker">
|
2017-02-02 17:42:35 +00:00
|
|
|
<resource name="RAM" quantum="4M"/>
|
2020-07-16 09:28:18 +00:00
|
|
|
<provides>
|
|
|
|
<service name="Gui"/> <service name="Capture"/> <service name="Event"/>
|
|
|
|
</provides>
|
2020-08-13 15:25:21 +00:00
|
|
|
<config focus="rom">
|
2020-07-16 09:28:18 +00:00
|
|
|
<capture/> <event/>
|
2020-07-01 20:26:11 +00:00
|
|
|
|
2015-09-30 09:30:02 +00:00
|
|
|
<domain name="pointer" layer="1" content="client" label="no" origin="pointer" />
|
2018-04-06 07:29:46 +00:00
|
|
|
<domain name="default" layer="2" content="client" label="no" hover="always"/>
|
2015-09-30 09:30:02 +00:00
|
|
|
|
2016-11-24 14:28:32 +00:00
|
|
|
<policy label_prefix="pointer" domain="pointer"/>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy domain="default"/>
|
2024-10-06 13:13:54 +00:00
|
|
|
|
|
|
|
<global-key name="KEY_SCREEN" label="wm -> wm -> decorator" />
|
2014-01-06 18:15:14 +00:00
|
|
|
</config>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2014-01-06 18:15:14 +00:00
|
|
|
<start name="pointer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<route>
|
2020-06-11 14:06:21 +00:00
|
|
|
<service name="Gui"> <child name="nitpicker"/> </service>
|
2014-01-06 18:15:14 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2017-05-07 20:36:11 +00:00
|
|
|
<start name="wm" caps="1000">
|
2018-04-06 07:29:46 +00:00
|
|
|
<resource name="RAM" quantum="32M"/>
|
2017-03-31 06:59:53 +00:00
|
|
|
<binary name="init"/>
|
2019-06-27 17:03:03 +00:00
|
|
|
<provides>
|
2020-06-11 14:06:21 +00:00
|
|
|
<service name="Gui"/> <service name="Report"/> <service name="ROM"/>
|
2019-06-27 17:03:03 +00:00
|
|
|
</provides>
|
2014-01-06 18:15:14 +00:00
|
|
|
<route>
|
2017-03-31 06:59:53 +00:00
|
|
|
<service name="ROM" label="config"> <parent label="wm.config"/> </service>
|
2020-06-11 14:06:21 +00:00
|
|
|
<service name="Gui"> <child name="nitpicker"/> </service>
|
2017-03-31 06:59:53 +00:00
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2014-01-06 18:15:14 +00:00
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2018-04-06 07:29:46 +00:00
|
|
|
<start name="launchpad" priority="-1" caps="1000">
|
2014-08-14 14:25:29 +00:00
|
|
|
<resource name="RAM" quantum="20M"/>
|
|
|
|
<config>
|
2020-06-16 11:48:09 +00:00
|
|
|
<launcher name="gui_fb" ram_quota="7M" caps="100">
|
2018-06-25 09:12:00 +00:00
|
|
|
<config initial_width="500" initial_height="400" />
|
2014-08-14 14:25:29 +00:00
|
|
|
</launcher>
|
2018-04-06 07:29:46 +00:00
|
|
|
<launcher name="nitpicker" ram_quota="1M" caps="100">
|
2021-03-31 08:10:00 +00:00
|
|
|
<config request_framebuffer="yes" request_input="yes">
|
2018-04-06 07:29:46 +00:00
|
|
|
<domain name="default" layer="2" content="client"
|
|
|
|
label="no" hover="always" focus="click"/>
|
2016-03-09 14:32:23 +00:00
|
|
|
<default-policy domain="default"/>
|
2014-08-14 14:25:29 +00:00
|
|
|
</config>
|
|
|
|
</launcher>
|
2018-04-06 07:29:46 +00:00
|
|
|
<launcher name="testnit" ram_quota="1M" caps="100"/>
|
2014-08-14 14:25:29 +00:00
|
|
|
</config>
|
2014-01-06 18:15:14 +00:00
|
|
|
<route>
|
|
|
|
<any-service> <child name="wm"/> <parent/> <any-child/>
|
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2024-09-02 15:20:12 +00:00
|
|
|
<start name="backdrop" priority="-1" caps="120">
|
2017-03-24 16:41:30 +00:00
|
|
|
<resource name="RAM" quantum="24M"/>
|
2014-08-14 14:25:29 +00:00
|
|
|
<config>
|
2017-03-24 16:41:30 +00:00
|
|
|
<libc/>
|
|
|
|
<vfs>
|
|
|
|
<rom name="genode_logo.png"/>
|
|
|
|
<rom name="grid.png"/>
|
|
|
|
</vfs>
|
2014-08-14 14:25:29 +00:00
|
|
|
<fill color="#224433" />
|
|
|
|
<image png="grid.png" tiled="yes" alpha="200" />
|
|
|
|
<image png="genode_logo.png" anchor="bottom_right" alpha="150"
|
|
|
|
xpos="-20" ypos="-20" />
|
|
|
|
</config>
|
2014-01-06 18:15:14 +00:00
|
|
|
<route>
|
2017-03-24 16:41:30 +00:00
|
|
|
<any-service> <child name="nitpicker" label="backdrop"/> <parent/> <any-child/>
|
2014-01-06 18:15:14 +00:00
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
2017-04-14 17:19:39 +00:00
|
|
|
|
2024-09-02 15:20:12 +00:00
|
|
|
<start name="wm_backdrop" priority="-1" caps="120">
|
2014-08-14 14:25:29 +00:00
|
|
|
<binary name="backdrop" />
|
2021-02-07 13:05:19 +00:00
|
|
|
<resource name="RAM" quantum="32M"/>
|
2014-01-06 18:15:14 +00:00
|
|
|
<config>
|
2017-03-24 16:41:30 +00:00
|
|
|
<libc/>
|
|
|
|
<vfs>
|
|
|
|
<rom name="genode_logo.png"/>
|
|
|
|
</vfs>
|
2014-08-14 14:25:29 +00:00
|
|
|
<fill color="#664455" />
|
|
|
|
<image png="genode_logo.png" scale="zoom" alpha="150" />
|
|
|
|
<image png="genode_logo.png" scale="fit" alpha="150" tiled="yes" />
|
|
|
|
<image png="genode_logo.png" />
|
2014-01-06 18:15:14 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
|
|
|
<any-service> <child name="wm"/> <parent/> <any-child/>
|
|
|
|
</any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
2018-04-06 07:29:46 +00:00
|
|
|
#
|
|
|
|
# Pin the nitpicker focus to the window manager by providing a static focus ROM
|
|
|
|
#
|
|
|
|
set fd [open [run_dir]/genode/focus w]
|
2019-03-14 11:14:28 +00:00
|
|
|
puts $fd "<focus label=\"wm -> focus\"/>"
|
2018-04-06 07:29:46 +00:00
|
|
|
close $fd
|
|
|
|
|
2024-10-06 13:13:54 +00:00
|
|
|
copy_file [genode_dir]/repos/gems/recipes/raw/motif_wm/wm.config [run_dir]/genode/
|
|
|
|
copy_file [genode_dir]/repos/gems/recipes/raw/motif_wm/layouter.config [run_dir]/genode/
|
|
|
|
copy_file [genode_dir]/repos/gems/recipes/raw/motif_wm/decorator_init.config [run_dir]/genode/
|
2014-01-06 18:15:14 +00:00
|
|
|
|
2019-06-17 14:06:42 +00:00
|
|
|
build { app/window_layouter app/decorator server/nitpicker server/wm test/nitpicker }
|
2018-12-11 09:12:32 +00:00
|
|
|
|
2023-11-17 17:11:02 +00:00
|
|
|
build_boot_image [build_artifacts]
|
2014-01-06 18:15:14 +00:00
|
|
|
|
|
|
|
run_genode_until forever
|