Re: [Gimp-developer] Trouble compiling 2.99

Thanks but no change....

Digging into this a bit more, it appears that the
"HarfBuzz-0.0.gir:135.5-135.79"  would be a reference to
/usr/share/gir-1.0/HarfBuzz-0.0.gir and starting at line
#135 this file is:

    <constant name="LANGUAGE_INVALID" value="0"
      <source-position filename="src/hb-common.h" line="168"/>
      <type name="language_t" c:type="hb_language_t"/>

And my /usr/include/harfbuzz/hb-common.h a line #168 is indeed:

    #define HB_LANGUAGE_INVALID ((hb_language_t) 0)

But all these are "hb_language_t" and not "hb_.language_t"

My primary suspect would be my pango install (my Ubuntu 19.10 only has
Pango 1.44 so I have added my own self-compiled 1.47),
but still "hb_.language_t" would have shown up in the uncountable grep's
I have done in my build & source directories and in /usr.

On 29/04/2021 20:13, Jacob Boerema wrote:
If your build dir was not empty before starting then you could try:

meson configure --clearcache

Meson and/or library updates sometimes get meson/ninja confused.


Jacob Boerema

On 29 Apr 2021 at 19:40, Ofnuts via gimp-developer-lis wrote:

I'm trying to compile 2.99. It used to work, but my last successful
attempt was in June 2020.

Compiling on Ubuntu 19.10 but I upgraded meson and pango to required

When I use the meson build:

meson _build --prefix=${GIMP_PREFIX} --buildtype=release
-Djavascript=always -Dlua=always -Dpython=always

cd _build && ninja

It stops with:

[450/1967] Generating gimp-3.0.vapi with a custom command
FAILED: libgimp/gimp-3.0.vapi
/usr/bin/vapigen --quiet --library=gimp-3.0
--directory=/Gimp-dev/2.99/build/gimp/_build/libgimp --pkg=babl-0.1
--pkg=cairo-1.0 --pkg=gdk-pixbuf-2.0 --pkg=gegl-0.4 --pkg=gio-2.0
--pkg=glib-2.0 --pkg=gobject-2.0 --pkg=gtk+-3.0
HarfBuzz-0.0.gir:135.5-135.79: error: `hb_.language_t' not supported as
type for constants
[459/1967] Generating GimpUi-3.0.gir with a custom command
ninja: build stopped: subcommand failed.

My harfbuzz installation:

ii  gir1.2-harfbuzz-0.0:amd64  2.6.1-3      amd64        OpenType text
shaping engine (GObject introspec
ii  libharfbuzz-dev:amd64      2.6.1-3      amd64 Development files for
OpenType text shaping eng
ii  libharfbuzz-gobject0:amd64 2.6.1-3      amd64        OpenType text
shaping engine ICU backend (GObje
ii  libharfbuzz-icu0:amd64     2.6.1-3      amd64        OpenType text
shaping engine ICU backend
un  libharfbuzz0               <none> <none>       (no description
un  libharfbuzz0a              <none> <none>       (no description
ii  libharfbuzz0b:amd64        2.6.1-3      amd64        OpenType text
shaping engine (shared library)

Am I missing something?

gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:
List archives:

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