https://bugs.kde.org/show_bug.cgi?id=415940

            Bug ID: 415940
           Summary: KF5AuthMacros relies on variables from KDEInstallDirs,
                    does not include it & not declare dependency on ECM
           Product: frameworks-kauth
           Version: 5.65.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: kosse...@kde.org
  Target Milestone: ---

KAUTH_INSTALL_HELPER_FILES uses the variables "KDE_INSTALL_DBUSDIR" &
"DBUS_SYSTEM_SERVICES_INSTALL_DIR", which are set by the ECM modules
KDEInstallDirs usually.

KF5AuthMacros does not include the module "KDEInstallDirs" though, so projects
trying to use the macro KAUTH_INSTALL_HELPER_FILES but not using ECM or having
included the "KDEInstallDirs" module themselves before will see the call
failing with "install FILES given no DESTINATION" or similar.

I would propose to fix this by adding additional arguments to pass in
explicitly the installation paths. While this adds duplication in typical usage
in KDE products, it avoids the dependency of KAuth on ECM, which might help
adaption outside of KDE spheres.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to