Gimp-Forum.net
MathMap for Linux - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: MathMap for Linux (/Thread-MathMap-for-Linux)

Pages: 1 2


MathMap for Linux - rich2005 - 09-21-2020

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=XZf6K5XZcPn5Xp5mlmSwu8MLppyMfS1SkfGy
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.


RE: MathMap for Linux - hisacro - 09-01-2021

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


RE: MathMap for Linux - hisacro - 09-02-2021

(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.


RE: MathMap for Linux - rich2005 - 09-02-2021

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.


RE: MathMap for Linux - hisacro - 09-02-2021

(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


RE: MathMap for Linux - rich2005 - 09-02-2021

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


RE: MathMap for Linux - Kamolis68+ - 01-25-2024

(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=XZf6K5XZcPn5Xp5mlmSwu8MLppyMfS1SkfGy
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


RE: MathMap for Linux - rich2005 - 01-25-2024

(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/+archive/ubuntu/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-Appimages-Made-From-Debs/releases/tag/Gimp-Python2-AppImage-Launchers-for-Linux


RE: MathMap for Linux - Kamolis68+ - 01-25-2024

(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/+archive/ubuntu/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-Appimages-Made-From-Debs/releases/tag/Gimp-Python2-AppImage-Launchers-for-Linux

Thank you, you were very kind...


RE: MathMap for Linux - Tas_mania - 01-25-2024

Why not try the Gimp 2.10.36 AppImage with mathmap in 'Alternate Gimp packagings'?