Skip to content

Commit

Permalink
Merge pull request #1 from Gui-Yue/topic-kde-relate
Browse files Browse the repository at this point in the history
feat:upgrade to 5.103
  • Loading branch information
deepin-ci-robot authored Jun 26, 2023
2 parents 8cf48f7 + 20fc7ab commit b47a9bb
Show file tree
Hide file tree
Showing 182 changed files with 762,365 additions and 3,711 deletions.
32 changes: 18 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
cmake_minimum_required(VERSION 3.16)

set(KF_VERSION "5.90.0") # handled by release scripts
set(KF_VERSION "5.103.0") # handled by release scripts
project(KItemViews VERSION ${KF_VERSION})

include(FeatureSummary)
find_package(ECM 5.90.0 NO_MODULE)
find_package(ECM 5.103.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)

set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})

include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(KDEGitCommitHooks)

set(REQUIRED_QT_VERSION 5.15.2)
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Widgets)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)

include(KDEGitCommitHooks)
include(ECMGenerateExportHeader)
include(ECMSetupVersion)
include(ECMGenerateHeaders)
include(ECMQtDeclareLoggingCategory)
include(ECMDeprecationSettings)
include(ECMAddQch)

include(ECMPoQmTools)
include(CMakeDependentOption)
include(CMakePackageConfigHelpers)

set(REQUIRED_QT_VERSION 5.15.2)
find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED Widgets)

set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].")

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)")

option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON)
cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF)
add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer")

ecm_setup_version(PROJECT VARIABLE_PREFIX KITEMVIEWS
Expand All @@ -40,8 +42,12 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KITEMVIEWS
SOVERSION 5)


ecm_install_po_files_as_qm(po)
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02)
ecm_install_po_files_as_qm(poqm)

ecm_set_disabled_deprecation_versions(
QT 5.15.2
)

add_subdirectory(src)
if (BUILD_TESTING)
add_subdirectory(autotests)
Expand All @@ -60,8 +66,6 @@ if (BUILD_QCH)
set(PACKAGE_INCLUDE_QCHTARGETS "include(\"\${CMAKE_CURRENT_LIST_DIR}/KF5ItemViewsQCHTargets.cmake\")")
endif()

include(CMakePackageConfigHelpers)

configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5ItemViewsConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5ItemViewsConfig.cmake"
Expand All @@ -79,7 +83,7 @@ install(EXPORT KF5ItemViewsTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE

install(FILES
${CMAKE_CURRENT_BINARY_DIR}/kitemviews_version.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF} COMPONENT Devel
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KItemViews COMPONENT Devel
)

feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
Expand Down
35 changes: 0 additions & 35 deletions autotests/pythontest.py

This file was deleted.

77 changes: 76 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,79 @@
kitemviews (5.90.0-1) experimental; urgency=medium
kitemviews (5.103.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.103.0).
* Update build-deps and deps with the info from cmake.

-- Aurélien COUDERC <coucouf@debian.org> Sun, 12 Feb 2023 21:44:23 +0100

kitemviews (5.102.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.102.0).
* Update build-deps and deps with the info from cmake.
* Bump Standards-Version to 4.6.2, no change required.

-- Aurélien COUDERC <coucouf@debian.org> Sun, 22 Jan 2023 21:35:01 +0100

kitemviews (5.101.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.101.0).
* Update build-deps and deps with the info from cmake.

-- Aurélien COUDERC <coucouf@debian.org> Tue, 13 Dec 2022 07:40:22 +0100

kitemviews (5.100.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.99.0).
* Update build-deps and deps with the info from cmake.
* New upstream release (5.100.0).
* Update build-deps and deps with the info from cmake.
* Refresh copyright information.

-- Aurélien COUDERC <coucouf@debian.org> Sat, 19 Nov 2022 23:18:57 +0100

kitemviews (5.98.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.98.0).
* Update build-deps and deps with the info from cmake.

-- Aurélien COUDERC <coucouf@debian.org> Sun, 18 Sep 2022 23:11:36 +0200

kitemviews (5.97.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.97.0).

