public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cantor] rawhide: 26.11.90
@ 2026-11-28 2:30 Steve Cossette
0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-11-28 2:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cantor
Branch : rawhide
Commit : 35b3620ae1595338a15722b425affa9174adf3ce
Author : Steve Cossette <farchord@gmail.com>
Date : 2026-11-27T21:30:03-05:00
Stats : +12/-193 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/cantor/c/35b3620ae1595338a15722b425affa9174adf3ce?branch=rawhide
Log:
26.11.90
---
diff --git a/.gitignore b/.gitignore
index 5949a7e..af99041 100644
--- a/.gitignore
+++ b/.gitignore
@@ -105,3 +105,4 @@
/cantor-26.08.1.tar.xz
/cantor-26.08.2.tar.xz
/cantor-26.08.3.tar.xz
+/cantor-26.11.90.tar.xz
diff --git a/cantor-21.04.3-no-julia-internal.patch b/cantor-21.04.3-no-julia-internal.patch
deleted file mode 100644
index 8c66b8a..0000000
--- a/cantor-21.04.3-no-julia-internal.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- cantor-21.04.3/cmake/FindJulia.cmake.nojuliainternal 2021-07-06 04:00:21.000000000 +0900
-+++ cantor-21.04.3/cmake/FindJulia.cmake 2021-08-29 14:55:53.950965437 +0900
-@@ -118,7 +118,7 @@
- else()
- find_package_handle_standard_args(
- Julia
-- REQUIRED_VARS JULIA_LIBRARY JULIA_INTERNAL_LIBRARY JULIA_INCLUDE_DIRS
-+ REQUIRED_VARS JULIA_LIBRARY JULIA_INCLUDE_DIRS
- VERSION_VAR JULIA_VERSION_STRING
- FAIL_MESSAGE "Julia not found"
- )
---- cantor-21.04.3/src/backends/julia/juliaserver/juliaserver.cpp.nojuliainternal 2021-08-29 14:14:27.795233180 +0900
-+++ cantor-21.04.3/src/backends/julia/juliaserver/juliaserver.cpp 2021-08-29 14:50:14.781511654 +0900
-@@ -113,7 +113,7 @@
- #else
- jl_value_t *ex = jl_exception_in_transit;
- #endif
-- jl_printf(JL_STDERR, "error during run:\n");
-+ jl_printf(jl_stderr_stream(), "error during run:\n");
- jl_function_t *showerror =
- jl_get_function(jl_base_module, "showerror");
- jl_value_t *bt = static_cast<jl_value_t *>(
diff --git a/cantor-26.04.0-r-api-4.6.patch b/cantor-26.04.0-r-api-4.6.patch
deleted file mode 100644
index 24b851f..0000000
--- a/cantor-26.04.0-r-api-4.6.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 277a176629b172d381b6f3692d1c673b7b5f5aa9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?I=C3=B1aki=20=C3=9Acar?= <iucar@fedoraproject.org>
-Date: Sun, 26 Apr 2026 12:41:46 +0200
-Subject: [PATCH] new api
-
----
- src/backends/R/rserver/rserver.cpp | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/backends/R/rserver/rserver.cpp b/src/backends/R/rserver/rserver.cpp
-index 9844c69..18fc091 100644
---- a/src/backends/R/rserver/rserver.cpp
-+++ b/src/backends/R/rserver/rserver.cpp
-@@ -144,7 +144,7 @@ void RServer::autoload()
-
- /* delayedAssign call*/
- PROTECT(da = Rf_findFun(Rf_install("delayedAssign"), R_GlobalEnv));
-- PROTECT(AutoloadEnv = Rf_findVar(Rf_install(".AutoloadEnv"), R_GlobalEnv));
-+ PROTECT(AutoloadEnv = R_getVarEx(Rf_install(".AutoloadEnv"), R_GlobalEnv, TRUE, R_NilValue));
- if (AutoloadEnv == R_NilValue){
- qDebug()<<"RServer: "<<"Cannot find .AutoloadEnv";
- //exit(1);
-@@ -202,7 +202,7 @@ void RServer::autoload()
- // if (completion is needed) // TODO: discuss how to pass parameter
- {
- /* First check if namespace is loaded */
-- if (findVarInFrame(R_NamespaceRegistry,install("utils"))==R_UnboundValue)
-+ if (R_getRegisteredNamespace("utils")==R_NilValue)
- { /* Then try to load it */
- SEXP cmdSexp, cmdexpr;
- ParseStatus status;
-@@ -218,7 +218,7 @@ void RServer::autoload()
- }
- UNPROTECT(2);
- /* Completion is available if the namespace is correctly loaded */
-- m_isCompletionAvailable= (findVarInFrame(R_NamespaceRegistry,install("utils"))!=R_UnboundValue);
-+ m_isCompletionAvailable= (R_getRegisteredNamespace("utils")!=R_NilValue);
- }
- }
- }
-@@ -444,7 +444,7 @@ void RServer::listSymbols()
- {
- SEXP object = STRING_ELT(usr,i);
- const QString& name = QString::fromUtf8(translateCharUTF8(object));
-- SEXP value = findVar(installChar(object), R_GlobalEnv);
-+ SEXP value = R_getVarEx(installChar(object), R_GlobalEnv, TRUE, R_NilValue);
-
- if (Rf_isFunction(value))
- funcs << name;
---
-2.52.0
-
diff --git a/cantor-26.08.3-julia-api-1.13.patch b/cantor-26.08.3-julia-api-1.13.patch
deleted file mode 100644
index d689f17..0000000
--- a/cantor-26.08.3-julia-api-1.13.patch
+++ /dev/null
@@ -1,59 +0,0 @@
---- a/src/backends/julia/juliaserver/juliaserver.cpp 2026-11-04 14:41:42.683154025 +0100
-+++ b/src/backends/julia/juliaserver/juliaserver.cpp 2026-11-04 14:42:09.193959690 +0100
-@@ -60,7 +60,7 @@
- );
-
- jl_module_t* jl_repl_module = (jl_module_t*)(jl_eval_string("REPL"));
-- jl_function_t* jl_ends_func = jl_get_function(jl_repl_module, "ends_with_semicolon");
-+ auto* jl_ends_func = jl_get_function(jl_repl_module, "ends_with_semicolon");
- bool isEndsWithSemicolon = jl_unbox_bool(jl_call1(jl_ends_func, jl_cstr_to_string(command.toStdString().c_str())));
-
- // Run command
-@@ -78,7 +78,7 @@
- jl_value_t *ex = jl_exception_in_transit;
- #endif
- jl_printf(jl_stderr_stream(), "error during run:\n");
-- jl_function_t *showerror =
-+ auto *showerror =
- jl_get_function(jl_base_module, "showerror");
- jl_value_t *bt = static_cast<jl_value_t *>(
- jl_eval_string("catch_backtrace()")
-@@ -91,7 +91,7 @@
- m_was_exception = true;
- } else if (val && !isEndsWithSemicolon) { // no exception occurred
- // If last result is not nothing, show it
-- jl_function_t *equality = jl_get_function(jl_base_module, "==");
-+ auto *equality = jl_get_function(jl_base_module, "==");
- jl_value_t *nothing =
- static_cast<jl_value_t *>(jl_eval_string("nothing"));
- bool is_nothing = jl_unbox_bool(
-@@ -99,7 +99,7 @@
- );
- if (!is_nothing) {
- jl_value_t *out_display = static_cast<jl_value_t *>(jl_eval_string("TextDisplay(stdout)"));
-- jl_function_t *display = jl_get_function(jl_base_module, "display");
-+ auto *display = jl_get_function(jl_base_module, "display");
- jl_call2(display, out_display, val);
- }
- m_was_exception = false;
-@@ -154,8 +154,8 @@
-
- void JuliaServer::parseJlModule(jl_module_t* module, bool parseValue)
- {
-- jl_function_t* jl_string_function = jl_get_function(jl_base_module, "string");
-- jl_function_t* jl_sizeof_function = jl_get_function(jl_base_module, "sizeof");
-+ auto* jl_string_function = jl_get_function(jl_base_module, "string");
-+ auto* jl_sizeof_function = jl_get_function(jl_base_module, "sizeof");
-
- if (module != JL_MAIN_MODULE)
- {
-@@ -166,7 +166,7 @@
- parsedModules.append(moduleName);
- }
-
-- jl_function_t* jl_names_function = jl_get_function(jl_base_module, "names");
-+ auto* jl_names_function = jl_get_function(jl_base_module, "names");
- jl_value_t* names = jl_call1(jl_names_function, (jl_value_t*)module);
- #if QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >= QT_VERSION_CHECK(1, 11, 0)
- jl_value_t **data = (jl_value_t**)jl_array_data_(names);
-
diff --git a/cantor.spec b/cantor.spec
index 857a494..829d9b2 100644
--- a/cantor.spec
+++ b/cantor.spec
@@ -24,8 +24,8 @@
Name: cantor
Summary: KDE Frontend to Mathematical Software
-Version: 26.08.3
-Release: 3%{?dist}
+Version: 26.11.90
+Release: 1%{?dist}
License: GPL-2.0-or-later
URL: https://apps.kde.org/cantor/
@@ -35,13 +35,9 @@ Source: https://download.kde.org/%{stable_kf6}/release-service/%{version}/src/%
%{?qt6_qtwebengine_arches:ExclusiveArch: %{qt6_qtwebengine_arches}}
## upstream fixes
+
## upstreamable patches
-# Kill using cantor internal API
-Patch2: cantor-21.04.3-no-julia-internal.patch
-# Fixes for R API 4.6
-Patch: cantor-26.04.0-r-api-4.6.patch
-# Fix for Julia API 1.13 (backport of 0d1fd2ede08d3904e1b6781f2f0578bb76ed8601)
-Patch: cantor-26.08.3-julia-api-1.13.patch
+
BuildRequires: openblas-devel
@@ -213,8 +209,6 @@ desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/org.kde.%{name}.d
%if 0%{?julia}
%files julia
%{_kf6_bindir}/cantor_juliaserver
-# %{_kf6_datadir}/cantor/julia/
-# %{_kf6_datadir}/cantor/juliabackend/
%{_kf6_qtplugindir}/cantor_plugins/backends/cantor_juliabackend.so
%{_kf6_datadir}/cantor/julia/graphic_packages.xml
%{_kf6_datadir}/cantor/juliabackend/scripts/variables_cleaner.jl
@@ -267,6 +261,12 @@ desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/org.kde.%{name}.d
%changelog
+* Fri Nov 27 2026 Steve Cossette <farchord@gmail.com> - 26.11.90-1
+- 26.11.90
+
+* Sun Nov 15 2026 Steve Cossette <farchord@gmail.com> - 26.11.80-1
+- 26.11.80
+
* Fri Nov 13 2026 Steve Cossette <farchord@gmail.com> - 26.08.3-3
- Bump for julia fix
diff --git a/fbf769983ae9054b0231783f89bc99b6b6ba376a.patch b/fbf769983ae9054b0231783f89bc99b6b6ba376a.patch
deleted file mode 100644
index 58d8174..0000000
--- a/fbf769983ae9054b0231783f89bc99b6b6ba376a.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From fbf769983ae9054b0231783f89bc99b6b6ba376a Mon Sep 17 00:00:00 2001
-From: Nanhao Lv <nanhaolv@gmail.com>
-Date: Wed, 29 Oct 2025 21:33:49 +0800
-Subject: [PATCH] Fix(julia): Adapt to removed Julia C-API functions
-
-Julia >= 1.12 removed `jl_binding_resolved_p` and
-`jl_get_binding_or_error` from the C-API, causing
-build failures.
-
-This commit replaces them with `jl_boundp` and `jl_get_global`
-respectively, guarded by a version check to maintain
-compatibility.
----
- src/backends/julia/juliaserver/juliaserver.cpp | 15 +++++++++++++--
- 1 file changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/src/backends/julia/juliaserver/juliaserver.cpp b/src/backends/julia/juliaserver/juliaserver.cpp
-index ee4f5a8f9..03ad86a40 100644
---- a/src/backends/julia/juliaserver/juliaserver.cpp
-+++ b/src/backends/julia/juliaserver/juliaserver.cpp
-@@ -175,12 +175,23 @@ void JuliaServer::parseJlModule(jl_module_t* module, bool parseValue)
- #endif
- for (size_t i = 0; i < jl_array_len(names); i++)
- {
-- bool isBindingResolved = (bool)jl_binding_resolved_p(module, (jl_sym_t*)(data[i]));
-+ bool isBindingResolved;
-+#if QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >= QT_VERSION_CHECK(1, 12, 0)
-+ isBindingResolved = (bool)jl_boundp(module, (jl_sym_t*)(data[i]), 0);
-+#else
-+ isBindingResolved = (bool)jl_binding_resolved_p(module, (jl_sym_t*)(data[i]));
-+#endif
- if (isBindingResolved)
- {
-
- const auto& name = fromJuliaString(jl_call1(jl_string_function, data[i]));
-- jl_value_t* value = jl_get_binding_or_error(module, (jl_sym_t*)(data[i]))->value;
-+ jl_value_t* value;
-+#if QT_VERSION_CHECK(JULIA_VERSION_MAJOR, JULIA_VERSION_MINOR, 0) >= QT_VERSION_CHECK(1, 12, 0)
-+ value = jl_get_global(module, (jl_sym_t*)(data[i]));
-+#else
-+ value = jl_get_binding_or_error(module, (jl_sym_t*)(data[i]))->value;
-+#endif
-+
- jl_datatype_t* datetype = (jl_datatype_t*)jl_typeof(value);
- const auto& type = QString::fromUtf8(jl_typeof_str(value));
-
---
-GitLab
-
diff --git a/sources b/sources
index b264fdb..4658b08 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cantor-26.08.3.tar.xz) = 9a79b3e33c89d91ca11cd6f9e059cdd601d1eb4e3315ffcee1cbf17286df5e6fba7b7fbfa731d0f87dccaa4d75f8be5db03df3d74582f9b99b46bb311b3a660e
+SHA512 (cantor-26.11.90.tar.xz) = 04d5bf0aa35be268c456169ed060d6d76807d51b1e7cfee43e8327dd6ae677a424d44a29e70cf7a52c9b85b3ac597073738cfa4347193b5ac3751d3fb9a8f908
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-28 2:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 2:30 [rpms/cantor] rawhide: 26.11.90 Steve Cossette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox