aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2013-07-03 03:04:18 +0800
committerrakuco <rakuco@FreeBSD.org>2013-07-03 03:04:18 +0800
commitd8aba0f944c06887cc7520b2e25efe037cf47b8b (patch)
tree2923053fc55dccac74b95b5ed97ba05ff2db25bb /x11
parentc394643404ed2a30367814c35c919dd806e3f02d (diff)
downloadfreebsd-ports-gnome-d8aba0f944c06887cc7520b2e25efe037cf47b8b.tar.gz
freebsd-ports-gnome-d8aba0f944c06887cc7520b2e25efe037cf47b8b.tar.zst
freebsd-ports-gnome-d8aba0f944c06887cc7520b2e25efe037cf47b8b.zip
Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.
With commits from avilla@, makc@, rakuco@ and Schaich Alonso. The upstream announcement can be found in [1]. [1] http://www.kde.org/announcements/announce-4.10.4.php clang support should be more stable now, with clang being recognized by kdelibs4 and being passed the correct flags to build other ports. Additionally, all ports being committed have been verified to build with -CURRENT's clang 3.3 on an amd64 tinderbox (special thanks go to swills@ for providing it). Work on the newly-released 4.10.5 will begin shortly.
Diffstat (limited to 'x11')
-rw-r--r--x11/kactivities/distinfo4
-rw-r--r--x11/kactivities/pkg-plist3
-rw-r--r--x11/kde4-baseapps/distinfo4
-rw-r--r--x11/kde4-runtime/distinfo4
-rw-r--r--x11/kde4-runtime/files/patch-kioslave__thumbnail__CMakeLists.txt24
-rw-r--r--x11/kde4-runtime/pkg-plist3
-rw-r--r--x11/kde4-workspace/Makefile2
-rw-r--r--x11/kde4-workspace/distinfo4
-rw-r--r--x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js15
-rw-r--r--x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml11
-rw-r--r--x11/kde4-workspace/pkg-plist4
-rw-r--r--x11/kdelibs4/Makefile1
-rw-r--r--x11/kdelibs4/distinfo4
-rw-r--r--x11/kdelibs4/files/patch-KDE4Defaults.cmake4
-rw-r--r--x11/kdelibs4/files/patch-cmake_modules_FindKDE4Internal.cmake64
-rw-r--r--x11/kdelibs4/files/patch-kioslave__http__http.cpp32
-rw-r--r--x11/kdelibs4/pkg-message2
-rw-r--r--x11/kgamma/distinfo4
-rw-r--r--x11/konsole/distinfo4
19 files changed, 123 insertions, 70 deletions
diff --git a/x11/kactivities/distinfo b/x11/kactivities/distinfo
index da08ae0ff244..18099fefd39e 100644
--- a/x11/kactivities/distinfo
+++ b/x11/kactivities/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/kactivities-4.10.3.tar.xz) = 68e1654792aabad292b9689bdc5e34870e41b9829a37ffbac1685e9e05b7cd01
-SIZE (KDE/4.10.3/kactivities-4.10.3.tar.xz) = 108600
+SHA256 (KDE/4.10.4/kactivities-4.10.4.tar.xz) = b4085220188100250fa612de0865c21d9a65544be5889076d14d85b63a46c31d
+SIZE (KDE/4.10.4/kactivities-4.10.4.tar.xz) = 103080
diff --git a/x11/kactivities/pkg-plist b/x11/kactivities/pkg-plist
index a20be312f955..faf84e23ed01 100644
--- a/x11/kactivities/pkg-plist
+++ b/x11/kactivities/pkg-plist
@@ -36,9 +36,6 @@ share/ontology/kde/kao.trig
@dirrmtry share/ontology
@dirrm lib/kde4/imports/org/kde/activities/models
@dirrm lib/kde4/imports/org/kde/activities
-@dirrmtry lib/kde4/imports/org/kde
-@dirrmtry lib/kde4/imports/org
-@dirrmtry lib/kde4/imports
@dirrm lib/cmake/KActivities-Models
@dirrm lib/cmake/KActivities
@dirrmtry lib/cmake
diff --git a/x11/kde4-baseapps/distinfo b/x11/kde4-baseapps/distinfo
index 6aa2b2ecf5ad..b1d82c22529c 100644
--- a/x11/kde4-baseapps/distinfo
+++ b/x11/kde4-baseapps/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/kde-baseapps-4.10.3.tar.xz) = fd2f9a24888dc37b04ec5ec073571c91944a0d0b655c842e7d1744bfe17358dc
-SIZE (KDE/4.10.3/kde-baseapps-4.10.3.tar.xz) = 2613696
+SHA256 (KDE/4.10.4/kde-baseapps-4.10.4.tar.xz) = 34c68dc9ee38744ce435a98b3f97f31e206ec7ebc9568aaa96de083e9116ea18
+SIZE (KDE/4.10.4/kde-baseapps-4.10.4.tar.xz) = 2579872
diff --git a/x11/kde4-runtime/distinfo b/x11/kde4-runtime/distinfo
index 104158c45638..5e5db9a12caa 100644
--- a/x11/kde4-runtime/distinfo
+++ b/x11/kde4-runtime/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/kde-runtime-4.10.3.tar.xz) = 361d3aa8fc05c70a02c9010b1496901a88bd5d359e370875040ab8ea37f4f205
-SIZE (KDE/4.10.3/kde-runtime-4.10.3.tar.xz) = 7229684
+SHA256 (KDE/4.10.4/kde-runtime-4.10.4.tar.xz) = b614b1c3720755d7e9505f81874dcbb573736f5f9c9557c4346c3ca98686b218
+SIZE (KDE/4.10.4/kde-runtime-4.10.4.tar.xz) = 7136252
diff --git a/x11/kde4-runtime/files/patch-kioslave__thumbnail__CMakeLists.txt b/x11/kde4-runtime/files/patch-kioslave__thumbnail__CMakeLists.txt
new file mode 100644
index 000000000000..61a1278bdd1d
--- /dev/null
+++ b/x11/kde4-runtime/files/patch-kioslave__thumbnail__CMakeLists.txt
@@ -0,0 +1,24 @@
+commit b78585fe8d9d519364d44d923bd4696c1487134a
+Author: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+Date: Sun Jun 23 21:51:56 2013 +0300
+
+ Enable exceptions for the EXR thumbnailer.
+
+ The OpenEXR headers can throw exceptions, and clang complains when
+ exceptions are not enabled (kdelibs disables them by default).
+
+diff --git a/kioslave/thumbnail/CMakeLists.txt b/kioslave/thumbnail/CMakeLists.txt
+index 46005e0..8e5692f 100644
+--- kioslave/thumbnail/CMakeLists.txt
++++ kioslave/thumbnail/CMakeLists.txt
+@@ -110,6 +110,10 @@ if(OPENEXR_FOUND)
+
+ target_link_libraries(exrthumbnail ${KDE4_KIO_LIBS} ${OPENEXR_LIBRARIES})
+
++ # OpenEXR headers use exceptions; at least clang refuses to build the target
++ # when exceptions are not enabled.
++ set_target_properties(exrthumbnail PROPERTIES COMPILE_FLAGS "${KDE4_ENABLE_EXCEPTIONS}")
++
+ install(TARGETS exrthumbnail DESTINATION ${PLUGIN_INSTALL_DIR})
+ install( FILES exrthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+
diff --git a/x11/kde4-runtime/pkg-plist b/x11/kde4-runtime/pkg-plist
index 544c32e91812..e512e58a5aef 100644
--- a/x11/kde4-runtime/pkg-plist
+++ b/x11/kde4-runtime/pkg-plist
@@ -2249,8 +2249,5 @@ share/sounds/KDE-Window-Shade-Up.ogg
@dirrm lib/kde4/imports/org/kde/plasma
@dirrm lib/kde4/imports/org/kde/locale
@dirrm lib/kde4/imports/org/kde/draganddrop
-@dirrmtry lib/kde4/imports/org/kde
-@dirrmtry lib/kde4/imports/org
-@dirrmtry lib/kde4/imports
@dirrmtry etc/xdg/menus
@dirrmtry etc/xdg
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile
index b731f23109df..3a8e79a7db22 100644
--- a/x11/kde4-workspace/Makefile
+++ b/x11/kde4-workspace/Makefile
@@ -146,6 +146,8 @@ post-patch:
${PATCH_WRKSRC}/kdm/backend/client.c \
${PATCH_WRKSRC}/kdm/kfrontend/genkdmconf.c \
${PATCH_WRKSRC}/CMakeLists.txt
+ ${RM} ${WRKSRC}/plasma/generic/applets/batterymonitor/contents/code/logic.js.orig
+ ${RM} ${WRKSRC}/plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml.orig
pre-configure:
${REINPLACE_CMD} -e '/ksysguardd/ d' \
diff --git a/x11/kde4-workspace/distinfo b/x11/kde4-workspace/distinfo
index 1e0594c671b3..6bd4adfbf625 100644
--- a/x11/kde4-workspace/distinfo
+++ b/x11/kde4-workspace/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/kde-workspace-4.10.3.tar.xz) = d870db2f39dcec6d4c11ccaef53d24978c1249a9426814414a90456d9cfce49d
-SIZE (KDE/4.10.3/kde-workspace-4.10.3.tar.xz) = 13569364
+SHA256 (KDE/4.10.4/kde-workspace-4.10.4.tar.xz) = 55b9c79829fbbe781653951eb0b94dcfbb21fa46102c0c15db40521c143f22d1
+SIZE (KDE/4.10.4/kde-workspace-4.10.4.tar.xz) = 13426036
diff --git a/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js
new file mode 100644
index 000000000000..0918956f7ed6
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__code__logic.js
@@ -0,0 +1,15 @@
+--- ./plasma/generic/applets/batterymonitor/contents/code/logic.js.orig 2013-05-03 06:36:45.739116000 +0200
++++ ./plasma/generic/applets/batterymonitor/contents/code/logic.js 2013-06-11 00:33:16.130983470 +0200
+@@ -24,10 +24,12 @@
+ function updateCumulative() {
+ var sum = 0;
+ var charged = true;
++ batteries.cumulativePluggedin = false;
+ for (var i=0; i<batteries.count; i++) {
+ var b = batteries.get(i);
+ if (b["Plugged in"]) {
+ sum += b["Percent"];
++ batteries.cumulativePluggedin = true;
+ }
+ if (b["State"] != "NoCharge") {
+ charged = false;
diff --git a/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml
new file mode 100644
index 000000000000..a0599f93c5ab
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-plasma__generic__applets__batterymonitor__contents__ui__batterymonitor.qml
@@ -0,0 +1,11 @@
+--- ./plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml.orig 2013-05-03 06:36:45.739116000 +0200
++++ ./plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml 2013-06-11 00:33:16.141003089 +0200
+@@ -186,7 +186,7 @@
+ }
+
+ property int cumulativePercent
+- property bool cumulativePluggedin: count > 0
++ property bool cumulativePluggedin
+ // true --> all batteries charged
+ // false --> one of the batteries charging/discharging
+ property bool allCharged
diff --git a/x11/kde4-workspace/pkg-plist b/x11/kde4-workspace/pkg-plist
index 58e9bc2e37c6..92dec596cc69 100644
--- a/x11/kde4-workspace/pkg-plist
+++ b/x11/kde4-workspace/pkg-plist
@@ -2175,7 +2175,6 @@ share/wallpapers/stripes.png.desktop
@dirrm share/apps/plasma/plasmoids/battery/contents/code
@dirrm share/apps/plasma/plasmoids/battery/contents
@dirrm share/apps/plasma/plasmoids/battery
-@dirrm share/apps/plasma/plasmoids
@dirrm share/apps/plasma/packages/org.kde.systemtray/contents/ui
@dirrm share/apps/plasma/packages/org.kde.systemtray/contents/code
@dirrm share/apps/plasma/packages/org.kde.systemtray/contents
@@ -2355,9 +2354,6 @@ share/wallpapers/stripes.png.desktop
@dirrm lib/kde4/imports/org/kde/kwin/decorations
@dirrm lib/kde4/imports/org/kde/kwin/decoration
@dirrm lib/kde4/imports/org/kde/kwin
-@dirrmtry lib/kde4/imports/org/kde
-@dirrmtry lib/kde4/imports/org
-@dirrmtry lib/kde4/imports
@dirrm lib/cmake/KDE4Workspace
@dirrmtry lib/cmake
@dirrm include/taskmanager
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index a011ed3b1192..d9d32c4dbc8f 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -53,6 +53,7 @@ USE_QT4= corelib dbus declarative designer_build gui \
USE_XORG= sm x11 xcursor xext xfixes xrender xtst
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
+MAKE_ENV= XDG_CONFIG_HOME=/dev/null
CMAKE_ARGS+= -DWITH_ACL:BOOL=Off \
-DWITH_FAM:BOOL=On \
diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo
index 0d4e85e8a6ec..f3de9ad15023 100644
--- a/x11/kdelibs4/distinfo
+++ b/x11/kdelibs4/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/kdelibs-4.10.3.tar.xz) = 5fbde0b372e6c2054ee3c620f3e465b452d2bf90a0c6ab3cc98d153e3a572cef
-SIZE (KDE/4.10.3/kdelibs-4.10.3.tar.xz) = 11981656
+SHA256 (KDE/4.10.4/kdelibs-4.10.4.tar.xz) = a1e570c76e8f31687510bb27de0b5af85c4a7b8b4145189f0e93217c2e4c4420
+SIZE (KDE/4.10.4/kdelibs-4.10.4.tar.xz) = 11786940
diff --git a/x11/kdelibs4/files/patch-KDE4Defaults.cmake b/x11/kdelibs4/files/patch-KDE4Defaults.cmake
index e0c7ded7e855..2a02bce93f52 100644
--- a/x11/kdelibs4/files/patch-KDE4Defaults.cmake
+++ b/x11/kdelibs4/files/patch-KDE4Defaults.cmake
@@ -4,13 +4,13 @@
# define the generic version of the libraries here
# this makes it easy to advance it when the next KDE release comes
# Use this version number for libraries which are at version n in KDE version n
--set(GENERIC_LIB_VERSION "4.10.3")
+-set(GENERIC_LIB_VERSION "4.10.4")
-set(GENERIC_LIB_SOVERSION "4")
+set(GENERIC_LIB_VERSION "5.0.1")
+set(GENERIC_LIB_SOVERSION "5")
# Use this version number for libraries which are already at version n+1 in KDE version n
--set(KDE_NON_GENERIC_LIB_VERSION "5.10.3")
+-set(KDE_NON_GENERIC_LIB_VERSION "5.10.4")
-set(KDE_NON_GENERIC_LIB_SOVERSION "5")
+set(KDE_NON_GENERIC_LIB_VERSION "7.0.1")
+set(KDE_NON_GENERIC_LIB_SOVERSION "7")
diff --git a/x11/kdelibs4/files/patch-cmake_modules_FindKDE4Internal.cmake b/x11/kdelibs4/files/patch-cmake_modules_FindKDE4Internal.cmake
index 3180d70d340c..6f73a6014299 100644
--- a/x11/kdelibs4/files/patch-cmake_modules_FindKDE4Internal.cmake
+++ b/x11/kdelibs4/files/patch-cmake_modules_FindKDE4Internal.cmake
@@ -1,22 +1,64 @@
---- ./cmake/modules/FindKDE4Internal.cmake.orig 2012-11-30 07:17:39.000000000 +0000
-+++ ./cmake/modules/FindKDE4Internal.cmake 2013-02-15 15:45:41.732493091 +0000
+--- cmake/modules/FindKDE4Internal.cmake.orig 2013-05-28 21:33:13.000000000 +0300
++++ cmake/modules/FindKDE4Internal.cmake 2013-06-23 15:03:18.000000000 +0300
@@ -893,8 +893,8 @@
_set_fancy(XDG_MIME_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/mime/packages" "The install dir for the xdg mimetypes")
_set_fancy(SYSCONF_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/etc" "The sysconfig install dir (default ${CMAKE_INSTALL_PREFIX}/etc)")
- _set_fancy(MAN_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/man" "The man install dir (default ${SHARE_INSTALL_PREFIX}/man/)")
- _set_fancy(INFO_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/info" "The info install dir (default ${SHARE_INSTALL_PREFIX}/info)")
-+ _set_fancy(MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man" "The man install dir (default ${SHARE_INSTALL_PREFIX}/man/)")
-+ _set_fancy(INFO_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/info" "The info install dir (default ${SHARE_INSTALL_PREFIX}/info)")
++ _set_fancy(MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man" "The man install dir (default ${CMAKE_INSTALL_PREFIX}/man/)")
++ _set_fancy(INFO_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/info" "The info install dir (default ${CMAKE_INSTALL_PREFIX}/info)")
_set_fancy(DBUS_INTERFACES_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/dbus-1/interfaces" "The dbus interfaces install dir (default ${SHARE_INSTALL_PREFIX}/dbus-1/interfaces)")
_set_fancy(DBUS_SERVICES_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/dbus-1/services" "The dbus services install dir (default ${SHARE_INSTALL_PREFIX}/dbus-1/services)")
_set_fancy(DBUS_SYSTEM_SERVICES_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/dbus-1/system-services" "The dbus system services install dir (default ${SHARE_INSTALL_PREFIX}/dbus-1/system-services)")
-@@ -1204,7 +1204,7 @@
- set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline")
- set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
+@@ -1304,6 +1304,50 @@
+ endif (CMAKE_COMPILER_IS_GNUCXX)
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
- # As of Qt 4.6.x we need to override the new exception macros if we want compile with -fno-exceptions
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common")
++if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
++ set (KDE4_ENABLE_EXCEPTIONS "-fexceptions -UQT_NO_EXCEPTIONS")
++ # Select flags.
++ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
++ set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG")
++ set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-inline")
++ set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline")
++ set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
++ set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
++ set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG")
++ set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-inline")
++ set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline")
++ set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
++
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common")
++ # As of Qt 4.6.x we need to override the new exception macros if we want compile with -fno-exceptions
++ # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-exceptions -DQT_NO_EXCEPTIONS -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage")
++ set(KDE4_C_FLAGS "-fvisibility=hidden")
++
++ set(KDE4_CXX_FPIE_FLAGS "-fPIE")
++ set(KDE4_PIE_LDFLAGS "-pie")
++
++ if (CMAKE_SYSTEM_NAME STREQUAL GNU)
++ set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pthread")
++ set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -pthread")
++ endif (CMAKE_SYSTEM_NAME STREQUAL GNU)
++
++ set(__KDE_HAVE_GCC_VISIBILITY TRUE)
++
++ # check that Qt defines Q_DECL_EXPORT as __attribute__ ((visibility("default")))
++ # if it doesn't and KDE compiles with hidden default visibiltiy plugins will break
++ set(_source "#include <QtCore/QtGlobal>\n int main()\n {\n #ifndef QT_VISIBILITY_AVAILABLE \n #error QT_VISIBILITY_AVAILABLE is not available\n #endif \n }\n")
++ set(_source_file ${CMAKE_BINARY_DIR}/CMakeTmp/check_qt_visibility.cpp)
++ file(WRITE "${_source_file}" "${_source}")
++ set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${QT_INCLUDES}")
++ try_compile(_compile_result ${CMAKE_BINARY_DIR} ${_source_file} CMAKE_FLAGS "${_include_dirs}" OUTPUT_VARIABLE _compile_output_var)
++ if(NOT _compile_result)
++ message("${_compile_output_var}")
++ message(FATAL_ERROR "Qt compiled without support for -fvisibility=hidden. This will break plugins and linking of some applications. Please fix your Qt installation (try passing --reduce-exports to configure).")
++ endif(NOT _compile_result)
++endif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
++
++
+ if (CMAKE_C_COMPILER MATCHES "icc")
+
+ set (KDE4_ENABLE_EXCEPTIONS -fexceptions)
diff --git a/x11/kdelibs4/files/patch-kioslave__http__http.cpp b/x11/kdelibs4/files/patch-kioslave__http__http.cpp
deleted file mode 100644
index 60842593ffbc..000000000000
--- a/x11/kdelibs4/files/patch-kioslave__http__http.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-commit 65d736dab592bced4410ccfa4699de89f78c96ca
-Author: Grégory Oestreicher <greg@kamago.net>
-Date: Wed May 8 23:16:00 2013 +0200
-
- Don't show passwords contained in HTTP URLs in error messages
- BUG: 319428
-
-diff --git a/kioslave/http/http.cpp b/kioslave/http/http.cpp
-index 2d139a9..129fc7b 100644
---- ./kioslave/http/http.cpp
-+++ ./kioslave/http/http.cpp
-@@ -3056,7 +3056,7 @@ try_again:
- ; // Ignore error
- } else {
- if (!sendErrorPageNotification()) {
-- error(ERR_INTERNAL_SERVER, m_request.url.url());
-+ error(ERR_INTERNAL_SERVER, m_request.url.prettyUrl());
- return false;
- }
- }
-@@ -3072,9 +3072,9 @@ try_again:
- // Tell that we will only get an error page here.
- if (!sendErrorPageNotification()) {
- if (m_request.responseCode == 403)
-- error(ERR_ACCESS_DENIED, m_request.url.url());
-+ error(ERR_ACCESS_DENIED, m_request.url.prettyUrl());
- else
-- error(ERR_DOES_NOT_EXIST, m_request.url.url());
-+ error(ERR_DOES_NOT_EXIST, m_request.url.prettyUrl());
- return false;
- }
- } else if (m_request.responseCode >= 301 && m_request.responseCode<= 303) {
diff --git a/x11/kdelibs4/pkg-message b/x11/kdelibs4/pkg-message
index c884bc59d618..81747701bee7 100644
--- a/x11/kdelibs4/pkg-message
+++ b/x11/kdelibs4/pkg-message
@@ -2,7 +2,7 @@
Due to severe instability, the Solid UPnP backend was disabled. Thus,
you will not get notifications about networked shares in the device
-notifier. The UPnP functionality can be reenabled by setting the
+notifier. The UPnP functionality can be re-enabled by setting the
SOLID_UPNP environment variable:
$ cat > ~/.kde4/env/upnp.sh << EOF
diff --git a/x11/kgamma/distinfo b/x11/kgamma/distinfo
index d5d410fc21eb..b437ed2e18ae 100644
--- a/x11/kgamma/distinfo
+++ b/x11/kgamma/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/kgamma-4.10.3.tar.xz) = 3f3e8f377bba08c7ad1d94c103c84613c6a52393100797c66f96492add928bb1
-SIZE (KDE/4.10.3/kgamma-4.10.3.tar.xz) = 27092
+SHA256 (KDE/4.10.4/kgamma-4.10.4.tar.xz) = 6546957393afed77b7b89875bc69304b9c308ad04741a54fd19cb2aed73dbcc2
+SIZE (KDE/4.10.4/kgamma-4.10.4.tar.xz) = 26244
diff --git a/x11/konsole/distinfo b/x11/konsole/distinfo
index 9874c850687a..50b1cfe778a8 100644
--- a/x11/konsole/distinfo
+++ b/x11/konsole/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.3/konsole-4.10.3.tar.xz) = 66e88d86e4986e50036c3e610a1d3a5412f710b6feae31e383552d6c2b158fcd
-SIZE (KDE/4.10.3/konsole-4.10.3.tar.xz) = 445852
+SHA256 (KDE/4.10.4/konsole-4.10.4.tar.xz) = a46d78a3e0b5b24f68b26011f95735ced645918eedfcc1f5ef5c9bc318237b4f
+SIZE (KDE/4.10.4/konsole-4.10.4.tar.xz) = 439980