I think --enable-atril isn't even a configure option, USE_ATRIL is only defined if --enable-evince is true but the evince development packages are missing so it falls back to Atril. Actually, USE_ATRIL is defined in an if test "x$have_evince" != xno block (this is just the configure option), if a use_atril variable is also on, which is only set if the evince checks failed but it finds atril, at least in the GTK3 branch. I think this is the same for GTK2 but I haven't looked at it too much.
Ekkor: 2025. október 2. 19:13:49 CEST, Andreas Schneider <[email protected]> írta: >Am 02.10.25 um 13:02 schrieb Richard Shann: >> On Wed, 2025-10-01 at 19:49 +0200, Andreas Schneider wrote: >>> Am 01.10.25 um 14:05 schrieb Richard Shann: >>>> On Tue, 2025-09-30 at 20:26 +0200, Andreas Schneider wrote: >>>>> Richard, can you please apply the patch from >>>>> http://deb.debian.org/debian/pool/main/d/denemo/denemo_2.6.39-0.3.debian.tar.xz >>>>> to make Denemo compile with recent libevince? You can also find >>>>> it >>>> >>>> Hmm, I get an error trying to build with this, >>>> >>>> ../src/source/proof.c:283: undefined reference to >>>> `EV_DOCUMENT_ANNOTATIONS' >>>> >>>> Is this something not in the atril headers or is it a version >>>> matter? >>> >>> Have you installed the libatrildocument-dev package? >> >> well, >> dpkg-query -l yields >> >> ii libatrildocument-dev 1.26.0-2+deb12u3 >> amd64 MATE document rendering library (development files) >> >> and I see that the inclusion of >> libdocument/ev-document-annotations.h >> is missing in atril-document.h so this seems to be a bug in >> libatrildocument.dev >> >> To work around this bug I propose the attached patch. I'll apply this >> unless there are objections. > >Thank you very much, the patch looks good, and it enables me to compile >successfully with libevince. > >When I try to compile with --disable-evince --enable-atril, I get the error > >pageturner.c:28:10: fatal error: evince-view.h: Datei oder Verzeichnis nicht >gefunden > 28 | #include <evince-view.h> > | ^~~~~~~~~~~~~~~ >compilation terminated. > >It seems the constant USE_ATRIL is not defined correctly. What have I made >wrong? > >Andreas >
