On Sun, 2025-04-13 at 16:41 +0900, 森口晃宏 wrote: > > Hello, > > > > I'm trying to build denemo 2.6.0 from AUR. > > I get errors on building denemo on Manjaro Linux below. > > > > Please direct me how to install denemo.
Others may be able to comment more authoritatively, but I suspect the Evince API has changed - libevince was already failing to support following links in Denemo - so I think you will need to build against Atril. I'm not quite sure how this is controlled but the following extracts from my config.log should help: .. configure:25351: checking for evince-view-3.0 >= 3.0 configure:25358: $PKG_CONFIG --exists --print-errors "evince-view-3.0 >= 3.0" Package evince-view-3.0 was not found in the pkg-config search path. .. configure:25451: $PKG_CONFIG --exists --print-errors "atril-view-1.5.0 >= 1.5" configure:25454: $? = 0 configure:25492: result: yes .. HTH Richard > > > > mv -f $depbase.Tpo $depbase.Po > > source/proof.c: In function ‘press’: > > source/proof.c:283:76: error: passing argument 1 of > > ‘ev_document_annotations_get_annotations’ from incompatible pointer > > type [-Wincompatible-pointer-types] > > 283 | EvMappingList *mapping_list = > > ev_document_annotations_get_annotations (doc, > > ev_document_get_page(doc, i)); > > | > > ^~~ > > | > > | > > | > > EvDocument * {aka struct _EvDocument *} > > In file included from /usr/include/evince/3.0/evince-document.h:27, > > from > > /usr/include/evince/3.0/libview/ev-job-scheduler.h:29, > > from /usr/include/evince/3.0/evince-view.h:23, > > from source/proof.c:28: > > /usr/include/evince/3.0/libdocument/ev-document- > > annotations.h:104:85: > > note: expected ‘EvDocumentAnnotations *’ {aka ‘struct > > _EvDocumentAnnotations *’} but argument is of type ‘EvDocument *’ > > {aka > > ‘struct _EvDocument *’} > > 104 | EvMappingList *ev_document_annotations_get_annotations > > (EvDocumentAnnotations *document_annots, > > | > > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ > > source/proof.c: In function ‘find_annotated_pages’: > > source/proof.c:316:84: error: passing argument 1 of > > ‘ev_document_annotations_get_annotations’ from incompatible pointer > > type [-Wincompatible-pointer-types] > > 316 | EvMappingList *mapping_list = > > ev_document_annotations_get_annotations (doc, > > ev_document_get_page(doc, i)); > > | > > ^~~ > > | > > | > > | > > EvDocument * {aka struct _EvDocument *} > > /usr/include/evince/3.0/libdocument/ev-document- > > annotations.h:104:85: > > note: expected ‘EvDocumentAnnotations *’ {aka ‘struct > > _EvDocumentAnnotations *’} but argument is of type ‘EvDocument *’ > > {aka > > ‘struct _EvDocument *’} > > 104 | EvMappingList *ev_document_annotations_get_annotations > > (EvDocumentAnnotations *document_annots, > > | > > ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ > > make[2]: *** [Makefile:1297: source/proof.o] Error 1 > > make[2]: *** Waiting for unfinished jobs.... > > make[2]: Leaving directory > > '/home/aki/.cache/yay/denemo/src/denemo-2.6.0/src' > > make[1]: *** [Makefile:637: all-recursive] Error 1 > > make[1]: Leaving directory > > '/home/aki/.cache/yay/denemo/src/denemo-2.6.0' > > make: *** [Makefile:546: all] Error 2 > > ==> ERROR: A failure occurred in build(). > > Aborting... > >