Notification time stamped 2021-08-29 06:49:16 UTC
From f78a07ca2b33674e1c3cfb4eeb7aec7ba140fb82 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka(a)fedoraproject.org>
Date: Aug 29 2021 06:49:07 +0000
Subject: Kill using julia internal API
---
diff --git a/cantor-21.04.3-no-julia-internal.patch
b/cantor-21.04.3-no-julia-internal.patch
new file mode 100644
index 0000000..8c66b8a
--- /dev/null
+++ b/cantor-21.04.3-no-julia-internal.patch
@@ -0,0 +1,22 @@
+--- 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.spec b/cantor.spec
index 63cf8fc..de36966 100644
--- a/cantor.spec
+++ b/cantor.spec
@@ -25,7 +25,7 @@
Name: cantor
Summary: KDE Frontend to Mathematical Software
Version: 21.04.3
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
URL:
https://edu.kde.org/cantor/
@@ -45,6 +45,8 @@ Source0:
http://download.kde.org/%{stable}/release-service/%{version}/src/%{name
#
https://github.com/JuliaLang/julia/pull/40715
#
https://github.com/JuliaLang/julia/commit/b46df09eb651eba97776fe73e8044e0...
Patch1: cantor-21.04.3-julia-170-api.patch
+# Kill using cantor internal API
+Patch2: cantor-21.04.3-no-julia-internal.patch
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
BuildRequires: analitza-devel >= %{majmin_ver}
@@ -251,6 +253,9 @@ desktop-file-validate
%{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.d
%changelog
+* Sun Aug 29 2021 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 21.04.3-4
+- Kill using julia internal API
+
* Wed Aug 25 2021 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 21.04.3-3
- Tentative patch for julia 1.7.0 api change
https://src.fedoraproject.org/rpms/cantor/c/f78a07ca2b33674e1c3cfb4eeb7ae...