Re: [Gimp-developer] Building babl & gegl with meson

Partha Bagchi via gimp-developer-list <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <CAOW9c=9TMvYVBXQLxn=OFfcNc-7DifLEcsbcgVqDG4q=1wB6FA@mail.gmail.com>
Ofnut,

You are pretty well versed in this stuff. :)

This should get you started:

1. Babl:
git clone https://gitlab.gnome.org/GNOME/babl.git
meson builddir --prefix=$PREFIX/babl -Denable-gir=false -Dwith-docs=false
&& cd builddir
ninja install

2. GEGL
git clone https://gitlab.gnome.org/GNOME/gegl.git
meson builddir --prefix=$PREFIX/gegl -Dintrospection=false && cd builddir
ninja install

Obviously adjust the parameters as per your environment.

Also, I define the various flags up front. For example:

export PREFIX=$HOME/local
export CFLAGS='-g -O3 -ffast-math -ftree-vectorize'
export CPPFLAGS="-I$PREFIX/include -I$PREFIX/SuiteSparse/include"
export CXXFLAGS='-std=c++14 -O3 -ffast-math -ftree-vectorize'
export LDFLAGS="-L$PREFIX/lib -L$PREFIX/SuiteSparse/lib"
export LIBS="$LDFLAGS"
export
PATH=$HOME/local/bin:$HOME/local/python/bin:$PREFIX/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:$PREFIX/gegl/bin
export
PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig:$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/opt/X11/lib/pkgconfig:$PREFIX/babl/lib/pkgconfig:$PREFIX/babl/lib/pkgconfig

Hope this helps!

Partha



On Thu, Mar 5, 2020 at 6:09 PM Ofnuts <[email protected]> wrote:

> Is there a write-up somewhere indicating how to build Babl & Gegl? They
> seem to be using meson/ninja and all the indications I can find look
> fairly old and assume that they are built using autoconf+make.
>
> Cheers
>
>
> _______________________________________________
> gimp-developer-list mailing list
> List address:    [email protected]
> List membership:
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
>
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.