diff --git a/recipes/pkg/grafx2/README b/recipes/pkg/grafx2/README new file mode 100644 index 0000000..94ed0e1 --- /dev/null +++ b/recipes/pkg/grafx2/README @@ -0,0 +1,14 @@ + + __/_/_/ __/_/ _/ _/ __/_/ + _/ _/ __/_/ __/_/_/ _/ _/ _/ _/ _/ +_/ _/_/ _/_/ _/ _/ _/_/_/_/ _/ _/ +_/ _/ _/ _/ _/ _/ _/ _/ _/ + _/_/_/ _/ _/_/_/ _/ _/ _/ _/_/_/_/ + +GrafX2 is a bitmap paint program inspired by the +Amiga programs Deluxe Paint and Brilliance. +Specialized in 256-color drawing, it includes a +very large number of tools and effects that make +it particularly suitable for pixel art, game +graphics, and generally any detailed graphics +painted with a mouse. diff --git a/recipes/pkg/grafx2/archives b/recipes/pkg/grafx2/archives new file mode 100644 index 0000000..c62ef34 --- /dev/null +++ b/recipes/pkg/grafx2/archives @@ -0,0 +1,8 @@ +_/src/jpeg +_/src/libc +_/src/libpng +_/src/grafx2 +_/src/sdl +_/src/sdl_image +_/src/vfs +_/src/zlib diff --git a/recipes/pkg/grafx2/hash b/recipes/pkg/grafx2/hash new file mode 100644 index 0000000..8a10b7d --- /dev/null +++ b/recipes/pkg/grafx2/hash @@ -0,0 +1 @@ +2019-02-21-d 71570018331c24971924401ba545fd0ac5f4a975 diff --git a/recipes/pkg/grafx2/runtime b/recipes/pkg/grafx2/runtime new file mode 100644 index 0000000..6bdf348 --- /dev/null +++ b/recipes/pkg/grafx2/runtime @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/recipes/src/grafx2/content.mk b/recipes/src/grafx2/content.mk new file mode 100644 index 0000000..f5149c8 --- /dev/null +++ b/recipes/src/grafx2/content.mk @@ -0,0 +1,15 @@ +APP_DIR = src/app/grafx2 + +MIRROR_FROM_PORT_AND_REP_DIR := $(APP_DIR) + +content: $(MIRROR_FROM_PORT_AND_REP_DIR) LICENSE + +PORT_DIR := $(call port_dir,$(REP_DIR)/ports/grafx2) + +$(MIRROR_FROM_PORT_AND_REP_DIR): + mkdir -p $(dir $@) + cp -r $(PORT_DIR)/$@ $(dir $@) + $(mirror_from_rep_dir) + +LICENSE: + cp $(PORT_DIR)/$(APP_DIR)/doc/gpl-2.0.txt $@ diff --git a/recipes/src/grafx2/hash b/recipes/src/grafx2/hash new file mode 100644 index 0000000..63a2c15 --- /dev/null +++ b/recipes/src/grafx2/hash @@ -0,0 +1 @@ +2019-02-21-b 41cf721271567ac81c80a6f3c692bfb9cc1a4a3f diff --git a/recipes/src/grafx2/used_apis b/recipes/src/grafx2/used_apis new file mode 100644 index 0000000..3753ba0 --- /dev/null +++ b/recipes/src/grafx2/used_apis @@ -0,0 +1,7 @@ +base +libc +sdl +sdl_image +libpng +vfs +zlib diff --git a/run/grafx2.run b/run/grafx2.run index 309e22e..5fac04a 100644 --- a/run/grafx2.run +++ b/run/grafx2.run @@ -4,18 +4,18 @@ set app_config { - - - - - - - + + + + + + } set boot_modules { grafx2 + grafx2_data.tar jpeg.lib.so libc.lib.so vfs.lib.so libm.lib.so @@ -23,8 +23,6 @@ set boot_modules { sdl_image.lib.so sdl.lib.so zlib.lib.so - - grafx2_data.tar } source ${genode_dir}/repos/world/run/nitpicker_app.inc diff --git a/src/app/grafx2/target.mk b/src/app/grafx2/target.mk index 28d4deb..9a795b4 100644 --- a/src/app/grafx2/target.mk +++ b/src/app/grafx2/target.mk @@ -9,7 +9,7 @@ INC_DIR += $(GRAFX2_DIR) CC_OPT += -DGENODE -DNOTTF=1 -LIBS += libc libpng sdlmain sdl sdl_image zlib +LIBS += libc libpng sdlmain sdl sdl_image libm zlib base $(TARGET): grafx2_data.tar grafx2_data.tar: