Building on Debian issues: xdg-desktop-portal not found; issues with eog_exif_* functions
Hi. Recently I can't build from sources.
I got 2 problems. Maybe I've done something wrong but I think I have all dependencies.
First, when doing meson bin
I get:
Run-time dependency libportal found: NO (tried pkgconfig and cmake)
meson.build:169:2: ERROR: Assert failed: xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false
But xdg-desktop-portal is already the newest version (1.2.0-1).
from apt-get, I and also got same message for these ending -dev
and even -gtk
and -kde
.
So I did meson bin -Dlibportal=false
and it succeeded.
But when I cd bin
and ninja
I get errors from build:
[69/70] Generating Eog-3.0.gir with a custom command
g-ir-scanner: link: cc -o /home/ch/_dev/eog3/bin2/tmp-introspects32ptx73/Eog-3.0 /home/ch/_dev/eog3/bin2/tmp-introspects32ptx73/Eog-3.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/ch/_dev/eog3/bin2/src -Wl,-rpath,/home/ch/_dev/eog3/bin2/src -L/home/ch/_dev/eog3/bin2/jpegutils -Wl,-rpath,/home/ch/_dev/eog3/bin2/jpegutils -leog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgdk_pixbuf-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lpeas-1.0 -lgmodule-2.0 -lgirepository-1.0 -lexif -llcms2 -lexempi -lrsvg-2 -lm -lgnome-desktop-3 -lpeas-gtk-1.0 -lz -ljpeg -lX11 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
src/eog-exif-util.h:40: Warning: Eog: eog_exif_util_format_datetime_label: argument exif_data: Unresolved type: 'ExifData*'
src/eog-exif-util.h:44: Warning: Eog: eog_exif_util_set_label_text: argument exif_data: Unresolved type: 'ExifData*'
src/eog-exif-util.h:48: Warning: Eog: eog_exif_util_set_focal_length_label_text: argument exif_data: Unresolved type: 'ExifData*'
src/eog-exif-util.c:317: Warning: Eog: eog_exif_data_get_value: argument exif_data: Unresolved type: 'ExifData*'
src/eog-exif-util.h:58: Warning: Eog: eog_exif_data_copy: argument data: Unresolved type: 'ExifData*'
Any idea how to get xdg-desktop-portal to detect or install properly or fix the build?
Edited by Andre Klapper