Commit 3858529a authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Fix KNS deprecations

parent 06ad3328
Pipeline #32230 passed with stage
in 19 minutes and 40 seconds
......@@ -11,7 +11,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE
project(cantor VERSION ${RELEASE_SERVICE_VERSION})
set(KF5_MIN_VERSION "5.49.0")
set(KF5_MIN_VERSION "5.57.0")
find_package(ECM 5.15.0 REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${cantor_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
......
......@@ -45,7 +45,7 @@ target_link_libraries(cantor KF5::Parts KF5::NewStuff KF5::ConfigCore KF5::CoreA
install(TARGETS cantor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install( PROGRAMS org.kde.cantor.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES cantor_shell.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/cantor )
install( FILES cantor.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES cantor.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
#########################################################################
# KPART SECTION
......
......@@ -38,4 +38,4 @@ if(BUILD_TESTING)
)
endif(BUILD_TESTING)
install( FILES cantor_r.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES cantor_r.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
......@@ -19,4 +19,4 @@ add_backend(kalgebrabackend ${KAlgebraBackend_SRCS})
target_link_libraries( cantor_kalgebrabackend KF5::Analitza KF5::AnalitzaGui )
install( FILES cantor_kalgebra.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES cantor_kalgebra.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
......@@ -31,4 +31,4 @@ if(BUILD_TESTING)
)
endif(BUILD_TESTING)
install(FILES cantor_lua.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install(FILES cantor_lua.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
......@@ -29,5 +29,5 @@ if(BUILD_TESTING)
)
endif()
install( FILES cantor_maxima.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES cantor_maxima.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
install( FILES cantor-initmaxima.lisp DESTINATION ${KDE_INSTALL_DATADIR}/cantor/maximabackend)
......@@ -49,6 +49,6 @@ if(BUILD_TESTING)
)
endif(BUILD_TESTING)
install(FILES cantor_octave.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install(FILES cantor_octave.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
install(FILES graphic_packages.xml DESTINATION ${KDE_INSTALL_DATADIR}/cantor/octave)
......@@ -48,7 +48,7 @@ if(BUILD_TESTING)
)
endif(BUILD_TESTING)
install(FILES cantor_python.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES cantor_python.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
install(FILES pythonbackend.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(TARGETS cantor_pythonbackend DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......
......@@ -28,4 +28,4 @@ else()
target_link_libraries( cantor_qalculatebackend cantorlibs ${QALCULATE_LIBRARIES})
endif()
install( FILES cantor_qalculate.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
install( FILES cantor_qalculate.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
......@@ -29,7 +29,7 @@ if(BUILD_TESTING)
)
endif()
install(FILES cantor_sage.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES cantor_sage.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
install(
PROGRAMS cantor-execsage
......
......@@ -30,4 +30,4 @@ if(BUILD_TESTING)
)
endif(BUILD_TESTING)
install(FILES cantor_scilab.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES cantor_scilab.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment