public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@math.unl.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/kig] epel10: kig is missing python scripting support (#1311500)
Date: Tue, 04 Aug 2026 19:44:18 GMT	[thread overview]
Message-ID: <178587265864.1.7731996031042660972.rpms-kig-1d34ec515d99@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kig
Branch : epel10
Commit : 1d34ec515d99d73ec02537cf4272415e5db29c8d
Author : Rex Dieter <rdieter@math.unl.edu>
Date   : 2016-02-24T06:20:48-06:00
Stats  : +31/-4 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/kig/c/1d34ec515d99d73ec02537cf4272415e5db29c8d?branch=epel10

Log:
kig is missing python scripting support (#1311500)

---
diff --git a/kig-15.12.2-exceptions.patch b/kig-15.12.2-exceptions.patch
new file mode 100644
index 0000000..392a60e
--- /dev/null
+++ b/kig-15.12.2-exceptions.patch
@@ -0,0 +1,12 @@
+diff -up kig-15.12.2/cmake/modules/FindBoostPython.cmake.exceptions kig-15.12.2/cmake/modules/FindBoostPython.cmake
+--- kig-15.12.2/cmake/modules/FindBoostPython.cmake.exceptions	2015-11-04 08:26:01.000000000 -0600
++++ kig-15.12.2/cmake/modules/FindBoostPython.cmake	2016-02-24 06:09:41.218207990 -0600
+@@ -34,7 +34,7 @@ endmacro(BoostPython_TRY_COMPILE)
+ find_package(Boost QUIET COMPONENTS python)
+ 
+ cmake_push_check_state()
+-set(CMAKE_REQUIRED_FLAGS     ${CMAKE_REQUIRED_FLAGS}     ${KDE4_ENABLE_EXCEPTIONS})
++set(CMAKE_REQUIRED_FLAGS     ${CMAKE_REQUIRED_FLAGS}     -fexceptions -UQT_NO_EXCEPTIONS)
+ set(CMAKE_REQUIRED_INCLUDES  ${CMAKE_REQUIRED_INCLUDES}  ${Boost_INCLUDE_DIRS})
+ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${Boost_PYTHON_LIBRARY})
+ 

diff --git a/kig-15.12.2-katepart5.patch b/kig-15.12.2-katepart5.patch
new file mode 100644
index 0000000..0a81b9f
--- /dev/null
+++ b/kig-15.12.2-katepart5.patch
@@ -0,0 +1,9 @@
+diff -up kig-15.12.2/scripting/CMakeLists.txt.katepart5 kig-15.12.2/scripting/CMakeLists.txt
+--- kig-15.12.2/scripting/CMakeLists.txt.katepart5	2015-11-04 08:26:01.000000000 -0600
++++ kig-15.12.2/scripting/CMakeLists.txt	2016-02-24 06:17:43.323048283 -0600
+@@ -1,4 +1,4 @@
+ install(FILES
+    python-kig.xml
+-   DESTINATION ${CMAKE_INSTALL_DATADIR}/katepart/syntax)
++   DESTINATION ${CMAKE_INSTALL_DATADIR}/katepart5/syntax)
+ 

diff --git a/kig.spec b/kig.spec
index 9da28fa..0207694 100644
--- a/kig.spec
+++ b/kig.spec
@@ -2,10 +2,10 @@
 Name:    kig
 Summary: Interactive Geometry 
 Version: 15.12.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2+
-URL:     https://projects.kde.org/%{name}
+URL:     https://projects.kde.org/kig
 %global revision %(echo %{version} | cut -d. -f3)
 %if %{revision} >= 50
 %global stable unstable
@@ -19,9 +19,12 @@ Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%
 # https://bugs.kde.org/show_bug.cgi?id=335965#c23
 # https://git.reviewboard.kde.org/r/126549/
 Patch1: 0001-explicitly-use-QLibrary-to-load-libpython-like-pykde.patch
+# fix FindBoostPython.cmake wrt exceptions
+Patch2: kig-15.12.2-exceptions.patch
+# fix kartpart5 install path
+Patch3:  kig-15.12.2-katepart5.patch
 
 BuildRequires: boost-devel
-BuildRequires: cmake
 BuildRequires: desktop-file-utils
 BuildRequires: extra-cmake-modules
 BuildRequires: gettext
@@ -112,11 +115,14 @@ update-desktop-database -q &> /dev/null ||:
 %{_kf5_datadir}/kxmlgui5/%{name}/
 #{_kf5_datadir}/sounds/%{name}*
 %{_kf5_qtplugindir}/kigpart.so
-#%{_kf5_datadir}/katepart/syntax/python-kig.xml
+%{_kf5_datadir}/katepart5/syntax/python-kig.xml
 %{_mandir}/man1/kig.1*
 
 
 %changelog
+* Wed Feb 24 2016 Rex Dieter <rdieter@fedoraproject.org> 15.12.2-2
+- kig is missing python scripting support (#1311500)
+
 * Sun Feb 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
 - 15.12.2
 

                 reply	other threads:[~2026-08-04 19:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178587265864.1.7731996031042660972.rpms-kig-1d34ec515d99@fedoraproject.org \
    --to=rdieter@math.unl.edu \
    --cc=git-commits@fedoraproject.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