Package: kde4libs / 4:4.14.38-3

Metadata

Package Version Patches format
kde4libs 4:4.14.38-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
kconf_update_migrate_from_kde3_icon_theme.diff | (download)

kdeui/CMakeLists.txt | 10 10 + 0 - 0 !
kdeui/icons/kconf_update_migrate_from_kde3_icon_theme.cpp | 157 157 + 0 - 0 !
kdeui/kdeui.upd | 6 6 + 0 - 0 !
3 files changed, 173 insertions(+)

 migrate from crystalsvg and similar kde 4 incompatible icon themes

The patch adds a kconf_update script which resets global icon theme to default
if current one does not have some standard icons (e.g. document-open etc.)
Useful when upgrading from KDE 3 to KDE 4 because default KDE 3 theme
(crystalsvg) is exactly like this, i.e. incompatible with KDE 4.

add_debian_build_type.diff | (download)

cmake/modules/FindKDE4Internal.cmake | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 add_debian_build_type

We get the flags from $(CXXFLAGS) and $(CFLAGS), if we don't remove them we add
them two times.
Define NDEBUG, otherwise we get pure debug code. Kfind will start in one instead
of twenty seconds with this define e.g. because of enabled caching of unknown
icons.

disable_usr_lib_install_rpath.diff | (download)

kdewidgets/CMakeLists.txt | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 don't set the install rpath to lib_install_dir don't set the install
 RPATH to LIB_INSTALL_DIR if LIB_INSTALL_DIR is one of the standard system
 link directories, like e.g. /usr/lib (which are listed in
 CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES,
 which is set in Modules/Platform/UnixPaths.cmake). . Also drop custom
 INSTALL_RPATHs in kdewidgets/CMakeLists.txt.


make_libkdeinit4_private.diff | (download)

CreateKDELibsDependenciesFile.cmake | 2 2 + 0 - 0 !
cmake/modules/FindKDE4Internal.cmake | 5 5 + 0 - 0 !
cmake/modules/KDE4Macros.cmake | 11 11 + 0 - 0 !
config-prefix.h.cmake | 1 1 + 0 - 0 !
kdecore/kde-config.cpp | 1 1 + 0 - 0 !
kdecore/kernel/kstandarddirs.cpp | 6 5 + 1 - 0 !
kdecore/kernel/kstandarddirs_unix.cpp | 2 2 + 0 - 0 !
kdecore/kernel/kstandarddirs_win.cpp | 2 2 + 0 - 0 !
kdecore/util/kpluginloader.cpp | 7 7 + 0 - 0 !
kinit/CMakeLists.txt | 11 11 + 0 - 0 !
kinit/kinit.cpp | 20 16 + 4 - 0 !
11 files changed, 63 insertions(+), 5 deletions(-)

 framework for making libkdeinit4_*.so "private"

The patch adds LIBKDEINIT_INSTALL_DIR cmake flag which specifies where
libkdeinit4_*.so are supposed to end up. Please note, however, that
libkdeinit4_*.so will not be automatically installed to LIBKDEINIT_INSTALL_DIR
(but rather LIB_INSTALL_DIR) after cmake_install and you will need to be move
to LIBKDEINIT_INSTALL_DIR manually in packaging (or e.g. with
dh_movelibkdeinit).

ENABLE_LIBKDEINIT_RUNPATH boolean variable controls whether to add RUNPATH to
generated kdeinit executables. ENABLE_LIBKDEINIT_RUNPATH is OFF by default
unless CMAKE_BUILD_TYPE is set to Debian. However, please note that CDBS kde.mk
and debhelper kde addon/buildsystem set CMAKE_BUILD_TYPE=Debian and call
dh_movelibkdeinit by default.

The patch also adds support for "kdeinit" resource type to KDE Platform
libraries.

default_kde4_xdg_menu_prefix.diff | (download)

kded/CMakeLists.txt | 2 1 + 1 - 0 !
kded/vfolder_menu.cpp | 7 4 + 3 - 0 !
2 files changed, 5 insertions(+), 4 deletions(-)

 default_kde4_xdg_menu_prefix


qt4_designer_plugins_path.diff | (download)

kdewidgets/CMakeLists.txt | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 qt4_designer_plugins_path

===================================================================

hardcode_ptm_device.diff | (download)

ConfigureChecks.cmake | 8 1 + 7 - 0 !
1 file changed, 1 insertion(+), 7 deletions(-)

 hardcode_ptm_device

In a build environment /dev/ptmx is not always present.
Bypass build time check as /dev/ptmx is alsways present at runtime.

kfreebsd_support.diff | (download)

ConfigureChecks.cmake | 6 3 + 3 - 0 !
cmake/modules/FindKDE4Internal.cmake | 8 4 + 4 - 0 !
kio/kfile/kpropertiesdialog.cpp | 10 9 + 1 - 0 !
kioslave/file/file.cpp | 2 2 + 0 - 0 !
kioslave/file/file_unix.cpp | 4 4 + 0 - 0 !
kpty/kpty.cpp | 24 12 + 12 - 0 !
6 files changed, 34 insertions(+), 20 deletions(-)

 kfreebsd_support

