Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MathMap for Linux
#1
MathMap - A Gimp plugin see: https://www.complang.tuwien.ac.at/schani/mathmap/ A new compilation tested in 'buntu 18.04 / 20.04 / Mint19 / 20 regular Gimp and Gimp-Appimage 2.10.x

Installation:
Download the zip from: https://u.pcloud.link/publink/show?code=...yMfS1SkfGy
Unzip and put the folder mathmap in  ~./GIMP/2.10/  and the plugin mathmap-full in  ~./GIMP/2.10/plug-ins (or the equivalent  ~./GIMP-Appimage/2.10/... )

There are dependencies which are probably not installed. In a terminal run
Code:
sudo apt install libgtksourceview2.0-0 libgsl23

Use: The plugin installs in Filters -> Generic -> MathMap   A very quick example https://i.imgur.com/K9oP1o9.mp4 using Mint20

The usual guarantee: there is none.
Reply
#2
hello,

I'm trying to get mathmap working on Debian-testing (2021-08) based box, now that libgtksourceview is bumped to 3.0
it sort of broken in means of dependency. By the looks of building, gtk/gtk.h is now coming from 2 other packages

Code:
$ apt-file search gtk/gtk.h
libgtk-3-dev: /usr/include/gtk-3.0/gtk/gtk.h
libgtk2.0-dev: /usr/include/gtk-2.0/gtk/gtk.h

I believe the situation is same for many distros, so any help/hints are much appreciated
Reply
#3
(09-01-2021, 06:42 PM)hisacro Wrote: By the looks of building, gtk/gtk.h is now coming from 2 other packages

Code:
$ apt-file search gtk/gtk.h
libgtk-3-dev: /usr/include/gtk-3.0/gtk/gtk.h
libgtk2.0-dev: /usr/include/gtk-2.0/gtk/gtk.h

my assertions were off, I managed to install libgtksourceview2.0-dev from oldstable
but still couldn't get linked binary plugin to work (rechecked plug-ins directory and permissions) .
Is there a way to debug info about plug-in loading?

just in case if someone's looking for info to build it from source on Debian (it's working!)

Code:
# necessary packages
libgtksourceview2.0-dev # add oldstable to /etc/apt/sourcelist.d/*
bison
libgif-dev
libfftw3-dev
libgimp2.0-dev
clisp
libgsl25 # libgsl-dev

# if make(1) pukes parser.tab.h not found
cp parser.h parser.tab.h

hope it helps.
Reply
#4
I hope you get it working, I have just tried in a (basic) debian-testing VM / Gimp 2.10.22 and pulling in old lib files I ended up with this list of dependencies.
libgif.so.4 libgif.so.7 libgslcblas.so.0 libgsl.so.0 libgsl.so.23 libgtksourceview-2.0.so.0 libjpeg.so.8 libnoise.so.0 libpng12.so.0
That got mathmap showing in the menu but mathmap itself crashes. Back to the drawing board. I am not a debian user as such, so no compiling mathmap at the moment Wink

I do like to keep some older programs working on my computer but it is getting harder. Mathmap works with my current kubuntu 20.04 / Gimp 2.10 appimage but other useful utilities such as sk1 gone for good.
Reply
#5
(09-02-2021, 10:44 AM)rich2005 Wrote: I hope you get it working, I have just tried in a (basic) debian-testing VM  / Gimp 2.10.22 and pulling in old lib files I ended up with this list of dependencies.
libgif.so.4 libgif.so.7 libgslcblas.so.0 libgsl.so.0 libgsl.so.23 libgtksourceview-2.0.so.0 libjpeg.so.8 libnoise.so.0 libpng12.so.0
That got mathmap showing in the menu but mathmap itself crashes.

I did get mathmap working in fact I just mapped a sample complex analytic function Big Grin
regarding the dependency I pulled only libgtksourceview-2.0 from -oldstable everything else comes from -testing branch

If there's enough demand (which I doubt) I could make a .deb out of it
Reply
#6
Quote:I did get mathmap working in fact I just mapped a sample complex analytic function

Excellent.

It also works as a stand-alone CL application. https://i.imgur.com/xgUdnsr.jpg
Reply
#7
(09-21-2020, 02:14 PM)rich2005 Wrote: MathMap - A Gimp plugin see: https://www.complang.tuwien.ac.at/schani/mathmap/ A new compilation tested in 'buntu 18.04 / 20.04 / Mint19 / 20 regular Gimp and Gimp-Appimage 2.10.x

Installation:
Download the zip from: https://u.pcloud.link/publink/show?code=...yMfS1SkfGy
Unzip and put the folder mathmap in  ~./GIMP/2.10/  and the plugin mathmap-full in  ~./GIMP/2.10/plug-ins (or the equivalent  ~./GIMP-Appimage/2.10/... )

There are dependencies which are probably not installed. In a terminal run
Code:
sudo apt install libgtksourceview2.0-0 libgsl23

Use: The plugin installs in Filters -> Generic -> MathMap   A very quick example https://i.imgur.com/K9oP1o9.mp4 using Mint20

The usual guarantee: there is none.
Unfortunately installing libgtksourceview2.0-0 libgsl23
it does not work. Also, what steps can I follow to make MathMap recognized by a flatpak version of Gimp? I have Ubuntu 23.1
Reply
#8
(01-25-2024, 08:38 AM)Kamolis68+ Wrote: Unfortunately installing libgtksourceview2.0-0 libgsl23
it does not work. Also, what steps can I follow to make MathMap recognized by a flatpak version of Gimp? I have Ubuntu 23.1

Unfortunately you are using a flatpak Gimp. This version is 'sandboxed' and does not recognise that extra dependency.

What you can do is install a regular Gimp 2.10.36 from https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp

No python support with that, I have not tried with 'buntu 23.1 but this appimage launcher might work.
https://github.com/TasMania17/Gimp-Appim...-for-Linux
Reply
#9
(01-25-2024, 09:07 AM)rich2005 Wrote:
(01-25-2024, 08:38 AM)Kamolis68+ Wrote: Unfortunately installing libgtksourceview2.0-0 libgsl23
it does not work. Also, what steps can I follow to make MathMap recognized by a flatpak version of Gimp? I have Ubuntu 23.1

Unfortunately you are using a flatpak Gimp. This version is 'sandboxed' and does not recognise that extra dependency.

What you can do is install a regular Gimp 2.10.36 from https://launchpad.net/~ubuntuhandbook1/+...buntu/gimp

No python support with that, I have not tried with 'buntu 23.1 but  this appimage launcher might work.
https://github.com/TasMania17/Gimp-Appim...-for-Linux

Thank you, you were very kind...
Reply
#10
Why not try the Gimp 2.10.36 AppImage with mathmap in 'Alternate Gimp packagings'?
Reply


Forum Jump: