Repackage Arora with write-only clipboard

This commit is contained in:
Ehmry - 2019-05-14 10:12:41 +02:00
parent ca49844635
commit b2defa40dc
3 changed files with 166 additions and 0 deletions

View File

@ -69,6 +69,7 @@
<index name="Network">
<pkg path="_/pkg/arora" info="Arora web browser (cproc's package with clipboard)"/>
<pkg path="_/pkg/nic_bridge" info="Ethernet bridge"/>
<pkg path="_/pkg/nic_bridge_logged" info="Logged ethernet bridge"/>
<pkg path="_/pkg/nic_bus" info="Switched ethernet bus"/>

40
runtimes/arora/Tupfile Normal file
View File

@ -0,0 +1,40 @@
TARGET_NAME = arora
PKG_DEPENDS += \
cproc/raw/qt5_dejavusans/2019-02-25 \
cproc/src/expat/2019-03-18 \
cproc/src/freetype/2019-02-25 \
cproc/src/jpeg/2019-02-25 \
cproc/src/libc/2019-03-18 \
cproc/src/libpng/2019-02-25 \
cproc/src/mesa/2019-03-18 \
cproc/src/pcre16/2019-03-18 \
cproc/src/qt5_core/2019-03-18 \
cproc/src/qt5_gui/2019-03-18 \
cproc/src/qt5_qjpeg/2019-03-18 \
cproc/src/qt5_qpa_nitpicker/2019-03-18 \
cproc/src/stdcxx/2019-02-25 \
cproc/src/vfs/2019-03-18 \
cproc/src/zlib/2019-02-25 \
cproc/raw/arora/2019-03-18 \
cproc/src/arora/2019-03-18 \
cproc/src/icu/2019-03-18 \
cproc/src/libcrypto/2019-03-18 \
cproc/src/libssl/2019-03-18 \
cproc/src/qt5_network/2019-03-18 \
cproc/src/qt5_printsupport/2019-03-18 \
cproc/src/qt5_qnitpickerviewwidget/2019-03-18 \
cproc/src/qt5_opengl/2019-03-18 \
cproc/src/qt5_qpluginwidget/2019-03-18 \
cproc/src/qt5_scriptclassic/2019-03-18 \
cproc/src/qt5_sql/2019-03-18 \
cproc/src/qt5_ui_tools/2019-03-18 \
cproc/src/qt5_webkit/2019-03-18 \
cproc/src/qt5_widgets/2019-03-18 \
cproc/src/vfs_jitterentropy/2019-03-18 \
cproc/src/vfs_lxip/2019-03-18 \
include_rules
: runtime |> !collect_pkg_runtime |>
include $(PKG_RULES)

125
runtimes/arora/runtime Executable file
View File

@ -0,0 +1,125 @@
<runtime ram="512M" caps="10000" binary="init">
<requires>
<file_system/>
<nic/>
<nitpicker/>
<report label="clipboard"/>
<report label="shape"/>
<rm/>
<rtc/>
</requires>
<content>
<!-- common for Qt GUI applications -->
<rom label="egl.lib.so"/>
<rom label="egl_swrast.lib.so"/>
<rom label="expat.lib.so"/>
<rom label="freetype.lib.so"/>
<rom label="glapi.lib.so"/>
<rom label="jpeg.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libc_pipe.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="libpng.lib.so"/>
<rom label="mesa.lib.so"/>
<rom label="pcre16.lib.so"/>
<rom label="qt5_core.lib.so"/>
<rom label="qt5_dejavusans.tar"/>
<rom label="qt5_gui.lib.so"/>
<rom label="qt5_qjpeg.lib.so"/>
<rom label="qt5_qpa_nitpicker.lib.so"/>
<rom label="stdcxx.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="zlib.lib.so"/>
<!-- application -->
<rom label="vfs"/>
<rom label="arora"/>
<rom label="icu.lib.so"/>
<rom label="libcrypto.lib.so"/>
<rom label="libssl.lib.so"/>
<rom label="lxip.lib.so"/>
<rom label="qt5_angle.lib.so"/>
<rom label="qt5_jscore.lib.so"/>
<rom label="qt5_network.lib.so"/>
<rom label="qt5_opengl.lib.so"/>
<rom label="qt5_printsupport.lib.so"/>
<rom label="qt5_qnitpickerviewwidget.lib.so"/>
<rom label="qt5_qpluginwidget.lib.so"/>
<rom label="qt5_scriptclassic.lib.so"/>
<rom label="qt5_sql.lib.so"/>
<rom label="qt5_ui_tools.lib.so"/>
<rom label="qt5_webcore.lib.so"/>
<rom label="qt5_webkit.lib.so"/>
<rom label="qt5_webkitwidgets.lib.so"/>
<rom label="qt5_widgets.lib.so"/>
<rom label="qt5_wtf.lib.so"/>
<rom label="vfs_jitterentropy.lib.so"/>
<rom label="vfs_lxip.lib.so"/>
</content>
<config>
<parent-provides>
<service name="CPU"/>
<service name="LOG"/>
<service name="RM"/>
<service name="ROM"/>
<service name="PD"/>
<service name="File_system"/>
<service name="Nic"/>
<service name="Nitpicker"/>
<service name="Report"/>
<service name="Rtc"/>
<service name="Timer"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="vfs" caps="250">
<resource name="RAM" quantum="32M"/>
<provides> <service name="File_system"/> </provides>
<config>
<vfs> <lxip dhcp="yes"/> </vfs>
<default-policy writeable="yes" root="/"/>
</config>
</start>
<start name="arora" caps="9750">
<resource name="RAM" quantum="480M"/>
<config clipboard="yes">
<vfs>
<dir name="parent"> <fs/> </dir>
<dir name="socket"> <fs label="socket"/> </dir>
<tar name="qt5_dejavusans.tar"/>
<dir name="dev">
<jitterentropy name="random"/>
<log/>
<rtc/>
</dir>
</vfs>
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc" socket="/socket"/>
</config>
<route>
<service name="File_system" label="socket">
<child name="vfs"/> </service>
<service name="File_system">
<parent/> </service>
<service name="ROM" label="egl_drv.lib.so">
<parent label="egl_swrast.lib.so" /> </service>
<service name="Report" label="shape">
<parent label="shape"/> </service>
<service name="Report" label="clipboard">
<parent label="clipboard"/> </service>
<any-service> <parent /> </any-service>
</route>
</start>
</config>
</runtime>