Make kdelibs build in Debian's kFreeBSD.
We can not push this patch to upstream since the:
CMAKE_SYSTEM_NAME MATCHES kFreeBSD stuff, needs the Debian patched
cmake.

debian_menu.diff | (download)

kded/applications.menu | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 debian_menu

Include the Debian menu. Else all would end up under lost & found.

Patch by Sune Vuorela.

findservicebydesktoppath_try_realfilepath.diff | (download)

kdecore/services/kservicefactory.cpp | 31 23 + 8 - 0 !
kdecore/services/kservicefactory.h | 2 2 + 0 - 0 !
2 files changed, 25 insertions(+), 8 deletions(-)

 findservicebydesktoppath_try_realfilepath

This patch is an attempt to make KDE find desktop files
and other stuff when /usr or anything else in the file
path is a symlink.

findqt4_optional_x11_pthread.diff | (download)

cmake/modules/Qt4ConfigDependentSettings.cmake | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 findqt4_optional_x11_pthread

Qt doesn't expose the X11 headers to the world, so no need to make it required.

use_dejavu_as_default_font.diff | (download)

kdeui/kernel/kglobalsettings.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use_dejavu_as_default_font

Use DejaVu Sans as default font and adjusts sizes accordingly (where
needed).

hack_in_etc_kde4_in_kstandarddirs.diff | (download)

kdecore/kernel/kstandarddirs.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 hack_in_etc_kde4_in_kstandarddirs

In the case of config files, we want a local sysadm dir added as well.

The priorities is as follows:

 - peoples homedir (.kde4)
 - for config files, /etc/kde4/
 - what's defined in KDEDIRS
 - the default install path.

With this patch, we can also install all config files into /usr/ as they just can get
overridden by adding new files to /etc/kde4 by the sysadm.

ld_exclude_libs_qtuitools.diff | (download)

kjsembed/kjsembed/CMakeLists.txt | 3 2 + 1 - 0 !
plasma/CMakeLists.txt | 3 3 + 0 - 0 !
2 files changed, 5 insertions(+), 1 deletion(-)

 exclude qtuitools symbols from public libraries currently,
 libplasma and libkjsembed are affected.


konsole_kfreebsd_fix.diff | (download)

kpty/kptydevice.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 konsole_kfreebsd_fix

This patch makes konsole work on kfreebsd.
Without it, konsole doesn't display anything in the terminal area.
Inspired from http://lists.kde.org/?l=kde-commits&m=122713720905453&w=2

hurd_support.diff | (download)

cmake/modules/FindKDE4Internal.cmake | 4 2 + 2 - 0 !
kdecore/kernel/kstandarddirs.cpp | 4 4 + 0 - 0 !
kinit/lnusertemp.c | 4 4 + 0 - 0 !
3 files changed, 10 insertions(+), 2 deletions(-)

 hurd_support

===================================================================

kfileshare_kdesu_fileshareset.diff | (download)

kio/kio/kfileshare.cpp | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 kfileshare_kdesu_fileshareset


relax_plugin_kde_version_check.diff | (download)

kdecore/util/kpluginloader.cpp | 1 0 + 1 - 0 !
plasma/version.cpp | 5 2 + 3 - 0 !
2 files changed, 2 insertions(+), 4 deletions(-)

 relax_plugin_kde_version_check


add_dlrestrictions_support.diff | (download)

cmake/modules/KDE4Macros.cmake | 11 11 + 0 - 0 !
kdecore/CMakeLists.txt | 8 8 + 0 - 0 !
kdecore/util/kpluginloader.cpp | 32 32 + 0 - 0 !
3 files changed, 51 insertions(+)

 add dlrestrictions support

The patch adds DLRestrictions compatibility checks to the KPluginLoader::load()
function. Moreover, a new helper CMake macro is introduced to ease addition of
the special DLRestrictions symbol to the KDE 4 shared objects (shared library
and module targets) defined in the project with kde4_add_library() macro.

In order to define DLRestrictions expressions for the shared objects in your
project, you may add something like this to the bottom of the main
CMakeLists.txt:

find_package(DLRestrictions REQUIRED)
kde4deb_dlrestrictions_process_libraries()

Please that either DEFAULT_DLRESTRICTIONS variable or DLRESTRICITIONS target
property must have set beforehand. Otherwise, this snippet will have no effect
on all (or some) the targets.

ktar_header_checksum_fix.diff | (download)

kdecore/io/ktar.cpp | 55 36 + 19 - 0 !
1 file changed, 36 insertions(+), 19 deletions(-)

 use unsigned arithmetic when calculating tar header checksum

According to the ustar specification, implementations must use unsigned
arithmetic when calculating checksum field of the tar header record. KTar prior
to this patch used signed arithmetic for checksum calculation when writing an
archive. The patch fixes this.

