build { app/pdf_view } 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 \ install_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 " focus\"/>" close $fd build_boot_image { 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 } append qemu_args " -m 800" run_genode_until forever