Hello community,

here is the log from the commit of package kidletime for openSUSE:Factory 
checked in at 2017-07-17 10:23:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kidletime (Old)
 and      /work/SRC/openSUSE:Factory/.kidletime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kidletime"

Mon Jul 17 10:23:53 2017 rev:43 rq:509911 version:5.36.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kidletime/kidletime.changes      2017-07-05 
23:51:00.730996733 +0200
+++ /work/SRC/openSUSE:Factory/.kidletime.new/kidletime.changes 2017-07-17 
10:23:55.164907077 +0200
@@ -1,0 +2,10 @@
+Wed Jul 12 07:14:01 CEST 2017 - lbeltr...@kde.org
+
+- Update to 5.36.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.36.0.php
+- Changes since 5.35.0:
+  * [FEATURE] Option to build & install QCH file with the public API dox
+
+-------------------------------------------------------------------

Old:
----
  kidletime-5.35.0.tar.xz

New:
----
  kidletime-5.36.0.tar.xz

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

Other differences:
------------------
++++++ kidletime.spec ++++++
--- /var/tmp/diff_new_pack.H7357R/_old  2017-07-17 10:23:55.696832091 +0200
+++ /var/tmp/diff_new_pack.H7357R/_new  2017-07-17 10:23:55.700831528 +0200
@@ -17,9 +17,9 @@
 
 
 %define lname   libKF5IdleTime5
-%define _tar_path 5.35
+%define _tar_path 5.36
 Name:           kidletime
-Version:        5.35.0
+Version:        5.36.0
 Release:        0
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= %{_tar_path}

++++++ kidletime-5.35.0.tar.xz -> kidletime-5.36.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kidletime-5.35.0/CMakeLists.txt 
new/kidletime-5.36.0/CMakeLists.txt
--- old/kidletime-5.35.0/CMakeLists.txt 2017-06-03 11:02:17.000000000 +0200
+++ new/kidletime-5.36.0/CMakeLists.txt 2017-06-30 12:33:30.000000000 +0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.35.0") # handled by release scripts
+set(KF5_VERSION "5.36.0") # handled by release scripts
 project(KIdleTime VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.35.0  NO_MODULE)
+find_package(ECM 5.36.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)
 
@@ -17,6 +17,7 @@
 include(CMakePackageConfigHelpers)
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
+include(ECMAddQch)
 
 ecm_setup_version(PROJECT VARIABLE_PREFIX KIDLETIME
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kidletime_version.h"
@@ -71,6 +72,9 @@
     set(HAVE_X11 FALSE)
 endif()
 
+option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt 
Assistant, Qt Creator & KDevelop)" OFF)
+add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. 
Qt Assistant, Qt Creator & KDevelop)")
+
 # Subdirectories
 add_subdirectory(src)
 add_subdirectory(examples)
@@ -78,6 +82,16 @@
 # create a Config.cmake and a ConfigVersion.cmake file and install them
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5IdleTime")
 
+if (BUILD_QCH)
+    ecm_install_qch_export(
+        TARGETS KF5IdleTime_QCH
+        FILE KF5IdleTimeQchTargets.cmake
+        DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
+        COMPONENT Devel
+    )
+    set(PACKAGE_INCLUDE_QCHTARGETS 
"include(\"\${CMAKE_CURRENT_LIST_DIR}/KF5IdleTimeQchTargets.cmake\")")
+endif()
+
 
configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KF5IdleTimeConfig.cmake.in"
                               
"${CMAKE_CURRENT_BINARY_DIR}/KF5IdleTimeConfig.cmake"
                               INSTALL_DESTINATION  ${CMAKECONFIG_INSTALL_DIR}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kidletime-5.35.0/KF5IdleTimeConfig.cmake.in 
new/kidletime-5.36.0/KF5IdleTimeConfig.cmake.in
--- old/kidletime-5.35.0/KF5IdleTimeConfig.cmake.in     2017-06-03 
11:02:17.000000000 +0200
+++ new/kidletime-5.36.0/KF5IdleTimeConfig.cmake.in     2017-06-30 
12:33:30.000000000 +0200
@@ -5,4 +5,4 @@
 
 
 include("${CMAKE_CURRENT_LIST_DIR}/KF5IdleTimeTargets.cmake")
-
+@PACKAGE_INCLUDE_QCHTARGETS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kidletime-5.35.0/src/CMakeLists.txt 
new/kidletime-5.36.0/src/CMakeLists.txt
--- old/kidletime-5.35.0/src/CMakeLists.txt     2017-06-03 11:02:17.000000000 
+0200
+++ new/kidletime-5.36.0/src/CMakeLists.txt     2017-06-30 12:33:30.000000000 
+0200
@@ -51,6 +51,26 @@
 
 install(TARGETS KF5IdleTime EXPORT KF5IdleTimeTargets 
${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
 
+if(BUILD_QCH)
+    ecm_add_qch(
+        KF5IdleTime_QCH
+        NAME KIdleTime
+        BASE_NAME KF5IdleTime
+        VERSION ${KF5_VERSION}
+        ORG_DOMAIN org.kde
+        SOURCES # using only public headers, to cover only public API
+            ${KIdleTime_HEADERS}
+        MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md"
+        LINK_QCHS
+            Qt5Core_QCH
+        BLANK_MACROS
+            KIDLETIME_EXPORT
+        TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
+        QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
+        COMPONENT Devel
+    )
+endif()
+
 include(ECMGeneratePriFile)
 ecm_generate_pri_file(BASE_NAME KIdleTime LIB_NAME KF5IdleTime DEPS "core" 
FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR 
${KDE_INSTALL_INCLUDEDIR_KF5}/KIdleTime)
 install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})


Reply via email to