[Solved] Compiling G'MIC on Ubuntu

Hello,

The different links for ubuntu 20.04 are going to a 404 page or give a previous version, no worries I understand very well that I’m a dinosaur and you cannot maintain old distro version. :grin:
I’m very slowly transferring to latest MX Linux, I never was a distro hopper, so it takes time for me to arrange, catalog, etc… all my drive before the switch :crazy_face:

Thus I need to learn to compile G’MIC, and I would like to know if the instruction to compile G’MIC at > G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing - Download at the bottom of that page are up to date, and can be done safely on Ubuntu 20.04.6

Are you okay with the dev version? Its link works for me. I have not checked to see if it is the latest dev though.

Edit: It looks like it is gmic_3.4.0.

1 Like

Hi @afre , yes I’m very ok with the dev version

But on the website it’s the old dev version 3.4.0 as well as the stable

Current stable is 3.4.1. So a point release behind. The link I provided in the edit above should be stable 3.4.0.

Are you using anything from 3.4.1, or require any community filter updates introduced since 3.4.1?

No I cannot use anything from 3.4.1 as I’m on 3.4.0 (I like the split view though on 3.4.1 as shown on your link)

Anyway, G’MIC for ubuntu 20.04 is going to phase out if not done yet (BTW so many thanks to the team to have maintain it up to now for Ubuntu 20.04, so nice and kind of you all), and I can’t see myself holding you all back asking if you can put a *buntu 20.04 compatible, I mean I might be the last of the last to use this distro version :shushing_face:

Thus I would like to compile it, and would like to know if the instruction on the website are up to date, like that I can start to learn to do it :blush:

Understandable.

I do not have a machine where I can try it at the moment. Are you stuck somewhere? If you could post where you are so far, I or someone else can walk through it with you.

1 Like

when I input make all, I got a problem, it says make: *** No rule to make target 'all'. Stop.

screenshot_20240902-113302

Ho I forgot, also the wget command has a problem

Yes, sorry, I forgot to update the instructions to compile from source on the download page, since the 3.4.1 release. This is now fixed (just replace 3.4.0 to 3.4.1 everywhere).
The instructions should be working for any version of Ubuntu.

Indeed compiling worked like a charm now, thank you very much. :hugs:

After compiling I did not know what really to do, so I did copy the gmic_gimp_qt from:
/home/patrice/gmic-3.4.1/gmic-qt
to
/usr/lib/gimp/2.0/plug-ins
and everything seems to work as in GIMP it shows G’MIC version 3.4.1 :+1:

I have one more question, I have G’MIC as a stand alone (still version 3.4.0 as it was installed by the .deb package), how do I change it to 3.4.1 or where do I take the compiled file and where I need to put it?
(when compiling I did “make all”, so I suppose the file to move is somewhere in /home/patrice/gmic-3.4.1/)

EDIT: Never mind I did found out, it’s the file “gmic_qt” just beside “gmic_gimp_qt” in the compiled directory to put in usr/bin/ :+1:

Please have an excellent day @afre and @David_Tschumperle

1 Like

Hello @PixLab ,
FYI, I’ve set up a Ubuntu 20.04 VM to compile G’MIC .deb packages.
It will ease the installation of G’MIC for Ubuntu 20.04 users. Current pre-release has been compiled and packaged today : https://gmic.eu/files/prerelease/gmic_ubuntu20-04_focal_amd64.deb

Mainly bugfixes and improvement of the native preview splitter (particularly with new shortcut CTRL+ALT+P that enables/disables preview splitter).
Enjoy!

1 Like

@David_Tschumperle I’m sorry for the late answer.

I suppose it’s a Desktop Environment thing (I’m using the MATE Desktop), because for me it’s Ctrl+Shift+P :blush:

Thank very much for the deb package, it works like a charm, it’s so kind of you :heart_hands:

I don’t know if they are other people using a 4-yo *buntu 20.04, but if I’m the only one to download on https://gmic.eu for this Ubuntu version, now that I “know” how to compile the source (instruction are so easy as they are just a copy/paste in the terminal :grin:), you don’t have to worry to make a deb just for me (I truly very much appreciate your kindness).

In all case thank you very much for everything, and please have an absolute fantastic day

Ha yes, you are right, that CTRL+SHIFT+P, not CTRL+ALT+P !

Nope, I got other requests for 20.04, that’s why I’ve decided to put it back :slight_smile:

1 Like

Oh… OK, some anti-snap people like me :joy:

1 Like