From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kig/files/, kde-apps/kig/
Date: Tue, 22 Jul 2025 20:04:26 +0000 (UTC) [thread overview]
Message-ID: <1753214424.6d7dfb3b656c574bd75810936243740a7c257e8b.asturm@gentoo> (raw)
commit: 6d7dfb3b656c574bd75810936243740a7c257e8b
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Jul 22 10:17:22 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 20:00:24 2025 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=6d7dfb3b
kde-apps/kig: modify patch to apply again after upstream changes
Upstream commit: 5f3a08a7922c6fc502555c32d5a37d3043e11519
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/kde/pull/1059
Closes: https://github.com/gentoo/kde/pull/1059
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
....patch => kig-25.07.80-cmake-boostpython.patch} | 40 ++++++++--------------
kde-apps/kig/kig-9999.ebuild | 2 +-
2 files changed, 15 insertions(+), 27 deletions(-)
diff --git a/kde-apps/kig/files/kig-25.07.70-cmake-boostpython.patch b/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
similarity index 70%
rename from kde-apps/kig/files/kig-25.07.70-cmake-boostpython.patch
rename to kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
index f0da50cfc3..87e017d0e5 100644
--- a/kde-apps/kig/files/kig-25.07.70-cmake-boostpython.patch
+++ b/kde-apps/kig/files/kig-25.07.80-cmake-boostpython.patch
@@ -1,4 +1,4 @@
-From 39bf05d48f899612dffa07c73ac276f52820a7c9 Mon Sep 17 00:00:00 2001
+From c656b9ce0d8727302fea126d2ad70c36ce99f9e8 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Mon, 13 Jul 2020 00:41:25 +0200
Subject: [PATCH] Use CMake's own FindBoost module to detect Boost Python
@@ -7,14 +7,14 @@ Introduces BOOSTPYTHON_VERSION_MAJOR_MINOR for packaging.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
- CMakeLists.txt | 26 ++++++++++++--------------
- 1 file changed, 12 insertions(+), 14 deletions(-)
+ CMakeLists.txt | 20 +++++++++-----------
+ 1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e65585fb..e07a4dc6 100644
+index d05dae46..1c792102 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -51,7 +51,8 @@ endif()
+@@ -55,7 +55,8 @@ endif()
include(KigConfigureChecks.cmake)
@@ -24,8 +24,8 @@ index e65585fb..e07a4dc6 100644
if(KF6DocTools_FOUND)
add_subdirectory( doc )
-@@ -61,15 +62,15 @@ add_subdirectory( macros )
- add_subdirectory( data )
+@@ -67,15 +68,15 @@ add_subdirectory( mimetypes )
+ add_subdirectory( macros )
add_subdirectory( pykig )
-if(BoostPython_FOUND)
@@ -34,8 +34,7 @@ index e65585fb..e07a4dc6 100644
+ include_directories(${PYTHON_INCLUDE_DIRS})
add_subdirectory( scripting )
add_definitions(-DKIG_ENABLE_PYTHON_SCRIPTING)
--endif(BoostPython_FOUND)
-+endif()
+ endif()
set_package_properties(
- BoostPython PROPERTIES
@@ -45,17 +44,17 @@ index e65585fb..e07a4dc6 100644
TYPE OPTIONAL
PURPOSE "Kig can optionally use Boost.Python for Python scripting"
)
-@@ -85,9 +86,6 @@ set_package_properties(
+@@ -93,9 +94,6 @@ endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
include_directories( ${CMAKE_SOURCE_DIR}/modes )
-if(BoostPython_FOUND)
- include_directories(${BoostPython_INCLUDE_DIRS})
--endif(BoostPython_FOUND)
+-endif()
# kigpart
-@@ -225,7 +223,7 @@ ki18n_wrap_ui(kigpart_PART_SRCS
+@@ -345,7 +343,7 @@ ki18n_wrap_ui(kigpart_PART_SRCS
misc/kigcoordinateprecisiondialog.ui
)
@@ -64,28 +63,17 @@ index e65585fb..e07a4dc6 100644
set(kigpart_PART_SRCS ${kigpart_PART_SRCS}
modes/popup/scriptactionsprovider.cc
scripting/newscriptwizard.cc
-@@ -236,7 +234,7 @@ if(BoostPython_FOUND)
- )
-
- kde_source_files_enable_exceptions(scripting/python_scripter.cc)
--endif(BoostPython_FOUND)
-+endif()
-
-
- add_library(kigpart MODULE ${kigpart_PART_SRCS})
-@@ -256,9 +254,9 @@ target_link_libraries(kigpart
+@@ -376,8 +374,8 @@ target_link_libraries(kigpart
KF6::Archive
)
-if(BoostPython_FOUND)
- target_link_libraries(kigpart ${BoostPython_LIBRARIES} KF6::TextEditor)
--endif(BoostPython_FOUND)
+if(Boost_FOUND)
+ target_link_libraries(kigpart Boost::${BOOSTPYTHON_VERSION_MAJOR_MINOR} ${PYTHON_LIBRARIES} KF6::TextEditor)
-+endif()
+ endif()
if (Qt${QT_MAJOR_VERSION}XmlPatterns_FOUND)
- target_link_libraries(kigpart Qt::XmlPatterns)
--
-2.27.0
+2.50.1
diff --git a/kde-apps/kig/kig-9999.ebuild b/kde-apps/kig/kig-9999.ebuild
index 106873438c..eb7b473529 100644
--- a/kde-apps/kig/kig-9999.ebuild
+++ b/kde-apps/kig/kig-9999.ebuild
@@ -45,7 +45,7 @@ DEPEND="${RDEPEND}
>=kde-frameworks/ktexteditor-${KFMIN}:6
"
-PATCHES=( "${FILESDIR}"/${PN}-25.07.70-cmake-boostpython.patch )
+PATCHES=( "${FILESDIR}"/${PN}-25.07.80-cmake-boostpython.patch )
src_prepare() {
ecm_src_prepare
next reply other threads:[~2025-07-22 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 20:04 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-07 18:35 [gentoo-commits] proj/kde:master commit in: kde-apps/kig/files/, kde-apps/kig/ Andreas Sturmlechner
2019-12-15 16:00 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1753214424.6d7dfb3b656c574bd75810936243740a7c257e8b.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox