GNU bug report logs -
#52165
[PATCH] Add kalgebra.
Previous Next
Reported by: Vinicius Monego <monego <at> posteo.net>
Date: Sun, 28 Nov 2021 16:55:01 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52165 in the body.
You can then email your comments to 52165 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Sun, 28 Nov 2021 16:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vinicius Monego <monego <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 28 Nov 2021 16:55:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Vinicius Monego (2):
gnu: Add analitza.
gnu: Add kalgebra.
gnu/packages/kde.scm | 69 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
base-commit: 612e38bd29a42409cd6030d745ead844509e8c6e
--
2.30.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Sun, 28 Nov 2021 16:57:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 52165 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (analitza): New variable.
---
gnu/packages/kde.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index b5c2357cb4..94e46af99f 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1054,6 +1054,35 @@ Python, PHP, and Perl.")
a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
(license license:gpl2+)))
+(define-public analitza
+ (package
+ (name "analitza")
+ (version "21.08.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/education/analitza")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qqi3kk4lcf838w99ab4yxbiq6b70jbzm0b35rb189bzw38mxh79"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("eigen" ,eigen)
+ ("qtbase" ,qtbase-5)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtsvg" ,qtsvg)))
+ (home-page "https://invent.kde.org/education/analitza")
+ (synopsis "Library to add mathematical features to a program")
+ (description "Analitza is a library to work with mathematical objects.
+It adds mathematical features to your program, such as symbolic computations
+and some numerical methods; for instance the library can parse mathematical
+expressions and let you evaluate and draw them.")
+ (license license:gpl2+)))
+
(define-public poxml
(package
(name "poxml")
--
2.30.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Sun, 28 Nov 2021 16:57:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52165 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kalgebra): New variable.
---
gnu/packages/kde.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 94e46af99f..2a78ed0b88 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -70,12 +70,14 @@
#:use-module (gnu packages llvm)
#:use-module (gnu packages markup)
#:use-module (gnu packages maths)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages tls)
#:use-module (gnu packages qt)
#:use-module (gnu packages version-control)
@@ -1083,6 +1085,44 @@ and some numerical methods; for instance the library can parse mathematical
expressions and let you evaluate and draw them.")
(license license:gpl2+)))
+(define-public kalgebra
+ (package
+ (name "kalgebra")
+ (version "21.04.3") ; newer versions require ECM >= 5.83.0
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/education/kalgebra")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07vmw924pig35az4s35i9z5ypkzv4d29pplmgqwvz0ldwz3aq456"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("analitza" ,analitza)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kdoctools" ,kdoctools)
+ ("ki18n" ,ki18n)
+ ("kio" ,kio)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("ncurses" ,ncurses)
+ ("qtbase" ,qtbase-5)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtsvg" ,qtsvg)
+ ("qtwebengine" ,qtwebengine)
+ ("qtwebchannel" ,qtwebchannel)
+ ("readline" ,readline)))
+ (home-page "https://edu.kde.org/kalgebra/")
+ (synopsis "Calculator and plotting tool")
+ (description "KAlgebra is a calculator that lets you plot different types
+of 2D and 3D functions and to calculate easy (and not so easy) calculations,
+such as addition, trigonometric functions or derivatives.")
+ (license license:gpl2+)))
+
(define-public poxml
(package
(name "poxml")
--
2.30.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Mon, 29 Nov 2021 02:56:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 52165 <at> debbugs.gnu.org (full text, mbox):
On Sun, Nov 28, 2021 at 04:54:32PM +0000, Vinicius Monego wrote:
> Vinicius Monego (2):
> gnu: Add analitza.
> gnu: Add kalgebra.
Thanks for the patches.
Will they work on the master branch or do they require something from
core-updates-frozen?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Mon, 29 Nov 2021 03:30:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 52165 <at> debbugs.gnu.org (full text, mbox):
Em dom, 2021-11-28 às 21:55 -0500, Leo Famulari escreveu:
> On Sun, Nov 28, 2021 at 04:54:32PM +0000, Vinicius Monego wrote:
> > Vinicius Monego (2):
> > gnu: Add analitza.
> > gnu: Add kalgebra.
>
> Thanks for the patches.
>
> Will they work on the master branch or do they require something from
> core-updates-frozen?
They may work on the master branch but I only tested on core-updates-
frozen.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Tue, 30 Nov 2021 18:05:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 52165 <at> debbugs.gnu.org (full text, mbox):
On Mon, Nov 29, 2021 at 03:29:30AM +0000, Vinicius Monego wrote:
> Em dom, 2021-11-28 às 21:55 -0500, Leo Famulari escreveu:
> > On Sun, Nov 28, 2021 at 04:54:32PM +0000, Vinicius Monego wrote:
> > > Vinicius Monego (2):
> > > gnu: Add analitza.
> > > gnu: Add kalgebra.
> >
> > Thanks for the patches.
> >
> > Will they work on the master branch or do they require something from
> > core-updates-frozen?
>
> They may work on the master branch but I only tested on core-updates-
> frozen.
The packages do build on the master branch. Unless they require
something that only exists on core-updates-frozen, we should introduce
new packages on the master branch.
I noticed that analitza doesn't keep a reference to eigen:
------
$ guix gc --references $(./pre-inst-env guix build --no-grafts analitza)
/gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib
/gnu/store/a0dn3jlq6862mcngzyw0lkcks066pcam-qtsvg-5.15.2
/gnu/store/a2ngdffc2133m5a211f42pyhypcbr9qa-qtbase-5.15.2
/gnu/store/dk7l3sn0wchyddgl7r2ka80zzwzhfm02-qtdeclarative-5.15.2
/gnu/store/f98v0niqzjm0lfl3zpf7qi538j3kf76j-analitza-21.08.3
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31
------
Can you check if it is actually able to use the functionality provided
by eigen at run-time? Do we need to pass some flags to the linker or
something? Is eigen used only while building? Etc...
Similar question for kalgebra regarding kdoctools and ncurses. The built
package does not refer to these inputs.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Sun, 05 Dec 2021 18:08:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 52165 <at> debbugs.gnu.org (full text, mbox):
Hi,
Leo Famulari <leo <at> famulari.name> skribis:
> I noticed that analitza doesn't keep a reference to eigen:
That’s expected because Eigen is a C++ “header-only” library: it doesn’t
provide a shared library.
HTH,
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Mon, 06 Dec 2021 04:27:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 52165 <at> debbugs.gnu.org (full text, mbox):
On Sun, Dec 05, 2021 at 04:41:50PM +0100, Ludovic Courtès wrote:
> Leo Famulari <leo <at> famulari.name> skribis:
>
> > I noticed that analitza doesn't keep a reference to eigen:
>
> That’s expected because Eigen is a C++ “header-only” library: it doesn’t
> provide a shared library.
Thanks for the clarification.
> > Similar question for kalgebra regarding kdoctools and ncurses. The built
> > package does not refer to these inputs.
I'm guessing that kdoctools is used only while building. I submitted
<https://issues.guix.gnu.org/52323> based on that.
So what do we think about ncurses?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Mon, 06 Dec 2021 12:22:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 52165 <at> debbugs.gnu.org (full text, mbox):
Hi,
Leo Famulari <leo <at> famulari.name> skribis:
>> > Similar question for kalgebra regarding kdoctools and ncurses. The built
>> > package does not refer to these inputs.
[...]
> So what do we think about ncurses?
It’s likely that ncurses is not used if there’s no residual reference to it.
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Sun, 12 Dec 2021 19:06:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 52165 <at> debbugs.gnu.org (full text, mbox):
Hello,
> + (version "21.08.3")
The linter reports that the 21.12.0 revision is out there, for this
package as well as for the other one.
Thanks,
Mathieu
Changed bug title to '[PATCH] Add kalgebra.' from '[PATCH core-updates-frozen 0/2] Add KAlgebra.'
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 20 Jan 2024 20:46:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Wed, 26 Mar 2025 09:07:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 52165 <at> debbugs.gnu.org (full text, mbox):
Hello Vinicius,
I just came upon this issue by chance. Would you like to propose an
updated patch?
Andreas
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Mon, 31 Mar 2025 00:40:04 GMT)
Full text and
rfc822 format available.
Message #40 received at 52165 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (analitza): New variable.
Change-Id: Ibcce565d314612445aea9784aee32a4d31706c6c
---
gnu/packages/kde.scm | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 93dc5365a2..386640e584 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2020-2025 Zheng Junjie <873216071 <at> qq.com>
;;; Copyright © 2021 Alexandros Theodotou <alex <at> zrythm.org>
;;; Copyright © 2021 la snesne <lasnesne <at> lagunposprasihopre.org>
-;;; Copyright © 2021, 2022, 2023, 2024 Vinicius Monego <monego <at> posteo.net>
+;;; Copyright © 2021, 2022, 2023, 2024, 2025 Vinicius Monego <monego <at> posteo.net>
;;; Copyright © 2022 Brendan Tildesley <mail <at> brendan.scot>
;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
;;; Copyright © 2023 Mehmet Tekman <mtekman89 <at> gmail.com>
@@ -452,6 +452,30 @@ (define-public kdenlive
projects.")
(license license:gpl2+)))
+(define-public analitza
+ (package
+ (name "analitza")
+ (version "24.12.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/education/analitza")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "029n48pshcnyidnzv2ikyhamxg6j0ndbjavwrxdc29hrm00dmw8m"))))
+ (native-inputs (list extra-cmake-modules qttools))
+ (inputs (list eigen qtbase qtdeclarative qtsvg))
+ (build-system qt-build-system)
+ (home-page "https://invent.kde.org/education/analitza")
+ (synopsis "Library to add mathematical features to a program")
+ (description "Analitza is a library to work with mathematical objects.
+It adds mathematical features to your program, such as symbolic computations
+and some numerical methods; for instance the library can parse mathematical
+expressions and let you evaluate and draw them.")
+ (license license:gpl2+)))
+
(define-public kapptemplate
(package
(name "kapptemplate")
base-commit: a3674c059abf16256f549c4d558a0140b9cd8945
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52165
; Package
guix-patches
.
(Mon, 31 Mar 2025 00:40:07 GMT)
Full text and
rfc822 format available.
Message #43 received at 52165 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kalgebra): New variable.
Change-Id: I60172ea8c9d124422d0dfd8d871e28e75bf0e4ec
---
gnu/packages/kde.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 386640e584..cb982e6b75 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -94,6 +94,7 @@ (define-module (gnu packages kde)
#:use-module (gnu packages llvm)
#:use-module (gnu packages markup)
#:use-module (gnu packages maths)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages mp3)
#:use-module (gnu packages ocr)
#:use-module (gnu packages onc-rpc)
@@ -106,6 +107,7 @@ (define-module (gnu packages kde)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages samba)
#:use-module (gnu packages scanner)
#:use-module (gnu packages sdl)
@@ -476,6 +478,58 @@ (define-public analitza
expressions and let you evaluate and draw them.")
(license license:gpl2+)))
+(define-public kalgebra
+ (package
+ (name "kalgebra")
+ (version "24.12.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://invent.kde.org/education/kalgebra")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0g4rrq3csp0w6xhc5cbbilz7xhhq9zdngc8bc9d16p02xz61qd4i"))))
+ (build-system qt-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-qt-process-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((bin (string-append #$output "/bin/kalgebra"))
+ (qt-process-path
+ (search-input-file
+ inputs "/lib/qt6/libexec/QtWebEngineProcess")))
+ (wrap-program bin
+ `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
+ (native-inputs
+ (list extra-cmake-modules qttools))
+ (inputs
+ (list analitza
+ kconfigwidgets
+ kcoreaddons
+ kdoctools
+ ki18n
+ kio
+ kwidgetsaddons
+ kxmlgui
+ libplasma
+ ncurses
+ qtbase
+ qtdeclarative
+ qtsvg
+ qtwebengine
+ qtwebchannel
+ readline))
+ (home-page "https://invent.kde.org/education/kalgebra")
+ (synopsis "Calculator and plotting tool")
+ (description "KAlgebra is a calculator that lets you plot different types
+of 2D and 3D functions and to calculate easy (and not so easy) calculations,
+such as addition, trigonometric functions or derivatives.")
+ (license license:gpl2+)))
+
(define-public kapptemplate
(package
(name "kapptemplate")
--
2.49.0
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Mon, 31 Mar 2025 09:17:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vinicius Monego <monego <at> posteo.net>
:
bug acknowledged by developer.
(Mon, 31 Mar 2025 09:17:02 GMT)
Full text and
rfc822 format available.
Message #48 received at 52165-done <at> debbugs.gnu.org (full text, mbox):
Excellent, thanks! The two packages have already been built by QA.
I have taken the liberty to push on your behalf and close the issue.
Andreas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 28 Apr 2025 11:24:16 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.