1DOLLY 82PACKAGE godot-editor3REQUIRES HOST runtime@04REQUIRES HOST audio@05REQUIRES HOST display@06REQUIRES HOST input@07REQUIRES HOST touch@08REQUIRES HOST threads@09REQUIRES HOST sockets@010REQUIRES HOST gpu@011REQUIRES HOST clipboard@01213# Godot's editor from the same release on the same platform: it imports a14# project's assets and exports its pack (--headless --import, --export-pack),15# and draws its own window on the page, or on the X server DISPLAY names.16# Without Basis Universal, whose encoder names a header of Linux's that17# Emscripten's libc and Dolly's leave out (sys/timex.h), Jolt Physics, which18# knows WebAssembly only as Emscripten (3D physics is Godot's own), and the19# JSON-RPC module, whose one user is the GDScript language server: it listens20# on TCP, which Dolly does not have.21FROM /Dollyfile-system-tools 7dc08859cff6c590c9bf42278822be15b530cc9d18438481449469995c2bf8fe22USE /demos/ghostty-gtk/Dollyfile-mesa a3623975c6cfb95523781016ac9897ec17dfbb0f6d0912aa8c2b5de9518fffed23USE /demos/x11/Dollyfile-x11-libs 8b046f1893f2800aebb2bcfb1177bb5d57d4a895abc0cf200c9a8ab2e1b4782724USE /demos/tools/Dollyfile-scons 96a8a562d64e97dcfb111ba1a551d5f77720627097c251153c9769e843e4375225USE /Dollyfile-mandoc dbd78781612d0a1e380901d92439cdfa17a919ed6b7f7c316152117382aabdfe26USE /Dollyfile-libdolly-gpu e3d09def5ec1b5113da429c6165bc288646fbd48dda2bdb6471e22e2d8867b3f27USE /Dollyfile-libdolly-sockets 6b09a69a442e3002873b97f13b5ebef36beea3b660a40b55b3a58f8eddf41af028USE /demos/godot/Dollyfile-spirv-wgsl a61eb044758180b58a2f24b5563b5a3a1c5df282752bf6d065862132d873aab329USE /Dollyfile-libdolly-audio a4064796256e039400d5ea30faae6dfeccb9c09d62a8b6dd09daebc16fbf1f7f30USE /Dollyfile-libdolly-clipboard 99746a8bd9b9eb136098753ccc526ac94a14540e6d26082ae8748eb6e3fa08a631USE /demos/x11/Dollyfile-x11-window 9f99f737a7da2b109d25a90add1d9707823b656b91f531c4170dfd1b2339adea32USE /Dollyfile-libdolly-display afbf05e4d39eda376f6195f86762fb635a3effb3f2e5414ef1ffa70b298af91933USE /Dollyfile-libdolly-input 22d9db2a107fd5721f70d9662921b2e3fd9432549056e9e27e0ee36e6a898c8434USE /Dollyfile-libdolly-touch e575ebfcfdeb0bd32c82b34d59b0a25b627a1189a5a5ebdcc930073fe86594f03536REQUIRES TOOL cp37REQUIRES TOOL grep38REQUIRES TOOL gzip39REQUIRES TOOL mkdir40REQUIRES TOOL patch41REQUIRES TOOL rm42REQUIRES TOOL scons43REQUIRES TOOL tar44REQUIRES TOOL test45REQUIRES TOOL text-page4647SOURCE /dist/static/godot/source.tar.gz 6d28a26b223aa17987d3de835690ff642f6d2903080e1da2a183200c8cad3a9d /tmp/godot-source.tar.gz48SLOP gzip -dc /tmp/godot-source.tar.gz | tar -xf - -C /49# Godot's modern renderers take only the drivers main.cpp names; glslang builds beside them;50# Forward+ starts SDFGI only on a device with image atomics, which its voxelization takes.51SLOP CWD /usr/src/godot patch -p1 -i platform/dolly/godot-dolly.patch52# The editor's documentation is stamped with Python's hash() of it (editor/editor_builders.py),53# which Python seeds at random in each process unless PYTHONHASHSEED fixes it.54SLOP CWD /usr/src/godot PYTHONHASHSEED=0 scons -j4 platform=dolly target=editor module_basis_universal_enabled=no \55  module_jolt_physics_enabled=no module_jsonrpc_enabled=no56SLOP cp /usr/src/godot/bin/godot.dolly.editor.wasm64 /usr/bin/godot-editor57SLOP mkdir -p /usr/share/licenses/godot-editor58SLOP cp /usr/src/godot/LICENSE.txt /usr/src/godot/COPYRIGHT.txt /usr/share/licenses/godot-editor59SLOP cp /usr/share/licenses/mesa/license.rst /usr/share/licenses/godot-editor/mesa-license.rst60# Godot's page, which describes the editor, is in section 6; man reads section 1.61SLOP cp /usr/src/godot/misc/dist/linux/godot.6 /tmp/godot-editor.162SLOP text-page /tmp/godot-editor.163SLOP rm -rf /usr/src/godot /tmp/godot-source.tar.gz /tmp/godot-editor.16465# A project whose script reads an SVG the editor imported into the pack it exported.66FILE /tmp/godot-check/project.godot67    config_version=568    [application]69    run/main_scene="res://main.tscn"70FILE /tmp/godot-check/export_presets.cfg71    [preset.0]72    name="Dolly"73    platform="Linux"74    runnable=true75    export_filter="all_resources"76    [preset.0.options]77    custom_template/release=""78FILE /tmp/godot-check/icon.svg79    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="16" height="16" fill="#4080ff"/></svg>80FILE /tmp/godot-check/main.tscn81    [gd_scene format=3]82    [ext_resource type="Script" path="res://main.gd" id="1"]83    [node name="Main" type="Node"]84    script = ExtResource("1")85FILE /tmp/godot-check/main.gd86    extends Node87    func _ready() -> void:88        print("ICON ", load("res://icon.svg").get_size())89        get_tree().quit()90SLOP CWD /tmp/godot-check godot-editor --headless --import91SLOP CWD /tmp/godot-check godot-editor --headless --export-pack Dolly /tmp/godot-check.pck92SLOP CWD /tmp godot-editor --headless --main-pack /tmp/godot-check.pck | grep -qx 'ICON (16.0, 16.0)'9394EXPORTS TOOL godot-editor95FILE /usr/share/licenses/godot-editor/LICENSE.txt96FILE /usr/share/licenses/godot-editor/COPYRIGHT.txt97FILE /usr/share/licenses/godot-editor/mesa-license.rst98FILE /usr/share/man/cat1/godot-editor.199