Bug 341722

Summary: 5.4.0: generate macros ignore fact that @DBUS_INTERFACES_INSTALL_DIR@ can be absolute
Product: [Frameworks and Libraries] frameworks-kio Reporter: Arkadiusz Miskiewicz <arekm>
Component: generalAssignee: David Faure <faure>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arkadiusz Miskiewicz 2014-12-09 22:11:21 UTC
./KF5KIOConfig.cmake.in:set(KSlaveLauncher_DBUS_INTERFACE "${PACKAGE_PREFIX_DIR}/@DBUS_INTERFACES_INSTALL_DIR@/kf5_org.kde.KSlaveLauncher.xml")

but @DBUS_INTERFACES_INSTALL_DIR@ can be absolute if passing absolute paths to cmake.

That causes
/usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:set(KSlaveLauncher_DBUS_INTERFACE "${PACKAGE_PREFIX_DIR}//usr/share/dbus-1/interfaces/kf5_org.kde.KSlaveLauncher.xml")


Note double prefix. One from PACKAGE_PREFIX_DIR and one from absolute DBUS_INTERFACES_INSTALL_DIR

Reproducible: Always
Comment 1 Justin Zobel 2021-03-09 05:54:13 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.