commit kdeclarative for openSUSE:Factory
Hello community, here is the log from the commit of package kdeclarative for openSUSE:Factory checked in at 2014-10-07 15:59:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdeclarative (Old) and /work/SRC/openSUSE:Factory/.kdeclarative.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kdeclarative" Changes: -------- --- /work/SRC/openSUSE:Factory/kdeclarative/kdeclarative.changes 2014-09-12 17:04:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kdeclarative.new/kdeclarative.changes 2014-10-07 16:00:14.000000000 +0200 @@ -1,0 +2,7 @@ +Sat Oct 4 17:59:52 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 5.3.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.3.0.php + +------------------------------------------------------------------- Old: ---- kdeclarative-5.2.0.tar.xz New: ---- kdeclarative-5.3.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdeclarative.spec ++++++ --- /var/tmp/diff_new_pack.4CAYaB/_old 2014-10-07 16:00:15.000000000 +0200 +++ /var/tmp/diff_new_pack.4CAYaB/_new 2014-10-07 16:00:15.000000000 +0200 @@ -18,11 +18,11 @@ %define lname libKF5Declarative5 Name: kdeclarative -Version: 5.2.0 +Version: 5.3.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 1.2.0 +BuildRequires: extra-cmake-modules >= 1.3.0 BuildRequires: fdupes BuildRequires: kconfig-devel >= %{kf5_version} BuildRequires: kcoreaddons-devel >= %{kf5_version} ++++++ kdeclarative-5.2.0.tar.xz -> kdeclarative-5.3.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/CMakeLists.txt new/kdeclarative-5.3.0/CMakeLists.txt --- old/kdeclarative-5.2.0/CMakeLists.txt 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/CMakeLists.txt 2014-10-04 19:01:10.000000000 +0200 @@ -3,12 +3,12 @@ project(KDeclarative) # Dependencies -find_package(ECM 1.2.0 REQUIRED NO_MODULE) +find_package(ECM 1.3.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) set(REQUIRED_QT_VERSION "5.2.0") -set(KF5_VERSION "5.2.0") # handled by release scripts -set(KF5_DEP_VERSION "5.2.0") # handled by release scripts +set(KF5_VERSION "5.3.0") # handled by release scripts +set(KF5_DEP_VERSION "5.3.0") # handled by release scripts find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Qml Quick Gui) include(KDEInstallDirs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/README.md new/kdeclarative-5.3.0/README.md --- old/kdeclarative-5.2.0/README.md 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/README.md 2014-10-04 19:01:10.000000000 +0200 @@ -5,4 +5,32 @@ ## Introduction KDeclarative provides integration of QML and KDE work spaces. +It's comprises two parts: a library used by the C++ part of your application +to intergrate QML with KDE Frameworks specific features, and a series of +QML imports that offer bindings to some of the Frameworks. + +## KDeclarative library + +KDeclarative exposes 3 namespaced classes: KDeclarative::KDeclarative, KDeclarative::QmlObject, KDeclarative::ConfigPropertyMap + +### KDeclarative::KDeclarative + +The KDeclarative class is used to manipulate the QQmlEngine instance used by the application and to get some informations about the platform, that influences the behavior of the QML components. + +In order to use it, create an instance of KDeclarative, and as soon as you have a pointer to your QQmlEngine, call setupBindings: + + KDeclarative::KDeclarative decl; + decl.setupBindings(engine); + +This will add the following things to the engine: +* use a KIOAccessManagerFactory instead of the stock QQmlNetworkAccessManagerFactory +* set a new rootContextObject() that exposes all the i18n() functions from the KI18n framework. + they will be available in the global QML context: just call i18n() from anywhere in your QML code. +* Add a QML icon provider, that makes possible for the Image {} element to load stuff from the scheme "image:/" + +### KDeclarative::QmlObject + + + +### KDeclarative::ConfigPropertyMap diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/po/da/kdeclarative5.po new/kdeclarative-5.3.0/po/da/kdeclarative5.po --- old/kdeclarative-5.2.0/po/da/kdeclarative5.po 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/po/da/kdeclarative5.po 2014-10-04 19:01:10.000000000 +0200 @@ -4,14 +4,14 @@ # # Martin Schlander, 2008. # Martin Schlander <mschlander@opensuse.org>, 2008. -# Martin Schlander <mschlander@opensuse.org>, 2008, 2009, 2010, 2011, 2012, 2013. +# Martin Schlander <mschlander@opensuse.org>, 2008, 2009, 2010, 2011, 2012, 2013, 2014. # Keld Simonsen <keld@keldix.com>, 2010. msgid "" msgstr "" "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2014-04-27 20:57+0000\n" -"PO-Revision-Date: 2013-11-06 19:33+0100\n" +"PO-Revision-Date: 2014-09-21 15:29+0200\n" "Last-Translator: Martin Schlander <mschlander@opensuse.org>\n" "Language-Team: Danish <kde-i18n-doc@kde.org>\n" "Language: da\n" @@ -22,11 +22,6 @@ "X-Generator: Lokalize 1.5\n" #: qmlcontrols/kquickcontrols/KeySequenceItem.qml:38 -#, fuzzy -#| msgid "" -#| "Click on the button, then enter the shortcut like you would in the " -#| "program.\n" -#| "Example for Ctrl+a: hold the Ctrl key and press a." msgid "" "Click on the button, then enter the shortcut like you would in the program.\n" "Example for Ctrl+A: hold the Ctrl key and press A." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/po/ja/kdeclarative5.po new/kdeclarative-5.3.0/po/ja/kdeclarative5.po --- old/kdeclarative-5.2.0/po/ja/kdeclarative5.po 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/po/ja/kdeclarative5.po 2014-10-04 19:01:10.000000000 +0200 @@ -16,7 +16,7 @@ "POT-Creation-Date: 2014-04-27 20:57+0000\n" "PO-Revision-Date: 2011-08-27 14:05-0700\n" "Last-Translator: Fumiaki Okushi <okushi@kde.gr.jp>\n" -"Language-Team: Japanese <Kdeveloper@kde.gr.jp>\n" +"Language-Team: Japanese <kde-jp@kde.org>\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/po/nds/kdeclarative5.po new/kdeclarative-5.3.0/po/nds/kdeclarative5.po --- old/kdeclarative-5.2.0/po/nds/kdeclarative5.po 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/po/nds/kdeclarative5.po 2014-10-04 19:01:10.000000000 +0200 @@ -16,7 +16,7 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.5\n" +"X-Generator: Lokalize 1.4\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #: qmlcontrols/kquickcontrols/KeySequenceItem.qml:38 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/po/oc/kdeclarative5.po new/kdeclarative-5.3.0/po/oc/kdeclarative5.po --- old/kdeclarative-5.2.0/po/oc/kdeclarative5.po 1970-01-01 01:00:00.000000000 +0100 +++ new/kdeclarative-5.3.0/po/oc/kdeclarative5.po 2014-10-04 19:01:10.000000000 +0200 @@ -0,0 +1,72 @@ +# translation of kdelibs4.po to Occitan +# Copyright (C) 2008 This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Yannig Marchegay (Kokoyaya) <yannig@marchegay.org>, 2007, 2008. +msgid "" +msgstr "" +"Project-Id-Version: kdelibs4\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2014-04-27 20:57+0000\n" +"PO-Revision-Date: 2008-08-06 00:07+0200\n" +"Last-Translator: \n" +"Language-Team: Occitan <oc@li.org>\n" +"Language: oc\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: KBabel 1.11.4\n" + +#: qmlcontrols/kquickcontrols/KeySequenceItem.qml:38 +msgid "" +"Click on the button, then enter the shortcut like you would in the program.\n" +"Example for Ctrl+A: hold the Ctrl key and press A." +msgstr "" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:275 +#, fuzzy +#| msgid "Shortcut" +msgid "Reserved Shortcut" +msgstr "Acorchi" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:276 +msgid "" +"The F12 key is reserved on Windows, so cannot be used for a global " +"shortcut.\n" +"Please choose another one." +msgstr "" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:332 +msgid "Conflict with Standard Application Shortcut" +msgstr "Conflicte amb un acorchi clavièr d'aplicacion estandarda" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:333 +#, kde-format +msgid "" +"The '%1' key combination is also used for the standard action \"%2\" that " +"some applications use.\n" +"Do you really want to use it as a global shortcut as well?" +msgstr "" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:338 +msgid "Reassign" +msgstr "Reatribuir" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:378 +msgctxt "What the user inputs now will be taken as the new shortcut" +msgid "Input" +msgstr "Entrada" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:385 +msgctxt "No shortcut defined" +msgid "None" +msgstr "Pas cap" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:406 +msgid "The key you just pressed is not supported by Qt." +msgstr "" + +#: qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:407 +msgid "Unsupported Key" +msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/src/qmlcontrols/kcoreaddons/formats.cpp new/kdeclarative-5.3.0/src/qmlcontrols/kcoreaddons/formats.cpp --- old/kdeclarative-5.2.0/src/qmlcontrols/kcoreaddons/formats.cpp 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/src/qmlcontrols/kcoreaddons/formats.cpp 2014-10-04 19:01:10.000000000 +0200 @@ -31,9 +31,9 @@ return m_format.formatByteSize(size, precision); } -QString Formats::formatDuration(quint64 msecs) const +QString Formats::formatDuration(quint64 msecs, KFormat::DurationFormatOptions options) const { - return m_format.formatDuration(msecs); + return m_format.formatDuration(msecs, options); } QString Formats::formatDecimalDuration(quint64 msecs, int decimalPlaces) const @@ -54,4 +54,4 @@ QString Formats::formatRelativeDateTime(const QDateTime &dateTime, QLocale::FormatType format) const { return m_format.formatRelativeDateTime(dateTime, format); -} \ No newline at end of file +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/src/qmlcontrols/kcoreaddons/formats.h new/kdeclarative-5.3.0/src/qmlcontrols/kcoreaddons/formats.h --- old/kdeclarative-5.2.0/src/qmlcontrols/kcoreaddons/formats.h 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/src/qmlcontrols/kcoreaddons/formats.h 2014-10-04 19:01:10.000000000 +0200 @@ -40,7 +40,9 @@ * Given a number of milliseconds, converts that to a string containing * the localized equivalent, e.g. 1:23:45 */ - Q_INVOKABLE QString formatDuration(quint64 msecs) const; + Q_INVOKABLE QString formatDuration(quint64 msecs, KFormat::DurationFormatOptions options = KFormat::DefaultDuration) const; + + Q_DECLARE_FLAGS(DurationFormatOptions, KFormat::DurationFormatOption) /** * Given a number of milliseconds, converts that to a string containing @@ -102,4 +104,4 @@ Q_DECLARE_METATYPE(QLocale::FormatType); -#endif \ No newline at end of file +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdeclarative-5.2.0/src/qmlcontrols/kcoreaddons/kcoreaddonsplugin.cpp new/kdeclarative-5.3.0/src/qmlcontrols/kcoreaddons/kcoreaddonsplugin.cpp --- old/kdeclarative-5.2.0/src/qmlcontrols/kcoreaddons/kcoreaddonsplugin.cpp 2014-09-09 01:45:17.000000000 +0200 +++ new/kdeclarative-5.3.0/src/qmlcontrols/kcoreaddons/kcoreaddonsplugin.cpp 2014-10-04 19:01:10.000000000 +0200 @@ -26,6 +26,8 @@ #include "formats.h" #include "kuserproxy.h" +#include <KFormat> + static QObject *formats_singletontype_provider(QQmlEngine *engine, QJSEngine *scriptEngine) { Q_UNUSED(engine) @@ -41,5 +43,7 @@ qmlRegisterSingletonType<Formats>(uri, 1, 0, "Format", formats_singletontype_provider); qRegisterMetaType<QLocale::FormatType>(); + qmlRegisterUncreatableType<KFormat>(uri, 1, 0, "FormatTypes", ""); + qmlRegisterType<KUserProxy>(uri, 1, 0, "KUser"); -} \ No newline at end of file +} -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de