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-03-14 19:34:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kpty (Old)
 and      /work/SRC/openSUSE:Factory/.kpty.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kpty"

Mon Mar 14 19:34:42 2022 rev:101 rq:961269 version:5.92.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kpty/kpty.changes        2022-02-24 
18:22:05.442680145 +0100
+++ /work/SRC/openSUSE:Factory/.kpty.new.25692/kpty.changes     2022-03-14 
19:36:13.266065575 +0100
@@ -1,0 +2,10 @@
+Mon Mar  7 09:27:11 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.92.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.92.0
+- Changes since 5.91.0:
+  * Fix FindUTEMPTER when cross-compiling
+
+-------------------------------------------------------------------

Old:
----
  kpty-5.91.0.tar.xz
  kpty-5.91.0.tar.xz.sig

New:
----
  kpty-5.92.0.tar.xz
  kpty-5.92.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kpty.spec ++++++
--- /var/tmp/diff_new_pack.s5rHmz/_old  2022-03-14 19:36:13.706066102 +0100
+++ /var/tmp/diff_new_pack.s5rHmz/_new  2022-03-14 19:36:13.714066112 +0100
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5Pty5
-%define _tar_path 5.91
+%define _tar_path 5.92
 # 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.91.0
+Version:        5.92.0
 Release:        0
 Summary:        Primitives to interface with pseudo terminal devices
 License:        LGPL-2.1-or-later


++++++ kpty-5.91.0.tar.xz -> kpty-5.92.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpty-5.91.0/CMakeLists.txt 
new/kpty-5.92.0/CMakeLists.txt
--- old/kpty-5.91.0/CMakeLists.txt      2022-02-05 22:28:12.000000000 +0100
+++ new/kpty-5.92.0/CMakeLists.txt      2022-03-05 14:05:22.000000000 +0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.91.0") # handled by release scripts
-set(KF_DEP_VERSION "5.91.0") # handled by release scripts
+set(KF_VERSION "5.92.0") # handled by release scripts
+set(KF_DEP_VERSION "5.92.0") # handled by release scripts
 project(KPty VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.91.0  NO_MODULE)
+find_package(ECM 5.92.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.91.0/cmake/FindUTEMPTER.cmake 
new/kpty-5.92.0/cmake/FindUTEMPTER.cmake
--- old/kpty-5.91.0/cmake/FindUTEMPTER.cmake    2022-02-05 22:28:12.000000000 
+0100
+++ new/kpty-5.92.0/cmake/FindUTEMPTER.cmake    2022-03-05 14:05:22.000000000 
+0100
@@ -9,35 +9,41 @@
 #
 # SPDX-License-Identifier: BSD-3-Clause
 
-
-# use find_file instead of find_program until this is fixed:
-# https://gitlab.kitware.com/cmake/cmake/issues/10468
-find_file (UTEMPTER_EXECUTABLE utempter PATHS
-    ${KDE_INSTALL_FULL_LIBEXECDIR}/utempter
-    ${KDE_INSTALL_FULL_LIBDIR}/utempter
-    ${CMAKE_INSTALL_PREFIX}/libexec/utempter
-    ${CMAKE_INSTALL_PREFIX}/lib/utempter
-    /usr/libexec/utempter
-    /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
-    /usr/lib/utempter
-)
-
-# On FreeBSD for example we have to use ulog-helper
-if (NOT UTEMPTER_EXECUTABLE)
-    find_program (UTEMPTER_EXECUTABLE ulog-helper PATHS
-        /usr/libexec
+if (CMAKE_CROSSCOMPILING)
+    # Avoid encoding a host path in the target library
+    if (NOT UTEMPTER_EXECUTABLE)
+        message(FATAL_ERROR "You must set UTEMPTER_EXECUTABLE or 
CMAKE_DISABLE_FIND_PACKAGE_UTEMPTER when cross-compiling")
+    endif()
+else ()
+    # use find_file instead of find_program until this is fixed:
+    # https://gitlab.kitware.com/cmake/cmake/issues/10468
+    find_file (UTEMPTER_EXECUTABLE utempter PATHS
+        ${KDE_INSTALL_FULL_LIBEXECDIR}/utempter
+        ${KDE_INSTALL_FULL_LIBDIR}/utempter
+        ${CMAKE_INSTALL_PREFIX}/libexec/utempter
+        ${CMAKE_INSTALL_PREFIX}/lib/utempter
+        /usr/libexec/utempter
+        /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
+        /usr/lib/utempter
     )
-    if (UTEMPTER_EXECUTABLE)
-        add_definitions(-DUTEMPTER_ULOG=1)
+
+    # On FreeBSD for example we have to use ulog-helper
+    if (NOT UTEMPTER_EXECUTABLE)
+        find_program (UTEMPTER_EXECUTABLE ulog-helper PATHS /usr/libexec)
     endif ()
 endif ()
 
 if (UTEMPTER_EXECUTABLE)
-    add_definitions(-DUTEMPTER_PATH=\"${UTEMPTER_EXECUTABLE}\")
+    set(UTEMPTER_COMPILE_FLAGS -DUTEMPTER_PATH=\"${UTEMPTER_EXECUTABLE}\")
+    get_filename_component(UTEMPTER_EXECUTABLE_NAME "${UTEMPTER_EXECUTABLE}" 
NAME)
+    if ("${UTEMPTER_EXECUTABLE_NAME}" STREQUAL ulog-helper)
+        message(STATUS "UTEMPTER: using ulog-helper")
+        set(UTEMPTER_COMPILE_FLAGS ${UTEMPTER_COMPILE_FLAGS} -DUTEMPTER_ULOG=1)
+    endif ()
 endif ()
 
 include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (UTEMPTER DEFAULT_MSG UTEMPTER_EXECUTABLE)
+find_package_handle_standard_args (UTEMPTER REQUIRED_VARS UTEMPTER_EXECUTABLE 
UTEMPTER_COMPILE_FLAGS)
 
 
 set_package_properties (UTEMPTER PROPERTIES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpty-5.91.0/po/zh_CN/kpty5.po 
new/kpty-5.92.0/po/zh_CN/kpty5.po
--- old/kpty-5.91.0/po/zh_CN/kpty5.po   2022-02-05 22:28:12.000000000 +0100
+++ new/kpty-5.92.0/po/zh_CN/kpty5.po   2022-03-05 14:05:22.000000000 +0100
@@ -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-01-08 15:23\n"
+"PO-Revision-Date: 2022-02-26 05:17\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.91.0/src/CMakeLists.txt 
new/kpty-5.92.0/src/CMakeLists.txt
--- old/kpty-5.91.0/src/CMakeLists.txt  2022-02-05 22:28:12.000000000 +0100
+++ new/kpty-5.92.0/src/CMakeLists.txt  2022-03-05 14:05:22.000000000 +0100
@@ -33,6 +33,9 @@
                                     KF5::I18n)
 
 target_include_directories(KF5Pty PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
+if(UTEMPTER_FOUND)
+  target_compile_definitions(KF5Pty PRIVATE ${UTEMPTER_COMPILE_FLAGS})
+endif()
 
 set_target_properties(KF5Pty PROPERTIES
    VERSION ${KPTY_VERSION}

Reply via email to