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

2020-03-05 Thread Ofnuts

On 06/03/2020 05:43, Owen wrote:

Try

https://wiki.gimp.org/wiki/Hacking:Building



Owen


Looks like it, thanks.

___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


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

2020-03-05 Thread Ofnuts

On 06/03/2020 00:34, Partha Bagchi wrote:

Ofnut,

You are pretty well versed in this stuff. :)


I used to be...



This should get you started:


Exactly what the doctor ordered, thanks.

___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


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

2020-03-05 Thread Owen



> Sent: Friday, March 06, 2020 at 10:09 AM
> From: "Ofnuts" 
> To: "gimp-developer-list@gnome.org" 
> Subject: [Gimp-developer] Building babl & gegl with meson
>
> 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.


Try

https://wiki.gimp.org/wiki/Hacking:Building



Owen
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


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

2020-03-05 Thread Partha Bagchi via gimp-developer-list
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  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@gnome.org
> 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@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


[Gimp-developer] Building babl & gegl with meson

2020-03-05 Thread Ofnuts

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@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list