Hello community,
here is the log from the commit of package kparts for openSUSE:Factory checked in at 2014-04-02 17:22:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kparts (Old)
and /work/SRC/openSUSE:Factory/.kparts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kparts"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kparts/kparts.changes 2014-03-10 12:18:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kparts.new/kparts.changes 2014-04-02 17:22:30.000000000 +0200
@@ -1,0 +2,9 @@
+Sat Mar 29 19:47:48 UTC 2014 - hrvoje.senjan@gmail.com
+
+- Update to 4.98.0
+ * API improvements and cleanups
+ * Buildsystem fixes
+ * For more details please see:
+ http://www.kde.org/announcements/announce-frameworks5-beta1.php
+
+-------------------------------------------------------------------
Old:
----
kparts-4.97.0.tar.xz
New:
----
kparts-4.98.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kparts.spec ++++++
--- /var/tmp/diff_new_pack.pqMpmk/_old 2014-04-02 17:22:32.000000000 +0200
+++ /var/tmp/diff_new_pack.pqMpmk/_new 2014-04-02 17:22:32.000000000 +0200
@@ -18,10 +18,10 @@
%define lname libKF5Parts5
Name: kparts
-Version: 4.97.0
+Version: 4.98.0
Release: 0
BuildRequires: cmake >= 2.8.12
-BuildRequires: extra-cmake-modules >= 0.0.11
+BuildRequires: extra-cmake-modules >= 0.0.12
BuildRequires: fdupes
BuildRequires: kbookmarks-devel >= %{_kf5_version}
BuildRequires: kcompletion-devel >= %{_kf5_version}
++++++ kparts-4.97.0.tar.xz -> kparts-4.98.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/CMakeLists.txt new/kparts-4.98.0/CMakeLists.txt
--- old/kparts-4.97.0/CMakeLists.txt 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/CMakeLists.txt 2014-03-29 08:15:31.000000000 +0100
@@ -2,7 +2,7 @@
project(KParts)
-find_package(ECM 0.0.11 REQUIRED NO_MODULE)
+find_package(ECM 0.0.12 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
@@ -17,7 +17,7 @@
include(ECMSetupVersion)
-set(KF5_VERSION "4.97.0")
+set(KF5_VERSION "4.98.0")
ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KPARTS
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kparts_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PartsConfigVersion.cmake"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/autotests/openorsavequestion_unittest.cpp new/kparts-4.98.0/autotests/openorsavequestion_unittest.cpp
--- old/kparts-4.97.0/autotests/openorsavequestion_unittest.cpp 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/autotests/openorsavequestion_unittest.cpp 2014-03-29 08:15:31.000000000 +0100
@@ -23,6 +23,7 @@
#include
#include
+#include
#include <QDebug>
#include <QDialog>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/Messages.sh new/kparts-4.98.0/src/Messages.sh
--- old/kparts-4.97.0/src/Messages.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/kparts-4.98.0/src/Messages.sh 2014-03-29 08:15:31.000000000 +0100
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources.
+# The results are stored in a pseudo .cpp file to be picked up by xgettext.
+lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg`
+if [ -n "$lst" ] ; then
+ $EXTRACTRC $lst >> rc.cpp
+fi
+
+# If your framework contains tips-of-the-day, call preparetips as well.
+if [ -f "data/tips" ] ; then
+ ( cd data && $PREPARETIPS > ../tips.cpp )
+fi
+
+# Extract strings from all source files.
+# If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation
+# system, use $EXTRACT_TR_STRINGS.
+$XGETTEXT `find . -name \*.cpp -o -name \*.h -name \*.qml` -o $podir/kparts5.pot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/browserextension.cpp new/kparts-4.98.0/src/browserextension.cpp
--- old/kparts-4.97.0/src/browserextension.cpp 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/src/browserextension.cpp 2014-03-29 08:15:31.000000000 +0100
@@ -125,25 +125,15 @@
BrowserExtensionPrivate::createActionSlotMap();
}
- // Build list with this extension's slot names.
- QList<QByteArray> slotNames;
- int methodCount = metaObject()->methodCount();
- int methodOffset = metaObject()->methodOffset();
- for (int i = 0; i < methodCount; ++i) {
- QMetaMethod method = metaObject()->method(methodOffset + i);
- if (method.methodType() == QMetaMethod::Slot) {
- slotNames.append(method.methodSignature());
- }
- }
-
// Set the initial status of the actions depending on whether
// they're supported or not
+ const QMetaObject *metaobj = metaObject();
ActionSlotMap::ConstIterator it = s_actionSlotMap()->constBegin();
ActionSlotMap::ConstIterator itEnd = s_actionSlotMap()->constEnd();
for (int i = 0; it != itEnd; ++it, ++i) {
// Does the extension have a slot with the name of this action ?
- // ######### KDE4 TODO: use QMetaObject::indexOfMethod() #######
- d->m_actionStatus.setBit(i, slotNames.contains(it.key() + "()"));
+ QByteArray slotSig = it.key() + "()";
+ d->m_actionStatus.setBit(i, metaobj->indexOfMethod(slotSig.constData()) != -1);
}
connect(d->m_part, SIGNAL(completed()),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/browseropenorsavequestion.cpp new/kparts-4.98.0/src/browseropenorsavequestion.cpp
--- old/kparts-4.97.0/src/browseropenorsavequestion.cpp 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/src/browseropenorsavequestion.cpp 2014-03-29 08:15:31.000000000 +0100
@@ -21,6 +21,7 @@
#include "browseropenorsavequestion.h"
#include
+#include
#include
#include
#include
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/browserrun.cpp new/kparts-4.98.0/src/browserrun.cpp
--- old/kparts-4.97.0/src/browserrun.cpp 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/src/browserrun.cpp 2014-03-29 08:15:31.000000000 +0100
@@ -22,6 +22,7 @@
#include "browseropenorsavequestion.h"
#include
+#include
#include
#include
#include
@@ -513,11 +514,6 @@
newURL.setFragment(cleanedOrigUrl);
return newURL;
-
- // The kde3 approach broke with invalid urls, now that they become empty in qt4.
- //QList<QUrl> lst;
- //lst << newURL << runURL;
- //return KUrl::join(lst);
}
void BrowserRun::redirectToError(int error, const QString &errorText)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/mainwindow.h new/kparts-4.98.0/src/mainwindow.h
--- old/kparts-4.97.0/src/mainwindow.h 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/src/mainwindow.h 2014-03-29 08:15:31.000000000 +0100
@@ -81,10 +81,8 @@
/**
* Rebuilds the GUI after KEditToolbar changed the toolbar layout.
* @see configureToolbars()
- * KDE4: make this virtual. (For now we rely on the fact that it's called
- * as a slot, so the metaobject finds it here).
*/
- void saveNewToolbarConfig();
+ void saveNewToolbarConfig() Q_DECL_OVERRIDE;
protected:
virtual void createShellGUI(bool create = true);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/partmanager.h new/kparts-4.98.0/src/partmanager.h
--- old/kparts-4.97.0/src/partmanager.h 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/src/partmanager.h 2014-03-29 08:15:31.000000000 +0100
@@ -139,9 +139,7 @@
/**
* Adds a part to the manager.
*
- * Sets it to the active part automatically if @p setActive is true (default ).
- * Behavior fix in KDE3.4: the part's widget is shown only if setActive is true,
- * it used to be shown in all cases before.
+ * Sets it to the active part automatically if @p setActive is true (default).
*/
virtual void addPart(Part *part, bool setActive = true);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kparts-4.97.0/src/plugin.cpp new/kparts-4.98.0/src/plugin.cpp
--- old/kparts-4.97.0/src/plugin.cpp 2014-03-01 12:51:25.000000000 +0100
+++ new/kparts-4.98.0/src/plugin.cpp 2014-03-29 08:15:31.000000000 +0100
@@ -27,6 +27,7 @@
#include
#include
#include
+#include
#include
#include
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org