set build_components { app/pdf_view server/ram_fs app/fs_query app/sequence } 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 \ [depot_user]/src/coreutils \ [depot_user]/src/bash \ [depot_user]/src/init \ [depot_user]/src/libc \ [depot_user]/src/noux \ [depot_user]/src/posix \ [depot_user]/src/report_rom \ [depot_user]/src/rom_to_file \ [depot_user]/src/vfs \ [depot_user]/src/vfs_import set config { 0 } install_config $config # # Downloadotest 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 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 ram_fs fs_query sequence pdf_view test.pdf } build_boot_image $boot_modules append qemu_args " -m 1536" set env(SDL_VIDEO_X11_DGAMOUSE) 0 run_genode_until forever