public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Cossette <farchord@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kig] epel10: 25.07.90
Date: Tue, 04 Aug 2026 19:45:43 GMT	[thread overview]
Message-ID: <178587274393.1.3235817274929033529.rpms-kig-583ff59a9767@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kig
Branch : epel10
Commit : 583ff59a976725f4f7211df2bde87b31bd273bf3
Author : Steve Cossette <farchord@gmail.com>
Date   : 2025-07-26T08:29:12-04:00
Stats  : +61/-43 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/kig/c/583ff59a976725f4f7211df2bde87b31bd273bf3?branch=epel10

Log:
25.07.90

---
diff --git a/.gitignore b/.gitignore
index 7e66037..7275570 100644
--- a/.gitignore
+++ b/.gitignore
@@ -89,3 +89,4 @@
 /kig-25.04.2.tar.xz
 /kig-25.04.3.tar.xz
 /kig-25.07.80.tar.xz
+/kig-25.07.90.tar.xz

diff --git a/0001-explicitly-use-QLibrary-to-load-libpython-like-pykde.patch b/0001-explicitly-use-QLibrary-to-load-libpython-like-pykde.patch
deleted file mode 100644
index 8a4ce46..0000000
--- a/0001-explicitly-use-QLibrary-to-load-libpython-like-pykde.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 38dc81c6..6271a08a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -72,6 +72,9 @@ add_subdirectory( pykig )
- if(BoostPython_FOUND)
-   add_subdirectory( scripting )
-   add_definitions(-DKIG_ENABLE_PYTHON_SCRIPTING)
-+  get_filename_component(PYTHON_LIBRARY_REALPATH "${PYTHON_LIBRARY}" REALPATH)
-+  get_filename_component(LIB_PYTHON ${PYTHON_LIBRARY_REALPATH} NAME)
-+  add_definitions(-DLIB_PYTHON="${LIB_PYTHON}")
- endif(BoostPython_FOUND)
- 
- set_package_properties(
-diff --git a/scripting/python_scripter.cc b/scripting/python_scripter.cc
-index 35c4dc4d..d105fb41 100644
---- a/scripting/python_scripter.cc
-+++ b/scripting/python_scripter.cc
-@@ -10,6 +10,8 @@
- #include "python_scripter.h"
- #include <Python.h>
- 
-+#include <QLibrary>
-+
- #include <iostream>
- #include <string>
- 
-@@ -309,6 +311,11 @@ PythonInitializer::PythonInitializer()
- {
-     // tell the python interpreter about our API..
- 
-+    QLibrary *pythonLib = new QLibrary();
-+    pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
-+    pythonLib->setFileName(LIB_PYTHON);
-+    pythonLib->load();
-+
-     PyImport_AppendInittab("kig", PyInit_kig);
- 
-     Py_Initialize();

diff --git a/6889b48a624b3fea4d0582efc032115a91ef0979.patch b/6889b48a624b3fea4d0582efc032115a91ef0979.patch
new file mode 100644
index 0000000..f3e7bbb
--- /dev/null
+++ b/6889b48a624b3fea4d0582efc032115a91ef0979.patch
@@ -0,0 +1,52 @@
+From 6889b48a624b3fea4d0582efc032115a91ef0979 Mon Sep 17 00:00:00 2001
+From: Steve Cossette <farchord@gmail.com>
+Date: Fri, 25 Jul 2025 15:04:15 -0400
+Subject: [PATCH] Fix for python-based kig math formulas
+
+---
+ CMakeLists.txt               | 3 +++
+ scripting/python_scripter.cc | 7 +++++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d05dae46..a884bf68 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -70,6 +70,9 @@ add_subdirectory( pykig )
+ if(BoostPython_FOUND)
+   add_subdirectory( scripting )
+   add_definitions(-DKIG_ENABLE_PYTHON_SCRIPTING)
++  get_filename_component(PYTHON_LIBRARY_REALPATH "${PYTHON_LIBRARY}" REALPATH)
++  get_filename_component(LIB_PYTHON ${PYTHON_LIBRARY_REALPATH} NAME)
++  add_definitions(-DLIB_PYTHON="${LIB_PYTHON}")
+ endif()
+ 
+ set_package_properties(
+diff --git a/scripting/python_scripter.cc b/scripting/python_scripter.cc
+index 35c4dc4d..d105fb41 100644
+--- a/scripting/python_scripter.cc
++++ b/scripting/python_scripter.cc
+@@ -10,6 +10,8 @@
+ #include "python_scripter.h"
+ #include <Python.h>
+ 
++#include <QLibrary>
++
+ #include <iostream>
+ #include <string>
+ 
+@@ -309,6 +311,11 @@ PythonInitializer::PythonInitializer()
+ {
+     // tell the python interpreter about our API..
+ 
++    QLibrary *pythonLib = new QLibrary();
++    pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
++    pythonLib->setFileName(LIB_PYTHON);
++    pythonLib->load();
++
+     PyImport_AppendInittab("kig", PyInit_kig);
+ 
+     Py_Initialize();
+-- 
+GitLab
+

diff --git a/kig.spec b/kig.spec
index d30d8e6..399ccdd 100644
--- a/kig.spec
+++ b/kig.spec
@@ -3,8 +3,8 @@
 
 Name:    kig
 Summary: Interactive Geometry 
-Version: 25.07.80
-Release: 2%{?dist}
+Version: 25.07.90
+Release: 1%{?dist}
 
 License: BSD-3-Clause AND GFDL-1.2-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later
 URL:     https://invent.kde.org/education/%{name}
@@ -15,11 +15,12 @@ Source0: http://download.kde.org/%{stable_kf5}/release-service/%{version}/src/%{
 # https://bugzilla.redhat.com/show_bug.cgi?id=1238113
 # 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
+Patch1: 6889b48a624b3fea4d0582efc032115a91ef0979.patch
 
 ## upstream patches
 
 BuildRequires: boost-devel
+BuildRequires: boost-python3
 BuildRequires: python3
 BuildRequires: python3-rpm-macros
 BuildRequires: python3-devel
@@ -100,6 +101,9 @@ desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/org.kde.%{name}.d
 
 
 %changelog
+* Fri Jul 25 2025 Steve Cossette <farchord@gmail.com> - 25.07.90-1
+- 25.07.90
+
 * Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 25.07.80-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
 

diff --git a/sources b/sources
index e3cbf91..c3e4c52 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kig-25.07.80.tar.xz) = 831561445d682b7917dbb5cc1b884523f92b764a3b7c76c32d066cbc33c27c94823259f26a7baf9988b69ce64d1f65d11a176934bd3e6d5932f5b973c888ddb6
+SHA512 (kig-25.07.90.tar.xz) = 576f73b03e8c65978abe63a8e319f20e18e4084df275f2203044acc65c31fc8070645b2ac18377b8ca0e2aaa625a064fedc349911de854e4a811125902819c32

                 reply	other threads:[~2026-08-04 19:45 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=178587274393.1.3235817274929033529.rpms-kig-583ff59a9767@fedoraproject.org \
    --to=farchord@gmail.com \
    --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