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.

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...

-- 
Akihiro
ameniutaeba1...@gmail.com

Reply via email to