Re: [Gimp-developer] help compiling babl



On Thu, Aug 22, 2019 at 03:43:25PM -0600, Akkana Peck wrote:
Marco Ciampa via gimp-developer-list writes:
On Tue, Aug 13, 2019 at 02:26:50AM +0200, Marco Ciampa via gimp-developer-list wrote:
On Mon, Aug 12, 2019 at 08:38:45PM +0300, Alexandre Prokoudine via gimp-developer-list wrote:
Hello,

You should be using the Meson build system now.

Doh, I missed that!
It works now, thank you!

I talked too quickly... now it is GIMP that does not compile (due to babl...):

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

There are also some additions in the Hacking:Building/Linux page
(linked at the bottom) but it's mostly a discussion of why PREFIX
is important (I didn't write it, someone else did, but it seemed
worth keeping) and a discussion of how to run the GIMP you just built.

Try it out -- and if it turns out that it's still incomplete, let
me know what needs to be changed (or update it yourself, if you
prefer).

I know nothing of the Windows and Mac building pages: I don't
build on those platforms, but it would be great if someone who
does could keep them up to date.

I should mention that my build page rewrites are from shortly after
babl switched to meson, but don't reflect any meson instructions for
gegl or gimp, so eventually Hacking:Building will need to be updated again.

        ...Akkana

Retry: now (that apparently devs switched to meson also in GEGL, now it does not compile
also gegl.... grrr)

ninja 
[9/529] Generating Gegl-0.4.gir with a custom command.
FAILED: gegl/Gegl-0.4.gir 
/usr/bin/g-ir-scanner --no-libtool --namespace=Gegl --nsversion=0.4 --warn-all --output gegl/Gegl-0.4.gir 
--c-include=gegl.h -I/home/marco/git/gitlab/gnome/gegl/gegl -I/home/marco/git/gitlab/gnome/gegl/build/gegl 
-I./. -I../. -I./gegl/. -I../gegl/. -I./gegl/buffer -I../gegl/buffer -I./gegl/graph -I../gegl/graph 
-I./gegl/module -I../gegl/module -I./gegl/opencl -I../gegl/opencl -I./gegl/operation -I../gegl/operation 
-I./gegl/process -I../gegl/process -I./gegl/property-types -I../gegl/property-types 
--filelist=/home/marco/git/gitlab/gnome/gegl/build/gegl/2cd4258@@gegl-0.4@sha/Gegl_0.4_gir_filelist 
--include=GLib-2.0 --include=GObject-2.0 --include=Babl-0.1 --symbol-prefix=gegl --identifier-prefix=Gegl 
--cflags-begin -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition 
-Wpointer-arith -Wno-deprecated-declarations -mfpmath=sse -mmmx -msse -msse2 -msse4.1 -I./. -I../. -I./gegl/. 
-I../gegl/. -I./gegl/buffer -I../gegl/buffer -I./gegl/graph -I../gegl/graph -I./gegl/module -I../gegl/module 
-I./gegl/opencl -I../gegl/opencl -I./gegl/operation -I../gegl/operation -I./gegl/process -I../gegl/process 
-I./gegl/property-types -I../gegl/property-types -I/usr/local/include/babl-0.1 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0/ --cflags-end --library gegl-0.4 
-L/home/marco/git/gitlab/gnome/gegl/build/gegl -L/usr/local/lib/x86_64-linux-gnu 
-L/usr/local/lib/x86_64-linux-gnu --extra-library=babl-0.1 --extra-library=glib-2.0 --extra-library=gio-2.0 
--extra-library=gobject-2.0 --extra-library=m --extra-library=gmodule-2.0
Couldn't find include 'GLib-2.0.gir' (search path: 
'['/home/marco/.local/share/flatpak/exports/share/gir-1.0', '/var/lib/flatpak/exports/share/gir-1.0', 
'/usr/share/gnome-flashback-metacity/gir-1.0', '/home/marco/.local/share/flatpak/exports/share/gir-1.0', 
'/var/lib/flatpak/exports/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', 
'/var/lib/snapd/desktop/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
[14/529] Generating module_common_gpl3.c with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.


why "fixing" something that just works I wonder...


Ok next gimp versions will be without the Italian translation updated
because the translator is now no more able to compile GIMP from
sources...

Regards,

--


Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------



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