diff options
author | Maximiliano Curia <maxy@gnuservers.com.ar> | 2015-02-16 10:27:38 +0100 |
---|---|---|
committer | Maximiliano Curia <maxy@gnuservers.com.ar> | 2015-02-16 10:27:38 +0100 |
commit | 0b7445f48fe218836e11199002ef6962f059f754 (patch) | |
tree | 084ccd0c38055474dc83c06ba210dd0d24fe322f | |
parent | 02b27f1836addb583f09654335e999dcfb67d8b5 (diff) | |
download | kde4libs-0b7445f48fe218836e11199002ef6962f059f754.tar.gz |
Delete upstream patches, and the others
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/patches/KRecursiveFilterProxyModel-Fixed-the-model.diff | 331 | ||||
-rw-r--r-- | debian/patches/allow_cancel_ssl.diff | 89 | ||||
-rw-r--r-- | debian/patches/hurd_support.diff | 14 | ||||
-rw-r--r-- | debian/patches/kconf_update_migrate_from_kde3_icon_theme.diff | 10 | ||||
-rw-r--r-- | debian/patches/kfreebsd_support.diff | 30 | ||||
-rw-r--r-- | debian/patches/kubuntu_raise_after_drkonqi.patch | 10 | ||||
-rw-r--r-- | debian/patches/series | 2 |
8 files changed, 39 insertions, 454 deletions
diff --git a/debian/changelog b/debian/changelog index d716a42..1f0ae9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ kde4libs (4:4.14.5-1~) UNRELEASED; urgency=medium + [ Scarlett Clark ] * New upstream release * Fix watch file new version * New upstream release for kde-applications. @@ -7,6 +8,12 @@ kde4libs (4:4.14.5-1~) UNRELEASED; urgency=medium * Batchpatch symbols file: removed two optional Missing. * Removed 2 private symbols sortedKeys for nepomuk + [ Maximiliano Curia ] + * Remove upstream patch: allow_cancel_ssl.diff + * Remove upstream patch: KRecursiveFilterProxyModel-Fixed-the- + model.diff + * Refresh patches. + -- Scarlett Clark <sgclark@kubuntu.org> Fri, 06 Feb 2015 19:50:29 -0800 kde4libs (4:4.14.2-5) unstable; urgency=medium diff --git a/debian/patches/KRecursiveFilterProxyModel-Fixed-the-model.diff b/debian/patches/KRecursiveFilterProxyModel-Fixed-the-model.diff deleted file mode 100644 index 5ebfa53..0000000 --- a/debian/patches/KRecursiveFilterProxyModel-Fixed-the-model.diff +++ /dev/null @@ -1,331 +0,0 @@ -From a932980cc7babe69613b9c6ad98faa4ec368258e Mon Sep 17 00:00:00 2001 -From: Christian Mollekopf <chrigi_1@fastmail.fm> -Date: Tue, 9 Sep 2014 18:16:37 +0200 -Subject: [PATCH] KRecursiveFilterProxyModel: Fixed the model - -The model was not working properly and didn't include all items under -some circumstances. -This patch fixes the following scenarios in particular: - -* The change in sourceDataChanged is required to fix the shortcut condition. -The idea is that if the parent is already part of the model (it must be if acceptRow returns true), -we can directly invoke dataChanged on the parent, resulting in the changed index -getting reevaluated. However, because the recursive filterAcceptsRow version was used -the shortcut was also used when only the current index matches the filter and -the parent index is in fact not yet in the model. In this case we failed to call -dataChanged on the right index and thus the complete branch was never added to the model. - -* The change in refreshAscendantMapping is required to include indexes that were -included by descendants. The intended way how this was supposed to work is that we -traverse the tree upwards and find the last index that is not yet part of the model. -We would then call dataChanged on that index causing it and its descendants to get reevaluated. -However, acceptRow does not reflect wether an index is already in the model or not. -Consider the following model: - -- A - - B - - C - - D - - -If C is include in the model by default but D not and A & B only gets included due to C, we have the following model: -- A - - B - - C - - D - -If we then call refreshAscendantsMapping on D it will not consider B as already being part of the model. -This results in the toplevel index A being considered lastAscendant, and a call to dataChanged on A results in -a reevaluation of A only, which is already in the model. Thus D never gets added to the model. - -Unfortunately there is no way to probe QSortFilterProxyModel for indexes that are -already part of the model. Even the const mapFromSource internally creates a mapping when called, -and thus instead of revealing indexes that are not yet part of the model, it silently -creates a mapping (without issuing the relevant signals!). - -As the only possible workaround we have to issues dataChanged for all ancestors -which is ignored for indexes that are not yet mapped, and results in a rowsInserted -signal for the correct indexes. It also results in superfluous dataChanged signals, -since we don't know when to stop, but at least we have a properly behaving model -this way. ---- - kdeui/itemviews/krecursivefilterproxymodel.cpp | 17 +- - kdeui/tests/CMakeLists.txt | 1 + - kdeui/tests/krecursivefilterproxymodeltest.cpp | 221 +++++++++++++++++++++++++ - 3 files changed, 227 insertions(+), 12 deletions(-) - create mode 100644 kdeui/tests/krecursivefilterproxymodeltest.cpp - ---- a/kdeui/itemviews/krecursivefilterproxymodel.cpp -+++ b/kdeui/itemviews/krecursivefilterproxymodel.cpp -@@ -126,7 +126,7 @@ void KRecursiveFilterProxyModelPrivate:: - - QModelIndex source_parent = source_top_left.parent(); - -- if (!source_parent.isValid() || q->filterAcceptsRow(source_parent.row(), source_parent.parent())) -+ if (!source_parent.isValid() || q->acceptRow(source_parent.row(), source_parent.parent())) - { - invokeDataChanged(source_top_left, source_bottom_right); - return; -@@ -149,24 +149,17 @@ void KRecursiveFilterProxyModelPrivate:: - void KRecursiveFilterProxyModelPrivate::refreshAscendantMapping(const QModelIndex &index, bool refreshAll) - { - Q_Q(KRecursiveFilterProxyModel); -- - Q_ASSERT(index.isValid()); -- QModelIndex lastAscendant = index; -- QModelIndex sourceAscendant = index.parent(); -+ -+ QModelIndex sourceAscendant = index; - // We got a matching descendant, so find the right place to insert the row. - // We need to tell the QSortFilterProxyModel that the first child between an existing row in the model - // has changed data so that it will get a mapping. -- while(sourceAscendant.isValid() && !q->acceptRow(sourceAscendant.row(), sourceAscendant.parent())) -+ while(sourceAscendant.isValid()) - { -- if (refreshAll) -- invokeDataChanged(sourceAscendant, sourceAscendant); -- -- lastAscendant = sourceAscendant; -+ invokeDataChanged(sourceAscendant, sourceAscendant); - sourceAscendant = sourceAscendant.parent(); - } -- -- // Inform the model that its data changed so that it creates new mappings and finds the rows which now match the filter. -- invokeDataChanged(lastAscendant, lastAscendant); - } - - void KRecursiveFilterProxyModelPrivate::sourceRowsAboutToBeInserted(const QModelIndex &source_parent, int start, int end) ---- a/kdeui/tests/CMakeLists.txt -+++ b/kdeui/tests/CMakeLists.txt -@@ -82,6 +82,7 @@ KDEUI_PROXYMODEL_TESTS( - kdescendantsproxymodeltest - kselectionproxymodeltest - testmodelqueuedconnections -+ krecursivefilterproxymodeltest - ) - - KDEUI_EXECUTABLE_TESTS( ---- /dev/null -+++ b/kdeui/tests/krecursivefilterproxymodeltest.cpp -@@ -0,0 +1,221 @@ -+/* -+ Copyright (c) 2014 Christian Mollekopf <mollekopf@kolabsys.com> -+ -+ This library is free software; you can redistribute it and/or modify it -+ under the terms of the GNU Library General Public License as published by -+ the Free Software Foundation; either version 2 of the License, or (at your -+ option) any later version. -+ -+ This library is distributed in the hope that it will be useful, but WITHOUT -+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public -+ License for more details. -+ -+ You should have received a copy of the GNU Library General Public License -+ along with this library; see the file COPYING.LIB. If not, write to the -+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -+ 02110-1301, USA. -+*/ -+ -+ -+#include <qtest_kde.h> -+ -+#include <krecursivefilterproxymodel.h> -+#include <QStandardItemModel> -+ -+class ModelSignalSpy : public QObject { -+ Q_OBJECT -+public: -+ explicit ModelSignalSpy(QAbstractItemModel &model) { -+ connect(&model, SIGNAL(rowsInserted(QModelIndex, int, int)), this, SLOT(onRowsInserted(QModelIndex,int,int))); -+ connect(&model, SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SLOT(onRowsRemoved(QModelIndex,int,int))); -+ connect(&model, SIGNAL(rowsMoved(QModelIndex, int, int, QModelIndex, int)), this, SLOT(onRowsMoved(QModelIndex,int,int, QModelIndex, int))); -+ connect(&model, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(onDataChanged(QModelIndex,QModelIndex))); -+ connect(&model, SIGNAL(layoutChanged()), this, SLOT(onLayoutChanged())); -+ connect(&model, SIGNAL(modelReset()), this, SLOT(onModelReset())); -+ } -+ -+ QStringList mSignals; -+ QModelIndex parent; -+ int start; -+ int end; -+ -+public Q_SLOTS: -+ void onRowsInserted(QModelIndex p, int s, int e) { -+ mSignals << QLatin1String("rowsInserted"); -+ parent = p; -+ start = s; -+ end = e; -+ } -+ void onRowsRemoved(QModelIndex p, int s, int e) { -+ mSignals << QLatin1String("rowsRemoved"); -+ parent = p; -+ start = s; -+ end = e; -+ } -+ void onRowsMoved(QModelIndex,int,int,QModelIndex,int) { -+ mSignals << QLatin1String("rowsMoved"); -+ } -+ void onDataChanged(QModelIndex,QModelIndex) { -+ mSignals << QLatin1String("dataChanged"); -+ } -+ void onLayoutChanged() { -+ mSignals << QLatin1String("layoutChanged"); -+ } -+ void onModelReset() { -+ mSignals << QLatin1String("modelReset"); -+ } -+}; -+ -+class TestModel : public KRecursiveFilterProxyModel -+{ -+ Q_OBJECT -+public: -+ virtual bool acceptRow(int sourceRow, const QModelIndex &sourceParent) const -+ { -+ // qDebug() << sourceModel()->index(sourceRow, 0, sourceParent).data().toString() << sourceModel()->index(sourceRow, 0, sourceParent).data(Qt::UserRole+1).toBool(); -+ return sourceModel()->index(sourceRow, 0, sourceParent).data(Qt::UserRole+1).toBool(); -+ } -+}; -+ -+static QModelIndex getIndex(char *string, const QAbstractItemModel &model) -+{ -+ QModelIndexList list = model.match(model.index(0, 0), Qt::DisplayRole, QString::fromLatin1(string), 1, Qt::MatchRecursive); -+ if (list.isEmpty()) { -+ return QModelIndex(); -+ } -+ return list.first(); -+} -+ -+class KRecursiveFilterProxyModelTest : public QObject -+{ -+ Q_OBJECT -+private: -+ -+private slots: -+ // Requires the acceptRow fix in sourceDataChanged to pass -+ // Test that we properly react to a data-changed signal in a descendant and include all required rows -+ void testDataChange() -+ { -+ QStandardItemModel model; -+ TestModel proxy; -+ proxy.setSourceModel(&model); -+ -+ QStandardItem *row1 = new QStandardItem("row1"); -+ row1->setData(false); -+ model.appendRow(row1); -+ -+ QCOMPARE(getIndex("row1", proxy).isValid(), false); -+ -+ QStandardItem *subchild = new QStandardItem("subchild"); -+ subchild->setData(false); -+ { -+ QStandardItem *child = new QStandardItem("child"); -+ child->setData(false); -+ child->appendRow(subchild); -+ row1->appendRow(child); -+ } -+ -+ ModelSignalSpy spy(proxy); -+ subchild->setData(true); -+ -+ QCOMPARE(getIndex("row1", proxy).isValid(), true); -+ QCOMPARE(getIndex("child", proxy).isValid(), true); -+ QCOMPARE(getIndex("subchild", proxy).isValid(), true); -+ -+ QCOMPARE(spy.mSignals, QStringList() << QLatin1String("rowsInserted")); -+ } -+ -+ void testInsert() -+ { -+ QStandardItemModel model; -+ TestModel proxy; -+ proxy.setSourceModel(&model); -+ -+ QStandardItem *row1 = new QStandardItem("row1"); -+ row1->setData(false); -+ model.appendRow(row1); -+ -+ QStandardItem *child = new QStandardItem("child"); -+ child->setData(false); -+ row1->appendRow(child); -+ -+ QStandardItem *child2 = new QStandardItem("child2"); -+ child2->setData(false); -+ child->appendRow(child2); -+ -+ QCOMPARE(getIndex("row1", proxy).isValid(), false); -+ QCOMPARE(getIndex("child", proxy).isValid(), false); -+ QCOMPARE(getIndex("child2", proxy).isValid(), false); -+ -+ ModelSignalSpy spy(proxy); -+ { -+ QStandardItem *subchild = new QStandardItem("subchild"); -+ subchild->setData(true); -+ child2->appendRow(subchild); -+ } -+ -+ QCOMPARE(getIndex("row1", proxy).isValid(), true); -+ QCOMPARE(spy.mSignals, QStringList() << QLatin1String("rowsInserted")); -+ QCOMPARE(spy.parent, QModelIndex()); -+ } -+ -+ -+ // We want to get child2 into the model which is a descendant of child. -+ // child is already in the model from the neighbor2 branch. We must ensure dataChange is called on child, -+ // so child2 is included in the model. -+ void testNeighborPath() -+ { -+ QStandardItemModel model; -+ TestModel proxy; -+ proxy.setSourceModel(&model); -+ -+ QStandardItem *row1 = new QStandardItem("row1"); -+ row1->setData(false); -+ model.appendRow(row1); -+ -+ QStandardItem *child = new QStandardItem("child"); -+ child->setData(false); -+ row1->appendRow(child); -+ -+ QStandardItem *child2 = new QStandardItem("child2"); -+ child2->setData(false); -+ child->appendRow(child2); -+ -+ { -+ QStandardItem *nb1 = new QStandardItem("neighbor"); -+ nb1->setData(false); -+ child->appendRow(nb1); -+ -+ QStandardItem *nb2 = new QStandardItem("neighbor2"); -+ nb2->setData(true); -+ nb1->appendRow(nb2); -+ } -+ -+ //These tests affect the test. It seems without them the mapping is not created in qsortfilterproxymodel, resulting in the item -+ //simply getting added later on. With these the model doesn't react to the added subchild as it should. Piece of crap. -+ QCOMPARE(getIndex("child2", proxy).isValid(), false); -+ QCOMPARE(getIndex("child", proxy).isValid(), true); -+ QCOMPARE(getIndex("neighbor", proxy).isValid(), true); -+ QCOMPARE(getIndex("neighbor2", proxy).isValid(), true); -+ -+ ModelSignalSpy spy(proxy); -+ -+ { -+ qDebug() << "inserting"; -+ QStandardItem *subchild = new QStandardItem("subchild"); -+ subchild->setData(true); -+ child2->appendRow(subchild); -+ } -+ -+ QCOMPARE(getIndex("child2", proxy).isValid(), true); -+ QCOMPARE(getIndex("subchild", proxy).isValid(), true); -+ //The dataChanged signals are not intentional and cause by refreshAscendantMapping. Unfortunately we can't avoid them. -+ QCOMPARE(spy.mSignals, QStringList() << QLatin1String("rowsInserted") << QLatin1String("dataChanged") << QLatin1String("dataChanged")); -+ } -+ -+}; -+ -+QTEST_KDEMAIN(KRecursiveFilterProxyModelTest, NoGUI) -+ -+#include "krecursivefilterproxymodeltest.moc" diff --git a/debian/patches/allow_cancel_ssl.diff b/debian/patches/allow_cancel_ssl.diff deleted file mode 100644 index 3f3b026..0000000 --- a/debian/patches/allow_cancel_ssl.diff +++ /dev/null @@ -1,89 +0,0 @@ -commit 38a89ca0195dedee30240647b86c7b6df6788723 -Author: Dawit Alemayehu <adawit@kde.org> -Date: Tue Nov 4 07:23:56 2014 -0500 - - Allow user to cancel out of the certificate accept duration dialog box. - - BUG: 335375 - FIXED-IN: 4.14.3 - REVIEW: 120975 - -diff --git a/kio/kio/tcpslavebase.cpp b/kio/kio/tcpslavebase.cpp -index cdf28f0..fe83310 100644 ---- a/kio/kio/tcpslavebase.cpp -+++ b/kio/kio/tcpslavebase.cpp -@@ -815,45 +815,51 @@ TCPSlaveBase::SslResult TCPSlaveBase::verifyServerCertificate() - message = message.trimmed(); - - int msgResult; -+ QDateTime ruleExpiry = QDateTime::currentDateTime(); - do { - msgResult = messageBox(WarningYesNoCancel, message, - i18n("Server Authentication"), - i18n("&Details"), i18n("Co&ntinue")); -- if (msgResult == KMessageBox::Yes) { -+ switch (msgResult) { -+ case KMessageBox::Yes: - //Details was chosen- show the certificate and error details - messageBox(SSLMessageBox /*the SSL info dialog*/, d->host); -- } else if (msgResult == KMessageBox::Cancel) { -- return ResultFailed; -- } else if (msgResult != KMessageBox::No) { -+ break; -+ case KMessageBox::No: { -+ //fall through on KMessageBox::No -+ const int result = messageBox(WarningYesNoCancel, -+ i18n("Would you like to accept this " -+ "certificate forever without " -+ "being prompted?"), -+ i18n("Server Authentication"), -+ i18n("&Forever"), -+ i18n("&Current Session only")); -+ if (result == KMessageBox::Yes) { -+ //accept forever ("for a very long time") -+ ruleExpiry = ruleExpiry.addYears(1000); -+ } else if (result == KMessageBox::No) { -+ //accept "for a short time", half an hour. -+ ruleExpiry = ruleExpiry.addSecs(30*60); -+ } else { -+ msgResult = KMessageBox::Yes; -+ } -+ break; -+ } -+ case KMessageBox::Cancel: -+ return ResultFailed; -+ default: - kWarning() << "Unexpected MessageBox response received:" << msgResult; - return ResultFailed; - } -- //fall through on KMessageBox::No - } while (msgResult == KMessageBox::Yes); - -- //Save the user's choice to ignore the SSL errors. -- -- msgResult = messageBox(WarningYesNo, -- i18n("Would you like to accept this " -- "certificate forever without " -- "being prompted?"), -- i18n("Server Authentication"), -- i18n("&Forever"), -- i18n("&Current Session only")); -- QDateTime ruleExpiry = QDateTime::currentDateTime(); -- if (msgResult == KMessageBox::Yes) { -- //accept forever ("for a very long time") -- ruleExpiry = ruleExpiry.addYears(1000); -- } else { -- //accept "for a short time", half an hour. -- ruleExpiry = ruleExpiry.addSecs(30*60); -- } -- - //TODO special cases for wildcard domain name in the certificate! - //rule = KSslCertificateRule(d->socket.peerCertificateChain().first(), whatever); - - rule.setExpiryDateTime(ruleExpiry); - rule.setIgnoredErrors(d->sslErrors); -+ -+ //Save the user's choice to ignore the SSL errors. - cm->setRule(rule); - - return ResultOk | ResultOverridden; diff --git a/debian/patches/hurd_support.diff b/debian/patches/hurd_support.diff index f5bb10a..f414780 100644 --- a/debian/patches/hurd_support.diff +++ b/debian/patches/hurd_support.diff @@ -8,8 +8,8 @@ Forwarded: no Last-Update: 2012-10-01 Index: kde4libs/kdecore/kernel/kstandarddirs.cpp =================================================================== ---- kde4libs.orig/kdecore/kernel/kstandarddirs.cpp 2014-08-19 22:35:04.472532370 +0200 -+++ kde4libs/kdecore/kernel/kstandarddirs.cpp 2014-08-19 22:35:04.448533368 +0200 +--- kde4libs.orig/kdecore/kernel/kstandarddirs.cpp 2015-02-16 10:23:11.574487365 +0100 ++++ kde4libs/kdecore/kernel/kstandarddirs.cpp 2015-02-16 10:23:11.570487525 +0100 @@ -79,6 +79,10 @@ static Qt::CaseSensitivity cs = Qt::CaseSensitive; #endif @@ -23,8 +23,8 @@ Index: kde4libs/kdecore/kernel/kstandarddirs.cpp public: Index: kde4libs/kinit/lnusertemp.c =================================================================== ---- kde4libs.orig/kinit/lnusertemp.c 2014-08-19 22:35:04.472532370 +0200 -+++ kde4libs/kinit/lnusertemp.c 2014-08-19 22:35:04.468532537 +0200 +--- kde4libs.orig/kinit/lnusertemp.c 2015-02-16 10:23:11.574487365 +0100 ++++ kde4libs/kinit/lnusertemp.c 2015-02-16 10:23:11.570487525 +0100 @@ -36,6 +36,10 @@ #include <limits.h> #endif @@ -38,10 +38,10 @@ Index: kde4libs/kinit/lnusertemp.c int build_link(const char* tmp, const char *tmp_prefix, const char *kde_prefix); Index: kde4libs/cmake/modules/FindKDE4Internal.cmake =================================================================== ---- kde4libs.orig/cmake/modules/FindKDE4Internal.cmake 2014-08-19 22:35:04.472532370 +0200 -+++ kde4libs/cmake/modules/FindKDE4Internal.cmake 2014-08-19 22:35:04.468532537 +0200 +--- kde4libs.orig/cmake/modules/FindKDE4Internal.cmake 2015-02-16 10:23:11.574487365 +0100 ++++ kde4libs/cmake/modules/FindKDE4Internal.cmake 2015-02-16 10:23:11.570487525 +0100 @@ -1225,8 +1225,8 @@ - endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD) + endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD) if (CMAKE_SYSTEM_NAME STREQUAL GNU) - set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pthread") diff --git a/debian/patches/kconf_update_migrate_from_kde3_icon_theme.diff b/debian/patches/kconf_update_migrate_from_kde3_icon_theme.diff index d23bc5c..66381a2 100644 --- a/debian/patches/kconf_update_migrate_from_kde3_icon_theme.diff +++ b/debian/patches/kconf_update_migrate_from_kde3_icon_theme.diff @@ -13,7 +13,7 @@ Useful when upgrading from KDE 3 to KDE 4 because default KDE 3 theme Index: kde4libs/kdeui/icons/kconf_update_migrate_from_kde3_icon_theme.cpp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ kde4libs/kdeui/icons/kconf_update_migrate_from_kde3_icon_theme.cpp 2013-09-04 11:30:05.119636143 +0000 ++++ kde4libs/kdeui/icons/kconf_update_migrate_from_kde3_icon_theme.cpp 2015-02-16 10:18:58.304627273 +0100 @@ -0,0 +1,157 @@ +/* + Copyright (c) 2011, Modestas Vainius <modax@debian.org> @@ -174,9 +174,9 @@ Index: kde4libs/kdeui/icons/kconf_update_migrate_from_kde3_icon_theme.cpp +} Index: kde4libs/kdeui/CMakeLists.txt =================================================================== ---- kde4libs.orig/kdeui/CMakeLists.txt 2013-09-04 11:30:05.123635985 +0000 -+++ kde4libs/kdeui/CMakeLists.txt 2013-09-04 11:30:05.123635985 +0000 -@@ -469,6 +469,16 @@ +--- kde4libs.orig/kdeui/CMakeLists.txt 2015-02-16 10:18:58.304627273 +0100 ++++ kde4libs/kdeui/CMakeLists.txt 2015-02-16 10:18:58.304627273 +0100 +@@ -470,6 +470,16 @@ ) install(TARGETS kdeui EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) @@ -196,7 +196,7 @@ Index: kde4libs/kdeui/CMakeLists.txt Index: kde4libs/kdeui/kdeui.upd =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ kde4libs/kdeui/kdeui.upd 2013-09-04 11:30:05.123635985 +0000 ++++ kde4libs/kdeui/kdeui.upd 2015-02-16 10:18:58.304627273 +0100 @@ -0,0 +1,6 @@ +# Migrate from crystalsvg and similar KDE 4 incompatible icon themes +Id=kde4/migrate_from_kde3_icon_theme diff --git a/debian/patches/kfreebsd_support.diff b/debian/patches/kfreebsd_support.diff index a2656a2..e5059d0 100644 --- a/debian/patches/kfreebsd_support.diff +++ b/debian/patches/kfreebsd_support.diff @@ -5,8 +5,8 @@ cmake. Index: kde4libs/ConfigureChecks.cmake =================================================================== ---- kde4libs.orig/ConfigureChecks.cmake 2014-08-19 22:34:36.773683562 +0200 -+++ kde4libs/ConfigureChecks.cmake 2014-08-19 22:34:36.741684892 +0200 +--- kde4libs.orig/ConfigureChecks.cmake 2015-02-16 10:21:42.510053130 +0100 ++++ kde4libs/ConfigureChecks.cmake 2015-02-16 10:21:42.506053290 +0100 @@ -138,11 +138,11 @@ set(UTIL_LIBRARY util) endif (login_in_libutil) @@ -24,8 +24,8 @@ Index: kde4libs/ConfigureChecks.cmake if (login_in_libutil) Index: kde4libs/kio/kfile/kpropertiesdialog.cpp =================================================================== ---- kde4libs.orig/kio/kfile/kpropertiesdialog.cpp 2014-08-19 22:34:36.773683562 +0200 -+++ kde4libs/kio/kfile/kpropertiesdialog.cpp 2014-08-19 22:34:36.757684227 +0200 +--- kde4libs.orig/kio/kfile/kpropertiesdialog.cpp 2015-02-16 10:21:42.510053130 +0100 ++++ kde4libs/kio/kfile/kpropertiesdialog.cpp 2015-02-16 10:21:42.506053290 +0100 @@ -1894,7 +1894,15 @@ fileSystemSupportsACLs = ( statfs( path.data(), &buf ) == 0 ) && ( buf.f_flags & MNT_ACLS ); #else @@ -45,8 +45,8 @@ Index: kde4libs/kio/kfile/kpropertiesdialog.cpp } Index: kde4libs/kioslave/file/file.cpp =================================================================== ---- kde4libs.orig/kioslave/file/file.cpp 2014-08-19 22:34:36.773683562 +0200 -+++ kde4libs/kioslave/file/file.cpp 2014-08-19 22:34:36.765683895 +0200 +--- kde4libs.orig/kioslave/file/file.cpp 2015-02-16 10:21:42.510053130 +0100 ++++ kde4libs/kioslave/file/file.cpp 2015-02-16 10:21:42.506053290 +0100 @@ -310,8 +310,10 @@ } @@ -60,8 +60,8 @@ Index: kde4libs/kioslave/file/file.cpp // This is mandatory in all slaves (for KRun/BrowserRun to work) Index: kde4libs/kioslave/file/file_unix.cpp =================================================================== ---- kde4libs.orig/kioslave/file/file_unix.cpp 2014-08-19 22:34:36.773683562 +0200 -+++ kde4libs/kioslave/file/file_unix.cpp 2014-08-19 22:34:36.769683728 +0200 +--- kde4libs.orig/kioslave/file/file_unix.cpp 2015-02-16 10:21:42.510053130 +0100 ++++ kde4libs/kioslave/file/file_unix.cpp 2015-02-16 10:21:42.510053130 +0100 @@ -145,8 +145,10 @@ } @@ -86,8 +86,8 @@ Index: kde4libs/kioslave/file/file_unix.cpp acl = acl_get_fd(src_fd); Index: kde4libs/kpty/kpty.cpp =================================================================== ---- kde4libs.orig/kpty/kpty.cpp 2014-08-19 22:34:36.773683562 +0200 -+++ kde4libs/kpty/kpty.cpp 2014-08-19 22:34:36.769683728 +0200 +--- kde4libs.orig/kpty/kpty.cpp 2015-02-16 10:21:42.510053130 +0100 ++++ kde4libs/kpty/kpty.cpp 2015-02-16 10:21:42.510053130 +0100 @@ -109,24 +109,24 @@ # define _NEW_TTY_CTRL #endif @@ -127,8 +127,8 @@ Index: kde4libs/kpty/kpty.cpp #include <kdebug.h> Index: kde4libs/cmake/modules/FindKDE4Internal.cmake =================================================================== ---- kde4libs.orig/cmake/modules/FindKDE4Internal.cmake 2014-08-19 22:34:36.773683562 +0200 -+++ kde4libs/cmake/modules/FindKDE4Internal.cmake 2014-08-19 22:34:36.769683728 +0200 +--- kde4libs.orig/cmake/modules/FindKDE4Internal.cmake 2015-02-16 10:21:42.510053130 +0100 ++++ kde4libs/cmake/modules/FindKDE4Internal.cmake 2015-02-16 10:22:49.575368116 +0100 @@ -1098,7 +1098,7 @@ endif (APPLE) @@ -136,7 +136,7 @@ Index: kde4libs/cmake/modules/FindKDE4Internal.cmake -if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU) +if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD) if (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set ( _KDE4_PLATFORM_DEFINITIONS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE) + set ( _KDE4_PLATFORM_DEFINITIONS -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE) set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") @@ -1119,7 +1119,7 @@ set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") @@ -157,9 +157,9 @@ Index: kde4libs/cmake/modules/FindKDE4Internal.cmake # It is kept here nonetheless both for backwards compatibility in case one does not use add_definitions(${KDE4_DEFINITIONS}) # and also because it is/was needed by glibc for snprintf to be available when building C files. # See commit 4a44862b2d178c1d2e1eb4da90010d19a1e4a42c. - add_definitions (-D_BSD_SOURCE) + add_definitions (-D_DEFAULT_SOURCE -D_BSD_SOURCE) - endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU) -+ endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD) ++ endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD) if (CMAKE_SYSTEM_NAME STREQUAL GNU) set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pthread") diff --git a/debian/patches/kubuntu_raise_after_drkonqi.patch b/debian/patches/kubuntu_raise_after_drkonqi.patch index 1dbe3cf..1722fc1 100644 --- a/debian/patches/kubuntu_raise_after_drkonqi.patch +++ b/debian/patches/kubuntu_raise_after_drkonqi.patch @@ -1,7 +1,7 @@ -Index: kde4libs-4.11.2/kdeui/util/kcrash.cpp +Index: kde4libs/kdeui/util/kcrash.cpp =================================================================== ---- kde4libs-4.11.2.orig/kdeui/util/kcrash.cpp 2013-12-09 08:13:48.383067946 +0100 -+++ kde4libs-4.11.2/kdeui/util/kcrash.cpp 2013-12-10 13:44:24.257149445 +0100 +--- kde4libs.orig/kdeui/util/kcrash.cpp 2015-02-16 10:23:28.265819116 +0100 ++++ kde4libs/kdeui/util/kcrash.cpp 2015-02-16 10:23:28.265819116 +0100 @@ -223,6 +223,39 @@ return s_launchDrKonqi; } @@ -42,7 +42,7 @@ Index: kde4libs-4.11.2/kdeui/util/kcrash.cpp void KCrash::setCrashHandler (HandlerType handler) { -@@ -440,6 +473,7 @@ +@@ -446,6 +479,7 @@ fprintf(stderr, "Unable to start Dr. Konqi\n"); } @@ -50,7 +50,7 @@ Index: kde4libs-4.11.2/kdeui/util/kcrash.cpp _exit(255); } -@@ -558,7 +592,8 @@ +@@ -567,7 +601,8 @@ sleep(1); } } diff --git a/debian/patches/series b/debian/patches/series index bc9926e..6290845 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -33,5 +33,3 @@ fix_solidlex_destroy_signature.patch #kubuntu_patched_l10n.diff kubuntu_raise_after_drkonqi.patch kubuntu_revert_findpythonlibrary.diff -allow_cancel_ssl.diff -KRecursiveFilterProxyModel-Fixed-the-model.diff |