alessandrofrancesconi / gimp-plugin-bimp

BIMP. Batch Image Manipulation Plugin for GIMP.
http://www.alessandrofrancesconi.it/projects/bimp
Other
885 stars 93 forks source link

ubuntu 18.04: libgegl-dev missing & had to edit makefile to add gtk3 #188

Open revast opened 5 years ago

revast commented 5 years ago

Installing libgimp2.0-dev is not enough, you also need libgegl-dev, which is not pulled automatically from Repository. Otherwise, gimptool-2.0 --cflags --libs fails. I also had to add pkg-config --cflags --libs gtk+-3.0 like so:

make: 
    which gimptool-2.0 && which pcre-config && \
    gcc -o ./bin/bimp -Wall -O2 -Wno-unused-variable -Wno-pointer-sign src/*.c src/manipulation-gui/*.c src/images/*.c $(GIMPARGS) $(PCREARGS) `pkg-config --cflags --libs gtk+-3.0`  -lm -DGIMP_DISABLE_DEPRECATED

So your build instruction's install line for Debian-based systems should now be:

sudo apt-get install libgimp2.0-dev libgtk-3-dev libgegl-dev libpcre3-dev

revast commented 5 years ago

here is a package for ubuntu 18.04 http://openartisthq.org/debian/bionic64/gimp-plugin-bimp_2.0-1~openartist_amd64.deb it is made with debian sources from Dariusz Duma's ppa: https://launchpad.net/~dhor/+archive/ubuntu/myway

alessandrofrancesconi commented 5 years ago

I understand the needing of libgegl, I'll verify too and I'll update the README in case. Insted, why did you have to install also GTK3 dev files? BIMP and in general GIMP 2.10 is based on GTK2.x, not 3.x.