The Windows app now builds for Haiku over the new Haiku backend of
clang-retro MFC (clang-retro/mfc#176), cross-built on Linux with D-Modem's
Haiku toolchain file and sysroot script.
- cmake/haiku.cmake: the toolchain file. It includes D-Modem's and
keeps the CMAKE_FIND_ROOT_PATH of the command line, so that libssh
finds the bundled mbedTLS.
- winport/CMakeLists.txt: the Haiku target and its libraries (libbe,
libdevice, libnetwork, libbsd).
- ssh/: libssh links libnetwork and libbsd on Haiku, has getaddrinfo,
and skips the termios values that Haiku does not have.
- Look for a modem (windows/src/ports.cpp, ports_haiku.cpp): lists
/dev/ports, names the usbN ports from the USB Kit, finds the CDC-ACM
modems, and tells that Haiku has no driver for the MultiTech
MT9234MU.
- CI: the winport-haiku job builds the app and uploads
dmodem-win32-haiku-x86_64.tar.gz; the nightly release takes it.
- docs/haiku.md, and short notes in the README, building.md and
download.md.
Tested on Haiku R1/beta6 in QEMU: the menus, the pages, the dialogs,
modal dialogs, the keyboard, moving the window, and Look for a modem
with the computer's serial port.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTJUdomcnCN8okhJSr
Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
cmake/macosx-legacy.cmake builds the app on Linux over the Mac OS X
10.0-10.5 port of clang-retro MFC, with clang of clang-retro/llvm, the
macosx10.4 sysroot of dos-sdk and its cctools. cmake/macosx-legacy/
fixes headers of the 10.4 SDK. winport/CMakeLists.txt builds libwinport
for the target, and BundledLibssh.cmake gives the toolchain's settings
to the libssh and mbedTLS builds. The new CI job joins the PowerPC and
i386 programs into one fat program, and the nightly release adds
dmodem-win32-macosx10.4.tar.gz. D-Modem: its changes for 10.4 to 10.6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVR36R8PgTTMQiuWkQ
Remove the SwiftUI app for macOS (macos/, cmake/MacosEmbed.cmake,
cmake/macos-embed/) and the GTK 4 app for Linux (linux/). The Win32
app (windows/) is now the canonical GUI on Windows, and on Linux and
macOS over the portable Win32 layer of clang-retro MFC (winport/).
- CMake: remove DMODEM_GUI_LINUX and the Xcode support. With no
DMODEM_GUI_WINPORT, Linux and macOS build only the libraries and
their tests. The built-in modem is on by default for Windows and
winport.
- winport: install the app, its desktop entry, AppStream data, icon
and the MT9234MU firmware on Linux (firmware/ moves to the top).
- CI: the "core" job keeps the library, sanitizer and sshd tests on
Linux. The macOS library tests move to the winport-macos job. The
linux and macos jobs and their nightly files are removed.
- Docs, site and comments: describe one Win32 app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUx6MjNXmAFKULZu3U
Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
winport/CMakeLists.txt takes the architecture of libwinport from
CMAKE_OSX_ARCHITECTURES (one architecture). CI builds the app on macOS
for arm64 and x86_64, and the nightly release adds
dmodem-win32-macos-x86_64.tar.gz.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVR36R8PgTTMQiuWkQ
The Windows app on macOS (and on Linux) had no built-in modem: CMake
turned DMODEM_GUI_EMBED off for winport/, and CI did not check out the
D-Modem submodule. The app looked for dmodemd.
- CMake: DMODEM_GUI_EMBED is on by default for winport/. winport/
links libdmodem_embed. The data file of the line uses DIR_SEP.
- CI: the winport jobs check out the submodule and check that the
built-in modem is in the app. The smoke test starts the built-in
modem (SIP, no account), and runs dmodemd with builtin=0.
- CI: the SwiftUI app builds for arm64 and x86_64 (it was arm64 alone),
and the check looks at each architecture.
- Docs and the release notes say which builds have the modem.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTrw1ffsyY5bhTghu1