set build_components { app/pdf_view } source ${genode_dir}/repos/base/run/platform_drv.inc build $build_components create_boot_directory import_from_depot \ [depot_user]/pkg/[drivers_interactive_pkg] \ [depot_user]/pkg/motif_wm \ [depot_user]/src/[base_src] \ [depot_user]/src/init \ [depot_user]/src/nitpicker \ set config { } install_config $config # # Download test PDF file # if {![file exist bin/test.pdf]} { set pdf_url "http://genode-labs.com/publications/genode-fpga-graphics-2009.pdf" catch { exec wget $pdf_url -O bin/test.pdf } } if {![file exist bin/test.pdf]} { puts stderr "Could not download test PDF from '$pdf_url'" exit 1 } # # Pin the nitpicker focus to the window manager by providing a static focus ROM # set fd [open [run_dir]/genode/focus w] puts $fd " wm -> \"/>" close $fd append boot_modules { libc.lib.so vfs.lib.so libm.lib.so openjpeg.lib.so freetype.lib.so libpng.lib.so zlib.lib.so jbig2dec.lib.so mupdf.lib.so jpeg.lib.so pdf_view test.pdf } build_boot_image $boot_modules append qemu_args " -m 768" run_genode_until forever