Hello community, here is the log from the commit of package kwrited5 for openSUSE:Factory checked in at 2015-01-29 13:16:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwrited5 (Old) and /work/SRC/openSUSE:Factory/.kwrited5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwrited5" Changes: -------- --- /work/SRC/openSUSE:Factory/kwrited5/kwrited5.changes 2014-12-21 11:59:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kwrited5.new/kwrited5.changes 2015-01-29 13:16:56.000000000 +0100 @@ -1,0 +2,23 @@ +Mon Jan 26 19:49:24 UTC 2015 - [email protected] + +- Update to 5.2 Final: + * For more details please see: + https://www.kde.org/announcements/plasma-5.2.0.php + +------------------------------------------------------------------- +Tue Jan 13 16:35:05 UTC 2015 - [email protected] + +- Update to 5.2 Beta aka 5.1.95: + * Undo changes to Plasma desktop layout + * Smarter sorting of results in KRunner + * Breeze window decoration theme adds a new look to your + desktop and is now used by default + * New white mouse cursor theme for Breeze. + * New plasma widgets: 15 puzzle, web browser, show desktop + * Over 300 bugs fixed throughout Plasma modules. + * For more details please see: + https://www.kde.org/announcements/plasma-5.1.95.php +- Swap kdelibs4support-devel and pkgconfig(Qt5Core) for + kcoreaddons-devel, ki18n-devel and knotifications-devel + +------------------------------------------------------------------- Old: ---- kwrited-5.1.2.tar.xz New: ---- kwrited-5.2.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwrited5.spec ++++++ --- /var/tmp/diff_new_pack.Tpztyy/_old 2015-01-29 13:16:57.000000000 +0100 +++ /var/tmp/diff_new_pack.Tpztyy/_new 2015-01-29 13:16:57.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package kwrited5 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: kwrited5 -Version: 5.1.2 +Version: 5.2.0 Release: 0 Summary: Daemon listening for wall and write messages License: GPL-2.0+ @@ -26,12 +26,14 @@ Source: kwrited-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ +BuildRequires: kcoreaddons-devel BuildRequires: kdbusaddons-devel -BuildRequires: kdelibs4support-devel BuildRequires: kf5-filesystem +BuildRequires: ki18n-devel +BuildRequires: knotifications-devel BuildRequires: kpty-devel BuildRequires: xz -BuildRequires: pkgconfig(Qt5Core) >= 5.3.0 +BuildRequires: pkgconfig(Qt5Widgets) >= 5.3.0 #BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ kwrited-5.1.2.tar.xz -> kwrited-5.2.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwrited-5.1.2/CMakeLists.txt new/kwrited-5.2.0/CMakeLists.txt --- old/kwrited-5.1.2/CMakeLists.txt 2014-12-11 12:52:17.000000000 +0100 +++ new/kwrited-5.2.0/CMakeLists.txt 2015-01-22 13:54:00.000000000 +0100 @@ -1,5 +1,5 @@ project(kwrited) -set(PROJECT_VERSION "5.1.2") +set(PROJECT_VERSION "5.2.0") cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) set(QT_MIN_VERSION "5.3.0") @@ -14,14 +14,16 @@ include(FeatureSummary) find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS - Core + Widgets ) option(BUILD_AS_EXECUTABLE "Whether to build kwrited as executable" ON) find_package(KF5 REQUIRED COMPONENTS + CoreAddons + I18n Pty - KDE4Support + Notifications ) if (NOT BUILD_AS_EXECUTABLE) @@ -43,7 +45,7 @@ if (BUILD_AS_EXECUTABLE) add_executable(kwrited kwrited.cpp) target_compile_definitions(kwrited PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") - target_link_libraries(kwrited KF5::KDE4Support KF5::Pty) + target_link_libraries(kwrited Qt5::Widgets KF5::CoreAddons KF5::I18n KF5::Notifications KF5::Pty) install(TARGETS kwrited ${INSTALL_TARGETS_DEFAULT_ARGS} ) if(IS_ABSOLUTE BIN_INSTALL_DIR) set(ABS_BIN_INSTALL_DIR "${BIN_INSTALL_DIR}") @@ -71,7 +73,7 @@ else () add_library(kded_kwrited MODULE kwrited.cpp) target_compile_definitions(kded_kwrited PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}") - target_link_libraries(kded_kwrited KF5::DBusAddons KF5::KDE4Support KF5::Pty) + target_link_libraries(kded_kwrited KF5::CoreAddons KF5::DBusAddons KF5::I18n KF5::Notifications KF5::Pty) install(TARGETS kded_kwrited DESTINATION ${PLUGIN_INSTALL_DIR} ) install(FILES kwrited.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwrited-5.1.2/kwrited.cpp new/kwrited-5.2.0/kwrited.cpp --- old/kwrited-5.1.2/kwrited.cpp 2014-12-11 12:52:17.000000000 +0100 +++ new/kwrited-5.2.0/kwrited.cpp 2015-01-22 13:54:00.000000000 +0100 @@ -22,7 +22,7 @@ // Own #include "kwrited.h" -#include <kdebug.h> +#include <QDebug> #include <kptydevice.h> #include <kuser.h> #include <knotification.h> @@ -30,8 +30,7 @@ #include <kaboutdata.h> #if defined(BUILD_AS_EXECUTABLE) -# include <QtCore/QCoreApplication> -# include <kcomponentdata.h> +# include <QApplication> # include <signal.h> # include <sys/types.h> # include <unistd.h> @@ -53,7 +52,7 @@ static void sigterm_handler(int signal) { Q_UNUSED(signal) - QCoreApplication::quit(); + QApplication::quit(); } int main(int argc, char **argv) @@ -70,8 +69,8 @@ signal(SIGINT, sigterm_handler); signal(SIGHUP, sigterm_handler); - KComponentData kcompdata(aboutData().componentName().toLatin1()); - QCoreApplication a(argc, argv); + KAboutData::setApplicationData(aboutData()); + QApplication a(argc, argv); KWrited w; return a.exec(); } @@ -92,7 +91,6 @@ K_PLUGIN_FACTORY(KWritedFactory, registerPlugin<KWritedModule>(); ) -K_EXPORT_PLUGIN(KWritedFactory(aboutData())) #endif //BUILD_AS_EXECUTABLE @@ -118,7 +116,7 @@ #endif connect(pty, SIGNAL(readyRead()), this, SLOT(block_in())); - kDebug() << "listening on device" << pty->ttyName(); + //qDebug() << "listening on device" << pty->ttyName(); } KWrited::~KWrited() @@ -156,4 +154,6 @@ notification->sendEvent(); } +#if !defined(BUILD_AS_EXECUTABLE) #include "kwrited.moc" +#endif \ No newline at end of file -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