However, there are more broken tar implementations out there (including former
KTar itself) so the patch also makes KTar to verify checksums using both
unsigned and signed arithmetic when reading archives. If either of checksums
matches, archive is accepted.

ktar_longlink_length_in_bytes.diff | (download)

kdecore/io/ktar.cpp | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix longlink utf-8 support in ktar

tar archives have to use "longlink trick" to store names longer than 100 bytes.
KTar class has functions implementing longlink, but they check name length in
_characters_, not in bytes. For non-ASCII characters in UTF-8 length of string
in bytes and length in characters do not match. In my case file had
character-length less than 100 and byte-length greater than 100, so name simply
truncated. Such behavior can be observed on non-ASCII UTF-8 or any other
multibyte encoding. If file name is very long, resulting .tar may become
unreadable.

glibc_filesystem.diff | (download)

kdecore/io/kfilesystemtype_p.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 glibc_filesystem


kfreebsd_getmntent.diff | (download)

kdecore/io/kmountpoint.cpp | 5 5 + 0 - 0 !
solid/solid/backends/fstab/fstabhandling.cpp | 5 5 + 0 - 0 !
2 files changed, 10 insertions(+)

 kfreebsd_getmntent


kfreebsd_acl.diff | (download)

kio/kfile/kpropertiesdialog.cpp | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 kfreebsd_acl

===================================================================

cmake_compatibility.diff | (download)

cmake/modules/CMakeLists.txt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 cmake_compatibility

===================================================================

kde4libs_interpret_qvarianttype_as_qmetatypetype.diff | (download)

kdecore/config/kconfiggroup.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 kde4libs_interpret_qvarianttype_as_qmetatypetype

commit b722fc7feb2ef719f221784598b5c586591ca7b6
debian_standardsdirtest.diff | (download)

kdecore/tests/kstandarddirstest.cpp | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 debian_standardsdirtest

===================================================================

disable_bogus_tests | (download)

kio/tests/kdirmodeltest.cpp | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 disable_bogus_tests

===================================================================

fix_solidlex_destroy_signature.patch | (download)

solid/solid/predicate_parser.y | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix_solidlex_destroy_signature

===================================================================

kubuntu_raise_after_drkonqi.patch | (download)

kdeui/util/kcrash.cpp | 37 36 + 1 - 0 !
1 file changed, 36 insertions(+), 1 deletion(-)

 kubuntu_raise_after_drkonqi

===================================================================

kubuntu_revert_findpythonlibrary.diff | (download)

cmake/modules/FindPythonLibrary.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 kubuntu_revert_findpythonlibrary

===================================================================

set_cmake_policies.patch | (download)

cmake/modules/KDE4Macros.cmake | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 set_cmake_policies

===================================================================

solid_use_shortest_filepath.diff | (download)

solid/solid/backends/udisks2/udisksstorageaccess.cpp | 31 22 + 9 - 0 !
1 file changed, 22 insertions(+), 9 deletions(-)

 solid_use_shortest_filepath


use_an_oxygen5_file.diff | (download)

kdecore/tests/kmimetypetest.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use_an_oxygen5_file


test_image x compressed xcf.diff | (download)

kdeui/tests/kiconloader_unittest.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 test_image-x-compressed-xcf


add_missing_cast.diff | (download)

khtml/ecma/kjs_traversal.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 add_missing_cast


kdelibs 4.14.38 openssl 1.1.patch | (download)

kio/kssl/kopenssl.cpp | 250 222 + 28 - 0 !
kio/kssl/kopenssl.h | 80 70 + 10 - 0 !
kio/kssl/kssl.cpp | 4 0 + 4 - 0 !
kio/kssl/ksslcallback.c | 6 3 + 3 - 0 !
kio/kssl/ksslcertchain.cpp | 53 16 + 37 - 0 !
kio/kssl/ksslcertificate.cpp | 68 40 + 28 - 0 !
6 files changed, 351 insertions(+), 110 deletions(-)

 [patch] make kssl compile against openssl 1.1.0

OpenSSL 1.1.0 contains some source-incompatible changes, most notably
making most of the structures opaque and introducing new getter/setter
functions to modify the structures. This patch adds some of the newly
introduced functions to the KOpenSSL class and modifies the code to
call them. The implementation of those newly introduced methods
contains both OpenSSL < 1.1 compatible code (direct structure member
access) and calls to real functions resolved from OpenSSL>= 1.1
library. Which implementation is used is decided at compile time. Some
of the existing methods were renamed to match the OpenSSL 1.1 naming
and to avoid conflicts with backward-compatibility names provided by
OpenSSL 1.1.

KSSLCertificate::toNetscape() returns empty result when built against
OpenSSL 1.1 since I wasn't able to find a proper equivalent in OpenSSL
1.1 API (and there does not seem to be any).

(Backport of commit 9a990c69c606126bcd60cd7718462aec2a92460d from
kdelibs4support)