Package Grafx2

This commit is contained in:
Emery Hemingway
2019-02-21 12:28:41 +01:00
parent d4480964de
commit a3444e5aff
9 changed files with 89 additions and 10 deletions

14
recipes/pkg/grafx2/README Normal file
View File

@@ -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.

View File

@@ -0,0 +1,8 @@
_/src/jpeg
_/src/libc
_/src/libpng
_/src/grafx2
_/src/sdl
_/src/sdl_image
_/src/vfs
_/src/zlib

1
recipes/pkg/grafx2/hash Normal file
View File

@@ -0,0 +1 @@
2019-02-21-d 71570018331c24971924401ba545fd0ac5f4a975

View File

@@ -0,0 +1,35 @@
<runtime ram="64M" caps="192" binary="grafx2">
<requires>
<file_system/>
<nitpicker/>
<timer/>
<rtc/>
</requires>
<content>
<rom label="grafx2"/>
<rom label="grafx2_data.tar"/>
<rom label="jpeg.lib.so"/>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="libpng.lib.so"/>
<rom label="sdl_image.lib.so"/>
<rom label="sdl.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="zlib.lib.so"/>
</content>
<config>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
<vfs>
<tar name="grafx2_data.tar" />
<dir name="dev">
<log/> <rtc/>
</dir>
<fs/>
</vfs>
</config>
</runtime>

View File

@@ -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 $@

1
recipes/src/grafx2/hash Normal file
View File

@@ -0,0 +1 @@
2019-02-21-b 41cf721271567ac81c80a6f3c692bfb9cc1a4a3f

View File

@@ -0,0 +1,7 @@
base
libc
sdl
sdl_image
libpng
vfs
zlib

View File

@@ -4,18 +4,18 @@ set app_config {
<start name="grafx2" priority="-2" caps="200">
<resource name="RAM" quantum="64M"/>
<config>
<libc stdout="/dev/log" stderr="/dev/log" >
<vfs>
<tar name="grafx2_data.tar" />
<dir name="dev"> <log/> </dir>
<ram/>
</vfs>
</libc>
<libc stdout="/dev/log" stderr="/dev/log"/>
<vfs>
<tar name="grafx2_data.tar" />
<dir name="dev"> <log/> </dir>
<ram/>
</vfs>
</config>
</start>}
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

View File

@@ -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: