Package Details: llpp 23-1

Git Clone URL: https://aur.archlinux.org/llpp.git (read-only)
Package Base: llpp
Description: A graphical PDF viewer which aims to superficially resemble less(1).
Upstream URL: http://repo.or.cz/w/llpp.git
Licenses: custom
Conflicts: llpp-git
Provides: llpp
Submitter: Barthalion
Maintainer: aksr
Last Packager: aksr
Votes: 70
Popularity: 0.684357
First Submitted: 2012-06-24 16:59
Last Updated: 2017-02-16 04:48

Dependencies (35)

Required by (0)

Sources (1)

Latest Comments

Alad commented on 2017-01-30 16:18

==> Starting build()...
+ ocamlc.opt -ccopt '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -Wno-pointer-sign -O2 -o build//lablGL/ml_raw.o' -c ./lablGL/ml_raw.c
+ ocamlc.opt -ccopt '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -Wno-pointer-sign -O2 -o build//lablGL/ml_gl.o' -c ./lablGL/ml_gl.c
+ ocamlc.opt -ccopt '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -Wno-pointer-sign -O2 -o build//lablGL/ml_glarray.o' -c ./lablGL/ml_glarray.c
+ ocamlc.opt -ccopt '-I /usr/include/freetype2 -Wextra -Wall -Werror -D_GNU_SOURCE -O -g -std=c99 -pedantic-errors -Wunused-parameter -Wsign-compare -Wshadow -o build//link.o' -c ./link.c
./link.c: In function ‘pdfinfo’:
./link.c:538:45: error: passing argument 2 of ‘pdf_to_utf8’ from incompatible pointer type [-Wincompatible-pointer-types]
s = pdf_to_utf8 (state.ctx, pdf, obj);
^~~
In file included from /usr/include/mupdf/pdf.h:11:0,
from ./link.c:48:
/usr/include/mupdf/pdf/object.h:139:7: note: expected ‘pdf_obj * {aka struct pdf_obj_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
char *pdf_to_utf8(fz_context *ctx, pdf_obj *src);
^~~~~~~~~~~
./link.c:538:21: error: too many arguments to function ‘pdf_to_utf8’
s = pdf_to_utf8 (state.ctx, pdf, obj);
^~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:11:0,
from ./link.c:48:
/usr/include/mupdf/pdf/object.h:139:7: note: declared here
char *pdf_to_utf8(fz_context *ctx, pdf_obj *src);
^~~~~~~~~~~
./link.c: In function ‘trimctm’:
./link.c:666:41: error: ‘pdf_page {aka struct pdf_page_s}’ has no member named ‘ctm’
fz_invert_matrix (&im, &page->ctm);
^~
./link.c: In function ‘loadpage’:
./link.c:708:19: error: too few arguments to function ‘fz_new_display_list’
page->dlist = fz_new_display_list (state.ctx);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:47:0,
from ./link.c:46:
/usr/include/mupdf/fitz/display-list.h:35:18: note: declared here
fz_display_list *fz_new_display_list(fz_context *ctx, const fz_rect *mediabox);
^~~~~~~~~~~~~~~~~~~
./link.c: In function ‘rendertile’:
./link.c:788:58: error: passing argument 4 of ‘fz_new_pixmap_with_bbox_and_data’ makes integer from pointer without a cast [-Wint-conversion]
&bbox, pbo->ptr);
^~~
In file included from /usr/include/mupdf/fitz.h:35:0,
from ./link.c:46:
/usr/include/mupdf/fitz/pixmap.h:123:12: note: expected ‘int’ but argument is of type ‘void *’
fz_pixmap *fz_new_pixmap_with_bbox_and_data(fz_context *ctx, fz_colorspace *colorspace, const fz_irect *rect, int alpha, unsigned char *samples);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./link.c:787:17: error: too few arguments to function ‘fz_new_pixmap_with_bbox_and_data’
fz_new_pixmap_with_bbox_and_data (state.ctx, state.colorspace,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:35:0,
from ./link.c:46:
/usr/include/mupdf/fitz/pixmap.h:123:12: note: declared here
fz_pixmap *fz_new_pixmap_with_bbox_and_data(fz_context *ctx, fz_colorspace *colorspace, const fz_irect *rect, int alpha, unsigned char *samples);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./link.c:793:17: error: too few arguments to function ‘fz_new_pixmap_with_bbox’
fz_new_pixmap_with_bbox (state.ctx, state.colorspace, &bbox);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:35:0,
from ./link.c:46:
/usr/include/mupdf/fitz/pixmap.h:79:12: note: declared here
fz_pixmap *fz_new_pixmap_with_bbox(fz_context *ctx, fz_colorspace *colorspace, const fz_irect *bbox, int alpha);
^~~~~~~~~~~~~~~~~~~~~~~
./link.c:801:42: error: passing argument 2 of ‘fz_new_draw_device’ from incompatible pointer type [-Wincompatible-pointer-types]
dev = fz_new_draw_device (state.ctx, tile->pixmap);
^~~~
In file included from /usr/include/mupdf/fitz.h:46:0,
from ./link.c:46:
/usr/include/mupdf/fitz/device.h:326:12: note: expected ‘const fz_matrix * {aka const struct fz_matrix_s *}’ but argument is of type ‘fz_pixmap * {aka struct fz_pixmap_s *}’
fz_device *fz_new_draw_device(fz_context *ctx, const fz_matrix *transform, fz_pixmap *dest);
^~~~~~~~~~~~~~~~~~
./link.c:801:11: error: too few arguments to function ‘fz_new_draw_device’
dev = fz_new_draw_device (state.ctx, tile->pixmap);
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:46:0,
from ./link.c:46:
/usr/include/mupdf/fitz/device.h:326:12: note: declared here
fz_device *fz_new_draw_device(fz_context *ctx, const fz_matrix *transform, fz_pixmap *dest);
^~~~~~~~~~~~~~~~~~
./link.c: In function ‘initpdims’:
./link.c:945:54: error: ‘pdf_page {aka struct pdf_page_s}’ has no member named ‘ctm’
fz_invert_matrix (&ctm, &page->ctm);
^~
./link.c:954:56: error: ‘pdf_page {aka struct pdf_page_s}’ has no member named ‘mediabox’
fz_intersect_rect (&rect, &page->mediabox);
^~
./link.c:957:44: error: ‘pdf_page {aka struct pdf_page_s}’ has no member named ‘mediabox’
mediabox = page->mediabox;
^~
./link.c:985:34: error: ‘pdf_page {aka struct pdf_page_s}’ has no member named ‘rotate’
rotate = page->rotate;
^~
./link.c: At top level:
./link.c:1251:15: error: unknown type name ‘fz_link_dest’
desttoanchor (fz_link_dest *dest)
^~~~~~~~~~~~
./link.c: In function ‘recurse_outline’:
./link.c:1293:24: error: ‘fz_outline {aka struct fz_outline_s}’ has no member named ‘dest’; did you mean ‘next’?
switch (outline->dest.kind) {
^~
./link.c:1294:14: error: ‘FZ_LINK_GOTO’ undeclared (first use in this function)
case FZ_LINK_GOTO:
^~~~~~~~~~~~
./link.c:1294:14: note: each undeclared identifier is reported only once for each function it appears in
./link.c:1296:35: error: implicit declaration of function ‘desttoanchor’ [-Wimplicit-function-declaration]
struct anchor a = desttoanchor (&outline->dest);
^~~~~~~~~~~~
./link.c:1296:57: error: ‘fz_outline {aka struct fz_outline_s}’ has no member named ‘dest’; did you mean ‘next’?
struct anchor a = desttoanchor (&outline->dest);
^~
./link.c:1305:14: error: ‘FZ_LINK_URI’ undeclared (first use in this function)
case FZ_LINK_URI:
^~~~~~~~~~~
./link.c:1308:28: error: ‘fz_outline {aka struct fz_outline_s}’ has no member named ‘dest’; did you mean ‘next’?
outline->dest.ld.uri.uri);
^~
./link.c:1311:14: error: ‘FZ_LINK_NONE’ undeclared (first use in this function)
case FZ_LINK_NONE:
^~~~~~~~~~~~
./link.c:1317:28: error: ‘fz_outline {aka struct fz_outline_s}’ has no member named ‘dest’; did you mean ‘next’?
outline->dest.kind, outline->title);
^~
./link.c: In function ‘search’:
./link.c:1493:16: error: too few arguments to function ‘fz_new_stext_page’
text = fz_new_stext_page (state.ctx);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:48:0,
from ./link.c:46:
/usr/include/mupdf/fitz/structured-text.h:242:16: note: declared here
fz_stext_page *fz_new_stext_page(fz_context *ctx, const fz_rect *mediabox);
^~~~~~~~~~~~~~~~~
./link.c:1494:16: error: too few arguments to function ‘fz_new_stext_device’
tdev = fz_new_stext_device (state.ctx, sheet, text);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:48:0,
from ./link.c:46:
/usr/include/mupdf/fitz/structured-text.h:323:12: note: declared here
fz_device *fz_new_stext_device(fz_context *ctx, fz_stext_sheet *sheet, fz_stext_page *page, const fz_stext_options *options);
^~~~~~~~~~~~~~~~~~~
./link.c: In function ‘mainloop’:
./link.c:1865:17: error: unknown type name ‘fz_link_dest’
fz_link_dest dest;
^~~~~~~~~~~~
./link.c:1873:49: error: ‘FZ_LINK_GOTO’ undeclared (first use in this function)
FZ_LINK_GOTO, obj);
^~~~~~~~~~~~
./link.c:1872:28: error: too many arguments to function ‘pdf_parse_link_dest’
dest = pdf_parse_link_dest (state.ctx, pdf,
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:105:7: note: declared here
char *pdf_parse_link_dest(fz_context *ctx, pdf_document *doc, pdf_obj *obj);
^~~~~~~~~~~~~~~~~~~
./link.c:1875:23: error: incompatible types when assigning to type ‘struct anchor’ from type ‘int’
a = desttoanchor (&dest);
^
./link.c: In function ‘highlightlinks’:
./link.c:2223:21: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
switch (link->dest.kind) {
^~
./link.c:2224:14: error: ‘FZ_LINK_GOTO’ undeclared (first use in this function)
case FZ_LINK_GOTO: glColor3ub (255, 0, 0); break;
^~~~~~~~~~~~
./link.c:2225:14: error: ‘FZ_LINK_URI’ undeclared (first use in this function)
case FZ_LINK_URI: glColor3ub (0, 0, 255); break;
^~~~~~~~~~~
./link.c:2226:14: error: ‘FZ_LINK_LAUNCH’ undeclared (first use in this function)
case FZ_LINK_LAUNCH: glColor3ub (0, 255, 0); break;
^~~~~~~~~~~~~~
./link.c: In function ‘getannot’:
./link.c:2707:29: error: ‘pdf_annot {aka struct pdf_annot_s}’ has no member named ‘pagerect’; did you mean ‘page’?
if (p.x >= annot->pagerect.x0 && p.x <= annot->pagerect.x1) {
^~
./link.c:2707:58: error: ‘pdf_annot {aka struct pdf_annot_s}’ has no member named ‘pagerect’; did you mean ‘page’?
if (p.x >= annot->pagerect.x0 && p.x <= annot->pagerect.x1) {
^~
./link.c:2708:33: error: ‘pdf_annot {aka struct pdf_annot_s}’ has no member named ‘pagerect’; did you mean ‘page’?
if (p.y >= annot->pagerect.y0 && p.y <= annot->pagerect.y1) {
^~
./link.c:2708:62: error: ‘pdf_annot {aka struct pdf_annot_s}’ has no member named ‘pagerect’; did you mean ‘page’?
if (p.y >= annot->pagerect.y0 && p.y <= annot->pagerect.y1) {
^~
./link.c: In function ‘ensuretext’:
./link.c:2752:22: error: too few arguments to function ‘fz_new_stext_page’
page->text = fz_new_stext_page (state.ctx);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:48:0,
from ./link.c:46:
/usr/include/mupdf/fitz/structured-text.h:242:16: note: declared here
fz_stext_page *fz_new_stext_page(fz_context *ctx, const fz_rect *mediabox);
^~~~~~~~~~~~~~~~~
./link.c:2754:16: error: too few arguments to function ‘fz_new_stext_device’
tdev = fz_new_stext_device (state.ctx, page->sheet, page->text);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz.h:48:0,
from ./link.c:46:
/usr/include/mupdf/fitz/structured-text.h:323:12: note: declared here
fz_device *fz_new_stext_device(fz_context *ctx, fz_stext_sheet *sheet, fz_stext_page *page, const fz_stext_options *options);
^~~~~~~~~~~~~~~~~~~
./link.c: In function ‘ml_getlink’:
./link.c:2943:17: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
switch (link->dest.kind) { \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2944:10: error: ‘FZ_LINK_GOTO’ undeclared (first use in this function)
case FZ_LINK_GOTO: \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2948:26: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
pageno = link->dest.ld.gotor.page; \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2952:21: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
if (link->dest.ld.gotor.flags & fz_link_flag_t_valid) { \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2952:45: error: ‘fz_link_flag_t_valid’ undeclared (first use in this function)
if (link->dest.ld.gotor.flags & fz_link_flag_t_valid) { \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2953:27: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
p.y = link->dest.ld.gotor.lt.y; \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2965:10: error: ‘FZ_LINK_URI’ undeclared (first use in this function)
case FZ_LINK_URI: \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2966:39: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.uri.uri); \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2971:10: error: ‘FZ_LINK_LAUNCH’ undeclared (first use in this function)
case FZ_LINK_LAUNCH: \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2972:39: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.launch.file_spec); \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2977:10: error: ‘FZ_LINK_NAMED’ undeclared (first use in this function)
case FZ_LINK_NAMED: \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2978:39: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.named.named); \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2983:10: error: ‘FZ_LINK_GOTOR’ undeclared (first use in this function)
case FZ_LINK_GOTOR: \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2987:43: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.gotor.file_spec); \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2988:26: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
pageno = link->dest.ld.gotor.page; \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2990:46: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
gr_v = caml_copy_string (link->dest.ld.gotor.dest); \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:3010:53: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
"unhandled link kind %d", link->dest.kind); \
^
./link.c:3038:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
In file included from ./link.c:34:0:
./link.c: In function ‘ml_getannotcontents’:
./link.c:3063:56: error: passing argument 2 of ‘pdf_annot_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_annot_contents (state.ctx, pdf,
^
/usr/lib/ocaml/caml/memory.h:340:29: note: in definition of macro ‘CAMLreturnT’
type caml__temp_result = (result); \
^~~~~~
./link.c:3062:9: note: in expansion of macro ‘CAMLreturn’
CAMLreturn (caml_copy_string (
^~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:177:13: note: expected ‘pdf_annot * {aka struct pdf_annot_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
const char *pdf_annot_contents(fz_context *ctx, pdf_annot *annot);
^~~~~~~~~~~~~~~~~~
In file included from ./link.c:34:0:
./link.c:3063:25: error: too many arguments to function ‘pdf_annot_contents’
pdf_annot_contents (state.ctx, pdf,
^
/usr/lib/ocaml/caml/memory.h:340:29: note: in definition of macro ‘CAMLreturnT’
type caml__temp_result = (result); \
^~~~~~
./link.c:3062:9: note: in expansion of macro ‘CAMLreturn’
CAMLreturn (caml_copy_string (
^~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:177:13: note: declared here
const char *pdf_annot_contents(fz_context *ctx, pdf_annot *annot);
^~~~~~~~~~~~~~~~~~
./link.c: In function ‘ml_whatsunder’:
./link.c:2943:17: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
switch (link->dest.kind) { \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2944:10: error: ‘FZ_LINK_GOTO’ undeclared (first use in this function)
case FZ_LINK_GOTO: \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2948:26: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
pageno = link->dest.ld.gotor.page; \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2952:21: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
if (link->dest.ld.gotor.flags & fz_link_flag_t_valid) { \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2952:45: error: ‘fz_link_flag_t_valid’ undeclared (first use in this function)
if (link->dest.ld.gotor.flags & fz_link_flag_t_valid) { \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2953:27: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
p.y = link->dest.ld.gotor.lt.y; \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2965:10: error: ‘FZ_LINK_URI’ undeclared (first use in this function)
case FZ_LINK_URI: \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2966:39: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.uri.uri); \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2971:10: error: ‘FZ_LINK_LAUNCH’ undeclared (first use in this function)
case FZ_LINK_LAUNCH: \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2972:39: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.launch.file_spec); \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2977:10: error: ‘FZ_LINK_NAMED’ undeclared (first use in this function)
case FZ_LINK_NAMED: \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2978:39: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.named.named); \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2983:10: error: ‘FZ_LINK_GOTOR’ undeclared (first use in this function)
case FZ_LINK_GOTOR: \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2987:43: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
str_v = caml_copy_string (link->dest.ld.gotor.file_spec); \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2988:26: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
pageno = link->dest.ld.gotor.page; \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:2990:46: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
gr_v = caml_copy_string (link->dest.ld.gotor.dest); \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:3010:53: error: ‘fz_link {aka struct fz_link_s}’ has no member named ‘dest’; did you mean ‘next’?
"unhandled link kind %d", link->dest.kind); \
^
./link.c:3148:9: note: in expansion of macro ‘LINKTOVAL’
LINKTOVAL;
^~~~~~~~~
./link.c:3193:46: error: dereferencing pointer to incomplete type ‘fz_font {aka struct fz_font_s}’
? style->font->name
^~
./link.c: In function ‘ml_addannot’:
./link.c:4445:62: error: ‘FZ_ANNOT_TEXT’ undeclared (first use in this function)
(pdf_page *) page->fzpage, FZ_ANNOT_TEXT);
^~~~~~~~~~~~~
./link.c:4444:46: error: passing argument 2 of ‘pdf_create_annot’ from incompatible pointer type [-Wincompatible-pointer-types]
annot = pdf_create_annot (state.ctx, pdf,
^~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:124:12: note: expected ‘pdf_page * {aka struct pdf_page_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
pdf_annot *pdf_create_annot(fz_context *ctx, pdf_page *page, fz_annot_type type);
^~~~~~~~~~~~~~~~
./link.c:4445:35: error: incompatible type for argument 3 of ‘pdf_create_annot’
(pdf_page *) page->fzpage, FZ_ANNOT_TEXT);
^
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:124:12: note: expected ‘fz_annot_type {aka enum <anonymous>}’ but argument is of type ‘pdf_page * {aka struct pdf_page_s *}’
pdf_annot *pdf_create_annot(fz_context *ctx, pdf_page *page, fz_annot_type type);
^~~~~~~~~~~~~~~~
./link.c:4444:17: error: too many arguments to function ‘pdf_create_annot’
annot = pdf_create_annot (state.ctx, pdf,
^~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:124:12: note: declared here
pdf_annot *pdf_create_annot(fz_context *ctx, pdf_page *page, fz_annot_type type);
^~~~~~~~~~~~~~~~
./link.c:4448:44: error: passing argument 2 of ‘pdf_set_annot_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_set_annot_contents (state.ctx, pdf, annot, String_val (contents_v));
^~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:172:6: note: expected ‘pdf_annot * {aka struct pdf_annot_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
^~~~~~~~~~~~~~~~~~~~~~
./link.c:4448:49: error: passing argument 3 of ‘pdf_set_annot_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_set_annot_contents (state.ctx, pdf, annot, String_val (contents_v));
^~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:172:6: note: expected ‘const char *’ but argument is of type ‘pdf_annot * {aka struct pdf_annot_s *}’
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
^~~~~~~~~~~~~~~~~~~~~~
./link.c:4448:9: error: too many arguments to function ‘pdf_set_annot_contents’
pdf_set_annot_contents (state.ctx, pdf, annot, String_val (contents_v));
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:172:6: note: declared here
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
^~~~~~~~~~~~~~~~~~~~~~
./link.c:4449:49: error: passing argument 2 of ‘pdf_set_text_annot_position’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_set_text_annot_position (state.ctx, pdf, annot, p);
^~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:167:6: note: expected ‘pdf_annot * {aka struct pdf_annot_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
void pdf_set_text_annot_position(fz_context *ctx, pdf_annot *annot, fz_point pt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./link.c:4449:54: error: incompatible type for argument 3 of ‘pdf_set_text_annot_position’
pdf_set_text_annot_position (state.ctx, pdf, annot, p);
^~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:167:6: note: expected ‘fz_point {aka struct fz_point_s}’ but argument is of type ‘pdf_annot * {aka struct pdf_annot_s *}’
void pdf_set_text_annot_position(fz_context *ctx, pdf_annot *annot, fz_point pt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./link.c:4449:9: error: too many arguments to function ‘pdf_set_text_annot_position’
pdf_set_text_annot_position (state.ctx, pdf, annot, p);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:167:6: note: declared here
void pdf_set_text_annot_position(fz_context *ctx, pdf_annot *annot, fz_point pt);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./link.c: In function ‘ml_delannot’:
./link.c:4467:38: error: passing argument 2 of ‘pdf_delete_annot’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_delete_annot (state.ctx, pdf,
^~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:129:6: note: expected ‘pdf_page * {aka struct pdf_page_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
void pdf_delete_annot(fz_context *ctx, pdf_page *page, pdf_annot *annot);
^~~~~~~~~~~~~~~~
./link.c:4468:27: error: passing argument 3 of ‘pdf_delete_annot’ from incompatible pointer type [-Wincompatible-pointer-types]
(pdf_page *) page->fzpage,
^
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:129:6: note: expected ‘pdf_annot * {aka struct pdf_annot_s *}’ but argument is of type ‘pdf_page * {aka struct pdf_page_s *}’
void pdf_delete_annot(fz_context *ctx, pdf_page *page, pdf_annot *annot);
^~~~~~~~~~~~~~~~
./link.c:4467:9: error: too many arguments to function ‘pdf_delete_annot’
pdf_delete_annot (state.ctx, pdf,
^~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:129:6: note: declared here
void pdf_delete_annot(fz_context *ctx, pdf_page *page, pdf_annot *annot);
^~~~~~~~~~~~~~~~
./link.c: In function ‘ml_modannot’:
./link.c:4487:44: error: passing argument 2 of ‘pdf_set_annot_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_set_annot_contents (state.ctx, pdf, (pdf_annot *) slink->u.annot,
^~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:172:6: note: expected ‘pdf_annot * {aka struct pdf_annot_s *}’ but argument is of type ‘pdf_document * {aka struct pdf_document_s *}’
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
^~~~~~~~~~~~~~~~~~~~~~
./link.c:4487:49: error: passing argument 3 of ‘pdf_set_annot_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
pdf_set_annot_contents (state.ctx, pdf, (pdf_annot *) slink->u.annot,
^
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:172:6: note: expected ‘const char *’ but argument is of type ‘pdf_annot * {aka struct pdf_annot_s *}’
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
^~~~~~~~~~~~~~~~~~~~~~
./link.c:4487:9: error: too many arguments to function ‘pdf_set_annot_contents’
pdf_set_annot_contents (state.ctx, pdf, (pdf_annot *) slink->u.annot,
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/mupdf/pdf.h:23:0,
from ./link.c:48:
/usr/include/mupdf/pdf/annot.h:172:6: note: declared here
void pdf_set_annot_contents(fz_context *ctx, pdf_annot *annot, const char *text);
^~~~~~~~~~~~~~~~~~~~~~
==> ERROR: A failure occurred in build().
Aborting...

bluTaz commented on 2016-12-13 04:50

./link.c: In function ‘mainloop’:
./link.c:1669:13: error: implicit declaration of function ‘fz_set_use_document_css’ [-Wimplicit-function-declaration]
fz_set_use_document_css (state.ctx, usedoccss);
^~~~~~~~~~~~~~~~~~~~~~~
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build llpp-git.

WorMzy commented on 2016-05-17 09:04

Still depends on libgl, build fails without it, as before.

xduugu commented on 2016-05-13 10:57

Sorry, missed your reply @drrossum. Yeah, in the case of llpp, you can just drop it. The same command as in the install file is executed by the hook in /usr/share/libalpm/hooks/update-desktop-database.hook.

So you can remove the "install=" line from the PKGBUILD and "desktop-file-utils" from the depends array.

Alad commented on 2016-05-13 09:55

Misses dependency on mesa (gl.h)

dllu commented on 2016-05-11 18:05

It seems I cannot build the package.

./link.c:46:24: fatal error: mupdf/fitz.h: No such file or directory

It appears the package should now depend on libmupdf as well. However, even after installing libmupdf, I get various compile errors which suggest the llpp package is out of date with respect to the latest version of libmupdf. Can someone look into it?

drrossum commented on 2016-05-10 08:18

I did not have the time to look into that yet. Do I just drop the install file and the desktop-file-utils dependency or are other changes required? Thanks

xduugu commented on 2016-05-07 00:12

The install file can be removed since its functionality is now provided by alpm hooks. The dependency on desktop-file-utils shouldn't be required anymore.

duttondj commented on 2016-04-01 19:42

I get a segfault every time I try to bring up llpp. Probably an upstream issue.

tjaart commented on 2015-12-21 23:16

After upgrading llpp I get the following error when I try to execute the binary:

Fatal error: exception Failure("parse error: Failure(\"unexpected close at top level\")")

Any pointers as to what might cause this?

All comments