public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kig] epel10: kig is missing python scripting support (#1311500)
@ 2026-08-04 19:44 Rex Dieter
  0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-08-04 19:44 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-04 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-04 19:44 [rpms/kig] epel10: kig is missing python scripting support (#1311500) Rex Dieter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox