[neon/backports-jammy/packagekit-qt/Neon/unstable] debian/patches: Include upstream patches to fix broken cmake modules

Matthias Klumpp null at kde.org
Wed Mar 15 04:29:32 GMT 2023


Git commit fe57ac9c31fd99d5db95bf1eb4f432aadfa33e7e by Matthias Klumpp.
Committed on 08/09/2014 at 21:48.
Pushed by carlosdem into branch 'Neon/unstable'.

Include upstream patches to fix broken cmake modules

M  +2    -2    debian/patches/01_fix-api.patch

https://invent.kde.org/neon/backports-jammy/packagekit-qt/commit/fe57ac9c31fd99d5db95bf1eb4f432aadfa33e7e

diff --git a/debian/patches/01_fix-api.patch b/debian/patches/01_fix-api.patch
index ba77e8b..38d0e36 100644
--- a/debian/patches/01_fix-api.patch
+++ b/debian/patches/01_fix-api.patch
@@ -34,7 +34,7 @@ index fa8978a..b1e1e97 100755
 +        NAMESPACE PK::
 +        COMPONENT Devel)
 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 8ef7906..d1176ec 100755
+index 8ef7906..5037fb2 100755
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
 @@ -55,13 +55,14 @@ set(packagekitqt_SRC
@@ -74,7 +74,7 @@ index 8ef7906..d1176ec 100755
  )
 -
 -install(TARGETS ${LIBNAME} DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+target_include_directories(${LIBNAME} INTERFACE "$<INSTALL_INTERFACE:include/PackageKit/>")
++target_include_directories(${LIBNAME} INTERFACE "$<INSTALL_INTERFACE:include/PackageKit/${LIBNAME}/>")
 +install(TARGETS ${LIBNAME} EXPORT PackageKitQtTargets DESTINATION ${CMAKE_INSTALL_LIBDIR})
  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LIBNAME}.pc
  	DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig



More information about the Neon-commits mailing list