|
src/dbus/CMakeLists.txt builds up DBUS_INTERFACES with its generated
qt_add_dbus_interface sources, then calls add_subdirectory(dbusmenu) at the
bottom. The subdirectory inherits the variable and qt_add_dbus_interface
appends to it, so quickshell-dbusmenu ends up listing src/dbus's generated
sources as well. Those entries are relative filenames, so make resolves them
against the dbusmenu binary dir and the build dies with:
No rule to make target 'src/dbus/dbus_objectmanager.cpp', needed by
'src/dbus/dbusmenu/CMakeFiles/quickshell-dbusmenu_autogen_timestamp_deps'
Unset DBUS_INTERFACES before the add_subdirectory so dbusmenu starts clean.
Still unfixed upstream as of master.
Verified with a containerized test build: SUCCESS, lint clean.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XLAYexNKJ4BKdyjiLiqdMz
|
|
Add the quickshell package, a QtQuick toolkit for building status bars,
widgets and other desktop components.
Bumped from the initially added 0.2.1 to 0.3.1. Upstream renamed the
cmake option CRASH_REPORTER to CRASH_HANDLER in 0.3.x, so the old flag
would have been silently ignored and pulled in the crash handler along
with its cpptrace dependency.
Other fixes over the initial script:
- DOWNLOAD was UNSUPPORTED with the real URL in DOWNLOAD_x86_64, which
wrongly marked every non-x86_64 arch as unbuildable. The source is
arch independent, so it belongs in DOWNLOAD.
- REQUIRES said "qt6 cli11". qt6 is not an SBo package, and the cli11
entry did not match the SBo package name, which is CLI11.
- The gitea archive is served under its Content-Disposition name
(quickshell-v0.3.1.tar.gz) rather than the URL basename, so accept
either filename when extracting.
- DISTRIBUTOR claimed SlackBuilds.org. Upstream asks that this string
identify the specific package source, and it is compiled into the
binary, so name this repo instead.
- Align TAG and PKGTYPE with the rest of the repo (_SBo, tgz), fix the
slack-desc handy ruler to 72 characters, add the missing README and
drop the leftover template comments.
Builds clean on -current with a clean sbopkglint. Slackware 15.0 ships
Qt5 only, so the build fails there on a missing Qt6; the package is
-current only and the README notes this.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01456ddh6BkCimbiPi5WucyT
|