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-08-15 19:57:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpty (Old) and /work/SRC/openSUSE:Factory/.kpty.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpty" Mon Aug 15 19:57:36 2022 rev:106 rq:994997 version:5.97.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kpty/kpty.changes 2022-07-11 19:10:25.427698108 +0200 +++ /work/SRC/openSUSE:Factory/.kpty.new.1521/kpty.changes 2022-08-15 19:59:40.625303846 +0200 @@ -1,0 +2,10 @@ +Sun Aug 7 22:27:37 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.97.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.97.0 +- Changes since 5.96.0: + * add the ability to disable ctty set up + +------------------------------------------------------------------- Old: ---- kpty-5.96.0.tar.xz kpty-5.96.0.tar.xz.sig New: ---- kpty-5.97.0.tar.xz kpty-5.97.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpty.spec ++++++ --- /var/tmp/diff_new_pack.sQSQRh/_old 2022-08-15 19:59:41.045305017 +0200 +++ /var/tmp/diff_new_pack.sQSQRh/_new 2022-08-15 19:59:41.049305029 +0200 @@ -17,14 +17,14 @@ %define lname libKF5Pty5 -%define _tar_path 5.96 +%define _tar_path 5.97 # 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.96.0 +Version: 5.97.0 Release: 0 Summary: Primitives to interface with pseudo terminal devices License: LGPL-2.1-or-later ++++++ kpty-5.96.0.tar.xz -> kpty-5.97.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.96.0/CMakeLists.txt new/kpty-5.97.0/CMakeLists.txt --- old/kpty-5.96.0/CMakeLists.txt 2022-07-02 17:57:38.000000000 +0200 +++ new/kpty-5.97.0/CMakeLists.txt 2022-08-07 15:29:43.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.96.0") # handled by release scripts -set(KF_DEP_VERSION "5.96.0") # handled by release scripts +set(KF_VERSION "5.97.0") # handled by release scripts +set(KF_DEP_VERSION "5.97.0") # handled by release scripts project(KPty VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.96.0 NO_MODULE) +find_package(ECM 5.97.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.96.0/po/zh_CN/kpty5.po new/kpty-5.97.0/po/zh_CN/kpty5.po --- old/kpty-5.96.0/po/zh_CN/kpty5.po 2022-07-02 17:57:38.000000000 +0200 +++ new/kpty-5.97.0/po/zh_CN/kpty5.po 2022-08-07 15:29:43.000000000 +0200 @@ -1,21 +1,9 @@ -# translation of kdelibs4.po to Chinese Simplified -# Copyright (C) 2007 Free Software Foundation, Inc. -# -# Lie Ex <lilith...@gmail.com> 2007-2011. -# Wang Jian <l...@linux.ustc.edu.cn>, 1998. -# Sarah Smith <sar...@redhat.com>, 2002. -# Xiong Jiang <jxi...@offtopic.org>, 2002,2003,2004. -# Funda Wang <fundaw...@linux.net.cn>, 2002,2003,2004. -# Liang Qi <cavendish...@gmail.com>, 2007. -# Feng Chao <chaofeng...@gmail.com>, 2010, 2012, 2014. -# Ni Hui <shuizhuyuan...@126.com>, 2010, 2011, 2012. -# Weng Xuetian <wen...@gmail.com>, 2011, 2012, 2013. msgid "" msgstr "" "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-07-02 10:59\n" +"PO-Revision-Date: 2022-07-30 15:54\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.96.0/src/kpty.cpp new/kpty-5.97.0/src/kpty.cpp --- old/kpty-5.96.0/src/kpty.cpp 2022-07-02 17:57:38.000000000 +0200 +++ new/kpty-5.97.0/src/kpty.cpp 2022-08-07 15:29:43.000000000 +0200 @@ -4,6 +4,7 @@ SPDX-FileCopyrightText: 2002-2003, 2007-2008 Oswald Buddenhagen <o...@kde.org> SPDX-FileCopyrightText: 2010 KDE e.V. <kde-ev-bo...@kde.org> SPDX-FileContributor: 2010 Adriaan de Groot <gr...@kde.org> + SPDX-FileCopyrightText: 2022 Harald Sitter <sit...@kde.org> SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -437,6 +438,10 @@ { Q_D(KPty); + if (!d->withCTty) { + return; + } + // Setup job control ////////////////////////////////// // Become session leader, process group leader, @@ -684,3 +689,10 @@ return d->slaveFd; } + +void KPty::setCTtyEnabled(bool enable) +{ + Q_D(KPty); + + d->withCTty = enable; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.96.0/src/kpty.h new/kpty-5.97.0/src/kpty.h --- old/kpty-5.96.0/src/kpty.h 2022-07-02 17:57:38.000000000 +0200 +++ new/kpty-5.97.0/src/kpty.h 2022-08-07 15:29:43.000000000 +0200 @@ -1,6 +1,7 @@ /* This file is part of the KDE libraries SPDX-FileCopyrightText: 2003, 2007 Oswald Buddenhagen <o...@kde.org> + SPDX-FileCopyrightText: 2022 Harald Sitter <sit...@kde.org> SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -88,6 +89,19 @@ bool openSlave(); /** + * @brief Whether this will be a controlling terminal + * + * This is on by default. + * Disabling the controllig aspect only makes sense if another process will + * take over control or there is nothing to control or for technical reasons + * control cannot be set (this notably is the case with flatpak-spawn when + * used inside a sandbox). + * + * @param enable whether to enable ctty set up + */ + void setCTtyEnabled(bool enable); + + /** * Creates a new session and process group and makes this pty the * controlling tty. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpty-5.96.0/src/kpty_p.h new/kpty-5.97.0/src/kpty_p.h --- old/kpty-5.96.0/src/kpty_p.h 2022-07-02 17:57:38.000000000 +0200 +++ new/kpty-5.97.0/src/kpty_p.h 2022-08-07 15:29:43.000000000 +0200 @@ -1,6 +1,7 @@ /* This file is part of the KDE libraries SPDX-FileCopyrightText: 2003, 2007 Oswald Buddenhagen <o...@kde.org> + SPDX-FileCopyrightText: 2022 Harald Sitter <sit...@kde.org> SPDX-License-Identifier: LGPL-2.0-or-later */ @@ -33,6 +34,8 @@ QByteArray ttyName; QString utempterPath; + bool withCTty = true; + KPty *q_ptr; };