Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kpty for openSUSE:Factory checked in at 2022-04-11 23:47:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpty (Old) and /work/SRC/openSUSE:Factory/.kpty.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpty" Mon Apr 11 23:47:27 2022 rev:102 rq:968187 version:5.93.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kpty/kpty.changes 2022-03-14 19:36:13.266065575 +0100 +++ /work/SRC/openSUSE:Factory/.kpty.new.1900/kpty.changes 2022-04-11 23:48:52.723320530 +0200 @@ -1,0 +2,12 @@ +Sun Apr 3 10:47:24 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 5.93.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.93.0 +- Changes since 5.92.0: + * Add macOS to supported platforms + * Require unittests to pass for CI jobs to pass + * add setWinSize() overload which also takes pixels + +------------------------------------------------------------------- Old: ---- kpty-5.92.0.tar.xz kpty-5.92.0.tar.xz.sig New: ---- kpty-5.93.0.tar.xz kpty-5.93.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpty.spec ++++++ --- /var/tmp/diff_new_pack.GuN4pF/_old 2022-04-11 23:48:53.243314586 +0200 +++ /var/tmp/diff_new_pack.GuN4pF/_new 2022-04-11 23:48:53.247314540 +0200 @@ -17,14 +17,14 @@ %define lname libKF5Pty5 -%define _tar_path 5.92 +%define _tar_path 5.93 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kpty -Version: 5.92.0 +Version: 5.93.0 Release: 0 Summary: Primitives to interface with pseudo terminal devices License: LGPL-2.1-or-later ++++++ kpty-5.92.0.tar.xz -> kpty-5.93.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/.kde-ci.yml new/kpty-5.93.0/.kde-ci.yml --- old/kpty-5.92.0/.kde-ci.yml 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/.kde-ci.yml 2022-04-02 12:26:01.000000000 +0200 @@ -7,3 +7,4 @@ Options: test-before-installing: True + require-passing-tests-on: [ 'Linux', 'FreeBSD' ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/CMakeLists.txt new/kpty-5.93.0/CMakeLists.txt --- old/kpty-5.92.0/CMakeLists.txt 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/CMakeLists.txt 2022-04-02 12:26:01.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.92.0") # handled by release scripts -set(KF_DEP_VERSION "5.92.0") # handled by release scripts +set(KF_VERSION "5.93.0") # handled by release scripts +set(KF_DEP_VERSION "5.93.0") # handled by release scripts project(KPty VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.92.0 NO_MODULE) +find_package(ECM 5.93.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/metainfo.yaml new/kpty-5.93.0/metainfo.yaml --- old/kpty-5.92.0/metainfo.yaml 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/metainfo.yaml 2022-04-02 12:26:01.000000000 +0200 @@ -5,6 +5,7 @@ platforms: - name: Linux - name: FreeBSD + - name: macOS portingAid: false deprecated: false release: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/po/ca/kpty5.po new/kpty-5.93.0/po/ca/kpty5.po --- old/kpty-5.92.0/po/ca/kpty5.po 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/po/ca/kpty5.po 2022-04-02 12:26:01.000000000 +0200 @@ -1,27 +1,28 @@ # Translation of kpty5.po to Catalan -# Copyright (C) 1998-2014 This_file_is_part_of_KDE +# Copyright (C) 1998-2022 This_file_is_part_of_KDE # This file is distributed under the license LGPL version 2.1 or # version 3 or later versions approved by the membership of KDE e.V. # # Sebasti?? Pla i Sanz <[email protected]>, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007. -# Antoni Bella P??rez <[email protected]>, 2003, 2006, 2011, 2012, 2013, 2014. +# Antoni Bella P??rez <[email protected]>, 2003, 2006, 2011, 2012, 2013, 2014, 2022. # Albert Astals Cid <[email protected]>, 2004, 2005, 2007. # Josep M. Ferrer <[email protected]>, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014. # Robert Millan <[email protected]>, 2009. # Orestes Mas <[email protected]>, 2010. +# Empar Montoro Mart??n <[email protected]>, 2019. msgid "" msgstr "" "Project-Id-Version: kpty\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-08-14 00:14+0000\n" -"PO-Revision-Date: 2014-07-04 16:59+0200\n" +"PO-Revision-Date: 2022-03-21 23:06+0100\n" "Last-Translator: Antoni Bella P??rez <[email protected]>\n" "Language-Team: Catalan <[email protected]>\n" "Language: ca\n" "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 21.12.3\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: &\n" @@ -33,7 +34,7 @@ #: kptydevice.cpp:311 #, kde-format msgid "Error writing to PTY" -msgstr "Error en escriure al PTY" +msgstr "Error en escriure en el PTY" #: kptydevice.cpp:405 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/po/ca@valencia/kpty5.po new/kpty-5.93.0/po/ca@valencia/kpty5.po --- old/kpty-5.92.0/po/ca@valencia/kpty5.po 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/po/ca@valencia/kpty5.po 2022-04-02 12:26:01.000000000 +0200 @@ -1,10 +1,10 @@ # Translation of kpty5.po to Catalan (Valencian) -# Copyright (C) 1998-2019 This_file_is_part_of_KDE +# Copyright (C) 1998-2022 This_file_is_part_of_KDE # This file is distributed under the license LGPL version 2.1 or # version 3 or later versions approved by the membership of KDE e.V. # # Sebasti?? Pla i Sanz <[email protected]>, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007. -# Antoni Bella P??rez <[email protected]>, 2003, 2006, 2011, 2012, 2013, 2014. +# Antoni Bella P??rez <[email protected]>, 2003, 2006, 2011, 2012, 2013, 2014, 2022. # Albert Astals Cid <[email protected]>, 2004, 2005, 2007. # Josep M. Ferrer <[email protected]>, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014. # Robert Millan <[email protected]>, 2009. @@ -15,34 +15,33 @@ "Project-Id-Version: kpty\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-08-14 00:14+0000\n" -"PO-Revision-Date: 2019-06-18 13:33+0200\n" -"Last-Translator: Empar Montoro Mart??n <[email protected]>\n" +"PO-Revision-Date: 2022-03-21 23:06+0100\n" +"Last-Translator: Antoni Bella P??rez <[email protected]>\n" "Language-Team: Catalan <[email protected]>\n" "Language: ca@valencia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 21.12.3\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Accelerator-Marker: &\n" -"X-Generator: Poedit 2.0.6\n" -"X-Project-Style: kde\n" #: kptydevice.cpp:278 #, kde-format msgid "Error reading from PTY" -msgstr "Error en llegir des del PTY" +msgstr "S'ha produ??t un error en llegir des de PTY" #: kptydevice.cpp:311 #, kde-format msgid "Error writing to PTY" -msgstr "Error en escriure en el PTY" +msgstr "S'ha produ??t un error en escriure en PTY" #: kptydevice.cpp:405 #, kde-format msgid "PTY operation timed out" -msgstr "L'operaci?? del PTY ha excedit el temps l??mit" +msgstr "L'operaci?? de PTY ha excedit el temps l??mit" #: kptydevice.cpp:464 kptydevice.cpp:478 #, kde-format msgid "Error opening PTY" -msgstr "Error en obrir el PTY" +msgstr "S'ha produ??t un error en obri PTY" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/po/zh_CN/kpty5.po new/kpty-5.93.0/po/zh_CN/kpty5.po --- old/kpty-5.92.0/po/zh_CN/kpty5.po 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/po/zh_CN/kpty5.po 2022-04-02 12:26:01.000000000 +0200 @@ -15,7 +15,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-08-14 00:14+0000\n" -"PO-Revision-Date: 2022-02-26 05:17\n" +"PO-Revision-Date: 2022-03-31 13:30\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/src/kpty.cpp new/kpty-5.93.0/src/kpty.cpp --- old/kpty-5.92.0/src/kpty.cpp 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/src/kpty.cpp 2022-04-02 12:26:01.000000000 +0200 @@ -633,17 +633,23 @@ return _tcsetattr(d->masterFd, ttmode) == 0; } -bool KPty::setWinSize(int lines, int columns) +bool KPty::setWinSize(int lines, int columns, int height, int width) { Q_D(KPty); struct winsize winSize; - memset(&winSize, 0, sizeof(winSize)); winSize.ws_row = (unsigned short)lines; winSize.ws_col = (unsigned short)columns; + winSize.ws_ypixel = (unsigned short)height; + winSize.ws_xpixel = (unsigned short)width; return ioctl(d->masterFd, TIOCSWINSZ, (char *)&winSize) == 0; } +bool KPty::setWinSize(int lines, int columns) +{ + return setWinSize(lines, columns, 0, 0); +} + bool KPty::setEcho(bool echo) { struct ::termios ttmode; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.92.0/src/kpty.h new/kpty-5.93.0/src/kpty.h --- old/kpty-5.92.0/src/kpty.h 2022-03-05 14:05:22.000000000 +0100 +++ new/kpty-5.93.0/src/kpty.h 2022-04-02 12:26:01.000000000 +0200 @@ -138,14 +138,23 @@ /** * Change the logical (screen) size of the pty. - * The default is 24 lines by 80 columns. + * The default is 24 lines by 80 columns in characters, and zero pixels. * * This function can be used only while the PTY is open. * - * @param lines the number of rows - * @param columns the number of columns + * @param lines the number of character rows + * @param columns the number of character columns + * @param height the view height in pixels + * @param width the view width in pixels * @return @c true on success, false otherwise */ + bool setWinSize(int lines, int columns, int height, int width); + + /** + * @overload + * Change the logical (screen) size of the pty. + * The pixel size is set to zero. + */ bool setWinSize(int lines, int columns); /**
