On 8/22/19 5:43 PM, Akkana Peck wrote:
I had a lot of trouble adjusting my build scripts for babl's meson
build. So once I got it working, I ended up rewriting the GIMP wiki
build instructions to reflect what worked for me.
https://wiki.gimp.org/wiki/Hacking:Building
Hi Akkana,
Thanks! for updating the wiki. In case it helps, the paths for setting
up the prefix vary from one distribution to the next, for example are
very different for Debian Sid compared to Gentoo.
In a fresh install of Debian Sid, after a lot of trial and error I
finally managed to build babl (meson)/GEGL (meson)/GIMP-2.10 using these
lines to set up the prefix:
PREFIX=$HOME/code-install/gimp210/install
export SRC_DIR=/home/elle/code-build/gimp210/build
export PATH=$PREFIX/bin:$PATH
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PREFIX/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/x86_64-linux-gnu:$PKG_CONFIG_PATH
export
PKG_CONFIG_PATH=$PREFIX/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH
export
XDG_DATA_DIRS="$XDG_DATA_DIRS:$PREFIX/share:/usr/local/share/:/usr/share/"
Notice on Debian Sid the "64-bit" folder where GEGL puts its ".so" files
is "$PREFIX/lib/x86_64-linux-gnu". On Gentoo, the equivalent folder is
"$PREFIX/lib64". These lines worked for setting up the prefix in Gentoo:
PREFIX=$HOME/code-install/gimp210/install
export SRC_DIR=/hdd/data1/code-build/gimp210/build
export PATH=$PREFIX/bin:$PATH
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PREFIX/lib64:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/lib64/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$PREFIX/install/share/pkgconfig:$PKG_CONFIG_PATH
export GIO_EXTRA_MODULES=/usr/lib/gio/modules
#above line probably isn't needed as I'm no longer build glib in the prefix
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$PREFIX/share"
Best,
Elle
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list