G'MIC is a script language for image processing, which comes with its open-source interpreter. See http://gmic.sourceforge.net/index.shtml The G'MIC interpreter has been embedded in a plug-in for GIMP, with a large number of pre-defined filters. One can use it to apply various effects on images, directly from the GIMP interface. This plug-in is highly customizable and it is possible to add your own G'MIC-based entries into it. See http://gmic.sourceforge.net/gimp.shtml The sources are the same for both G'MIC and the G'MIC gimp plugin. This ebuild will install only the gimp plugin. From http://cimg.sourceforge.net/greycstoration/ GREYCstoration is about to die and they have developed a new plugin: gmic. Both media-plugins/gimp-gmic and media-plugins/gimp-greycstoration can be installed at the same time. Reproducible: Always
Created attachment 203238 [details] ebuild for media-plugins/gmic-1.3.2.5 Tested on ~amd64.
Created attachment 211297 [details] Version bump and simplified ebuild. This is an ebuild for the new 1.3.3.1 version of the G'MIC GIMP plugin. Moved to EAPI=2 so now it depends on '>=media-gfx/gimp-2.4.0[tiff,png,jpeg]' rather then doing "run time" checks for tiff, png and jpeg use for gimp. Removed commented code. Removed unneeded src_unpack().
The 1.3.3.1.ebuild also works fine for 1.3.4.0 (at least on amd64) Only thing that might need fixing: gcc is called with -O3, even if my CFLAGS don't contain it. This leads to biig memory usage and compile time: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 2870 96.2 49.9 1007136 974288 pts/3 RN+ 10:00 5:50 /usr/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/cc1plus -quiet -D_GNU_SOURCE -Dgmic_gimp -Dgmic_minimal -Dgmic_float -Dgmic_build -Dcimg_display=0 -Dcimg_use_fftw3 -Dcimg_use_png gmic.cpp -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -quiet -dumpbase gmic.cpp -auxbase-strip gmic_gimp.o -O3 -fomit-frame-pointer -o /var/tmp/portage/media-plugins/gimp-gmic-1.3.4.0/temp/cc1CzM9W.s
Created attachment 223019 [details] gimp-gmic-1.3.4.0.ebuild (In reply to comment #3) > Only thing that might need fixing: gcc is called with -O3, even if my CFLAGS > don't contain it. This leads to biig memory usage and compile time: There is OPT_CFLAGS in src/Makefile. I've cleared it, but even with -O2 it takes a lot of time to compile here (around 6~8 minutes). I've updated the ebuild, these are the changes: * Cleared OPT_CFLAGS in Makefile using sed. * Removed the 'strip' command from the Makefile, also using sed. * Updated the DEPEND/RDEPEND (see explanation below). * Replaced gimptool by pkg-config. See bug 240648 comment 25. Looking at the Makefile, I see this: STD_GIMP_LDFLAGS = -lpthread $(FFTW_LDFLAGS) $(PNG_LDFLAGS) PNG_LDFLAGS = -lpng -lz FFTW_LDFLAGS = -lfftw3 Thus, I removed imagemagick dependency, added slot number for fftw, and added zlib dependency. I think it only requires *magick for the command-line/stand-alone version, and not for the gimp plugin. Furthermore, it requires graphicsmagick instead of imagemagick. Future improvements for this ebuild: * Add a 'doc' useflag and install 14MB of documentation (available at 'html' directory). * It seems the "-j2" MAKEOPTS is not respected when the makefile calls make recursively. That's not much of an issue, because it builds only one file (but I'm still curious about why it works on other recursive Makefiles). * Write another ebuild for stand-alone gmic. The dependencies are very different from the gimp plugin, so I think it deserves to be another package.
Thanks, works great on ~amd64
(In reply to comment #5) > Thanks, works great on ~amd64 > And it seems to work too with the new 1.3.5.0 version, by simply renaming the ebuild. T.
I've created an ebuild for the entire gmic project including the gimp plugin, see Bug 328301 for it. Sincerely, Guillaume
*** Bug 328301 has been marked as a duplicate of this bug. ***
Any news on this package? version 1.4.8.1 seems to be the current stable...
Thanks for the updates. For the current version (1.4.9.1 at that time), it is just to rename the ebuild. Be also aware than the doc (in fact a tutorial) was removed from the tarball and is available online at the website.
1.5.0.4 added to CVS.