Skip to content

chore: repo cleanup (remove redundant Flatpak dual-install)#31

Open
hikaps wants to merge 2 commits into
developfrom
chore/repo-cleanup
Open

chore: repo cleanup (remove redundant Flatpak dual-install)#31
hikaps wants to merge 2 commits into
developfrom
chore/repo-cleanup

Conversation

@hikaps

@hikaps hikaps commented Jun 30, 2026

Copy link
Copy Markdown
Owner

A cleanup pass over the post-#22 tree. The codebase is genuinely clean — no orphaned sources/QML, zero TODO/FIXME cruft, run-debug.sh is a legit tracked helper. The one safe AGENTS.md anti-pattern was the duplicate binary install.

Change: removed the redundant second install(TARGETS couchplay DESTINATION bin) in src/CMakeLists.txt. Under Flatpak's cmake-ninja the prefix is /app, so CMAKE_INSTALL_BINDIR already resolves to /app/bin — identical to the hardcoded bin destination. The single standard install covers both Flatpak and system installs.

Not done (deliberate — structural, not quick cleanup): test source inclusion (deliberate trade-off, big refactor), qDebug() (intentional dev-output convention), missing po/ i18n (additive), blocking QThread::msleep (risky refactor), no CI linting (additive).

Build-system change only; Flatpak + system install paths unchanged.

hikaps added 2 commits June 30, 2026 15:47
src/CMakeLists.txt installed the couchplay target twice -- once to
CMAKE_INSTALL_BINDIR and once to DESTINATION bin 'for Flatpak'. Under Flatpak's
cmake-ninja the prefix is /app, so CMAKE_INSTALL_BINDIR resolves to /app/bin --
identical to the hardcoded 'bin' destination -- making the second install a pure
duplicate (and an AGENTS.md anti-pattern). The single standard install covers
both Flatpak and system installs.
Synthesized from 4 parallel explore-agent scans (core architecture, tests/e2e,
build/config/CI, scripts/conventions). Restructured into the standard sections:
Project Overview, Architecture & Data Flow, Key Directories, Development
Commands, Code Conventions, Important Files, Runtime/Tooling Preferences,
Testing & QA. Preserves all conventions + adds the streaming architecture
(StreamManager/SunshineConfig/helper CreateVirtualOutput/CreateNullSink),
the container e2e harness, and the test-source-inclusion pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant