[neon/kde/kalgebra/Neon/unstable] debian/patches: add some temp patchy
Carlos De Maine
null at kde.org
Mon Oct 2 03:27:45 BST 2023
Git commit 2657fb9b5b34bdcddfb968b7f29160d79c33580b by Carlos De Maine.
Committed on 02/10/2023 at 04:27.
Pushed by carlosdem into branch 'Neon/unstable'.
add some temp patchy
M +70 -1 debian/patches/0001
https://invent.kde.org/neon/kde/kalgebra/-/commit/2657fb9b5b34bdcddfb968b7f29160d79c33580b
diff --git a/debian/patches/0001 b/debian/patches/0001
index 7efefcf..6d5874b 100644
--- a/debian/patches/0001
+++ b/debian/patches/0001
@@ -10,4 +10,73 @@ index d210789b873dddd7ef975f69c281623e4f7efdcb..fe11817ca6fcdf00858ce352bd7015b9
+find_package(Analitza${QT_MAJOR_VERSION} REQUIRED)
ecm_set_disabled_deprecation_versions(QT 6.4
- KF 5.101
\ No newline at end of file
+ KF 5.101
+diff --git a/calgebra/CMakeLists.txt b/calgebra/CMakeLists.txt
+index b05c8932aa27807cb649112e79c4b215ccb66910..94ca3a46d327e60aeed34d720fecce3bcfe4524f 100644
+--- a/calgebra/CMakeLists.txt
++++ b/calgebra/CMakeLists.txt
+@@ -13,7 +13,7 @@ if(HAVE_FREE_HISTORY_ENTRY)
+ endif()
+
+ add_executable(calgebra main.cpp)
+-target_link_libraries(calgebra Qt::Core ${READLINE_LIBRARY} KF5::Analitza)
++target_link_libraries(calgebra Qt::Core ${READLINE_LIBRARY} KF${KF_MAJOR_VERSION}::Analitza)
+
+ install(TARGETS calgebra ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+
+diff --git a/mobile/CMakeLists.txt b/mobile/CMakeLists.txt
+index 27e473ac92badaa26f3a106680452a66ac7c5d32..6b752232429b540ee06a7cfed7e1f0beaf576064 100644
+--- a/mobile/CMakeLists.txt
++++ b/mobile/CMakeLists.txt
+@@ -8,7 +8,7 @@ add_executable(kalgebramobile
+ ${KALGEBRAMOBILE_SRCS})
+
+ target_link_libraries(kalgebramobile Qt::Qml Qt::Quick Qt::Gui
+- KF${KF_MAJOR_VERSION}::CoreAddons KF${KF_MAJOR_VERSION}::I18n KF5::Analitza KF5::AnalitzaGui KF5::AnalitzaPlot)
++ KF${KF_MAJOR_VERSION}::CoreAddons KF${KF_MAJOR_VERSION}::I18n KF${KF_MAJOR_VERSION}::Analitza KF${KF_MAJOR_VERSION}::AnalitzaGui KF${KF_MAJOR_VERSION}::AnalitzaPlot)
+
+ set(DESKTOPFILE_INSTALL ${KDE_INSTALL_APPDIR})
+
+@@ -17,9 +17,9 @@ if(ANDROID)
+ # if we don't link it here explicitly, androiddeployqt doesn't bring it
+ find_package(Qt${QT_MAJOR_VERSION}Svg REQUIRED)
+ find_package(Qt${QT_MAJOR_VERSION}QuickControls2 REQUIRED)
+- find_package(KF5Kirigami2 REQUIRED)
++ find_packageKF${KF_MAJOR_VERSION}Kirigami2 REQUIRED)
+ kirigami_package_breeze_icons(ICONS list-add)
+- target_link_libraries(kalgebramobile Qt::Svg KF5::Kirigami2 Qt::QuickControls2)
++ target_link_libraries(kalgebramobile Qt::Svg KF${KF_MAJOR_VERSION}::Kirigami2 Qt::QuickControls2)
+ else()
+ find_package(Qt${QT_MAJOR_VERSION}Widgets REQUIRED)
+ target_link_libraries(kalgebramobile Qt::Widgets)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index d0dfac38b69c7788e25de12e08f903770845ab6f..d27503cb25075599e7a0befd1d1b4a1f69452dd1 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -24,11 +24,16 @@ file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../icons/*-apps-kalgebra.png")
+ ecm_add_app_icon(kalgebra ICONS ${ICONS_SRCS})
+
+ target_link_libraries(kalgebra Qt::Widgets Qt::PrintSupport Qt::WebEngineWidgets KF${KF_MAJOR_VERSION}::I18n
+- KF${KF_MAJOR_VERSION}::CoreAddons KF${KF_MAJOR_VERSION}::WidgetsAddons KF${KF_MAJOR_VERSION}::ConfigWidgets
++ KF${KF_MAJOR_VERSION}::CoreAddons
++ KF${KF_MAJOR_VERSION}::WidgetsAddons
++ KF${KF_MAJOR_VERSION}::ConfigWidgets
+ KF${KF_MAJOR_VERSION}::XmlGui # HelpMenu
+ KF${KF_MAJOR_VERSION}::KIOCore
+ KF${KF_MAJOR_VERSION}::I18n
+- KF5::Analitza KF5::AnalitzaWidgets KF5::AnalitzaGui KF5::AnalitzaPlot)
++ KF${KF_MAJOR_VERSION}::Analitza
++ KF${KF_MAJOR_VERSION}::AnalitzaWidgets
++ KF${KF_MAJOR_VERSION}::AnalitzaGui
++ KF${KF_MAJOR_VERSION}::AnalitzaPlot)
+
+ if (QT_MAJOR_VERSION STREQUAL "6")
+ target_link_libraries(kalgebra Qt6::OpenGLWidgets)
+diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
+index cbc46ed661708df923a2477d11155b381e0e017b..1565c5bde1e3c984e806aedd6ce77b2adfa2b351 100644
+--- a/utils/CMakeLists.txt
++++ b/utils/CMakeLists.txt
+@@ -1,2 +1,2 @@
+ add_executable(docbook_analitzacommands main.cpp)
+-target_link_libraries(docbook_analitzacommands KF5::AnalitzaGui Qt::Widgets Qt::Core)
++target_link_libraries(docbook_analitzacommands KF${KF_MAJOR_VERSION}::AnalitzaGui Qt::Widgets Qt::Core)
More information about the Neon-commits
mailing list