Re: Building babl & gegl with meson

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ofnuts@xxxxxxx> 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:    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
>
_______________________________________________
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



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux