Hello community, here is the log from the commit of package kpty for openSUSE:Factory checked in at 2015-06-23 12:11:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpty (Old) and /work/SRC/openSUSE:Factory/.kpty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpty" Changes: -------- --- /work/SRC/openSUSE:Factory/kpty/kpty.changes 2015-05-11 19:48:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kpty.new/kpty.changes 2015-06-23 12:11:23.000000000 +0200 @@ -1,0 +2,8 @@ +Sun Jun 7 19:07:52 UTC 2015 - [email protected] + +- Update to 5.11.0 + * Use tcgetattr & tcsetattr if available + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.11.0.php + +------------------------------------------------------------------- Old: ---- kpty-5.10.0.tar.xz New: ---- kpty-5.11.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpty.spec ++++++ --- /var/tmp/diff_new_pack.52Ikzp/_old 2015-06-23 12:11:23.000000000 +0200 +++ /var/tmp/diff_new_pack.52Ikzp/_new 2015-06-23 12:11:23.000000000 +0200 @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5Pty5 -%define _tar_path 5.10 +%define _tar_path 5.11 Name: kpty -Version: 5.10.0 +Version: 5.11.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 ++++++ kpty-5.10.0.tar.xz -> kpty-5.11.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.10.0/CMakeLists.txt new/kpty-5.11.0/CMakeLists.txt --- old/kpty-5.10.0/CMakeLists.txt 2015-05-03 17:21:27.000000000 +0200 +++ new/kpty-5.11.0/CMakeLists.txt 2015-06-06 23:25:32.000000000 +0200 @@ -2,13 +2,17 @@ project(KPty) -find_package(ECM 5.10.0 REQUIRED NO_MODULE) +include(FeatureSummary) +find_package(ECM 5.11.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.2) -set(KF5_VERSION "5.10.0") # handled by release scripts -set(KF5_DEP_VERSION "5.10.0") # handled by release scripts -include(FeatureSummary) +set(KF5_VERSION "5.11.0") # handled by release scripts +set(KF5_DEP_VERSION "5.11.0") # handled by release scripts + include(KDEInstallDirs) include(KDEFrameworkCompilerSettings) include(KDECMakeSettings) @@ -33,7 +37,7 @@ set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Pty") # Includes -include(FeatureSummary) + include(GenerateExportHeader) include(ECMSetupVersion) include(ECMGenerateHeaders) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.10.0/po/nb/kpty5.po new/kpty-5.11.0/po/nb/kpty5.po --- old/kpty-5.10.0/po/nb/kpty5.po 2015-05-03 17:21:27.000000000 +0200 +++ new/kpty-5.11.0/po/nb/kpty5.po 2015-06-06 23:25:32.000000000 +0200 @@ -1,10 +1,10 @@ # Translation of kpty5 to Norwegian Bokmål # -# Knut Yrvin <[email protected]>, 2002, 2003, 2004, 2005. +# Knut Yrvin <[email protected]>, 2002, 2003, 2004, 2005. # Bjørn Steensrud <[email protected]>, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014. # Eskild Hustvedt <[email protected]>, 2004, 2005. # Gaute Hvoslef Kvalnes <[email protected]>, 2004, 2005. -# Axel Bojer <[email protected]>, 2005, 2006. +# Axel Bojer <[email protected]>, 2005, 2006. # Nils Kristian Tomren <[email protected]>, 2005, 2007. # Øyvind A. Holm <[email protected]>, 2009. msgid "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.10.0/src/ConfigureChecks.cmake new/kpty-5.11.0/src/ConfigureChecks.cmake --- old/kpty-5.10.0/src/ConfigureChecks.cmake 2015-05-03 17:21:27.000000000 +0200 +++ new/kpty-5.11.0/src/ConfigureChecks.cmake 2015-06-06 23:25:32.000000000 +0200 @@ -27,11 +27,11 @@ set(UTIL_LIBRARY util) endif (login_in_libutil) endif (NOT login_in_libc) - if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES GNU/FreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU) + if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU) set (HAVE_UTMPX) - else (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES GNU/FreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU) + else (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU) check_function_exists(getutxent HAVE_UTMPX) - endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES GNU/FreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU) + endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES Darwin OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME STREQUAL GNU) if (HAVE_UTMPX) set(utmp utmpx) if (login_in_libutil) @@ -85,5 +85,7 @@ endif (openpty_in_libc OR openpty_in_libutil) check_function_exists(ptsname HAVE_PTSNAME) + check_function_exists(tcgetattr HAVE_TCGETATTR) + check_function_exists(tcsetattr HAVE_TCSETATTR) endif (UNIX) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.10.0/src/config-pty.h.cmake new/kpty-5.11.0/src/config-pty.h.cmake --- old/kpty-5.10.0/src/config-pty.h.cmake 2015-05-03 17:21:27.000000000 +0200 +++ new/kpty-5.11.0/src/config-pty.h.cmake 2015-06-06 23:25:32.000000000 +0200 @@ -9,6 +9,8 @@ #cmakedefine01 HAVE_REVOKE #cmakedefine01 HAVE_UNLOCKPT #cmakedefine01 HAVE__GETPTY +#cmakedefine01 HAVE_TCGETATTR +#cmakedefine01 HAVE_TCSETATTR #cmakedefine01 HAVE_LIBUTIL_H #cmakedefine01 HAVE_UTIL_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.10.0/src/kpty.cpp new/kpty-5.11.0/src/kpty.cpp --- old/kpty-5.10.0/src/kpty.cpp 2015-05-03 17:21:27.000000000 +0200 +++ new/kpty-5.11.0/src/kpty.cpp 2015-06-06 23:25:32.000000000 +0200 @@ -107,24 +107,20 @@ # define _NEW_TTY_CTRL #endif -#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__) +#if HAVE_TCGETATTR +# define _tcgetattr(fd, ttmode) tcgetattr(fd, ttmode) +#elif defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__) # define _tcgetattr(fd, ttmode) ioctl(fd, TIOCGETA, (char *)ttmode) #else -# if defined(_HPUX_SOURCE) || defined(__Lynx__) || defined (__CYGWIN__) || defined(__sun) -# define _tcgetattr(fd, ttmode) tcgetattr(fd, ttmode) -# else -# define _tcgetattr(fd, ttmode) ioctl(fd, TCGETS, (char *)ttmode) -# endif +# define _tcgetattr(fd, ttmode) ioctl(fd, TCGETS, (char *)ttmode) #endif -#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__) +#if HAVE_TCSETATTR +# define _tcsetattr(fd, ttmode) tcsetattr(fd, TCSANOW, ttmode) +#elif defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__) # define _tcsetattr(fd, ttmode) ioctl(fd, TIOCSETA, (char *)ttmode) #else -# if defined(_HPUX_SOURCE) || defined(__CYGWIN__) || defined(__sun) -# define _tcsetattr(fd, ttmode) tcsetattr(fd, TCSANOW, ttmode) -# else -# define _tcsetattr(fd, ttmode) ioctl(fd, TCSETS, (char *)ttmode) -# endif +# define _tcsetattr(fd, ttmode) ioctl(fd, TCSETS, (char *)ttmode) #endif #include <QDebug>