-- Aurélien COUDERC <coucouf@debian.org> Sun, 14 Aug 2022 18:55:28 +0200

kitemviews (5.96.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.96.0).
* Bump Standards-Version to 4.6.1, no change required.

-- Aurélien COUDERC <coucouf@debian.org> Sun, 31 Jul 2022 13:32:57 +0200

kitemviews (5.94.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.94.0).

-- Aurélien COUDERC <coucouf@debian.org> Thu, 19 May 2022 23:59:02 +0200

kitemviews (5.93.0-1) unstable; urgency=medium

[ Aurélien COUDERC ]
* New upstream release (5.92.0).
* Update the list of installed files.
* New upstream release (5.93.0).

-- Aurélien COUDERC <coucouf@debian.org> Wed, 11 May 2022 23:22:44 +0200

kitemviews (5.90.0-1) unstable; urgency=medium

[ Norbert Preining ]
* New upstream release (5.89.0).
Expand Down
10 changes: 5 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Uploaders: Aurélien COUDERC <coucouf@debian.org>,
Build-Depends: cmake (>= 3.16~),
debhelper-compat (= 13),
doxygen,
extra-cmake-modules (>= 5.90.0~),
extra-cmake-modules (>= 5.103.0~),
libqt5sql5-sqlite:native,
pkg-kde-tools (>= 0.15.15ubuntu1~),
qtbase5-dev (>= 5.15.2~),
qttools5-dev (>= 5.4),
qttools5-dev-tools (>= 5.4),
Standards-Version: 4.6.0
Standards-Version: 4.6.2
Homepage: https://invent.kde.org/frameworks/kitemviews
Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kitemviews
Vcs-Git: https://salsa.debian.org/qt-kde-team/kde/kitemviews.git
Expand All @@ -22,7 +22,7 @@ Rules-Requires-Root: no
Package: libkf5itemviews-data
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Depends: ${misc:Depends}, ${shlibs:Depends},
Description: Qt library with additional widgets for ItemModels
A Qt library which contains additional widgets for ItemModels, such as
grouping into categories and filtering
Expand All @@ -38,7 +38,7 @@ Depends: libkf5itemviews5 (= ${binary:Version}),
qtbase5-dev (>= 5.15.2~),
${misc:Depends},
${shlibs:Depends},
Recommends: libkf5itemviews-doc (= ${source:Version})
Recommends: libkf5itemviews-doc (= ${source:Version}),
Description: Qt library with additional widgets for ItemModels
A Qt library which contains additional widgets for ItemModels, such as
grouping into categories and filtering
Expand All @@ -55,7 +55,7 @@ Breaks: kio-dev (<< 5.28),
Package: libkf5itemviews-doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Depends: ${misc:Depends},
Description: Qt library with additional widgets for ItemModels (documentation)
A Qt library which contains additional widgets for ItemModels, such as
grouping into categories and filtering
Expand Down
6 changes: 3 additions & 3 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ Copyright: 2004, Gustavo Sverzut Barbieri <gsbarbieri@users.sourceforge.net>
2003, Scott Wheeler <wheeler@kde.org>
License: LGPL-2

Files: po/ca/*
po/ca@valencia/*
po/uk/*
Files: poqm/ca/*
poqm/ca@valencia/*
poqm/uk/*
Copyright: 2014, This_file_is_part_of_KDE
License: LGPL-2.1+3+KDEeV

Expand Down
1 change: 0 additions & 1 deletion debian/libkf5itemviews-dev.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
usr/include/KF5/KItemViews/
usr/include/KF5/kitemviews_version.h
usr/lib/*/cmake/KF5ItemViews/
usr/lib/*/libKF5ItemViews.so
usr/lib/*/qt5/mkspecs/modules/qt_KItemViews.pri
Expand Down
45 changes: 0 additions & 45 deletions po/af/kitemviews5_qt.po

This file was deleted.

48 changes: 0 additions & 48 deletions po/as/kitemviews5_qt.po

This file was deleted.

Loading

0 comments on commit b47a9bb

Please sign in to comment.