sync w/devel branch for 4.4.2 goodness

This commit is contained in:
Rex Dieter 2010-04-02 15:40:15 +00:00
parent 0bdfff2747
commit af07ff83ea
5 changed files with 10 additions and 62 deletions

View File

@ -1 +1 @@
kdelibs-4.4.1.tar.bz2
kdelibs-4.4.2.tar.bz2

View File

@ -1,21 +0,0 @@
diff -up kdelibs-4.4.1/cmake/modules/FindKDE4Internal.cmake.no_rpath kdelibs-4.4.1/cmake/modules/FindKDE4Internal.cmake
--- kdelibs-4.4.1/cmake/modules/FindKDE4Internal.cmake.no_rpath 2010-02-28 11:08:56.164016085 -0600
+++ kdelibs-4.4.1/cmake/modules/FindKDE4Internal.cmake 2010-02-28 11:10:20.126766912 -0600
@@ -947,7 +947,16 @@ if (UNIX)
set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
else (APPLE)
# add our LIB_INSTALL_DIR to the RPATH and use the RPATH figured out by cmake when compiling
- set(CMAKE_INSTALL_RPATH ${LIB_INSTALL_DIR} )
+ # set(CMAKE_INSTALL_RPATH ${LIB_INSTALL_DIR} )
+ message(STATUS "CMAKE_SYSTEM_LIBRARY_PATH: ${CMAKE_SYSTEM_LIBRARY_PATH}")
+ message(STATUS "LIB_INSTALL_DIR: ${LIB_INSTALL_DIR}")
+ list(FIND CMAKE_SYSTEM_LIBRARY_PATH ${LIB_INSTALL_DIR} _LIB_INSTALL_DIR_INDEX_IN_CMAKE_SYSTEM_LIBRARY_PATH)
+ message(STATUS "_LIB_INSTALL_DIR_INDEX_IN_CMAKE_SYSTEM_LIBRARY_PATH: ${_LIB_INSTALL_DIR_INDEX_IN_CMAKE_SYSTEM_LIBRARY_PATH}")
+ if(${_LIB_INSTALL_DIR_INDEX_IN_CMAKE_SYSTEM_LIBRARY_PATH} EQUAL -1)
+ message(STATUS "appending to CMAKE_INSTALL_RPATH: ${LIB_INSTALL_DIR}")
+ list(APPEND CMAKE_INSTALL_RPATH ${LIB_INSTALL_DIR})
+ endif(${_LIB_INSTALL_DIR_INDEX_IN_CMAKE_SYSTEM_LIBRARY_PATH} EQUAL -1)
+
set(CMAKE_SKIP_BUILD_RPATH FALSE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

View File

@ -1,29 +0,0 @@
--- branches/KDE/4.4/kdelibs/kdecore/io/kdebug.cpp 2010/01/06 22:46:33 1070858
+++ branches/KDE/4.4/kdelibs/kdecore/io/kdebug.cpp 2010/03/20 01:43:08 1105396
@@ -317,7 +317,7 @@
return groupName;
}
- OutputMode areaOutputMode(QtMsgType type, unsigned int area)
+ OutputMode areaOutputMode(QtMsgType type, unsigned int area, bool enableByDefault)
{
if (!config)
return QtOutput;
@@ -343,7 +343,7 @@
}
const KConfigGroup cg(config, groupNameForArea(area));
- const int mode = cg.readEntry(key, int(DefaultOutput));
+ const int mode = cg.readEntry(key, int(enableByDefault ? DefaultOutput : NoOutput));
return OutputMode(mode);
}
@@ -418,7 +418,7 @@
const int lev = level(type);
//qDebug() << "in cache for" << num << ":" << it->mode[lev];
if (it->mode[lev] == Unknown)
- it->mode[lev] = areaOutputMode(type, num);
+ it->mode[lev] = areaOutputMode(type, num, enableByDefault);
if (it->mode[lev] == FileOutput && it->logFileName[lev].isEmpty())
it->logFileName[lev] = logFileName(type, num);

View File

@ -7,8 +7,8 @@
%define apidocs 1
Summary: KDE Libraries
Version: 4.4.1
Release: 9%{?dist}
Version: 4.4.2
Release: 1%{?dist}
Name: kdelibs
Epoch: 6
@ -83,14 +83,10 @@ Patch24: kdelibs-4.3.1-drkonq.patch
# paths (like /usr/lib64) already! With this, we can drop
# -DCMAKE_SKIP_RPATH:BOOL=ON (finally)
Patch27: kdelibs-4.3.98-no_rpath.patch
# bug:568389 (crash in kpixmapcache)
Patch28: kdelibs-4.4.2-kpixmapcache.patch
# upstreamable
## 4.4 upstream
# https://bugs.kde.org/show_bug.cgi?id=227089
Patch100: kdelibs-4.4.2-kdebug.patch
## trunk upstream
Patch110: kdelibs-4.4.1-k3passworddialog_qt47.patch
@ -144,8 +140,6 @@ BuildRequires: zlib-devel
# extra X deps (seemingly needed and/or checked-for by most kde4 buildscripts)
%define x_deps libSM-devel libXcomposite-devel libXdamage-devel libxkbfile-devel libXpm-devel libXScrnSaver-devel libXtst-devel libXv-devel libXxf86misc-devel
%{?x_deps:BuildRequires: %{x_deps}}
BuildRequires: openssh-clients
BuildRequires: subversion
%if 0%{?apidocs}
BuildRequires: doxygen
@ -241,12 +235,10 @@ format for easy browsing.
%patch24 -p1 -b .drkonq
%endif
%patch27 -p1 -b .no_rpath
%patch28 -p4 -b .kpixmapcache
# upstreamable patches
# upstream patches
%patch100 -p4 -b .kdebug
%{?_qt47:%patch110 -p1 -b .k3passworddialog_qt47}
# security fix
@ -439,6 +431,12 @@ rm -rf %{buildroot}
%changelog
* Mon Mar 29 2010 Lukas Tinkl <ltinkl@redhat.com> - 6:4.4.2-1
- 4.4.2
* Thu Mar 25 2010 Rex Dieter <rdieter@fedoraproject.org> 6:4.4.1-10
- drop BR: openssh-clients subversion
* Thu Mar 25 2010 Rex Dieter <rdieter@fedoraproject.org> 6:4.4.1-9
- refresh kdelibs-4.4.2-kpixmapcache.patch

View File

@ -1 +1 @@
5057908fb9dcf7997a87fe27a382bfc9 kdelibs-4.4.1.tar.bz2
44ddba0e31ee3d78da09f0176d3c66db kdelibs-4.4.2.tar.bz2