diff options
Diffstat (limited to 'kde-apps/kalzium/files/kalzium-17.12.1-knewstuff-optional.patch')
-rw-r--r-- | kde-apps/kalzium/files/kalzium-17.12.1-knewstuff-optional.patch | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/kde-apps/kalzium/files/kalzium-17.12.1-knewstuff-optional.patch b/kde-apps/kalzium/files/kalzium-17.12.1-knewstuff-optional.patch deleted file mode 100644 index e60a6594a34c..000000000000 --- a/kde-apps/kalzium/files/kalzium-17.12.1-knewstuff-optional.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 4f7922a93bbea8582d29eebb194932708f9e21cd Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Tue, 16 Jan 2018 12:53:56 +0100 -Subject: [PATCH] KF5NewStuff is only used in moleculeview, conditional on - Eigen3 and AvogadroLibs - ---- - CMakeLists.txt | 2 +- - src/CMakeLists.txt | 3 +-- - 2 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4309a683..a12d4e36 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -55,7 +55,6 @@ find_package(KF5 REQUIRED COMPONENTS - I18n - KDELibs4Support - KHtml -- NewStuff - Parts - Plotting - Solid -@@ -93,6 +92,7 @@ add_definitions(-DUSING_DYNAMIC_LIBS) - endif(MSVC) - - if (OPENBABEL2_FOUND AND AvogadroLibs_FOUND AND EIGEN3_FOUND) -+ find_package(KF5NewStuff REQUIRED) - # avoid compilerwarnings about redefinitions - # todo: use check_function_exits() ? - message(STATUS "Kalzium molecular editor enabled") -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 623ba2e5..0b1936eb 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -139,18 +139,17 @@ target_link_libraries(kalzium - KF5::Plotting - KF5::KHtml - KF5::KDELibs4Support -- KF5::NewStuff - KF5::UnitConversion - Qt5::Script - Qt5::Svg - Qt5::Quick - science -- ${OPENBABEL2_LIBRARIES} - ) - if (OPENBABEL2_FOUND) - target_link_libraries(kalzium ${OPENBABEL2_LIBRARIES}) - if (EIGEN3_FOUND AND AvogadroLibs_FOUND) - target_link_libraries(kalzium -+ KF5::NewStuff - Qt5::OpenGL - compoundviewer - AvogadroQtGui --- -2.15.1 - |