forked from c-koi/gmic-qt
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Updating to report that Mateusz Łukasik's gimp 3.0 PPA is the recommended PPA to install GIMP 3.0.0-RC2 on Ubuntu-based systems. The PPA has the dev packages needed to successfuly build G'Mic for Gimp3.
https://launchpad.net/~mati75/+archive/ubuntu/gimp30
Build
git clone https://github.com/GreycLab/gmic.git
git clone https://github.com/GreycLab/gmic-qt.git
make -C gmic/src CImg.h gmic_stdlib_community.h
cd gmic-qt
qmake HOST=gimp
Info: creating stash file /mnt/Data/Build/gmic-qt/.qmake.stash
Project MESSAGE: GIMP major version is ............ 3
Project MESSAGE: GMIC_PATH was not set: Found gmic sources in ../gmic/src
Project MESSAGE: G'MIC repository was found (../gmic/src)
Project MESSAGE: G'MIC version is ................. 352
Project MESSAGE: CImg version is .................. 352
Project MESSAGE: gmic_stdlib_community.h version is 352
Project MESSAGE: Prerelease date is 25013109
Project MESSAGE: Unix/X11 platform
Project MESSAGE: Target host software is GIMP
Project MESSAGE: OpenMP enabled, with g++
Project MESSAGE: Release build
make -j$(nproc)Launch
gimp --verbose
...
Querying plug-in: '/home/USER/.config/GIMP/3.0/plug-ins/gmic_gimp_qt/gmic_gimp_qt'
[plug-in-gmic-qt] The catalog directory does not exist: /home/USER/.config/GIMP/3.0/plug-ins/gmic_gimp_qt/locale
[plug-in-gmic-qt] Override method set_i18n() for the plug-in to customize or disable localization.
[plug-in-gmic-qt] Localization disabled
...Application
Deprecated: Previous, Cumbersome Method
**G'Mic git (v3.5.2)** for **GIMP 3.0.0-RC2** finally successfully built under **Kubuntu Noble 24.04**. It took jumping threw a few hoops, (using a few **Ubuntu Plucky** packages) so I'm posting the steps here for others.
- IF you have GIMP 3.0 packages installed via the Ubuntuhandbook GIMP 3.0 PPA, UNINSTALL them and DISABLE/PURGE the PPA for now. Uninstall instructions are at the bottom of this page.
Otherwise, you can skip this step.
Reason: Unfortunately, gmic for GIMP 3.0 won't build using the dev packages from Panda Jim's Ubuntuhandbook PPA. I'm not sure what the problem is I had all necessary development packages installed but received a pkgconfig error:
$ qmake HOST=gimp
Info: creating stash file /mnt/Data/Build/gmic-qt/.qmake.stash
Project MESSAGE: GIMP major version is ............ 3
Project MESSAGE: GMIC_PATH was not set: Found gmic sources in ../gmic/src
Project MESSAGE: G'MIC repository was found (../gmic/src)
Project MESSAGE: G'MIC version is ................. 352
Project MESSAGE: CImg version is .................. 352
Project MESSAGE: gmic_stdlib_community.h version is 352
Project MESSAGE: Prerelease date is 25013108
Project MESSAGE: Unix/X11 platform
Project MESSAGE: Target host software is GIMP
Project MESSAGE: OpenMP enabled, with g++
Project MESSAGE: Release build
Project ERROR: gimp-3.0 development package not found
- We're going to need to use the latest pre-release packages from Ubuntu Plucky instead.
Go here and DOWNLOAD the following Plucky debs to your hard drive:
libbabl-0.1-0_0.1.110-1_amd64.deb libbabl-dev_0.1.110-1_amd64.deb libgegl-0.4-0t64_0.4.52-1_amd64.deb libgegl-common_0.4.52-1_all.deb libgegl-dev_0.4.52-1_amd64.deb libgimp-3.0-0_3.0.0~RC2-1_amd64.deb libgimp-3.0-bin_3.0.0~RC2-1_amd64.deb libgimp-3.0-dev_3.0.0~RC2-1_amd64.deb libsharpyuv-dev_1.5.0-0.1_amd64.deb libsharpyuv0_1.5.0-0.1_amd64.deb libwebp-dev_1.5.0-0.1_amd64.deb libwebp7_1.5.0-0.1_amd64.deb libwebpdecoder3_1.5.0-0.1_amd64.deb libwebpdemux2_1.5.0-0.1_amd64.deb libwebpmux3_1.5.0-0.1_amd64.deb
-
Do a local INSTALL of all those debs you just downloaded.
-
BUILD GIMP 3.0.0-RC2 from Git:
git clone https://github.com/GreycLab/gmic.git
git clone https://github.com/GreycLab/gmic-qt.git
make -C gmic/src CImg.h gmic_stdlib_community.h
cd gmic-qt
qmake HOST=gimp
Info: creating stash file /mnt/Data/Build/gmic-qt/.qmake.stash
Project MESSAGE: GIMP major version is ............ 3
Project MESSAGE: GMIC_PATH was not set: Found gmic sources in ../gmic/src
Project MESSAGE: G'MIC repository was found (../gmic/src)
Project MESSAGE: G'MIC version is ................. 352
Project MESSAGE: CImg version is .................. 352
Project MESSAGE: gmic_stdlib_community.h version is 352
Project MESSAGE: Prerelease date is 25013109
Project MESSAGE: Unix/X11 platform
Project MESSAGE: Target host software is GIMP
Project MESSAGE: OpenMP enabled, with g++
Project MESSAGE: Release build
make -j$(nproc)
Yay, no more pkgconfig error! Assuming make finishes without error, you should now have a gmic_gimp_qt binary that works with GIMP 3.0.0-RC2.
- We're done with the Plucky debs now. Let's DOWNGRADE them to the official Noble versions to avoid conflicts. These are the package versions to downgrade to as of today:
sudo apt install gir1.2-babl-0.1=1:0.1.108-1 gir1.2-gegl-0.4=1:0.4.48-2.4build2 libbabl-0.1-0=1:0.1.108-1 libbabl-dev=1:0.1.108-1 libgegl-0.4-0t64=1:0.4.48-2.4build2 libgegl-common=1:0.4.48-2.4build2 libgegl-dev=1:0.4.48-2.4build2 libsharpyuv-dev=1.3.2-0.4build3 libsharpyuv0=1.3.2-0.4build3 libwebp-dev=1.3.2-0.4build3 libwebp7=1.3.2-0.4build3 libwebpdecoder3=1.3.2-0.4build3 libwebpdemux2=1.3.2-0.4build3 libwebpmux3=1.3.2-0.4build3
- We can now re-add the Ubuntuhandbook GIMP 3.0 PPA and re-install GIMP 3.0.0-RC2:
sudo add-apt-repository ppa:ubuntuhandbook1/gimp-3
sudo apt update
sudo apt install gimp libgegl-0.4-0t64
- COPY your freshly built
gmic_gimp_qtto/home/USER/.config/GIMP/3.0/plug-ins/gmic_gimp_qt/gmic_gimp_qt. You should now have a working G'Mic for GIMP 3 (ignore the localization messages).
gimp --verbose
...
Querying plug-in: '/home/USER/.config/GIMP/3.0/plug-ins/gmic_gimp_qt/gmic_gimp_qt'
[plug-in-gmic-qt] The catalog directory does not exist: /home/USER/.config/GIMP/3.0/plug-ins/gmic_gimp_qt/locale
[plug-in-gmic-qt] Override method set_i18n() for the plug-in to customize or disable localization.
[plug-in-gmic-qt] Localization disabled
...
Metadata
Metadata
Assignees
Labels
No labels



