1DOLLY 72PACKAGE godot-editor3REQUIRES HOST runtime@04REQUIRES HOST audio@05REQUIRES HOST display@06REQUIRES HOST input@07REQUIRES HOST threads@08REQUIRES HOST sockets@09REQUIRES HOST gpu@010REQUIRES HOST clipboard@01112# Godot's editor from the same release on the same platform: it imports a13# project's assets and exports its pack (--headless --import, --export-pack),14# and draws its own window on the page, or on the X server DISPLAY names.15# Without Basis Universal, whose encoder names a header of Linux's that16# Emscripten's libc and Dolly's leave out (sys/timex.h), Jolt Physics, which17# knows WebAssembly only as Emscripten (3D physics is Godot's own), and the18# JSON-RPC module, whose one user is the GDScript language server: it listens19# on TCP, which Dolly does not have.20FROM /v0.1.7/demos/ghostty-gtk/Dollyfile-mesa-build 60df67c2cec05569eb4a466f2c2928bf67d3ce273baf4e0fcb1f2c7c9ddb040a21USE /v0.1.7/demos/tools/Dollyfile-scons e0c235940683213af7e43e3718aaf308c3d4fca734109f9c785b66e51a8232fd22USE /v0.1.7/Dollyfile-mandoc fdcd60b702db22d8823eb0b1ad8afaba884e97d493760d1c91bc87894a9febb923USE /v0.1.7/Dollyfile-libdolly-gpu b13690913448e04e3795994af89d032f7a1537ce13b54c0c73f696ee4375c6d024USE /v0.1.7/Dollyfile-libdolly-sockets c6b3e098f7bd988e69bdfdda8306af2e6c565b0e7abcdb9bda5dba2a48a2bfa925USE /v0.1.7/demos/godot/Dollyfile-spirv-wgsl 2fe8abd93560146daabf342e60e073dd82dcb028f91147fbb10b6b2847252d2226USE /v0.1.7/Dollyfile-libdolly-audio 5b508cabd2df8a3106a8788b1ff75da3ae63d8acc002fa5b8c1120722520deac27USE /v0.1.7/Dollyfile-libdolly-clipboard 2e385abeefaaf674a33ac178323df84ea08ec231f8a59e7fb95ba0d175e12b3b28USE /v0.1.7/demos/x11/Dollyfile-x11-window f4819f49f8d73b66506e90cd5ef1c14c60b927d3f462b43730310c00a25f011d29USE /v0.1.7/Dollyfile-libdolly-display dca7d4755a50b8dbaa6abc4fd5b8fa34cccbb6400a4fd167d90e9a0f1bcee9ad30USE /v0.1.7/Dollyfile-libdolly-input 80f7d6d7b775fa542711f6d0205280a3d3f4c5a68eb0f3223f81fc2fe64df08e3132REQUIRES TOOL cp33REQUIRES TOOL grep34REQUIRES TOOL gzip35REQUIRES TOOL mkdir36REQUIRES TOOL patch37REQUIRES TOOL rm38REQUIRES TOOL scons39REQUIRES TOOL tar40REQUIRES TOOL test41REQUIRES TOOL text-page4243SOURCE /v0.1.7/dist/static/godot/source.tar.gz 1c8f59cd511f3343cb327b76994fc4d3290b19924e512e8f6dd4f476bc53147d /tmp/godot-source.tar.gz44SLOP gzip -dc /tmp/godot-source.tar.gz | tar -xf - -C /45# Godot's modern renderers take only the drivers main.cpp names; glslang builds beside them;46# Forward+ starts SDFGI only on a device with image atomics, which its voxelization takes.47SLOP CWD /usr/src/godot patch -p1 -i platform/dolly/godot-dolly.patch48SLOP CWD /usr/src/godot scons -j4 platform=dolly target=editor module_basis_universal_enabled=no \49  module_jolt_physics_enabled=no module_jsonrpc_enabled=no50SLOP cp /usr/src/godot/bin/godot.dolly.editor.wasm64 /usr/bin/godot-editor51SLOP mkdir -p /usr/share/licenses/godot-editor52SLOP cp /usr/src/godot/LICENSE.txt /usr/src/godot/COPYRIGHT.txt /usr/share/licenses/godot-editor53SLOP cp /usr/share/licenses/mesa/license.rst /usr/share/licenses/godot-editor/mesa-license.rst54# Godot's page, which describes the editor, is in section 6; man reads section 1.55SLOP cp /usr/src/godot/misc/dist/linux/godot.6 /tmp/godot-editor.156SLOP text-page /tmp/godot-editor.157SLOP rm -rf /usr/src/godot /tmp/godot-source.tar.gz /tmp/godot-editor.15859# A project whose script reads an SVG the editor imported into the pack it exported.60FILE /tmp/godot-check/project.godot61    config_version=562    [application]63    run/main_scene="res://main.tscn"64FILE /tmp/godot-check/export_presets.cfg65    [preset.0]66    name="Dolly"67    platform="Linux"68    runnable=true69    export_filter="all_resources"70    [preset.0.options]71    custom_template/release=""72FILE /tmp/godot-check/icon.svg73    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="16" height="16" fill="#4080ff"/></svg>74FILE /tmp/godot-check/main.tscn75    [gd_scene format=3]76    [ext_resource type="Script" path="res://main.gd" id="1"]77    [node name="Main" type="Node"]78    script = ExtResource("1")79FILE /tmp/godot-check/main.gd80    extends Node81    func _ready() -> void:82        print("ICON ", load("res://icon.svg").get_size())83        get_tree().quit()84SLOP CWD /tmp/godot-check godot-editor --headless --import85SLOP CWD /tmp/godot-check godot-editor --headless --export-pack Dolly /tmp/godot-check.pck86SLOP CWD /tmp godot-editor --headless --main-pack /tmp/godot-check.pck | grep -qx 'ICON (16.0, 16.0)'8788EXPORTS TOOL godot-editor89FILE /usr/share/licenses/godot-editor/LICENSE.txt90FILE /usr/share/licenses/godot-editor/COPYRIGHT.txt91FILE /usr/share/licenses/godot-editor/mesa-license.rst92FILE /usr/share/man/cat1/godot-editor.193