Commit Graph

642 Commits

Author SHA1 Message Date
vasilito 44ed766291 fix: restore ratatui deps in cub-tui, add cubl host recipe 2026-05-08 00:41:13 +01:00
vasilito 7706617e7f cub: full AUR package manager + Phase 1-5 native build tools
cub redesign (local/recipes/system/cub/):
- AUR RPC v5 client (serde_json) with search/info
- ~/.cub/ user-local recipe/source/repo storage
- Enhanced PKGBUILD parser: optdepends, .SRCINFO, split packages, 19 linuxism patterns
- Recipe generation: host: prefix on dev-deps, shallow_clone, cargopath, installs, optional-packages
- Dependency resolver: scans build errors for missing commands/headers/libs/pkgconfig, maps to packages
- Dependency installation: checks installed packages, fetches AUR deps, interactive prompt
- ~110 Arc→Redox dependency mappings
- ratatui TUI: search, info, install, build, query views
- 14 Arch-style CLI switches (-S/-Si/-Syu/-G/-R/-Q/-Qi/-Ql)
- 65 tests, 0 failures, clean build

Phase 1-5 native build tools (local/recipes/dev/):
- P1 Substrate: tar, m4, diffutils (gnulib bypass), mkfifo kernel patch (1085 lines)
- P2 Build Systems: bison, flex, meson (standalone wrapper), ninja-build, libtool
- P3 Native GCC: gcc-native, binutils-native (cross-compiled for redox host)
- P4 Native LLVM: llvm-native (clang + lld from monorepo)
- P5 Native Rust: rust-native (rustc + cargo)
- Groups: build-essential-native, dev-essential expanded

Config:
- redbear-mini: +7 tools (diffutils, tar, bison, flex, meson, ninja, m4)
- redbear-full: +4 native tools (gcc, binutils, llvm, rust)
- All recipes moved to local/ with symlinks for cookbook discovery (Red Bear policy)

Docs:
- BUILD-TOOLS-PORTING-PLAN.md: phased porting roadmap
- CUB-WORKFLOW-ASSESSMENT.md: gap analysis and integration assessment
2026-05-08 00:13:31 +01:00
vasilito 0a928348b9 fix: handle nullable Cub AUR fields
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:20:15 +01:00
vasilito 98affe0191 feat: add Cub cook autodetect strategy
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:19:24 +01:00
vasilito c3ba6ad91b fix: type Cub AUR out-of-date visitor
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:18:34 +01:00
vasilito b91b3f2e63 style: format Cub TUI module
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:17:45 +01:00
vasilito 1349c8a0eb style: format Cub library modules
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:17:24 +01:00
vasilito c39e19a2b2 style: format Cub CLI code
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:17:06 +01:00
vasilito 38c73ee03b fix: parse Cub AUR responses with serde
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:15:48 +01:00
vasilito bcc42cc022 docs: document Cub package manager
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:15:08 +01:00
vasilito e8fbf10f68 fix: harden Cub git and tempdir handling
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:14:48 +01:00
vasilito f5e0ae82f4 fix: harden Cub CLI runtime fallbacks
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 21:08:55 +01:00
vasilito 22ec92723d feat: build Cub CLI and TUI workflows
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:57:51 +01:00
vasilito 714aed9610 feat: add Cub recipe storage and TUI shell
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:57:33 +01:00
vasilito 900fefc46e feat: add Cub package backend modules
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:57:11 +01:00
vasilito 1f98fc18a8 fix: adapt KF6 pty and language dialog
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:56:52 +01:00
vasilito 41d12e2c8c fix: add remaining KF6 PIC flags
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:56:35 +01:00
vasilito 7e1e4c2588 fix: add KF6 widget PIC flags
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:56:16 +01:00
vasilito 7089c162a8 fix: add KF6 PIC build flags
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:55:56 +01:00
vasilito 90f8721fb5 fix: relax KF6 CMake link targets
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:55:36 +01:00
vasilito b02ddd2968 fix: guard Qt Wayland empty cursors
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:55:17 +01:00
vasilito ac04a7eb36 fix: harden Qt Wayland listener generation
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:54:59 +01:00
vasilito f194ae1530 fix: stabilize linux-kpi mac80211 tx stats layout
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:54:41 +01:00
vasilito dc4e0f976c fix: clean linux-kpi memory helpers
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:54:24 +01:00
vasilito 902deabf62 fix: clean linux-kpi DRM shim warnings
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:54:04 +01:00
vasilito 9a3efd499f fix: map virtio GPU BAR from pcid handoff
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:53:44 +01:00
vasilito a6d6caac68 fix: stop redox-drm on terminal scheme EBADF
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:53:27 +01:00
vasilito 67b67892c5 fix: remove unreachable redox-drm driver match
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:53:09 +01:00
vasilito 612ef6ce36 fix: wire redox-drm handoff patches
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:52:51 +01:00
vasilito e3a9a820ee feat: add redox-driver-sys pcid handoff client
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:52:33 +01:00
vasilito 6b97d076c3 fix: build redox-driver-sys with cookbook cargo
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:52:15 +01:00
vasilito bb78be5240 fix: expose pcid handoff to spawned drivers
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:51:56 +01:00
vasilito 26be773a59 fix: release virtio-gpu from initfs
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:51:38 +01:00
vasilito 39ac7c5ab4 fix: harden greeter DRM device wait
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:51:21 +01:00
vasilito a767812371 fix: extend redbear-full DRM greeter wait
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 20:51:05 +01:00
vasilito 702cbfd429 fix: port Konsole to Redox Qt surface 2026-05-07 09:11:47 +01:00
vasilito b54b2dbf76 fix: build ICU static archives as PIC 2026-05-07 09:11:30 +01:00
vasilito e742c1bd00 fix: make Qt Redox CMake imports relocatable 2026-05-07 09:11:15 +01:00
vasilito 10cf8b4e73 fix: build KF6 KNewStuff widgets 2026-05-07 09:10:59 +01:00
vasilito 4716dd6ce4 fix: build KF6 I18n QML module 2026-05-07 09:10:44 +01:00
vasilito 923091b4ab fix: handle KF6 Parts temporary file failures 2026-05-07 08:16:32 +01:00
vasilito d848d5323a fix: import Qt Network for KF6 Parts 2026-05-07 08:16:17 +01:00
vasilito e811f4fc23 fix: make KF6 NotifyConfig build on Redox 2026-05-07 08:11:48 +01:00
vasilito d8d26eaff3 fix: make KF6 Pty build on Redox
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-07 08:06:59 +01:00
vasilito 52954456f2 feat: add KF6 Pty recipe source 2026-05-07 08:02:04 +01:00
vasilito e67336a75f fix: align kparts package name 2026-05-07 07:58:48 +01:00
vasilito 610b124387 fix: align notifyconfig package name 2026-05-07 07:57:49 +01:00
vasilito 443101a2ba fix: repair redbear-full package TOML syntax 2026-05-07 07:56:29 +01:00
vasilito ab85eb7b3d feat: add Konsole recipe source and patches 2026-05-07 07:54:52 +01:00
vasilito 171a96c6af feat: add ICU recipe source for KDE dependencies 2026-05-07 07:54:16 +01:00