Hello community,

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

Package is "kitemmodels"

Mon Jul 17 10:24:13 2017 rev:43 rq:509915 version:5.36.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kitemmodels/kitemmodels.changes  2017-07-05 
23:51:23.127842054 +0200
+++ /work/SRC/openSUSE:Factory/.kitemmodels.new/kitemmodels.changes     
2017-07-17 10:24:14.750146122 +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:
----
  kitemmodels-5.35.0.tar.xz

New:
----
  kitemmodels-5.36.0.tar.xz

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

Other differences:
------------------
++++++ kitemmodels.spec ++++++
--- /var/tmp/diff_new_pack.rnTxph/_old  2017-07-17 10:24:15.286070572 +0200
+++ /var/tmp/diff_new_pack.rnTxph/_new  2017-07-17 10:24:15.286070572 +0200
@@ -19,9 +19,9 @@
 %bcond_with python
 %define clang_sonum 3.8
 %define lname   libKF5ItemModels5
-%define _tar_path 5.35
+%define _tar_path 5.36
 Name:           kitemmodels
-Version:        5.35.0
+Version:        5.36.0
 Release:        0
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= %{_tar_path}

++++++ kitemmodels-5.35.0.tar.xz -> kitemmodels-5.36.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-5.35.0/CMakeLists.txt 
new/kitemmodels-5.36.0/CMakeLists.txt
--- old/kitemmodels-5.35.0/CMakeLists.txt       2017-06-03 11:04:38.000000000 
+0200
+++ new/kitemmodels-5.36.0/CMakeLists.txt       2017-06-30 12:35:54.000000000 
+0200
@@ -1,10 +1,10 @@
 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(KItemModels VERSION ${KF5_VERSION})
 
 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)
 
@@ -23,6 +23,10 @@
 
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
+include(ECMAddQch)
+
+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)")
 
 ecm_setup_version(PROJECT VARIABLE_PREFIX KITEMMODELS
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kitemmodels_version.h"
@@ -40,6 +44,15 @@
 # create a Config.cmake and a ConfigVersion.cmake file and install them
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5ItemModels")
 
+if (BUILD_QCH)
+    ecm_install_qch_export(
+        TARGETS KF5ItemModels_QCH
+        FILE KF5ItemModelsQCHTargets.cmake
+        DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
+    )
+    set(PACKAGE_INCLUDE_QCHTARGETS 
"include(\"\${CMAKE_CURRENT_LIST_DIR}/KF5ItemModelsQCHTargets.cmake\")")
+endif()
+
 include(CMakePackageConfigHelpers)
 
 configure_package_config_file(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-5.35.0/KF5ItemModelsConfig.cmake.in 
new/kitemmodels-5.36.0/KF5ItemModelsConfig.cmake.in
--- old/kitemmodels-5.35.0/KF5ItemModelsConfig.cmake.in 2017-06-03 
11:04:38.000000000 +0200
+++ new/kitemmodels-5.36.0/KF5ItemModelsConfig.cmake.in 2017-06-30 
12:35:54.000000000 +0200
@@ -5,4 +5,4 @@
 
 
 include("${CMAKE_CURRENT_LIST_DIR}/KF5ItemModelsTargets.cmake")
-
+@PACKAGE_INCLUDE_QCHTARGETS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kitemmodels-5.35.0/src/CMakeLists.txt 
new/kitemmodels-5.36.0/src/CMakeLists.txt
--- old/kitemmodels-5.35.0/src/CMakeLists.txt   2017-06-03 11:04:38.000000000 
+0200
+++ new/kitemmodels-5.36.0/src/CMakeLists.txt   2017-06-30 12:35:54.000000000 
+0200
@@ -73,6 +73,27 @@
   DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KItemModels COMPONENT Devel
 )
 
+if(BUILD_QCH)
+    ecm_add_qch(
+        KF5ItemModels_QCH
+        NAME KItemModels
+        BASE_NAME KF5ItemModels
+        VERSION ${KF5_VERSION}
+        ORG_DOMAIN org.kde
+        SOURCES # using only public headers, to cover only public API
+            ${KItemModels_HEADERS}
+        MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md"
+        IMAGE_DIRS "${CMAKE_SOURCE_DIR}/docs/pics"
+        LINK_QCHS
+            Qt5Core_QCH
+        BLANK_MACROS
+            KITEMMODELS_EXPORT
+        TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
+        QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR}
+        COMPONENT Devel
+    )
+endif()
+
 include(ECMGeneratePriFile)
 ecm_generate_pri_file(BASE_NAME KItemModels LIB_NAME KF5ItemModels DEPS "core" 
FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR 
${KDE_INSTALL_INCLUDEDIR_KF5}/KItemModels)
 install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})


Reply via email to