2018-08-13 16:13:19 +00:00
|
|
|
source ${genode_dir}/repos/libports/run/qt5_common.inc
|
|
|
|
|
|
|
|
import_from_depot [depot_user]/src/qt5_component \
|
|
|
|
[depot_user]/src/qt5_testqstring
|
|
|
|
|
|
|
|
#
|
|
|
|
# Generate config
|
|
|
|
#
|
|
|
|
|
|
|
|
append config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>}
|
2020-06-28 12:21:09 +00:00
|
|
|
append config [qt5_parent_provides]
|
2018-08-13 16:13:19 +00:00
|
|
|
append config {
|
|
|
|
</parent-provides>
|
|
|
|
<default caps="100"/>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>}
|
|
|
|
|
2020-06-28 12:21:09 +00:00
|
|
|
append config [qt5_start_nodes]
|
2018-08-13 16:13:19 +00:00
|
|
|
|
|
|
|
append config {
|
2020-06-28 12:21:09 +00:00
|
|
|
<start name="tutorial1" caps="200">
|
2018-08-13 16:13:19 +00:00
|
|
|
<resource name="RAM" quantum="80M"/>
|
|
|
|
<config>
|
|
|
|
<vfs>
|
|
|
|
<dir name="dev">
|
|
|
|
<log/>
|
|
|
|
<inline name="rtc">2018-01-01 00:01</inline>
|
|
|
|
</dir>
|
2020-07-23 13:14:54 +00:00
|
|
|
<dir name="pipe"> <pipe/> </dir>
|
2018-08-13 16:13:19 +00:00
|
|
|
<tar name="qt5_dejavusans.tar"/>
|
2020-06-28 12:21:09 +00:00
|
|
|
<tar name="qt5_libqgenode.tar"/>
|
2018-08-13 16:13:19 +00:00
|
|
|
</vfs>
|
2020-07-23 13:14:54 +00:00
|
|
|
<libc stdout="/dev/log" stderr="/dev/log" pipe="/pipe" rtc="/dev/rtc"/>
|
2018-08-13 16:13:19 +00:00
|
|
|
</config>
|
|
|
|
<route>
|
2020-06-11 14:06:21 +00:00
|
|
|
<service name="Gui"> <child name="wm"/> </service>
|
2018-08-13 16:13:19 +00:00
|
|
|
<service name="Report" label="shape">
|
|
|
|
<child name="pointer" label="wm -> testqstring -> shape"/>
|
|
|
|
</service>
|
2021-09-30 12:08:37 +00:00
|
|
|
<service name="ROM" label="mesa_gpu_drv.lib.so">
|
|
|
|
<parent label="mesa_gpu-softpipe.lib.so" />
|
|
|
|
</service>
|
2018-08-13 16:13:19 +00:00
|
|
|
<any-service> <parent /> <any-child/> </any-service>
|
|
|
|
</route>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
|
|
|
install_config $config
|
|
|
|
|
|
|
|
#
|
|
|
|
# Boot modules
|
|
|
|
#
|
|
|
|
|
2020-06-28 12:21:09 +00:00
|
|
|
append boot_modules [qt5_boot_modules]
|
2018-08-13 16:13:19 +00:00
|
|
|
|
|
|
|
build_boot_image $boot_modules
|
|
|
|
|
|
|
|
run_genode_until " Finished testing of TestQString" 30
|