Source: eydos-prompt
Section: x11
Priority: optional
Maintainer: Pedro M. de Echanove Pasquin <pedro.echanove@liberux.net>
Build-Depends: debhelper-compat (= 13),
               cargo:native,
               curl,
               ca-certificates,
               rustc:native (>= 1.85),
               pkg-config:native,
               libltk-dev (>= 0.3.0), libltk-dev (<< 0.4),
               crossbuild-essential-arm64:native [arm64],
               libstd-rust-dev,
               libwayland-dev,
               libwayland-egl1,
               libxkbcommon-dev,
               libfreetype-dev,
               libegl-dev,
               libgles2-mesa-dev
Build-Depends-Indep: libstd-rust-dev-wasm32
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://liberux.net

Package: eydos-prompt
Architecture: any
Depends: ${shlibs:Depends},
         ${misc:Depends},
         ltk-theme-default,
         fonts-dejavu-core
Suggests: screen
Description: Prompt, the Eydos terminal
 Prompt is a small tabbed terminal emulator for Eydos, built on the Liberux
 ToolKit. Terminal emulation is provided by the alacritty_terminal library;
 the cell grid is drawn by LTK on a single Wayland surface.
 .
 The interface follows the device: on phones, a title bar with a tab counter,
 a tab overview and the terminal keys of the on-screen keyboard; on
 desktops, a tab strip over the terminal.
 .
 Sessions live in a small daemon, so they outlive the window, as with
 screen: closing the window detaches them, and the next window brings
 them back. A window can also take over a session shown by another one,
 or a GNU screen session.

Package: eydos-prompt-relay
Architecture: any
Depends: ${shlibs:Depends},
         ${misc:Depends},
         certbot
Description: Relay for Prompt's shared sessions
 The relay pairs a Prompt that shares terminal sessions with the Prompt
 that asks for them by a nine-digit code, and tells each side the address
 the other is seen from, so that they can connect directly. When they
 cannot, it passes their datagrams, which stay encrypted end to end.
 .
 It listens on UDP ports 4433 and 4434, and reads its certificate and key
 from /etc/eydos-prompt-relay/cert.pem and key.pem. Installation asks for
 the relay's DNS name, gets a certificate for it from Let's Encrypt with
 certbot, which renews it and restarts the relay, and starts the service.

Package: eydos-prompt-web
Architecture: all
Depends: ${misc:Depends}
Description: Prompt, the Eydos terminal, for the browser
 Prompt built for WebAssembly, as an application of forge/web, forge's
 desktop in a browser. A browser runs no programs, so its sessions run
 in the page, with a shell of its own whose commands work on the
 folders of the user's computer the desktop mounts. The module and its
 JavaScript are installed under /usr/share/eydos-prompt/web, for
 forge-web-server to serve beside forge/web's page and the resources
 of the ltk they were built with.
