theshank
(Shank)
November 4, 2022, 3:47am
1
Hello,
I am trying to build evince with afl-clang-fast.
> CC=afl-clang-fast CXX=afl-clang-fast++ CFLAGS="-g -O0" CXXFLAGS="-g -O0" meson -Dlibhandy:examples=false -Dlibhandy:tests=false -Dlibhandy:vapi=false -Dlibhandy:glade_catalog=disabled -Dlibhandy:introspection=disabled --prefix=(pwd)/installed _build
It fails with building evince-gir.
Is there a way (some -Dxxxx
flags to disable gir/gobject-introspection).
Thanks in advance!
gpoo
(Germán Poo-Caamaño)
November 4, 2022, 3:55am
2
Try -Dintrospection=false
.
You can check the options available by looking the meson_options.txt
file.
1 Like
theshank
(Shank)
November 4, 2022, 4:24am
3
Thank you for the quick reply.
When I try to configure with:
> CC=afl-clang-fast CXX=afl-clang-fast++ CFLAGS="-g -O0" CXXFLAGS="-g -O0" meson -Dlibhandy:examples=false -Dlibhandy:tests=false -Dlibhandy:vapi=false -Dlibhandy:glade_catalog=disabled -Dlibhandy:introspection=disabled --prefix=(pwd)/installed -Dintrospection=false _build
I get the the following error while confguring itself:
Can you please point me to the correct direction…
theshank
(Shank)
November 4, 2022, 4:28am
4
Please ignore this, I was able to work around for now by disabling docs:
-Duser_doc=false -Dgtk_doc=false
Thanks a lot!
gpoo
(Germán Poo-Caamaño)
November 4, 2022, 12:47pm
5
Yes, since we switched to gi-docgen
the documentation is generated from gir files, which are from introspection. The correct behaviour would be that disabling introspection should automatically disable gi-docgen.
I opened an issue to not forget it. See: Disable introspection in meson should automatically disable gi-docgen (#1869) · Issues · GNOME / evince · GitLab
1 Like
system
(system)
Closed
December 4, 2022, 12:48pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.