Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
kdelibs4
Skip-qtwebkit-parts.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Skip-qtwebkit-parts.patch of Package kdelibs4
From: Fabian Vogt <fabian@ritter-vogt.de> Subject: Do not build parts depending on Qt WebKit Qt WebKit is unmaintained and must not be used anymore. Index: kdelibs-4.14.38/CMakeLists.txt =================================================================== --- kdelibs-4.14.38.orig/CMakeLists.txt +++ kdelibs-4.14.38/CMakeLists.txt @@ -357,7 +357,6 @@ if(NOT WINCE) add_subdirectory( plasma ) endif(NOT WINCE) add_subdirectory( kunitconversion ) -add_subdirectory( kdewebkit ) add_subdirectory( includes ) add_subdirectory( experimental ) Index: kdelibs-4.14.38/plasma/CMakeLists.txt =================================================================== --- kdelibs-4.14.38.orig/plasma/CMakeLists.txt +++ kdelibs-4.14.38/plasma/CMakeLists.txt @@ -1,6 +1,7 @@ # strange conversion error in pushbutton.cpp kde4_no_enable_final(plasma) +set(PLASMA_NO_KDEWEBKIT TRUE) if(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION) set(PLASMA_NO_KDEWEBKIT TRUE) set(PLASMA_NO_KNEWSTUFF TRUE) @@ -121,7 +122,6 @@ set(plasma_LIB_SRCS framesvg.cpp plasma.cpp popupapplet.cpp - private/animablegraphicswebview.cpp private/applethandle.cpp private/associatedapplicationmanager.cpp private/componentinstaller.cpp @@ -211,7 +211,6 @@ set(plasma_LIB_SRCS widgets/textbrowser.cpp widgets/treeview.cpp widgets/textedit.cpp - widgets/webview.cpp #Temporary QtJolie branch private/qtjolie-branch/qtjolie/abstractadaptor.cpp @@ -275,7 +274,7 @@ endif(PHONON_FOUND) kde4_add_library(plasma ${LIBRARY_TYPE} ${plasma_LIB_SRCS}) -target_link_libraries(plasma LINK_PRIVATE ${QT_QTUITOOLS_LIBRARY} ${QT_QTWEBKIT_LIBRARY} +target_link_libraries(plasma LINK_PRIVATE ${QT_QTUITOOLS_LIBRARY} ${QT_QTSCRIPT_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${KDE4_KDEUI_LIBS} ${KDE4_KDNSSD_LIBS} ${KDE4_THREADWEAVER_LIBS} ${PLASMA_EXTRA_LIBS}) @@ -418,7 +417,6 @@ install(FILES widgets/textbrowser.h widgets/treeview.h widgets/textedit.h - widgets/webview.h DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/widgets COMPONENT Devel) install(FILES Index: kdelibs-4.14.38/kdewidgets/CMakeLists.txt =================================================================== --- kdelibs-4.14.38.orig/kdewidgets/CMakeLists.txt +++ kdelibs-4.14.38/kdewidgets/CMakeLists.txt @@ -89,40 +89,6 @@ if(QT_QTDESIGNER_FOUND) endif(NOT KDE_NO_DEPRECATED) - # kdewebkit widgets - include_directories( - ${CMAKE_SOURCE_DIR}/kdewebkit - ) - - add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/kdewebkitwidgets.cpp - COMMAND "${MAKEKDEWIDGETS_EXECUTABLE}" -o ${CMAKE_CURRENT_BINARY_DIR}/kdewebkitwidgets.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kdewebkit.widgets - MAIN_DEPENDENCY kdewebkit.widgets DEPENDS makekdewidgets) - - set(kdewebkitwidgets_PART_SRCS - classpreviews.cpp - ${CMAKE_CURRENT_BINARY_DIR}/kdewebkitwidgets.cpp - ) - - qt4_generate_moc(${CMAKE_CURRENT_BINARY_DIR}/kdewebkitwidgets.cpp ${CMAKE_CURRENT_BINARY_DIR}/kdewebkitwidgets.moc) - - - qt4_add_resources(kdewebkitwidgets_PART_SRCS kdewebkitwidgets.qrc) - - kde4_add_plugin(kdewebkitwidgets ${kdewebkitwidgets_PART_SRCS}) - - target_link_libraries(kdewebkitwidgets ${KDE4_KDEUI_LIBS} ${KDE4_KDEWEBKIT_LIBS} ${QT_QTWEBKIT_LIBRARY}) - if(NOT WIN32) - set_target_properties(kdewebkitwidgets PROPERTIES - INSTALL_RPATH_USE_LINK_PATH TRUE - SKIP_BUILD_RPATH TRUE - BUILD_WITH_INSTALL_RPATH TRUE - INSTALL_RPATH ${LIB_INSTALL_DIR} - ) - endif(NOT WIN32) - - install(TARGETS kdewebkitwidgets DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer ) - - if (QT_QT3SUPPORT_FOUND) include_directories(
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor