commit kpty for openSUSE:Factory
Hello community, here is the log from the commit of package kpty for openSUSE:Factory checked in at 2017-03-03 17:17:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpty (Old) and /work/SRC/openSUSE:Factory/.kpty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kpty" Fri Mar 3 17:17:36 2017 rev:39 rq:461454 version:5.31.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kpty/kpty.changes 2017-02-03 17:46:01.442018809 +0100 +++ /work/SRC/openSUSE:Factory/.kpty.new/kpty.changes 2017-03-03 17:17:36.653500549 +0100 @@ -1,0 +2,7 @@ +Thu Feb 9 09:32:25 UTC 2017 - hrvoje.senjan@gmail.com + +- Update to 5.31.0 + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.31.0.php + +------------------------------------------------------------------- Old: ---- kpty-5.30.0.tar.xz New: ---- kpty-5.31.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpty.spec ++++++ --- /var/tmp/diff_new_pack.QXOY1B/_old 2017-03-03 17:17:37.161428706 +0100 +++ /var/tmp/diff_new_pack.QXOY1B/_new 2017-03-03 17:17:37.165428140 +0100 @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5Pty5 -%define _tar_path 5.30 +%define _tar_path 5.31 Name: kpty -Version: 5.30.0 +Version: 5.31.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 @@ -30,8 +30,8 @@ BuildRequires: kf5-filesystem BuildRequires: ki18n-devel >= %{_tar_path} BuildRequires: utempter-devel -BuildRequires: cmake(Qt5Core) >= 5.5.0 -BuildRequires: cmake(Qt5Test) >= 5.5.0 +BuildRequires: cmake(Qt5Core) >= 5.6.0 +BuildRequires: cmake(Qt5Test) >= 5.6.0 Summary: Interfacing with pseudo terminal devices License: LGPL-2.1+ Group: System/GUI/KDE @@ -63,7 +63,7 @@ Requires: %lname = %{version} Requires: extra-cmake-modules Requires: kcoreaddons-devel >= %{_tar_path} -Requires: cmake(Qt5Core) >= 5.5.0 +Requires: cmake(Qt5Core) >= 5.6.0 %description devel This library provides primitives to interface with pseudo terminal devices ++++++ kpty-5.30.0.tar.xz -> kpty-5.31.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/CMakeLists.txt new/kpty-5.31.0/CMakeLists.txt --- old/kpty-5.30.0/CMakeLists.txt 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/CMakeLists.txt 2017-02-05 12:10:03.000000000 +0100 @@ -1,17 +1,17 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.30.0") # handled by release scripts -set(KF5_DEP_VERSION "5.30.0") # handled by release scripts +set(KF5_VERSION "5.31.0") # handled by release scripts +set(KF5_DEP_VERSION "5.31.0") # handled by release scripts project(KPty VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.30.0 NO_MODULE) +find_package(ECM 5.31.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) -set(REQUIRED_QT_VERSION 5.5.0) +set(REQUIRED_QT_VERSION 5.6.0) include(KDEInstallDirs) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) @@ -39,6 +39,7 @@ # Includes include(GenerateExportHeader) +include(ECMMarkNonGuiExecutable) include(ECMSetupVersion) include(ECMGenerateHeaders) include(CMakePackageConfigHelpers) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/autotests/kptyprocesstest.cpp new/kpty-5.31.0/autotests/kptyprocesstest.cpp --- old/kpty-5.30.0/autotests/kptyprocesstest.cpp 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/autotests/kptyprocesstest.cpp 2017-02-05 12:10:03.000000000 +0100 @@ -163,7 +163,7 @@ "foo\x04", "bar\n", "fooish\nbar\n", "\x04", - 0 + nullptr }; static const char want[] = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/src/kpty.cpp new/kpty-5.31.0/src/kpty.cpp --- old/kpty-5.30.0/src/kpty.cpp 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/src/kpty.cpp 2017-02-05 12:10:03.000000000 +0100 @@ -228,7 +228,7 @@ #if HAVE_OPENPTY char ptsn[PATH_MAX]; - if (::openpty(&d->masterFd, &d->slaveFd, ptsn, 0, 0)) { + if (::openpty(&d->masterFd, &d->slaveFd, ptsn, nullptr, nullptr)) { d->masterFd = -1; d->slaveFd = -1; qWarning() << "Can't open a pseudo teletype"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/src/kpty.h new/kpty-5.31.0/src/kpty.h --- old/kpty-5.30.0/src/kpty.h 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/src/kpty.h 2017-02-05 12:10:03.000000000 +0100 @@ -112,7 +112,7 @@ * of the client. For local logins from inside an X session it should * be the name of the X display. Otherwise it should be empty. */ - void login(const char *user = 0, const char *remotehost = 0); + void login(const char *user = nullptr, const char *remotehost = nullptr); /** * Removes the utmp entry for this tty. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/src/kptydevice.cpp new/kpty-5.31.0/src/kptydevice.cpp --- old/kpty-5.30.0/src/kptydevice.cpp 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/src/kptydevice.cpp 2017-02-05 12:10:03.000000000 +0100 @@ -241,7 +241,7 @@ struct sigaction noaction; memset(&noaction, 0, sizeof(noaction)); noaction.sa_handler = SIG_IGN; - sigaction(SIGPIPE, &noaction, 0); + sigaction(SIGPIPE, &noaction, nullptr); } } @@ -253,7 +253,7 @@ KPtyDevicePrivate(KPty *parent) : KPtyPrivate(parent), emittedReadyRead(false), emittedBytesWritten(false), - readNotifier(0), writeNotifier(0) + readNotifier(nullptr), writeNotifier(nullptr) { } @@ -404,7 +404,7 @@ struct timeval tv, *tvp; if (msecs < 0) { - tvp = 0; + tvp = nullptr; } else { tv.tv_sec = msecs / 1000; tv.tv_usec = (msecs % 1000) * 1000; @@ -439,7 +439,7 @@ } #endif - switch (select(q->masterFd() + 1, &rfds, &wfds, 0, tvp)) { + switch (select(q->masterFd() + 1, &rfds, &wfds, nullptr, tvp)) { case -1: if (errno == EINTR) { break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/src/kptydevice.h new/kpty-5.31.0/src/kptydevice.h --- old/kpty-5.30.0/src/kptydevice.h 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/src/kptydevice.h 2017-02-05 12:10:03.000000000 +0100 @@ -45,7 +45,7 @@ /** * Constructor */ - KPtyDevice(QObject *parent = 0); + KPtyDevice(QObject *parent = nullptr); /** * Destructor: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.30.0/src/kptyprocess.h new/kpty-5.31.0/src/kptyprocess.h --- old/kpty-5.30.0/src/kptyprocess.h 2017-01-08 22:00:14.000000000 +0100 +++ new/kpty-5.31.0/src/kptyprocess.h 2017-02-05 12:10:03.000000000 +0100 @@ -65,7 +65,7 @@ /** * Constructor */ - explicit KPtyProcess(QObject *parent = 0); + explicit KPtyProcess(QObject *parent = nullptr); /** * Construct a process using an open pty master. @@ -74,7 +74,7 @@ * The process does not take ownership of the descriptor; * it will not be automatically closed at any point. */ - KPtyProcess(int ptyMasterFd, QObject *parent = 0); + KPtyProcess(int ptyMasterFd, QObject *parent = nullptr); /** * Destructor
participants (1)
-
root@hilbertn.suse.de