<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7161&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to build wxMaxima_24.02.1 from Debian sources]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7161</link>
		<description><![CDATA[The most recent posts in How to build wxMaxima_24.02.1 from Debian sources.]]></description>
		<lastBuildDate>Wed, 16 Apr 2025 20:58:22 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[How to build wxMaxima_24.02.1 from Debian sources]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55343#p55343</link>
			<description><![CDATA[<p>There is a belief that knowledge liberates from ignorance. Perhaps, wxMaxima may help semi-deaf Linux users to understand something about resampling and the Gibbs phenomenon. Although, of course, mathematics might be a problem, because pulseaudio is likely to damage the brain in a severe and irreversible manner. Hearing loss and dementia are doomed to follow.</p><p>Hearing Loss and Dementia | The Audiology Center<br />_https://www.myaudiologycenter.com/untreated-hearing-loss-risks-and-dementia/</p><div class="quotebox"><blockquote><div><p>_https://en.wikipedia.org/wiki/Maxima_(software)<br /><strong>Maxima</strong> is a powerful software package for performing computer algebra calculations in mathematics and the physical sciences. </p><p>_https://en.wikipedia.org/wiki/Maxima_(software)#Interfaces<br /><strong>wxMaxima</strong> is high-quality graphical front-end using the wxWidgets framework. wxMaxima provides a cell structure similar to the Mathematica notebook.</p><p>[Wikibooks] <strong>Maxima</strong><br />_https://en.wikibooks.org/wiki/Maxima</p><p><strong>Maxima by Example</strong><br />_https://home.csulb.edu/~woollett/mbe.html<br />_https://home.csulb.edu/~woollett/index.html</p></div></blockquote></div><h5>How to build wxmaxima_24.02.1 on Devuan 5</h5><div class="codebox"><pre><code>$ inxi -b | grep Host -A1
  Host: devuan Kernel: 6.1.0-33-amd64 arch: x86_64 bits: 64 Desktop: MATE
    v: 1.26.0 Distro: Devuan GNU/Linux 5 (daedalus) </code></pre></div><p><strong>Source Package: wxmaxima (24.02.1-1)</strong> <br />_https://packages.debian.org/source/testing/wxmaxima</p><p>Download wxMaxima:</p><div class="codebox"><pre><code>wxmaxima_24.02.1-1.dsc 	
wxmaxima_24.02.1.orig.tar.gz 	
wxmaxima_24.02.1.orig.tar.gz.asc 	
wxmaxima_24.02.1-1.debian.tar.xz</code></pre></div><div class="codebox"><pre><code>Source: wxmaxima
Build-Depends: debhelper-compat (= 13), cmake (&gt;= 3.4) | cmake3, libwxgtk3.2-dev, xvfb, netcat-openbsd, xauth, desktop-file-utils, appstream-util, libwxgtk-webview3.2-dev </code></pre></div><p>To build wxmaxima (24.02.1-1), we need cmake (&gt;= 3.4).</p><div class="codebox"><pre><code>$ cmake --version
cmake version 3.25.1</code></pre></div><p><strong>CMake v4.0.1</strong></p><div class="codebox"><pre><code>https://github.com/Kitware/CMake/releases/tag/v4.0.1</code></pre></div><p><strong>Download portable CMake v4.0.1:</strong></p><div class="codebox"><pre><code>https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-linux-x86_64.tar.gz</code></pre></div><div class="codebox"><pre><code>$ ls
cmake-4.0.1-linux-x86_64.tar.gz</code></pre></div><div class="codebox"><pre><code>mkdir -v $HOME/.CTools

tar -zxvf cmake*.tar.gz -C $HOME/.CTools</code></pre></div><div class="codebox"><pre><code>$ ls $HOME/.CTools
cmake-4.0.1-linux-x86_64</code></pre></div><div class="codebox"><pre><code>mv $HOME/.CTools/cmake-4.0.1-linux-x86_64 $HOME/.CTools/cmake-4.0.1</code></pre></div><div class="codebox"><pre><code>$ ls $HOME/.CTools/
cmake-4.0.1

$ ls -1 $HOME/.CTools/cmake-4.0.1
bin
doc
man
share</code></pre></div><p>You can open a file manager in the cmake folder and investigate the content</p><div class="codebox"><pre><code>caja $HOME/.CTools/cmake-4.0.1 </code></pre></div><div class="quotebox"><blockquote><div><h5>How to use portable CMake v4.0.1</h5><div class="codebox"><pre><code>export PATH=&quot;$HOME/.CTools/cmake-4.0.1/bin:$PATH&quot;</code></pre></div><div class="codebox"><pre><code>$ cmake --version
cmake version 4.0.1 </code></pre></div></div></blockquote></div><p>Install compilers, build dependencies, etc.:</p><div class="codebox"><pre><code>sudo apt install build-essential debhelper libwxgtk3.2-dev xvfb netcat-openbsd xauth desktop-file-utils appstream-util libwxgtk-webview3.2-dev </code></pre></div><p>You may want to install devscripts and a sort of AI assistant:</p><div class="codebox"><pre><code>sudo apt install devscripts command-not-found

sudo update-command-not-found</code></pre></div><p>EXAMPLES:</p><div class="codebox"><pre><code>$ mmk-build-deps
Command &#039;mmk-build-deps&#039; not found, did you mean:
  command &#039;mk-build-deps&#039; from deb devscripts
Try: sudo apt install &lt;deb name&gt;

$ gbp
Command &#039;gbp&#039; not found, but can be installed with:
sudo apt install git-buildpackage </code></pre></div><p>Now we can build wxMaxima.</p><div class="codebox"><pre><code>$ ls -1
wxmaxima_24.02.1-1.debian.tar.xz
wxmaxima_24.02.1-1.dsc
wxmaxima_24.02.1.orig.tar.gz
wxmaxima_24.02.1.orig.tar.gz.asc</code></pre></div><p>Unpack the source:</p><div class="codebox"><pre><code>dpkg-source -x *.dsc</code></pre></div><div class="codebox"><pre><code>$ ls -1
wxmaxima-24.02.1
wxmaxima_24.02.1-1.debian.tar.xz
wxmaxima_24.02.1-1.dsc
wxmaxima_24.02.1.orig.tar.gz
wxmaxima_24.02.1.orig.tar.gz.asc</code></pre></div><p>Change to the source directory:</p><div class="codebox"><pre><code>cd wxmaxima-24.02.1</code></pre></div><div class="codebox"><pre><code>$ cmake --version
cmake version 3.25.1</code></pre></div><div class="codebox"><pre><code>export PATH=&quot;$HOME/.CTools/cmake-4.0.1/bin:$PATH&quot;</code></pre></div><div class="codebox"><pre><code>$ cmake --version
cmake version 4.0.1</code></pre></div><p>We have all the dependencies needed to build wxMaxima.<br />But, formally, the &quot;Build-Depends&quot; are not satisfied.<br />Therefore, we have to use -d flag to override the default checking procedure.</p><p>Verify whether the terminal prompt is in the source directory:</p><div class="codebox"><pre><code>$ pwd
/home/.../Builds/Build_wxmaxima_24.02.1-1/wxmaxima-24.02.1</code></pre></div><p><strong>Build wxMaxima (use -d flag to override):</strong></p><div class="codebox"><pre><code>$ dpkg-buildpackage -us -uc -b -d
...
dpkg-deb: building package &#039;wxmaxima-dbgsym&#039; in &#039;../wxmaxima-dbgsym_24.02.1-1_amd64.deb&#039;.
dpkg-deb: building package &#039;wxmaxima&#039; in &#039;../wxmaxima_24.02.1-1_amd64.deb&#039;.
 dpkg-genbuildinfo --build=binary -O../wxmaxima_24.02.1-1_amd64.buildinfo
 dpkg-genchanges --build=binary -O../wxmaxima_24.02.1-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included) </code></pre></div><div class="codebox"><pre><code>$ cd ../

[$ ls -1 *.deb
wxmaxima_24.02.1-1_amd64.deb
wxmaxima-dbgsym_24.02.1-1_amd64.deb</code></pre></div><div class="codebox"><pre><code>$ dpkg-deb --info wxmaxima_24.02.1-1_amd64.deb | grep Package: -A11
 Package: wxmaxima
 Version: 24.02.1-1
 Architecture: amd64
 Maintainer: Gunter Königsmann &lt;wxmaxima@physikbuch.de&gt;
 Installed-Size: 14144
 Depends: libc6 (&gt;= 2.34), libgcc-s1 (&gt;= 3.0), libstdc++6 (&gt;= 11), libwxbase3.2-1 (&gt;= 3.2.2+dfsg), libwxgtk-webview3.2-1 (&gt;= 3.2.2+dfsg), libwxgtk3.2-1 (&gt;= 3.2.1+dfsg-2), maxima
 Recommends: maxima-doc
 Suggests: fonts-jsmath, texlive-latex-extra, ibus-gtk3
 Section: math
 Priority: optional
 Homepage: http://wxmaxima-developers.github.io/wxmaxima/
 Description: GUI for the computer algebra system Maxima </code></pre></div><p><strong>Install wxMaxima</strong></p><div class="codebox"><pre><code>sudo dpkg -i wxmaxima_24.02.1-1_amd64.deb </code></pre></div><div class="codebox"><pre><code>$ apt show wxmaxima | grep Package: -A2
Package: wxmaxima
Version: 24.02.1-1
Status: install ok installed

$ whereis wxmaxima
wxmaxima: /usr/bin/wxmaxima /usr/share/man/man1/wxmaxima.1.gz

$ wxmaxima --version
wxMaxima 24.02.1</code></pre></div><p>You may want to install gnuplot</p><div class="codebox"><pre><code>sudo apt install gnuplot</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Wed, 16 Apr 2025 20:58:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55343#p55343</guid>
		</item>
	</channel>
</rss>
