Move the existing launcher into legacy/
git mv of everything (web/ android/ qt/ wasi/ android-wasm/ tests/ ci/ pixi.toml README) so history follows; legacy/ keeps its own .gitignore and a new root .gitignore starts for the MoonBit project. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7d2bf5996f
commit
66e8e90da1
88 files changed
+138
-10
No files matched your search
@@ -0,0 +1,27 @@
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
project(launcher_wasi C CXX)
|
||||
|
||||
include(${QT2WASM_ROOT}/cmake/Qt2Wasm.cmake)
|
||||
|
||||
set(FONTS_QRC_CPP "${CMAKE_CURRENT_BINARY_DIR}/qrc_fonts.cpp")
|
||||
add_custom_command(
|
||||
OUTPUT "${FONTS_QRC_CPP}"
|
||||
COMMAND "${QT2WASM_QT_PREFIX}/../host/libexec/rcc"
|
||||
--name fonts
|
||||
-o "${FONTS_QRC_CPP}"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/fonts.qrc"
|
||||
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/fonts.qrc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/fonts/DejaVuSans.ttf"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/fonts/DejaVuSans-Bold.ttf"
|
||||
COMMENT "Compiling fonts.qrc"
|
||||
)
|
||||
|
||||
qt2wasm_add_component(launcher GUI
|
||||
SOURCES
|
||||
src/main.cpp
|
||||
src/launcher_window.cpp
|
||||
src/layout.cpp
|
||||
"${FONTS_QRC_CPP}"
|
||||
INCLUDE_DIRS
|
||||
src
|
||||
)
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
QT2WASM_ROOT="${QT2WASM_ROOT:-$(python3 -c 'import qt2wasm, pathlib; print(pathlib.Path(qt2wasm.__file__).parent / "_data")')}"
|
||||
QT2WASM_COMPAT_DIR="${QT2WASM_COMPAT_DIR:-$CONDA_PREFIX/opt/qt6-wasi/compat}"
|
||||
MOC="${QT2WASM_MOC:-$QT_WASI_HOST_PATH/libexec/moc}"
|
||||
|
||||
BUILD_DIR="build"
|
||||
GEN_DIR="$PWD/$BUILD_DIR/gen"
|
||||
mkdir -p "$GEN_DIR/bindings" "$GEN_DIR/runtime"
|
||||
|
||||
# 1. Generate C guest bindings for `world gui` (latha:gui/gui + ultra:launcher/android).
|
||||
wit-bindgen c --world gui --out-dir "$GEN_DIR/bindings" wit
|
||||
|
||||
# 2. Run moc on qt2wasm runtime headers and our window class.
|
||||
"$MOC" "$QT2WASM_ROOT/runtime/wasieventdispatcher.h" -o "$GEN_DIR/runtime/moc_wasieventdispatcher.cpp"
|
||||
"$MOC" "$QT2WASM_ROOT/gui/qt2wasmgui.h" -o "$GEN_DIR/runtime/moc_qt2wasmgui.cpp"
|
||||
"$MOC" "src/launcher_window.h" -o "$GEN_DIR/moc_launcher_window.cpp"
|
||||
|
||||
# 3. Configure and link the core WASI reactor module.
|
||||
cmake -S . -B "$BUILD_DIR" -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_TOOLCHAIN_FILE="$QT2WASM_QT_TOOLCHAIN" \
|
||||
-DQT2WASM_ROOT="$QT2WASM_ROOT" \
|
||||
-DQT2WASM_QT_PREFIX="$QT2WASM_QT_PREFIX" \
|
||||
-DQT2WASM_GEN_DIR="$GEN_DIR" \
|
||||
-DQT2WASM_COMPAT_DIR="$QT2WASM_COMPAT_DIR" \
|
||||
-DQT2WASM_GUI_WORLD=gui \
|
||||
-DQT2WASM_QPA_PLATFORM=qt2wasmgui
|
||||
|
||||
cmake --build "$BUILD_DIR"
|
||||
|
||||
# 4. Wrap as a WASI Preview 2 component.
|
||||
wasm-tools component new "$BUILD_DIR/launcher.core.wasm" \
|
||||
--adapt "wasi_snapshot_preview1=$QT2WASM_ADAPTER" \
|
||||
-o "$BUILD_DIR/launcher.wasm"
|
||||
|
||||
echo "Built $PWD/$BUILD_DIR/launcher.wasm ($(stat -c%s "$BUILD_DIR/launcher.wasm") bytes)"
|
||||
@@ -0,0 +1,6 @@
|
||||
<RCC>
|
||||
<qresource prefix="/qt2wasm/fonts">
|
||||
<file alias="DejaVuSans.ttf">fonts/DejaVuSans.ttf</file>
|
||||
<file alias="DejaVuSans-Bold.ttf">fonts/DejaVuSans-Bold.ttf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,1000 @@
|
||||
version: 7
|
||||
platforms:
|
||||
- name: linux-64
|
||||
virtual-packages:
|
||||
- __unix=0=0
|
||||
- __linux=4.18
|
||||
- __glibc=2.28
|
||||
- __archspec=0=x86_64
|
||||
environments:
|
||||
default:
|
||||
channels:
|
||||
- url: https://prefix.dev/nandi-testing/
|
||||
- url: https://conda.anaconda.org/conda-forge/
|
||||
packages:
|
||||
linux-64:
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/binaryen-121-h5888daf_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/brotli-1.2.1-h505cf86_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/brotli-bin-1.2.1-h9908984_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/cmake-4.5.0-hff7ac6b_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/fonttools-4.68.0-py315h4d0d421_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/markupsafe-3.0.4-py315h4aa9e2b_4.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/ninja-1.13.2-h171cf75_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/pyyaml-6.0.3-py315h178884a_3.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/rhash-1.4.6-hb03c661_2.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/yaml-0.2.5-hebe6cf0_3.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/zensical-0.1.1-py311h7b25dd4_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/_python_abi3_support-1.0-hd8ed1ab_3.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/click-8.5.1-pyh5ded981_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/cpython-3.15.2-py315hd8ed1ab_100.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/jinja2-3.1.6-pyhcf101f3_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/markdown-3.11.3-pyh5ded981_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/munkres-1.1.4-pyhd8ed1ab_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pathspec-1.1.1-pyhd8ed1ab_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pygments-2.21.0-pyhcf101f3_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pymdown-extensions-13.1-pyhd8ed1ab_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/python-gil-3.15.2-h4df99d1_100.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/zensical-ui-0.0.42-pyh5ded981_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/_openmp_mutex-4.5-20_gnu.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/bzip2-1.0.8-hda65f42_10.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/c-ares-1.34.9-hebe6cf0_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/icu-78.3-py310h44b86e0_2.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/jco-1.41.0-hb0f4dca_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/keyutils-1.6.3-h7cc23a3_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/krb5-1.22.2-hbc21106_2.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/ld_impl_linux-64-2.46.1-default_hbd61a6d_103.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libabseil-20260526.0-cxx17_h0dc7533_2.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libbrotlicommon-1.2.1-h39a168f_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libbrotlidec-1.2.1-ha411449_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libbrotlienc-1.2.1-h018ffa1_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libcurl-8.23.0-ha042cf0_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libedit-3.1.20260512-pl5321h373387f_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libev-4.33-h280c20c_3.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libexpat-2.9.0-hd2095e1_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libffi-3.7.0-h81df57d_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libgcc-16.2.0-ha9f2e26_7.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libgomp-16.2.0-he0feb66_7.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/liblzma-5.8.3-hb03c661_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libmpdec-4.0.0-hb03c661_2.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libnghttp2-1.71.0-hc5e5977_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libpsl-0.23.1-hd9e3e90_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libsqlite-3.54.1-h13e7031_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libssh2-1.11.1-h6154650_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libstdcxx-16.2.0-h934c35e_7.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libuuid-2.42.4-hcfc3c73_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libuv-1.52.1-h280c20c_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libzlib-1.3.2-h25fd6f3_3.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/ncurses-6.6-hdb14827_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/nodejs-26.10.0-ha5cdc1e_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/openssl-3.6.5-h781a0a9_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/python-3.15.2-h6e52b48_100_cp315.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/qt6-wasi-6.8.3-hb0f4dca_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/tk-8.6.13-noxft_h1df4ec4_4.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/wasi-sdk-27.0-hb0f4dca_1.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/wasm-tools-1.239.0-hb0f4dca_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/wit-bindgen-0.46.0-hb0f4dca_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/zstd-1.5.7-hb78ec9c_7.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/ca-certificates-2026.10.23-hbd8a1cb_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/importlib-metadata-9.0.1-pyhcf101f3_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/python_abi-3.15-9_cp315.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/qt2wasm-0.10.6-pyh4616a5c_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/tomli-2.5.0-pyh5ded981_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/tzdata-2026e-h5d301ff_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/wasi-preview1-adapter-36.0.0-h4616a5c_0.conda
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/zipp-4.1.2-pyh5ded981_0.conda
|
||||
packages:
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/binaryen-121-h5888daf_0.conda
|
||||
sha256: 01233c9dc409bd6285c03598409d6f9b86aaad88005088b2d72de54ed06d44f1
|
||||
md5: c331a601e8643b96889adbd82961c290
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=13
|
||||
- libstdcxx >=13
|
||||
license: Apache-2.0
|
||||
license_family: APACHE
|
||||
run_exports: {}
|
||||
size: 6054210
|
||||
timestamp: 1734410441026
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/brotli-1.2.1-h505cf86_0.conda
|
||||
sha256: 3efb8e6ac07f12773f02e876567700f554965e33a8e30ee05ddd891c303f7aa3
|
||||
md5: 65f1fc5f6a3a984a8a25641d0e60fc25
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- brotli-bin 1.2.1 h9908984_0
|
||||
- libbrotlidec 1.2.1 ha411449_0
|
||||
- libbrotlienc 1.2.1 h018ffa1_0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libbrotlicommon >=1.2.1,<1.3.0a0
|
||||
- libbrotlienc >=1.2.1,<1.3.0a0
|
||||
- libbrotlidec >=1.2.1,<1.3.0a0
|
||||
size: 20477
|
||||
timestamp: 1792653712185
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/brotli-bin-1.2.1-h9908984_0.conda
|
||||
sha256: c64939f0ade0fea29525d2f549a700841a331c0886b3694083d08eb4769936ce
|
||||
md5: 903eceb31743f0ce070abb9b9f879714
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libbrotlidec 1.2.1 ha411449_0
|
||||
- libbrotlienc 1.2.1 h018ffa1_0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 21494
|
||||
timestamp: 1792653706181
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/cmake-4.5.0-hff7ac6b_0.conda
|
||||
sha256: 515262118596cd67037b345048d2c7d5a400ef218894f749973960b39e5c2a76
|
||||
md5: b57a771ac5a81aa791dbeab4263e92fa
|
||||
depends:
|
||||
- libstdcxx >=15
|
||||
- libgcc >=15
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- bzip2 >=1.0.8,<2.0a0
|
||||
- rhash >=1.4.6,<2.0a0
|
||||
- libexpat >=2.9.0,<3.0a0
|
||||
- liblzma >=5.8.3,<6.0a0
|
||||
- ncurses >=6.6,<7.0a0
|
||||
- zstd >=1.5.7,<1.6.0a0
|
||||
- libcurl >=8.23.0,<9.0a0
|
||||
- libuv >=1.52.1,<2.0a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 27320556
|
||||
timestamp: 1794549486278
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/fonttools-4.68.0-py315h4d0d421_0.conda
|
||||
sha256: f1ca91b02a5153c27e400a6537d6413850da54d4ba0913e3f7f1a0cf42f1e38f
|
||||
md5: 68744252efceeeb7f55638d9d549b0f4
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- brotli
|
||||
- libgcc >=15
|
||||
- munkres
|
||||
- python >=3.15,<3.16.0a0
|
||||
- python_abi 3.15.* *_cp315
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 3349521
|
||||
timestamp: 1793164830929
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/markupsafe-3.0.4-py315h4aa9e2b_4.conda
|
||||
sha256: 5295ef9c4510cc8365c39db60f78b636ab46b925b944f552b1259848cc16927d
|
||||
md5: 718ebfa70a24dd938f999bae19220b7b
|
||||
depends:
|
||||
- python
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
- python_abi 3.15.* *_cp315
|
||||
constrains:
|
||||
- jinja2 >=3.0.0
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 29174
|
||||
timestamp: 1793707103879
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/ninja-1.13.2-h171cf75_1.conda
|
||||
sha256: 2b5f2e865122f9fc0637f520a7cb22e16b9727b2db6761ee16cb5e6404412c81
|
||||
md5: 2db7a395d7dc2b6ed5effaf68fb99443
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libstdcxx >=14
|
||||
- libgcc >=14
|
||||
license: Apache-2.0
|
||||
license_family: APACHE
|
||||
run_exports: {}
|
||||
size: 186767
|
||||
timestamp: 1786713048064
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/pyyaml-6.0.3-py315h178884a_3.conda
|
||||
sha256: 740a7f3a4ce68b31984909cb2412be177e4f8581f0eb28d8cbb19e5ad78f1b3f
|
||||
md5: 8a07113e62a8e7977bb0ff67506442a7
|
||||
depends:
|
||||
- python
|
||||
- yaml
|
||||
- libgcc >=15
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- yaml >=0.2.5,<0.3.0a0
|
||||
- python_abi 3.15.* *_cp315
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 226096
|
||||
timestamp: 1793655133957
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/rhash-1.4.6-hb03c661_2.conda
|
||||
sha256: 186a5b225077ad5f4656966da947d43307101950751ef4a239b455588756b4e1
|
||||
md5: 007602d697e07c11ff9864964eba5ee3
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- rhash >=1.4.6,<2.0a0
|
||||
size: 194994
|
||||
timestamp: 1786731436520
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/yaml-0.2.5-hebe6cf0_3.conda
|
||||
sha256: d164dfa75ecd538f6fd68765defcc06aa875bc697b9b215362d79a2a73125dd0
|
||||
md5: e741576fb8f89821ac7c1c537322a33d
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- yaml >=0.2.5,<0.3.0a0
|
||||
size: 84936
|
||||
timestamp: 1787228426393
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/zensical-0.1.1-py311h7b25dd4_0.conda
|
||||
noarch: python
|
||||
sha256: ebc742d9fb379736ce379d6e1d2750450548ccae25c518b5317e11a9f03168bd
|
||||
md5: 5e4b7d9df92a14258ffed0c31be2abe9
|
||||
depends:
|
||||
- python
|
||||
- click >=8.1.8
|
||||
- markdown >=3.7
|
||||
- pygments >=2.20
|
||||
- pymdown-extensions >=11.0
|
||||
- pyyaml >=6.0.2
|
||||
- tomli >=2.4.0
|
||||
- jinja2 >=3.1
|
||||
- pathspec >=1.0.4
|
||||
- zensical-ui ==0.0.42
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
- _python_abi3_support 1.*
|
||||
- cpython >=3.11
|
||||
constrains:
|
||||
- __glibc >=2.17
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 7813059
|
||||
timestamp: 1794378251094
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/_python_abi3_support-1.0-hd8ed1ab_3.conda
|
||||
sha256: 2a7204314663eeda5dec482a956f0e2eaf289bd5b9953eaaaad0e81aa64638f2
|
||||
md5: 3845f3d75991bae0fb90884662f4327c
|
||||
depends:
|
||||
- cpython
|
||||
- python-gil
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 8144
|
||||
timestamp: 1784221492234
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/click-8.5.1-pyh5ded981_0.conda
|
||||
sha256: f26981878e8ccdc82fc9025d25997aff119080486e5d089948cb718d428d8cb0
|
||||
md5: d996564510ceb5744c225b93891316dc
|
||||
depends:
|
||||
- python >=3.11
|
||||
- python
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 112921
|
||||
timestamp: 1794046236533
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/cpython-3.15.2-py315hd8ed1ab_100.conda
|
||||
noarch: generic
|
||||
sha256: 5433d0f101e153f35b99809cf81bd04ebf8d6a97c07af9ea2f5c998d624d6fe7
|
||||
md5: 6c0b7c2ddf16d1a1dabfa0847641b518
|
||||
depends:
|
||||
- python >=3.15,<3.16.0a0
|
||||
- python_abi * *_cp315
|
||||
license: Python-2.0
|
||||
run_exports: {}
|
||||
size: 52891
|
||||
timestamp: 1793014812118
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/jinja2-3.1.6-pyhcf101f3_1.conda
|
||||
sha256: fc9ca7348a4f25fed2079f2153ecdcf5f9cf2a0bc36c4172420ca09e1849df7b
|
||||
md5: 04558c96691bed63104678757beb4f8d
|
||||
depends:
|
||||
- markupsafe >=2.0
|
||||
- python >=3.10
|
||||
- python
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 120685
|
||||
timestamp: 1764517220861
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/markdown-3.11.3-pyh5ded981_0.conda
|
||||
sha256: 00d8eab9985c4c23b4a6f3c4e6c89e220b18a54e80b07fcc73fba3fac007f067
|
||||
md5: 3b24b328ea4593136b77ec4b7b2bec74
|
||||
depends:
|
||||
- importlib-metadata >=4.4
|
||||
- python >=3.11
|
||||
- python
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 91718
|
||||
timestamp: 1793922176577
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/munkres-1.1.4-pyhd8ed1ab_1.conda
|
||||
sha256: d09c47c2cf456de5c09fa66d2c3c5035aa1fa228a1983a433c47b876aa16ce90
|
||||
md5: 37293a85a0f4f77bbd9cf7aaefc62609
|
||||
depends:
|
||||
- python >=3.9
|
||||
license: Apache-2.0
|
||||
license_family: Apache
|
||||
run_exports: {}
|
||||
size: 15851
|
||||
timestamp: 1749895533014
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pathspec-1.1.1-pyhd8ed1ab_0.conda
|
||||
sha256: 6eaee417d33f298db79bc7185ab1208604c0e6cf51dade34cd513c6f9db9c6f3
|
||||
md5: 11adc78451c998c0fd162584abfa3559
|
||||
depends:
|
||||
- python >=3.10
|
||||
license: MPL-2.0
|
||||
license_family: MOZILLA
|
||||
run_exports: {}
|
||||
size: 56559
|
||||
timestamp: 1777271601895
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pygments-2.21.0-pyhcf101f3_0.conda
|
||||
sha256: f5f015ff1bc3e1b7fc08eee096b1865234189ae0b82bebdb86a5369116e42fa0
|
||||
md5: 2882dee445dfa45b0c5afce3ffb7730a
|
||||
depends:
|
||||
- python >=3.10
|
||||
- python
|
||||
license: BSD-2-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 959376
|
||||
timestamp: 1786995678795
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pymdown-extensions-13.1-pyhd8ed1ab_0.conda
|
||||
sha256: 78804f8a554cee0dc29545760a8ac92f798c35ded9623496f7d0a0f7e77b3004
|
||||
md5: 76c6f01aa602a93377f74b246caf4fb5
|
||||
depends:
|
||||
- markdown >=3.10.3
|
||||
- python >=3.11
|
||||
- pyyaml
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 185558
|
||||
timestamp: 1794435013218
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/python-gil-3.15.2-h4df99d1_100.conda
|
||||
sha256: 631a77b41660202c5d4d551aa1816ce550cc6921352ca3d57ac58d0364cab670
|
||||
md5: beef54f8f4201e9f86f8733cef15506d
|
||||
depends:
|
||||
- cpython 3.15.2.*
|
||||
- python_abi * *_cp315
|
||||
license: Python-2.0
|
||||
run_exports: {}
|
||||
size: 52881
|
||||
timestamp: 1793014838911
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/zensical-ui-0.0.42-pyh5ded981_0.conda
|
||||
sha256: ffcf5a93a8d57d248f2ec4b817fd7025ec38a4ad320acb3e382e22b6f2705edd
|
||||
md5: d66c10adf1915fd628db043f3aed8715
|
||||
depends:
|
||||
- python >=3.11
|
||||
- python
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 4721527
|
||||
timestamp: 1794336711109
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/_openmp_mutex-4.5-20_gnu.conda
|
||||
build_number: 20
|
||||
sha256: 1dd3fffd892081df9726d7eb7e0dea6198962ba775bd88842135a4ddb4deb3c9
|
||||
md5: a9f577daf3de00bca7c3c76c0ecbd1de
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgomp >=7.5.0
|
||||
constrains:
|
||||
- openmp_impl <0.0a0
|
||||
license: BSD-3-Clause
|
||||
run_exports:
|
||||
strong:
|
||||
- _openmp_mutex >=4.5
|
||||
size: 28948
|
||||
timestamp: 1770939786096
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/bzip2-1.0.8-hda65f42_10.conda
|
||||
sha256: 1a0d382c515ebf55f8ee1f38c8b81bc95af5c2acc42ad53b66bc5df932032f96
|
||||
md5: e675fabcf81499adc7edf58124fb1e01
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
license: bzip2-1.0.6
|
||||
license_family: BSD
|
||||
run_exports:
|
||||
weak:
|
||||
- bzip2 >=1.0.8,<2.0a0
|
||||
size: 257808
|
||||
timestamp: 1785906269155
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/c-ares-1.34.9-hebe6cf0_0.conda
|
||||
sha256: bd95dd25b80b5c4faf5349542377bf89b2794e23d0f7aa7f1c431e4f3b633f3c
|
||||
md5: 78b505af04bf7a87ca957ef0cb5946f5
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- c-ares >=1.34.9,<2.0a0
|
||||
size: 233759
|
||||
timestamp: 1792507024648
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/icu-78.3-py310h44b86e0_2.conda
|
||||
sha256: 9f07834f0c546ab14d885ce0366285f61f44e326c0edd1fc63b8294e113ae432
|
||||
md5: 72a381cbad04f24b1c2a43ef707f45b4
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libstdcxx >=14
|
||||
- libgcc >=14
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- icu >=78.3,<79.0a0
|
||||
size: 14459115
|
||||
timestamp: 1786545741408
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/jco-1.41.0-hb0f4dca_0.conda
|
||||
sha256: a1d13934c0deda1fe1b87477b09bdfbbe0a15f7d0853e86770298f99a48d0eb1
|
||||
md5: f604ca17ec935c985f91a5efe179be06
|
||||
depends:
|
||||
- nodejs >=20
|
||||
license: Apache-2.0 WITH LLVM-exception
|
||||
run_exports: {}
|
||||
size: 76812028
|
||||
timestamp: 1794351630770
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/keyutils-1.6.3-h7cc23a3_1.conda
|
||||
sha256: dd053c96dcb0dcfd59422aefea9d2fe937a190167f34fba7893ec1e10a7e8963
|
||||
md5: ba55d1b89fd7775e67de8291029b4059
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
license: LGPL-2.1-or-later
|
||||
run_exports:
|
||||
weak:
|
||||
- keyutils >=1.6.3,<2.0a0
|
||||
size: 135295
|
||||
timestamp: 1786739238128
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/krb5-1.22.2-hbc21106_2.conda
|
||||
sha256: 2a5c38c85e63df84c4e69ee71439841ce570d259ae3060627bb9a49a938d66f4
|
||||
md5: 53318d715316929a574f83591308b1f8
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- keyutils >=1.6.3,<2.0a0
|
||||
- libedit >=3.1.20250104,<3.2.0a0
|
||||
- libedit >=3.1.20250104,<4.0a0
|
||||
- libgcc >=15
|
||||
- libstdcxx >=15
|
||||
- openssl >=3.5.7,<4.0a0
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- krb5 >=1.22.2,<1.23.0a0
|
||||
size: 1394333
|
||||
timestamp: 1786762112514
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/ld_impl_linux-64-2.46.1-default_hbd61a6d_103.conda
|
||||
sha256: 901649b1edbe841fd4ee7e2d491a05184ed540eb01cdae506872f344babc1d28
|
||||
md5: 2362c70e7e79827c32db35547d9c179b
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- zstd >=1.5.7,<1.6.0a0
|
||||
constrains:
|
||||
- binutils_impl_linux-64 2.46.1
|
||||
license: GPL-3.0-only
|
||||
run_exports: {}
|
||||
size: 742109
|
||||
timestamp: 1791565468810
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libabseil-20260526.0-cxx17_h0dc7533_2.conda
|
||||
sha256: 7bb3d495411b7059e85225aae500d84e7846a4bb02ebd77e4450200b20c180f0
|
||||
md5: 6983bfe8e09992014b9cf393769c7a84
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
- libstdcxx >=14
|
||||
constrains:
|
||||
- abseil-cpp =20260526.0
|
||||
- libabseil-static =20260526.0=cxx17*
|
||||
license: Apache-2.0
|
||||
license_family: Apache
|
||||
run_exports:
|
||||
weak:
|
||||
- libabseil >=20260526.0,<20260527.0a0
|
||||
- libabseil =*=cxx17*
|
||||
size: 1436888
|
||||
timestamp: 1787217011773
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libbrotlicommon-1.2.1-h39a168f_0.conda
|
||||
sha256: 8eccfbfdb8ecba32eabfb6ee92f70e818e5f3a35a01c507f7b6bd56e00e4c617
|
||||
md5: 9460bdde20bcdf9e6bbef0232b14ad2d
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libbrotlicommon >=1.2.1,<1.3.0a0
|
||||
size: 80370
|
||||
timestamp: 1792653685570
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libbrotlidec-1.2.1-ha411449_0.conda
|
||||
sha256: 4b4bda6f70ad511bdff95fdd958dca74b6e0534ae335ddcb1d8c6569774d2429
|
||||
md5: 6d934e235f4d452ebec720ec7c3638a6
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libbrotlicommon 1.2.1 h39a168f_0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libbrotlidec >=1.2.1,<1.3.0a0
|
||||
size: 34703
|
||||
timestamp: 1792653694124
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libbrotlienc-1.2.1-h018ffa1_0.conda
|
||||
sha256: 61974cf9bb07115ed6725dacf83d0d985443d78dd123cc4f2758856fda5376ec
|
||||
md5: 8f3078564b4a4cd9602ebaafe78e0b87
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libbrotlicommon 1.2.1 h39a168f_0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libbrotlienc >=1.2.1,<1.3.0a0
|
||||
size: 298098
|
||||
timestamp: 1792653699767
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libcurl-8.23.0-ha042cf0_0.conda
|
||||
sha256: d2db14d80efb4f2e76e76561c633f1767f7543987f2bcb54a067a9d264d432ab
|
||||
md5: 0ad16151226df493aed967f0efce0e80
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- krb5 >=1.22.2,<1.23.0a0
|
||||
- libgcc >=15
|
||||
- libnghttp2 >=1.68.1,<2.0a0
|
||||
- libpsl >=0.23.1,<0.24.0a0
|
||||
- libssh2 >=1.11.1,<2.0a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
- openssl >=3.5.9,<4.0a0
|
||||
- zstd >=1.5.7,<1.6.0a0
|
||||
license: curl
|
||||
license_family: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libcurl >=8.23.0,<9.0a0
|
||||
size: 505683
|
||||
timestamp: 1791990900844
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libedit-3.1.20260512-pl5321h373387f_0.conda
|
||||
sha256: 45301f14f4eb66da57cfaf2d265f3eeee73f8b07e99614ee3afc5b26eea91126
|
||||
md5: 27dbd7e2984b8fe48e069379636ccfdd
|
||||
depends:
|
||||
- ncurses
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
- ncurses >=6.6,<7.0a0
|
||||
license: BSD-2-Clause
|
||||
run_exports:
|
||||
weak:
|
||||
- libedit >=3.1.20260512,<3.2.0a0
|
||||
size: 135877
|
||||
timestamp: 1791327370514
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libev-4.33-h280c20c_3.conda
|
||||
sha256: e4418f68d01a6307c4431b585c71b584f40189877364e542ee87deb777f5e85b
|
||||
md5: 7bc31538d6e3fb349e897353969237ec
|
||||
depends:
|
||||
- libgcc >=14
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
license: BSD-2-Clause OR GPL-2.0-or-later
|
||||
run_exports:
|
||||
weak:
|
||||
- libev >=4.33,<4.34.0a0
|
||||
size: 43220
|
||||
timestamp: 1785917328200
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libexpat-2.9.0-hd2095e1_0.conda
|
||||
sha256: 7b930a8b6bc6553cb754b4977a11f9c862c719a652fc2d128d89270992ce8beb
|
||||
md5: 317ecabe4a58b3068c7958dc5eb89e43
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
constrains:
|
||||
- expat 2.9.0.*
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 78894
|
||||
timestamp: 1793054221966
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libffi-3.7.0-h81df57d_1.conda
|
||||
sha256: c8c7583ef063bc3c430f1d48298e5ad24f796a35c22ed5b14183325825a61106
|
||||
md5: 6525a0b06aa4fd390795f0740636a9dd
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libffi >=3.7.0,<3.8.0a0
|
||||
size: 68004
|
||||
timestamp: 1787753412298
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libgcc-16.2.0-ha9f2e26_7.conda
|
||||
sha256: e031634c3a928f9594eba868bc46ef5230d6571a364a0c63215b06c4563bfcea
|
||||
md5: 735629b400b70eeab21a2ba8f5b1c2ce
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- _openmp_mutex >=4.5
|
||||
constrains:
|
||||
- libgcc-ng ==16.2.0=*_7
|
||||
- libgomp 16.2.0 he0feb66_7
|
||||
license: GPL-3.0-only WITH GCC-exception-3.1
|
||||
run_exports: {}
|
||||
size: 1058444
|
||||
timestamp: 1790303109576
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libgomp-16.2.0-he0feb66_7.conda
|
||||
sha256: 92a0bb350c7be6a4eedcb4e111c60aefd176018e6b1c009a6e025dbe9bbcd758
|
||||
md5: d904c7ddd95e026254b4b80808ee9e12
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
license: GPL-3.0-only WITH GCC-exception-3.1
|
||||
run_exports:
|
||||
strong:
|
||||
- _openmp_mutex >=4.5
|
||||
size: 640566
|
||||
timestamp: 1790303046034
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/liblzma-5.8.3-hb03c661_1.conda
|
||||
sha256: 9787df8c22a59c9a70d3e5a10db9ad663485e75e9ccc3f09bd092cb7b95e0dab
|
||||
md5: 1390b7c5ac0b1d8e447bc5efa6d3c8c2
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
constrains:
|
||||
- xz 5.8.3.*
|
||||
license: 0BSD
|
||||
run_exports:
|
||||
weak:
|
||||
- liblzma >=5.8.3,<6.0a0
|
||||
size: 112995
|
||||
timestamp: 1786348617826
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libmpdec-4.0.0-hb03c661_2.conda
|
||||
sha256: 46820b4a835e175940ae20bec00fdddaff804cda27a1408ab1b95e77a2196437
|
||||
md5: fcfed1dc5053eb1901b66e7b1fc32588
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
license: BSD-2-Clause
|
||||
run_exports: {}
|
||||
size: 92759
|
||||
timestamp: 1786650399772
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libnghttp2-1.71.0-hc5e5977_0.conda
|
||||
sha256: a4386712ad6d5bc18943b198407c39e2f8ae2fa9c6418bb37bba96f1d382f109
|
||||
md5: 726df214814a8b06135a6a674bc54589
|
||||
depends:
|
||||
- libev >=4.33,<5.0a0
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
- libstdcxx >=15
|
||||
- libev >=4.33,<4.34.0a0
|
||||
- c-ares >=1.34.9,<2.0a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
- openssl >=3.5.9,<4.0a0
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libnghttp2 >=1.71.0,<2.0a0
|
||||
size: 822778
|
||||
timestamp: 1793628201366
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libpsl-0.23.1-hd9e3e90_1.conda
|
||||
sha256: 09e8effdc89bc5d021349318d32b85594f5b8d8e3ab8f90a85b81f8fe695a566
|
||||
md5: 77be60417aa572afcb48cbe0f967401d
|
||||
depends:
|
||||
- libstdcxx >=15
|
||||
- libgcc >=15
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- icu >=78.3,<79.0a0
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libpsl >=0.23.1,<0.24.0a0
|
||||
size: 72519
|
||||
timestamp: 1786970753847
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libsqlite-3.54.1-h13e7031_0.conda
|
||||
sha256: 07b3c98282022f05781122d073f84e944bfb4299946e8457ece3ce6c384ff78e
|
||||
md5: 8f15f0ec9b69344df5c3bb5cce1751a1
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- icu >=78.3,<79.0a0
|
||||
- libgcc >=15
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
license: blessing
|
||||
run_exports:
|
||||
weak:
|
||||
- libsqlite >=3.54.1,<4.0a0
|
||||
size: 983668
|
||||
timestamp: 1792175587601
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libssh2-1.11.1-h6154650_1.conda
|
||||
sha256: 7e463000fa1cba3f3a6597b776f6ab301d425a96e3bc20d0d9d76a3b9f237aa3
|
||||
md5: 5c526561e1d2a2e071941174eae84557
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
- openssl >=3.5.7,<4.0a0
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports:
|
||||
weak:
|
||||
- libssh2 >=1.11.1,<2.0a0
|
||||
size: 306045
|
||||
timestamp: 1786713107897
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libstdcxx-16.2.0-h934c35e_7.conda
|
||||
sha256: fa7018298629fc429971fffd6ecba3d27a7b02e4e890d6a93ea01ffebe8cb745
|
||||
md5: 9b6707e0caca917fa6ea9ee473f37a5d
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc 16.2.0 ha9f2e26_7
|
||||
constrains:
|
||||
- libstdcxx-ng ==16.2.0=*_7
|
||||
license: GPL-3.0-only WITH GCC-exception-3.1
|
||||
run_exports: {}
|
||||
size: 6615436
|
||||
timestamp: 1790303132935
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libuuid-2.42.4-hcfc3c73_1.conda
|
||||
sha256: 0e2e8f2daa9306e67f046e31092d637431d8cf0a26c407ab22401d108c2d4631
|
||||
md5: d852293faea3c04a6e896b908b43aded
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=15
|
||||
license: BSD-3-Clause
|
||||
run_exports:
|
||||
weak:
|
||||
- libuuid >=2.42.4,<3.0a0
|
||||
size: 36134
|
||||
timestamp: 1793891599274
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libuv-1.52.1-h280c20c_1.conda
|
||||
sha256: 67761d0206f84140047a367eaf9befe03a7e157a29ee25aee0047b40801cc6b6
|
||||
md5: 01c4ed87826af55996768af6dbc936b4
|
||||
depends:
|
||||
- libgcc >=14
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- libuv >=1.52.1,<2.0a0
|
||||
size: 420040
|
||||
timestamp: 1785914567661
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/libzlib-1.3.2-h25fd6f3_3.conda
|
||||
sha256: eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736
|
||||
md5: 0de0122d9570a8ab637c6b73db268389
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
constrains:
|
||||
- zlib 1.3.2 *_3
|
||||
license: Zlib
|
||||
license_family: Other
|
||||
run_exports:
|
||||
weak:
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
size: 63713
|
||||
timestamp: 1785362952714
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/ncurses-6.6-hdb14827_1.conda
|
||||
sha256: 5d46557214ed184381dafe835b7c94a474a1c3b307a08a250b1ea4779b44ffb3
|
||||
md5: ee6c0cd80a60961a1f48aa3e0b91f986
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
license: X11 AND BSD-3-Clause
|
||||
run_exports:
|
||||
weak:
|
||||
- ncurses >=6.6,<7.0a0
|
||||
size: 911196
|
||||
timestamp: 1786355078102
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/nodejs-26.10.0-ha5cdc1e_0.conda
|
||||
sha256: ea1ae98c7352198d6d6a4027f4a60d2b634e05d5fd6f0b97e72fc6c16712b2c7
|
||||
md5: 46a3d9861f49b845fbd54897ff07fe4f
|
||||
depends:
|
||||
- libgcc >=15
|
||||
- __glibc >=2.28,<3.0.a0
|
||||
- libstdcxx >=15
|
||||
- zstd >=1.5.7,<1.6.0a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
- libuv >=1.52.1,<2.0a0
|
||||
- openssl >=3.5.8,<4.0a0
|
||||
- libnghttp2 >=1.68.1,<2.0a0
|
||||
- libabseil >=20260526.0,<20260527.0a0
|
||||
- libabseil * cxx17*
|
||||
- icu >=78.3,<79.0a0
|
||||
- c-ares >=1.34.8,<2.0a0
|
||||
- libsqlite >=3.53.4,<4.0a0
|
||||
- libbrotlicommon >=1.2.0,<1.3.0a0
|
||||
- libbrotlienc >=1.2.0,<1.3.0a0
|
||||
- libbrotlidec >=1.2.0,<1.3.0a0
|
||||
license: MIT
|
||||
run_exports:
|
||||
weak:
|
||||
- nodejs >=26.10.0,<27.0a0
|
||||
size: 20474429
|
||||
timestamp: 1790238478566
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/openssl-3.6.5-h781a0a9_0.conda
|
||||
sha256: 9c1533f1cf784f0e250919c0c9762d0b0e6bc727a79290ffb7cea1ceca1d038c
|
||||
md5: 5a51a2ea653f120240b1a9bf76e0aae9
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- ca-certificates
|
||||
- libgcc >=15
|
||||
license: Apache-2.0
|
||||
license_family: Apache
|
||||
run_exports:
|
||||
weak:
|
||||
- openssl >=3.6.5,<4.0a0
|
||||
size: 3195299
|
||||
timestamp: 1791098052301
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/python-3.15.2-h6e52b48_100_cp315.conda
|
||||
build_number: 100
|
||||
sha256: dd6fdef748df5636029673a834ca3632ce44c86d71e4986d70bcdb2ae5607a25
|
||||
md5: 38c3edc23439db3ca383be02ae2b702e
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- bzip2 >=1.0.8,<2.0a0
|
||||
- ld_impl_linux-64 >=2.36.1
|
||||
- libedit >=3.1.20260512,<3.2.0a0
|
||||
- libexpat >=2.8.5,<3.0a0
|
||||
- libffi >=3.7.0,<3.8.0a0
|
||||
- libgcc >=15
|
||||
- liblzma >=5.8.3,<6.0a0
|
||||
- libmpdec >=4.0.0,<5.0a0
|
||||
- libsqlite >=3.54.1,<4.0a0
|
||||
- libuuid >=2.42.4,<3.0a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
- ncurses >=6.6,<7.0a0
|
||||
- openssl >=3.5.9,<4.0a0
|
||||
- python_abi 3.15.* *_cp315
|
||||
- tk >=8.6.13,<8.7.0a0
|
||||
- tzdata
|
||||
- zstd >=1.5.7,<1.6.0a0
|
||||
license: Python-2.0
|
||||
run_exports:
|
||||
weak:
|
||||
- python_abi 3.15.* *_cp315
|
||||
noarch:
|
||||
- python
|
||||
size: 29327137
|
||||
timestamp: 1793015518763
|
||||
python_site_packages_path: lib/python3.15/site-packages
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/qt6-wasi-6.8.3-hb0f4dca_0.conda
|
||||
sha256: 2e4fbae5c9cadf88828935715572474256cb6500d664f0b3214df98b49fa84e9
|
||||
md5: 1f76619fb958e5df8dcc62480912857d
|
||||
depends:
|
||||
- wasi-sdk 27.*
|
||||
- cmake >=3.21
|
||||
- ninja
|
||||
- libgcc >=16
|
||||
- libstdcxx >=16
|
||||
license: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
run_exports: {}
|
||||
size: 20849123
|
||||
timestamp: 1794274326934
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/tk-8.6.13-noxft_h1df4ec4_4.conda
|
||||
build_number: 104
|
||||
sha256: a1a241d172c1ccab067ba245206dd048bc3c2d1b84504b53c9468e99adfc16a1
|
||||
md5: 676a2f9b1c4fcf57b70aa5c65f6c60d0
|
||||
depends:
|
||||
- libgcc >=15
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
constrains:
|
||||
- xorg-libx11 >=1.8.13,<2.0a0
|
||||
license: TCL
|
||||
run_exports:
|
||||
weak:
|
||||
- tk >=8.6.13,<8.7.0a0
|
||||
size: 3566806
|
||||
timestamp: 1787272857910
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/wasi-sdk-27.0-hb0f4dca_1.conda
|
||||
sha256: e8f23f48de592aadf0ae773bc0feda1a46de174b8f49b85006c6ea06e86b8a5b
|
||||
md5: 0054d5f0e3da6fc37d6510157fbcc03b
|
||||
license: Apache-2.0 WITH LLVM-exception
|
||||
run_exports: {}
|
||||
size: 100198008
|
||||
timestamp: 1794273876363
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/wasm-tools-1.239.0-hb0f4dca_0.conda
|
||||
sha256: 649e7ba5b6476e7ffb4b1d093bc1c22355258693013145e7659e3ee29d8ee40c
|
||||
md5: aea1c6d0cc71e9027022bcd2856e6b61
|
||||
license: Apache-2.0 WITH LLVM-exception
|
||||
run_exports: {}
|
||||
size: 5669897
|
||||
timestamp: 1794274014481
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/wit-bindgen-0.46.0-hb0f4dca_0.conda
|
||||
sha256: 48132c985e85cc499e9dc9c899a6da0947c923938d6d0595a78ea780f0941df5
|
||||
md5: e54e97c7f9a0690d2a13c2e1e2cf82d1
|
||||
license: Apache-2.0 WITH LLVM-exception
|
||||
run_exports: {}
|
||||
size: 5453568
|
||||
timestamp: 1794273951520
|
||||
- conda: https://prefix.dev/nandi-testing/linux-64/zstd-1.5.7-hb78ec9c_7.conda
|
||||
sha256: 47d682b9f6d6ec9eb1a6e6c3e75ea6273e899e78fb7fc59f81d39745009fbc60
|
||||
md5: aa459086047c0e5e27023ab19f8cb86a
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libzlib >=1.3.2,<2.0a0
|
||||
license: BSD-3-Clause
|
||||
run_exports:
|
||||
weak:
|
||||
- zstd >=1.5.7,<1.6.0a0
|
||||
size: 601301
|
||||
timestamp: 1786599621503
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/ca-certificates-2026.10.23-hbd8a1cb_0.conda
|
||||
sha256: 95619b9c1184be7175392eeb0ee7eeb5ccf25d280951f4225f2d62e725790be3
|
||||
md5: 3fd02989038a1e1cee627c14c2d73f29
|
||||
depends:
|
||||
- __unix
|
||||
license: ISC
|
||||
run_exports: {}
|
||||
size: 130057
|
||||
timestamp: 1792772446739
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/importlib-metadata-9.0.1-pyhcf101f3_0.conda
|
||||
sha256: 95a074a7d3f58b3494c068d4789c364dcb591c56b70ca6b12f149a540f9aeea4
|
||||
md5: 77ec68e0aa61c3fff9ecbf840f93d64e
|
||||
depends:
|
||||
- python >=3.10
|
||||
- zipp >=3.20
|
||||
- python
|
||||
license: Apache-2.0
|
||||
run_exports: {}
|
||||
size: 34920
|
||||
timestamp: 1787943971257
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/python_abi-3.15-9_cp315.conda
|
||||
build_number: 9
|
||||
sha256: 976c4a6db967a62385aa633daaab19a929f986b979a7ad836b8b70e15ca7aefd
|
||||
md5: b23461631fe2abdbade0cb64babe7344
|
||||
constrains:
|
||||
- python 3.15.* *_cp315
|
||||
license: BSD-3-Clause
|
||||
license_family: BSD
|
||||
run_exports: {}
|
||||
size: 6800
|
||||
timestamp: 1788302827589
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/qt2wasm-0.10.6-pyh4616a5c_0.conda
|
||||
sha256: 54c4ee91b29d1052cc2c95881b45b3ed7282665e9ca3fdf76820dd102cd8e202
|
||||
md5: 09279c4ecd79abf9642ae733faaf4ebb
|
||||
depends:
|
||||
- python >=3.10
|
||||
- python *
|
||||
- cmake >=3.21
|
||||
- ninja
|
||||
- binaryen
|
||||
- fonttools
|
||||
- qt6-wasi 6.8.3.*
|
||||
- wit-bindgen 0.46.*
|
||||
- wasm-tools 1.239.*
|
||||
- wasi-preview1-adapter 36.*
|
||||
- zensical >=0.1
|
||||
- jco 1.41.*
|
||||
run_exports: {}
|
||||
size: 74111
|
||||
timestamp: 1794580144578
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/tomli-2.5.0-pyh5ded981_0.conda
|
||||
sha256: 93b6f517fb7adff00b62be02b798d384a1b34d0e368fdb576fb248bcb3bb9ec7
|
||||
md5: 36d6a162326c52d6339c8b606f43932d
|
||||
depends:
|
||||
- python >=3.11
|
||||
- python
|
||||
license: MIT
|
||||
run_exports: {}
|
||||
size: 21687
|
||||
timestamp: 1791394576814
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/tzdata-2026e-h5d301ff_0.conda
|
||||
sha256: 2b7ca858879f183ce2dcc65b300f48a0133d5430550f35b23d80d405a0788dbf
|
||||
md5: abccc3810d2b97e570dee487f2b46e38
|
||||
license: LicenseRef-Public-Domain
|
||||
run_exports: {}
|
||||
size: 119208
|
||||
timestamp: 1792758382821
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/wasi-preview1-adapter-36.0.0-h4616a5c_0.conda
|
||||
sha256: 0b1610b24de6cc92d12db20b13e14fe1f989bc43543c972a1b372c0f069a797b
|
||||
md5: b9137fc4706585a3da7f55c72f93d309
|
||||
license: Apache-2.0 WITH LLVM-exception
|
||||
run_exports: {}
|
||||
size: 19423
|
||||
timestamp: 1794274078296
|
||||
- conda: https://prefix.dev/nandi-testing/noarch/zipp-4.1.2-pyh5ded981_0.conda
|
||||
sha256: 4e5c50cf5ecc00d83a20b987c52d49b78fa96026437ab09b11f4b7c46b7fc061
|
||||
md5: 3a99defa674883e167603f141728de7e
|
||||
depends:
|
||||
- python >=3.11
|
||||
- python
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
run_exports: {}
|
||||
size: 24791
|
||||
timestamp: 1792622774790
|
||||
@@ -0,0 +1,12 @@
|
||||
[workspace]
|
||||
name = "ultra-launcher-wasi"
|
||||
channels = ["https://prefix.dev/nandi-testing", "conda-forge"]
|
||||
platforms = ["linux-64"]
|
||||
|
||||
[dependencies]
|
||||
qt2wasm = "*"
|
||||
cmake = "*"
|
||||
ninja = "*"
|
||||
|
||||
[tasks]
|
||||
build = { cmd = "bash build.sh", description = "Build launcher.wasm (WASI component)" }
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,122 @@
|
||||
#pragma once
|
||||
|
||||
#include "layout.h"
|
||||
|
||||
#include <QBasicTimer>
|
||||
#include <QHash>
|
||||
#include <QImage>
|
||||
#include <QPointF>
|
||||
#include <QRasterWindow>
|
||||
#include <QSet>
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
#include <QElapsedTimer>
|
||||
|
||||
struct AppInfo {
|
||||
QString label;
|
||||
QString component;
|
||||
bool system = false;
|
||||
};
|
||||
|
||||
struct WidgetProviderInfo {
|
||||
QString provider;
|
||||
QString label;
|
||||
int w = 2;
|
||||
int h = 2;
|
||||
};
|
||||
|
||||
class LauncherWindow : public QRasterWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
LauncherWindow();
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
void mousePressEvent(QMouseEvent *event) override;
|
||||
void mouseMoveEvent(QMouseEvent *event) override;
|
||||
void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
void wheelEvent(QWheelEvent *event) override;
|
||||
void keyPressEvent(QKeyEvent *event) override;
|
||||
void timerEvent(QTimerEvent *event) override;
|
||||
|
||||
private:
|
||||
enum class SheetKind { None, Menu, HomeItem, DrawerApp, Widgets };
|
||||
|
||||
void pollHostEvents();
|
||||
void refreshInsets();
|
||||
void refreshApps();
|
||||
void refreshWidgetProviders();
|
||||
void loadHome();
|
||||
void seedDefaultHome();
|
||||
void saveHome() const;
|
||||
QImage iconFor(const QString &component, int px);
|
||||
|
||||
// Geometry helpers (logical px)
|
||||
qreal insetTop() const;
|
||||
qreal insetBottom() const;
|
||||
qreal contentW() const;
|
||||
qreal contentX() const;
|
||||
qreal gridX() const;
|
||||
qreal gridW() const;
|
||||
int homeCols() const;
|
||||
qreal homeColW() const;
|
||||
qreal panelY() const;
|
||||
qreal gridTop() const;
|
||||
QRectF appsPillRect() const;
|
||||
QRectF drawerSearchRect() const;
|
||||
QRectF drawerCloseRect() const;
|
||||
QRectF drawerClearRect() const;
|
||||
QVector<AppInfo> filteredApps() const;
|
||||
int hitHomeSlot(const QPointF &pos) const;
|
||||
int hitDrawerApp(const QPointF &pos) const;
|
||||
int hitSheetButton(const QPointF &pos) const;
|
||||
|
||||
void openDrawer();
|
||||
void closeDrawer();
|
||||
void openSheet(SheetKind kind, int index);
|
||||
void closeSheet();
|
||||
void triggerSheetAction(int actionIdx);
|
||||
|
||||
void drawHome(QPainter &p);
|
||||
void drawDrawer(QPainter &p);
|
||||
void drawSheet(QPainter &p);
|
||||
void drawIconAndLabel(QPainter &p, const QRectF &box, const QString &component,
|
||||
const QString &label, int iconSize, bool lifted);
|
||||
|
||||
// Host state
|
||||
int m_physInsetTop = 0;
|
||||
int m_physInsetBottom = 0;
|
||||
QVector<AppInfo> m_apps;
|
||||
QHash<QString, int> m_appIndex;
|
||||
QVector<Layout::HomeSlot> m_home;
|
||||
QVector<WidgetProviderInfo> m_providers;
|
||||
QHash<QString, QImage> m_icons;
|
||||
QSet<QString> m_missingIcons;
|
||||
QString m_lastPlacedWidgets;
|
||||
bool m_lastWidgetsVisible = true;
|
||||
|
||||
// UI state
|
||||
bool m_drawerOpen = false;
|
||||
qreal m_drawerScroll = 0.0;
|
||||
qreal m_homeScroll = 0.0;
|
||||
QString m_search;
|
||||
bool m_searchFocused = false;
|
||||
SheetKind m_sheet = SheetKind::None;
|
||||
int m_sheetIndex = -1;
|
||||
|
||||
// Pointer / gesture tracking
|
||||
bool m_pressed = false;
|
||||
bool m_dragging = false;
|
||||
bool m_longPressed = false;
|
||||
int m_pressedHome = -1;
|
||||
int m_pressedDrawer = -1;
|
||||
int m_liftedHome = -1;
|
||||
QPointF m_pressPos;
|
||||
QPointF m_lastPos;
|
||||
QPointF m_liftPos;
|
||||
QElapsedTimer m_pressTimer;
|
||||
QBasicTimer m_pollTimer;
|
||||
QBasicTimer m_longPressTimer;
|
||||
};
|
||||
@@ -0,0 +1,87 @@
|
||||
#include "layout.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
namespace Layout {
|
||||
|
||||
PackedGrid packHome(const QVector<HomeSlot> &items, int cols, const QSet<QString> &hidden) {
|
||||
PackedGrid out;
|
||||
out.cells.resize(items.size(), {-1, -1});
|
||||
if (cols <= 0) return out;
|
||||
|
||||
// Occupancy grid grows dynamically as rows are needed.
|
||||
std::vector<std::vector<bool>> occ;
|
||||
auto ensureRow = [&](int r) {
|
||||
while (static_cast<int>(occ.size()) <= r) occ.emplace_back(cols, false);
|
||||
};
|
||||
auto isFree = [&](int c, int r, int w, int h) -> bool {
|
||||
if (c < 0 || c + w > cols || r < 0) return false;
|
||||
for (int dr = 0; dr < h; ++dr) {
|
||||
const int rr = r + dr;
|
||||
if (rr >= static_cast<int>(occ.size())) continue;
|
||||
for (int dc = 0; dc < w; ++dc) {
|
||||
if (occ[rr][c + dc]) return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
auto occupy = [&](int c, int r, int w, int h) {
|
||||
for (int dr = 0; dr < h; ++dr) {
|
||||
const int rr = r + dr;
|
||||
ensureRow(rr);
|
||||
for (int dc = 0; dc < w; ++dc) {
|
||||
occ[rr][c + dc] = true;
|
||||
}
|
||||
out.rows = std::max(out.rows, rr + 1);
|
||||
}
|
||||
};
|
||||
|
||||
// Pass 1: place pinned slots first (widgets before apps) if their area is free.
|
||||
QVector<bool> placed(items.size(), false);
|
||||
for (int pass = 0; pass < 2; ++pass) {
|
||||
const bool wantWidget = (pass == 0);
|
||||
for (int i = 0; i < items.size(); ++i) {
|
||||
const auto &s = items[i];
|
||||
if (s.isWidget() != wantWidget) continue;
|
||||
if (!s.isWidget() && hidden.contains(s.component)) continue;
|
||||
const int w = std::clamp(s.w, 1, cols);
|
||||
const int h = std::max(1, s.h);
|
||||
if (s.x >= 0 && s.y >= 0 && isFree(s.x, s.y, w, h)) {
|
||||
occupy(s.x, s.y, w, h);
|
||||
out.cells[i] = {s.x, s.y};
|
||||
placed[i] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Pass 2: pack remaining visible slots into the earliest free area.
|
||||
for (int i = 0; i < items.size(); ++i) {
|
||||
const auto &s = items[i];
|
||||
if (placed[i] || (!s.isWidget() && hidden.contains(s.component))) continue;
|
||||
const int w = std::clamp(s.w, 1, cols);
|
||||
const int h = std::max(1, s.h);
|
||||
int r = 0, c = 0;
|
||||
while (!isFree(c, r, w, h)) {
|
||||
++c;
|
||||
if (c + w > cols) {
|
||||
c = 0;
|
||||
++r;
|
||||
}
|
||||
}
|
||||
occupy(c, r, w, h);
|
||||
out.cells[i] = {c, r};
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
QRectF cellBox(const CellPos &cell, qreal colW, int spanW, int spanH) {
|
||||
const qreal x = cell.col * (colW + kColGap);
|
||||
const qreal y = cell.row * (kCellH + kRowGap);
|
||||
const qreal w = spanW * colW + std::max(0, spanW - 1) * kColGap;
|
||||
const qreal h = spanH * kCellH + std::max(0, spanH - 1) * kRowGap;
|
||||
return QRectF(x, y, w, h);
|
||||
}
|
||||
|
||||
} // namespace Layout
|
||||
@@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
#include <QRectF>
|
||||
#include <QSet>
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
|
||||
namespace Layout {
|
||||
|
||||
inline constexpr qreal kCellH = 92.0;
|
||||
inline constexpr qreal kColGap = 6.0;
|
||||
inline constexpr qreal kRowGap = 12.0;
|
||||
|
||||
struct HomeSlot {
|
||||
QString component; // non-empty for app slots
|
||||
int widgetId = -1; // >= 0 for Android AppWidget slots
|
||||
QString provider; // widget provider component
|
||||
int x = -1;
|
||||
int y = -1;
|
||||
int w = 1;
|
||||
int h = 1;
|
||||
|
||||
bool isWidget() const { return widgetId >= 0 || !provider.isEmpty(); }
|
||||
};
|
||||
|
||||
struct CellPos {
|
||||
int col = 0;
|
||||
int row = 0;
|
||||
};
|
||||
|
||||
struct PackedGrid {
|
||||
QVector<CellPos> cells; // Same length as slots; invalid (-1, -1) if hidden.
|
||||
int rows = 0;
|
||||
};
|
||||
|
||||
PackedGrid packHome(const QVector<HomeSlot> &items, int cols, const QSet<QString> &hidden);
|
||||
QRectF cellBox(const CellPos &cell, qreal colW, int spanW = 1, int spanH = 1);
|
||||
|
||||
} // namespace Layout
|
||||
@@ -0,0 +1,9 @@
|
||||
#include "launcher_window.h"
|
||||
|
||||
#include <qt2wasm/gui.h>
|
||||
|
||||
int qt2wasm_gui_main(int, char **) {
|
||||
auto *w = new LauncherWindow;
|
||||
w->show();
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,268 @@
|
||||
/// latha:gui: a GUI app as one WebAssembly component.
|
||||
///
|
||||
/// The app draws its window into a frame buffer and the host shows it: the
|
||||
/// host owns the native window, its event loop and the clock; the app is a
|
||||
/// reactor and only runs inside an export call. A host is a small, generic
|
||||
/// loader (perry-gui in kwi-wasm: a GTK4 window), and any component that
|
||||
/// exports `app` and imports nothing but `host` (plus `pty`, and WASI) runs
|
||||
/// in it. qt2wasm builds such components from QtGui programs
|
||||
/// (`qt2wasm build --gui`, its `qt2wasmgui` platform plugin).
|
||||
///
|
||||
/// Life of an app:
|
||||
/// 1. `start(args)`: build the UI. The host then calls `resize` with the
|
||||
/// real surface size before the first `paint`.
|
||||
/// 2. input arrives as `key` / `text` / `pointer` / `wheel` / `focus`;
|
||||
/// 3. after anything that may have changed the picture, and whenever the
|
||||
/// app asked with `host.request-frame`, the host calls `paint`, which
|
||||
/// returns the pixels to move (scrolling) and the damaged rectangles;
|
||||
/// the host moves those in its own copy, then copies each damaged
|
||||
/// rectangle with `frame-pixels`;
|
||||
/// 4. `tick` runs due timers and queued work; it returns how long until the
|
||||
/// app next wants one (none: only when something happens);
|
||||
/// 5. `close` when the user closes the window; the app answers whether the
|
||||
/// host may close now (it can also leave any time with `host.quit`).
|
||||
///
|
||||
/// Coordinates and sizes are device pixels, origin top left. Pixels cross the
|
||||
/// boundary base64 encoded in a string: hosts lift a `list<u8>` element by
|
||||
/// element, a string in one copy.
|
||||
package latha:gui@0.2.3;
|
||||
|
||||
interface types {
|
||||
/// A rectangle in device pixels.
|
||||
record rect {
|
||||
x: s32,
|
||||
y: s32,
|
||||
width: u32,
|
||||
height: u32,
|
||||
}
|
||||
|
||||
record size {
|
||||
width: u32,
|
||||
height: u32,
|
||||
}
|
||||
|
||||
/// Move the pixels inside `area` by (`dx`, `dy`), as a scrolled view
|
||||
/// does: the host copies them within the frame it already shows, so they
|
||||
/// need not cross the boundary again. Only `area` changes: what moves out
|
||||
/// of it is dropped, and the strip it uncovers keeps its old pixels until
|
||||
/// a damaged rectangle repaints it.
|
||||
record move {
|
||||
area: rect,
|
||||
dx: s32,
|
||||
dy: s32,
|
||||
}
|
||||
|
||||
/// What changed since the last `paint`: first apply `moves`, in order,
|
||||
/// to the shown frame, then copy each of `rects` with `frame-pixels`.
|
||||
record damage {
|
||||
moves: list<move>,
|
||||
rects: list<rect>,
|
||||
}
|
||||
|
||||
/// Keyboard modifiers held during an event. `keypad` marks a key on the
|
||||
/// numeric keypad.
|
||||
flags modifiers {
|
||||
shift,
|
||||
ctrl,
|
||||
alt,
|
||||
meta,
|
||||
keypad,
|
||||
}
|
||||
|
||||
/// Mouse buttons held during an event.
|
||||
flags buttons {
|
||||
left,
|
||||
right,
|
||||
middle,
|
||||
back,
|
||||
forward,
|
||||
}
|
||||
|
||||
enum button {
|
||||
none,
|
||||
left,
|
||||
right,
|
||||
middle,
|
||||
back,
|
||||
forward,
|
||||
}
|
||||
|
||||
enum pointer-kind {
|
||||
press,
|
||||
release,
|
||||
move,
|
||||
/// The pointer entered the surface.
|
||||
enter,
|
||||
/// The pointer left the surface.
|
||||
leave,
|
||||
}
|
||||
|
||||
record pointer-event {
|
||||
kind: pointer-kind,
|
||||
/// The button that changed (`press` / `release`), else `none`.
|
||||
button: button,
|
||||
/// The buttons held after the event.
|
||||
buttons: buttons,
|
||||
modifiers: modifiers,
|
||||
x: f64,
|
||||
y: f64,
|
||||
/// For `press`: 1 for a single click, 2 for a double click, ...
|
||||
clicks: u32,
|
||||
}
|
||||
|
||||
record key-event {
|
||||
/// true on press (and auto-repeat), false on release.
|
||||
pressed: bool,
|
||||
repeat: bool,
|
||||
/// The X11 / xkbcommon keysym (XK_*, e.g. 0xff0d Return, 0x61 `a`),
|
||||
/// as GDK, Wayland and X11 report it; 0 if unknown.
|
||||
keysym: u32,
|
||||
/// The hardware key code (evdev + 8 on Linux), 0 if unknown.
|
||||
scancode: u32,
|
||||
modifiers: modifiers,
|
||||
/// The text the press types, if any (control characters included,
|
||||
/// e.g. "\r" for Return, "\u{3}" for Ctrl+C). Text from an input
|
||||
/// method arrives through `app.text` instead.
|
||||
text: string,
|
||||
}
|
||||
|
||||
record wheel-event {
|
||||
x: f64,
|
||||
y: f64,
|
||||
/// Wheel notches (1.0 = one notch; positive = down / right).
|
||||
steps-x: f64,
|
||||
steps-y: f64,
|
||||
/// Smooth scrolling (touchpads), in device pixels; 0 if not known.
|
||||
pixels-x: f64,
|
||||
pixels-y: f64,
|
||||
modifiers: modifiers,
|
||||
}
|
||||
|
||||
/// Pointer shapes (CSS cursor names).
|
||||
enum cursor {
|
||||
default,
|
||||
text,
|
||||
pointer,
|
||||
crosshair,
|
||||
wait,
|
||||
progress,
|
||||
help,
|
||||
move,
|
||||
not-allowed,
|
||||
grab,
|
||||
grabbing,
|
||||
ew-resize,
|
||||
ns-resize,
|
||||
nesw-resize,
|
||||
nwse-resize,
|
||||
col-resize,
|
||||
row-resize,
|
||||
none,
|
||||
}
|
||||
}
|
||||
|
||||
/// What the host gives the app.
|
||||
interface host {
|
||||
use types.{cursor, size};
|
||||
|
||||
/// The picture changed: call `paint` soon (once per host frame at most).
|
||||
request-frame: func();
|
||||
/// Call `tick` after `delay-ms` (0: as soon as possible), e.g. for a
|
||||
/// timer the app just started. A later request replaces an earlier one.
|
||||
request-tick: func(delay-ms: u32);
|
||||
set-title: func(title: string);
|
||||
set-cursor: func(shape: cursor);
|
||||
/// The smallest window size the app can use (device pixels); 0 x 0: any.
|
||||
set-min-size: func(min: size);
|
||||
/// The clipboard's text, empty if it holds none.
|
||||
clipboard-text: func() -> string;
|
||||
set-clipboard-text: func(text: string);
|
||||
/// The X11 primary selection (middle-click paste); hosts without one
|
||||
/// return "" and ignore the set.
|
||||
primary-text: func() -> string;
|
||||
set-primary-text: func(text: string);
|
||||
/// Whether the desktop prefers a dark color scheme.
|
||||
prefers-dark: func() -> bool;
|
||||
/// The desktop's accent color (selection, focus, active tab) as
|
||||
/// 0xRRGGBB, none if the desktop has none. Since 0.2.1; a change arrives
|
||||
/// as `app.color-scheme`.
|
||||
accent-color: func() -> option<u32>;
|
||||
bell: func();
|
||||
set-text-input: func(active: bool);
|
||||
/// Open `url` (http, https, mailto, file, ...) the desktop's way: in
|
||||
/// the user's browser, mail client, file manager. False if the host
|
||||
/// cannot or will not. Since 0.2.2.
|
||||
open-url: func(url: string) -> bool;
|
||||
/// Leave: the host closes the window and exits with `code`.
|
||||
quit: func(code: s32);
|
||||
}
|
||||
|
||||
/// What the app gives the host.
|
||||
interface app {
|
||||
use types.{rect, size, damage, key-event, pointer-event, wheel-event};
|
||||
|
||||
/// Build the UI. `args` are the command line after the component's
|
||||
/// path, with the app's name (the wasm file's stem) first. Returns the
|
||||
/// window size the app would like (device pixels at scale 1), 0 x 0 for
|
||||
/// the host's default, or an error that makes the host exit.
|
||||
start: func(args: list<string>) -> result<size, string>;
|
||||
/// The surface is now `width` x `height` device pixels at `scale`
|
||||
/// device pixels per logical pixel.
|
||||
resize: func(width: u32, height: u32, scale: f64);
|
||||
key: func(event: key-event);
|
||||
/// Text committed by an input method (compose, dead keys, CJK, ...).
|
||||
text: func(text: string);
|
||||
pointer: func(event: pointer-event);
|
||||
wheel: func(event: wheel-event);
|
||||
focus: func(focused: bool);
|
||||
/// The desktop's appearance changed: the dark / light preference (see
|
||||
/// `host.prefers-dark`) or the accent color (`host.accent-color`, read it
|
||||
/// again).
|
||||
color-scheme: func(dark: bool);
|
||||
/// The user asked to close the window: true lets the host close it.
|
||||
close: func() -> bool;
|
||||
/// Run due timers and queued work. Returns the delay in ms until the app
|
||||
/// next needs a tick, none if only an event or `request-tick` will.
|
||||
tick: func() -> option<u32>;
|
||||
/// Bring the frame up to date. Returns what changed since the last
|
||||
/// `paint`: pixels that moved, then rectangles to copy (both empty:
|
||||
/// nothing changed). The frame is the surface's size once `resize` was
|
||||
/// called; after a resize the first paint reports the whole frame and no
|
||||
/// moves.
|
||||
paint: func() -> damage;
|
||||
frame-size: func() -> size;
|
||||
/// `r`'s pixels, base64: `r.height` rows of `r.width` pixels, each
|
||||
/// 4 bytes B, G, R, A with premultiplied alpha (little-endian 0xAARRGGBB:
|
||||
/// cairo's ARGB32, Qt's ARGB32_Premultiplied).
|
||||
frame-pixels: func(r: rect) -> string;
|
||||
}
|
||||
|
||||
/// Pseudo-terminals, for apps that run programs (terminal emulators).
|
||||
/// Output is polled: the host calls `app.tick` when a pty has data or ends.
|
||||
interface pty {
|
||||
/// Start `argv` (argv[0] looked up in PATH; empty: the user's shell) on a
|
||||
/// new pty of `cols` x `rows`, with `env` added to the host's
|
||||
/// environment and `cwd` (none: the user's home). Returns its id.
|
||||
spawn: func(argv: list<string>, env: list<tuple<string, string>>, cwd: option<string>,
|
||||
cols: u16, rows: u16) -> result<u32, string>;
|
||||
write: func(id: u32, data: list<u8>);
|
||||
/// Everything the program wrote since the last read, base64 ("" = nothing).
|
||||
read: func(id: u32) -> string;
|
||||
resize: func(id: u32, cols: u16, rows: u16);
|
||||
/// Its exit code once it has ended and its output was read, else none.
|
||||
exit-code: func(id: u32) -> option<s32>;
|
||||
/// Hang up (SIGHUP) and forget it.
|
||||
close: func(id: u32);
|
||||
}
|
||||
|
||||
/// A GUI app.
|
||||
world gui {
|
||||
import host;
|
||||
export app;
|
||||
}
|
||||
|
||||
/// A GUI app that also runs programs on pseudo-terminals.
|
||||
world gui-pty {
|
||||
include gui;
|
||||
import pty;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package ultra:launcher@0.1.0;
|
||||
|
||||
interface android {
|
||||
/// JSON array of {"label": string, "component": string, "system"?: bool}.
|
||||
apps: func() -> string;
|
||||
/// Base64-encoded premultiplied RGBA8888 pixels (size * size * 4 bytes) for "a:COMPONENT".
|
||||
icon: func(key: string, size: u32) -> option<string>;
|
||||
launch: func(component: string);
|
||||
app-info: func(component: string);
|
||||
uninstall: func(component: string);
|
||||
open-settings: func();
|
||||
pick-wallpaper: func();
|
||||
open-recents: func();
|
||||
haptic: func();
|
||||
/// System bar insets in physical screen pixels: (top, bottom).
|
||||
insets: func() -> tuple<u32, u32>;
|
||||
/// Drain queued host events ("home", "back", "insets", "apps-changed:<pkgs>", "widget-added:<id>:<provider>").
|
||||
poll-events: func() -> list<string>;
|
||||
/// JSON array of {"provider": string, "label": string, "w": u32, "h": u32}.
|
||||
widget-providers: func() -> string;
|
||||
/// Bind a widget for provider; emits "widget-added:<id>:<provider>".
|
||||
add-widget: func(provider: string);
|
||||
remove-widget: func(id: s32);
|
||||
/// Place live widget views: JSON [[id, x, y, w, h], ...] in physical screen px.
|
||||
place-widgets: func(json: string);
|
||||
set-widgets-visible: func(visible: bool);
|
||||
}
|
||||
|
||||
world gui {
|
||||
include latha:gui/gui@0.2.3;
|
||||
import android;
|
||||
}
|
||||
Reference in new issue
Block a user