The last time I've checked, HAVE_EVINCE was set even with Atril for this exact reason (and others). When did this change?
Ekkor: 2025. november 9. 19:28:06 CET, Andreas Schneider <[email protected]> írta: >Am 09.11.25 um 16:50 schrieb Richard Shann: >> I've just installed the changes to configure.ac as part of merging in >> the work on the Command Center and I see that it no longer builds on my >> system. (Building on Debian Bookworm with atril and libatrildev >> installed but no evince packages.) >> The link step ends with >> /usr/bin/ld: core/menusystem.o:(.data.rel.ro+0x2f08): undefined >> reference to `display_printhistory' >> collect2: error: ld returned 1 exit status >> make[2]: *** [Makefile:1161: denemo] Error 1 >> make[2]: Leaving directory '/home/rshann/git-denemo/denemo/src' >> make[1]: *** [Makefile:638: all-recursive] Error 1 >> make[1]: Leaving directory '/home/rshann/git-denemo/denemo' >> make: *** [Makefile:547: all] Error 2 >> >> and tracking back I see that it is a set of files in the printview and >> source directories that are not being included - >> >> The relevant bit of Makefile.in would seem to be >> @HAVE_EVINCE_TRUE@am__append_1 = \ >> @HAVE_EVINCE_TRUE@ source/source.c \ >> @HAVE_EVINCE_TRUE@ source/source.h \ >> @HAVE_EVINCE_TRUE@ source/proof.c \ >> @HAVE_EVINCE_TRUE@ source/proof.h \ >> @HAVE_EVINCE_TRUE@ printview/markupview.h \ >> @HAVE_EVINCE_TRUE@ printview/markupview.c \ >> @HAVE_EVINCE_TRUE@ printview/printview.h \ >> @HAVE_EVINCE_TRUE@ printview/printview.c >> >> while the relevant bit of Makefile.am would seem to be >> if HAVE_EVINCE >> denemo_SOURCES += \ >> source/source.c \ >> source/source.h \ >> source/proof.c \ >> source/proof.h \ >> printview/markupview.h \ >> printview/markupview.c \ >> printview/printview.h \ >> printview/printview.c >> endif >> >> I've attached the output of the make step, only the svgview.c file in >> the directory printview is compiled. > >I'm facing the same problem. I guess that the relevant files should be >included if HAVE_EVINCE *or* HAVE_ATRIL is defined. > >Andreas >
