summaryrefslogtreecommitdiffstats
path: root/kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-01-09 00:06:49 +0100
committer Eric Hameleers <alien@slackware.com>2015-01-09 00:06:49 +0100
commitda1be5a21ba06235b67a999f696ec66e35dc17a1 (patch)
tree6df637d821a6ac0ad65f8caaf967ea2a6956a862 /kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff
parentb1b35d20ce6b70330b23a9d056dcb44b58795bd6 (diff)
downloadktown-da1be5a21ba06235b67a999f696ec66e35dc17a1.tar.gz
ktown-da1be5a21ba06235b67a999f696ec66e35dc17a1.tar.xz
Prepare for new KDE 5: Frameworks 5.6.0, Plasma 5.1.2, Applications 14.12.0.
KDE 5_1501 ========== This is going to be KDE 5 for Slackware-current, composed of Frameworks 5.6.0, Plasma 5.1.2 and Applications 14.12.0. Note that there is still a lot of KDE 4 stuff in here, which is necessary to support all the Applications that have not yet been ported to KDE Frameworks 5. The Applications 15.04 (march 2015) release should offer a lot more KF5 ports. Preliminary build procedure (not verified 100% yet): ---------------------------------------------------- - (crude) get rid of Slackware's KDE: removepkg /var/log/packages/*-4.10.5-* - build all the deps using "updates.SlackBuild" script in the "deps/" directory - note that extra-cmake-modules is required here as well as when building the frameworks, so I just copied it from frameworks to deps. - logoff/login to activate Qt5 profile script. - removepkg akonadi-qt5 or else kdepimlibs-4.14.3 picks up Qt5 dependencies and its compilation will fail as a result - build all the KDE 4 stuff in the "kde/" directory, using "./KDE.SlackBuild kde libs kdebase:nepomuk-core kdepimlibs kdebase kdebindings kdebase:kde-workspace k depim extragear" - installpkg akonadi-qt5 - build the remaining KDE 5 stuff in the "kde/" directory, using "./KDE.SlackBui ld frameworks plasma plasma-extra polkit-kde applications" - build kdei ============================================================================== Eric Hameleers / alien at slackware dot com / 09-jan-2015
Diffstat (limited to 'kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff')
-rw-r--r--kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff88
1 files changed, 88 insertions, 0 deletions
diff --git a/kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff b/kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff
new file mode 100644
index 0000000..74d541c
--- /dev/null
+++ b/kde/patch/plasma-desktop/plasma-desktop_kdelibs4support.diff
@@ -0,0 +1,88 @@
+--- plasma-desktop-20140602git/kcms/kfontinst/lib/CMakeLists.txt.orig 2014-06-03 16:08:19.294297273 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/lib/CMakeLists.txt 2014-06-03 16:09:12.420293700 +0200
+@@ -15,6 +15,6 @@
+ set_target_properties(kfontinst PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION 5 )
+
+ add_library(kfontinstui SHARED ${kfontinstui_LIB_SRCS})
+-target_link_libraries(kfontinstui Qt5::X11Extras KF5::KIOCore KF5::KIOWidgets ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${X11_X11_LIB} ${X11_Xft_LIB} kfontinst )
++target_link_libraries(kfontinstui Qt5::X11Extras KF5::KIOCore KF5::KIOWidgets KF5::KDELibs4Support XCB::XCB XCB::IMAGE ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${X11_X11_LIB} ${X11_Xft_LIB} kfontinst )
+ set_target_properties(kfontinstui PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION 5 )
+ install(TARGETS kfontinst kfontinstui ${INSTALL_TARGETS_DEFAULT_ARGS} )
+--- plasma-desktop-20140602git/kcms/kfontinst/dbus/CMakeLists.txt.orig 2014-06-02 13:47:27.000000000 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/dbus/CMakeLists.txt 2014-06-03 17:17:01.382378586 +0200
+@@ -14,11 +14,11 @@
+
+ set_target_properties(fontinst_bin PROPERTIES OUTPUT_NAME fontinst)
+ target_link_libraries(fontinst_bin
+- Qt5::DBus Qt5::Xml ${FONTCONFIG_LIBRARIES} kfontinst)
++ Qt5::DBus Qt5::Xml Qt5::X11Extras KF5::KDELibs4Support XCB::XCB XCB::IMAGE ${FONTCONFIG_LIBRARIES} kfontinst)
+
+ set_target_properties(fontinst_helper PROPERTIES OUTPUT_NAME fontinst_helper)
+ target_link_libraries(fontinst_helper
+- Qt5::DBus Qt5::Xml ${FONTCONFIG_LIBRARIES} kfontinst)
++ Qt5::DBus Qt5::Xml Qt5::X11Extras KF5::KDELibs4Support XCB::XCB XCB::IMAGE ${FONTCONFIG_LIBRARIES} kfontinst)
+
+ install(TARGETS fontinst_bin DESTINATION ${LIBEXEC_INSTALL_DIR} )
+ install(TARGETS fontinst_helper DESTINATION ${LIBEXEC_INSTALL_DIR} )
+--- plasma-desktop-20140602git/kcms/kfontinst/kcmfontinst/CMakeLists.txt.orig 2014-06-02 13:47:27.000000000 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/kcmfontinst/CMakeLists.txt 2014-06-03 19:19:00.376164975 +0200
+@@ -10,6 +10,7 @@
+ add_library(kcm_fontinst MODULE ${kcm_fontinst_PART_SRCS})
+
+ target_link_libraries(kcm_fontinst
++ Qt5::X11Extras
+ KF5::Archive
+ KF5::KCMUtils
+ KF5::Su
+--- plasma-desktop-20140602git/kcms/kfontinst/apps/CMakeLists.txt.orig 2014-06-02 13:47:27.000000000 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/apps/CMakeLists.txt 2014-06-03 19:27:47.209175028 +0200
+@@ -31,6 +31,7 @@
+ )
+ target_link_libraries(kfontprint_bin
+ Qt5::PrintSupport
++ Qt5::X11Extras
+ KF5::IconThemes
+ KF5::KDELibs4Support
+ ${X11_X11_LIB}
+@@ -38,7 +39,7 @@
+ kfontinstui
+ kfontinst
+ )
+-target_link_libraries(kfontview_bin KF5::Parts KF5::XmlGui kfontinstui kfontinst )
++target_link_libraries(kfontview_bin KF5::Parts KF5::XmlGui KF5::KDELibs4Support kfontinstui kfontinst )
+
+ install(TARGETS kfontinst_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
+ install(TARGETS kfontprint_bin DESTINATION ${LIBEXEC_INSTALL_DIR} )
+--- plasma-desktop-20140602git/kcms/kfontinst/kio/CMakeLists.txt.orig 2014-06-02 13:47:27.000000000 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/kio/CMakeLists.txt 2014-06-03 19:31:34.379189708 +0200
+@@ -5,7 +5,7 @@
+ set(kio_fonts_PART_SRCS FontInstInterface.cpp KioFonts.cpp ${libkfontinstdbusiface_SRCS})
+ # qt5_add_dbus_interface(kio_fonts_PART_SRCS ../dbus/org.kde.fontinst.xml FontinstIface)
+ add_library(kio_fonts MODULE ${kio_fonts_PART_SRCS} ${KFI_FONTINST_AUTH_SRC} )
+-target_link_libraries(kio_fonts Qt5::DBus Qt5::X11Extras Qt5::Xml KF5::Archive KF5::KIOCore KF5::KIOWidgets kfontinst )
++target_link_libraries(kio_fonts Qt5::DBus Qt5::X11Extras Qt5::Xml KF5::Archive KF5::KIOCore KF5::KIOWidgets KF5::KDELibs4Support kfontinst )
+ install(TARGETS kio_fonts DESTINATION ${PLUGIN_INSTALL_DIR} )
+ install( FILES fonts.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services )
+ install( FILES fonts.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+--- plasma-desktop-20140602git/kcms/kfontinst/thumbnail/CMakeLists.txt.orig 2014-06-02 13:47:27.000000000 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/thumbnail/CMakeLists.txt 2014-06-03 19:34:23.357198688 +0200
+@@ -7,7 +7,7 @@
+
+ add_library(fontthumbnail MODULE ${fontthumbnail_PART_SRCS})
+
+-target_link_libraries(fontthumbnail KF5::Archive KF5::KIOCore KF5::KIOWidgets kfontinstui kfontinst )
++target_link_libraries(fontthumbnail KF5::Archive KF5::KIOCore KF5::KIOWidgets KF5::KDELibs4Support kfontinstui kfontinst )
+
+ install(TARGETS fontthumbnail DESTINATION ${PLUGIN_INSTALL_DIR} )
+ install( FILES fontthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+--- plasma-desktop-20140602git/kcms/kfontinst/viewpart/CMakeLists.txt.orig 2014-06-02 13:47:27.000000000 +0200
++++ plasma-desktop-20140602git/kcms/kfontinst/viewpart/CMakeLists.txt 2014-06-03 19:42:35.590219674 +0200
+@@ -8,7 +8,7 @@
+
+ add_library(kfontviewpart MODULE ${kfontviewpart_PART_SRCS})
+
+-target_link_libraries(kfontviewpart KF5::Archive KF5::Parts KF5::XmlGui ${FONTCONFIG_LIBRARIES} kfontinstui kfontinst )
++target_link_libraries(kfontviewpart KF5::Archive KF5::Parts KF5::XmlGui KF5::KDELibs4Support ${FONTCONFIG_LIBRARIES} kfontinstui kfontinst )
+
+ install(TARGETS kfontviewpart DESTINATION ${PLUGIN_INSTALL_DIR} )
+ install( FILES kfontviewpart.rc DESTINATION ${DATA_INSTALL_DIR}/kfontinst )