-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
78 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
# docker import mycontainer.tar | ||
# docker images # to check sha | ||
# docker tag <image_sha> iamsergio/kddw-qt6-asan | ||
# docker push | ||
# docker push iamsergio/kddw-qt6-asan | ||
|
||
FROM ubuntu:24.04 | ||
MAINTAINER Sergio Martins ([email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 2 additions & 15 deletions
17
python/fixup.py → cmake/KDAB/modules/KDFixupShiboken2.py
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
# This file is part of KDDockWidgets. | ||
# | ||
# SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# Author: Renato Araujo Oliveira Filho <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only | ||
# | ||
# Contact KDAB at <[email protected]> for commercial licensing options. | ||
# | ||
|
||
# | ||
# This file is part of KDDockWidgets. | ||
# | ||
# SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# Author: Renato Araujo <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only | ||
# | ||
# Contact KDAB at <[email protected]> for commercial licensing options. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
|
||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# SPDX-FileCopyrightText: 2012-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# SPDX-FileCopyrightText: 2012 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
|
@@ -30,7 +30,7 @@ if(NOT INSTALL_DATADIR) | |
set(INSTALL_DATADIR ${CMAKE_INSTALL_DATADIR}) | ||
endif() | ||
if(NOT INSTALL_DOC_DIR) | ||
set(INSTALL_DOC_DIR ${CMAKE_INSTALL_DOCDIR}${KDDockWidgets_LIBRARY_QTID}) | ||
set(INSTALL_DOC_DIR ${CMAKE_INSTALL_DOCDIR}${${PROJECT_NAME}_LIBRARY_QTID}) | ||
endif() | ||
|
||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
# | ||
# SPDX-FileCopyrightText: 2019-2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> | ||
# Author: Renato Araujo Oliveira Filho <[email protected]> | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
|
||
# Save path to this cmake file (so it can be used later in the macros) | ||
set(THIS_CMAKE_LIST_DIR ${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
if(NOT ${PROJECT_NAME}_PYTHON_BINDINGS_INSTALL_PREFIX) | ||
# cmake-lint: disable=C0103 | ||
set(${PROJECT_NAME}_PYTHON_BINDINGS_INSTALL_PREFIX | ||
|
@@ -15,6 +18,7 @@ endif() | |
|
||
message(STATUS "PYTHON INSTALL PREFIX ${${PROJECT_NAME}_PYTHON_BINDINGS_INSTALL_PREFIX}") | ||
|
||
|
||
if(WIN32) | ||
set(PATH_SEP "\;") | ||
else() | ||
|
@@ -129,7 +133,7 @@ macro( | |
$<TARGET_PROPERTY:Shiboken2::shiboken,LOCATION> ${GENERATOR_EXTRA_FLAGS} ${globalInclude} | ||
--include-paths=${shiboken_include_dirs} --typesystem-paths=${shiboken_typesystem_dirs} | ||
${shiboken_framework_include_dirs_option} --output-directory=${CMAKE_CURRENT_BINARY_DIR} ${typesystemXML} | ||
COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/python/fixup.py ${outputSource} | ||
COMMAND ${Python3_EXECUTABLE} ${THIS_CMAKE_LIST_DIR}/KDFixupShiboken2.py ${outputSource} | ||
DEPENDS ${typesystemXML} ${dependsArg} | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
COMMENT "Running generator for ${libraryName} binding..." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Pre-release source code review | ||
|
||
Before creating the tag for the new release check the following: | ||
|
||
* sync KDAB cmake files to upstream | ||
|
||
compare the cmake/KDE files to their upstream versions in ssh://codereview.kdab.com:29418/kdab/extra-cmake-modules | ||
|
||
* sync KDE cmake files to upstream | ||
|
||
compare the cmake/ECM files to their upstream versions in [email protected]:frameworks/extra-cmake-modules | ||
|
||
* ensures the Doxygen.cmake file is up-to-date for the doxygen version we use on KDABCI | ||
|
||
```shell | ||
doxygen -u docs/api/Doxyfile.cmake | ||
``` | ||
|
||
* run a pre-commit check | ||
|
||
```shell | ||
pre-commit run --all-files | ||
``` | ||
|
||
* verify ${PROJECT_NAME}_VERSION and ${PROJECT_NAME}_SOVERSION values in the top-level CMakeLists.txt | ||
|
||
* Add the real release date to the Changelog section header "vX.Y.Z (unreleased)" | ||
|
||
* updates distro/.spec and distro/.dsc files | ||
* (TODO) script to do that^^ | ||
|
||
* git commit any changes made above and make sure the CIs are green before continuing. | ||
|
||
Then create the new tag using the command: | ||
|
||
```shell | ||
git tag -m KDDockWidgets vX.Y.Z X.Y.Z" | ||
``` | ||
**DO NOT PUSH THE TAG YET!** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters