Waiting to find the recent version on the Solus repositories I tried to compile the package.
Usinghttps://gmic.eu/files/source/gmic_3.2.6.tar.gz this works well (without zart, with QT5 or QT6).
name : gmic
version : 3.2.6
release : 56
source :
- https://gmic.eu/files/source/gmic_3.2.6.tar.gz : 55993e55a30fe2da32f9533b9db2a3250affa2b32003b0c49c36eec2b2c6e007
license :
- CECILL-2.1
- CECILL-C
component :
- multimedia.graphics
- gimp : multimedia.graphics
summary :
- GREYC's Magic for Image Computing
- gimp : G'MIC plugin for GIMP
description: |
G'MIC is a full-featured open-source framework for image processing, distributed under the CeCILL free software licenses (LGPL-like and/or GPL-compatible). It provides several different user interfaces to convert / manipulate / filter / visualize generic image datasets, ranging from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images, hence including 2d color images.
patterns :
- gimp : /usr/lib64/gimp
builddeps :
- pkgconfig(GraphicsMagick)
- pkgconfig(OpenEXR)
- pkgconfig(Qt6UiTools)
- pkgconfig(eigen3)
- pkgconfig(fftw3)
- pkgconfig(gimp-2.0)
- pkgconfig(hdf5)
- pkgconfig(libcurl)
- pkgconfig(libpng)
- pkgconfig(libtiff-4)
- pkgconfig(libturbojpeg)
- pkgconfig(opencv4)
- pkgconfig(xext)
- pkgconfig(Qt6OpenGL)
rundeps :
- gimp : gmic
#setup : --disable-static
build : |
%make cli
%make gimp
%make lib
# %make zart
install : |
%make_install
but i can’t compile zart too.
With zart I get the following error:
.....** Warning: folder 'zart' was not found !
** It is mandatory to compile 'zart'.......
I figured it was just missing so I tried using git with this difference in the source file (initially without including zart):
source :
- git|https://github.com/GreycLab/gmic.git : v.3.2.6
- git|https://github.com/GreycLab/CImg.git : v.3.2.6
- git|https://github.com/c-koi/gmic-qt.git : v.3.2.6
But it gives me an error:
In file included from gmic.cpp:1922:
gmic.h:287:17: error: ‘gmic_library’ is not a namespace-name
287 | using namespace gmic_library;
| ^~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [Makefile:406: libgmic.o] Error 1
make[2]: Leaving directory '/home/build/YPKG/root/gmic/build/gmic.git/src'
make[1]: *** [Makefile:389: lib] Error 2
make[1]: Leaving directory '/home/build/YPKG/root/gmic/build/gmic.git/src'
make: *** [Makefile:79: lib] Error 2
Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-buildIiWJ9X']' returned non-zero exit status 2
[Build] build failed for gmic
🕱 Failed to build packages
make[1]: *** [../Makefile.common:25: build] Errore 1
make[1]: uscita dalla directory «/home/fabio/build/prova»
make: *** [../Makefile.common:11: complete] Errore 2
Some suggestions for zart? Does it still exist?Or suggestions to how use git like source?
Because I just followed this