Package Details: llpp 24-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: 71
Popularity: 0.310518
First Submitted: 2012-06-24 16:59
Last Updated: 2017-04-14 05:38

Dependencies (35)

Required by (0)

Sources (1)

Latest Comments

OdinEidolon commented on 2017-04-06 13:24

==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'build/llpp': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

rperce commented on 2017-03-27 07:20

No longer builds from source on my box. Fiddling with build.sh proved unfruitful. Log follows:

==> Making package: llpp 23-1 (Mon Mar 27 02:19:56 CDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found 6572184.tar.gz
==> Validating source files with md5sums...
6572184.tar.gz ... Passed
==> Validating source files with sha1sums...
6572184.tar.gz ... Passed
==> Validating source files with sha256sums...
6572184.tar.gz ... Passed
==> Extracting sources...
-> Extracting 6572184.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ ocamlc -ccopt '-fPIC -Wno-pointer-sign -O2 -o build//lablGL/ml_raw.o' -c ./lablGL/ml_raw.c
+ ocamlc -ccopt '-fPIC -Wno-pointer-sign -O2 -o build//lablGL/ml_gl.o' -c ./lablGL/ml_gl.c
+ ocamlc -ccopt '-fPIC -Wno-pointer-sign -O2 -o build//lablGL/ml_glarray.o' -c ./lablGL/ml_glarray.c
+ ocamlc -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
+ /bin/sh ./mkhelp.sh ./KEYS unknown
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//keys.cmo ./keys.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/gl.cmo ./lablGL/gl.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/raw.cmo ./lablGL/raw.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glPix.cmo ./lablGL/glPix.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glDraw.cmo ./lablGL/glDraw.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glTex.cmi ./lablGL/glTex.mli
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glMisc.cmi ./lablGL/glMisc.mli
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glMat.cmo ./lablGL/glMat.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glMisc.cmo ./lablGL/glMisc.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glFunc.cmo ./lablGL/glFunc.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glTex.cmo ./lablGL/glTex.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glArray.cmo ./lablGL/glArray.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -o build//lablGL/glClear.cmo ./lablGL/glClear.ml
+ ocamlc -c -o build//help.cmo build//help.ml
+ ocamlc -c -warn-error +a -w +a -g -safe-string -o build//utils.cmo ./utils.ml
+ ocamlc -c -warn-error +a -w +a -g -safe-string -I build/ -o build//parser.cmo ./parser.ml
+ ocamlc -c -warn-error +a -w +a -g -safe-string -I build/ -o build//wsi.cmi ./wsi.mli
+ ocamlc -c -I ./lablGL -I build//lablGL -I build/ -o build//config.cmo ./config.ml
+ ocamlc -c -I ./lablGL -I build//lablGL -I build/ -o build//main.cmo ./main.ml
+ ocamlc -c -warn-error +a -w +a -g -safe-string -I build/ -o build//wsi.cmo ./wsi.ml
+ ocamlc -ccopt -shared -g -custom -I lablGL -o build//llpp unix.cma str.cma build//help.cmo build//lablGL/raw.cmo build//utils.cmo build//parser.cmo build//lablGL/glMisc.cmo build//wsi.cmo build//lablGL/gl.cmo build//lablGL/glMat.cmo build//lablGL/glFunc.cmo build//lablGL/glClear.cmo build//lablGL/glPix.cmo build//lablGL/glTex.cmo build//lablGL/glDraw.cmo build//config.cmo build//lablGL/glArray.cmo build//main.cmo build//link.o -cclib '-lGL -lX11 -lmupdf -lmupdfthird -lz -lfreetype -ljpeg -ljbig2dec -lopenjp2 -lpthread -lcrypto -lharfbuzz build//lablGL/ml_gl.o build//lablGL/ml_glarray.o build//lablGL/ml_raw.o'
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(misc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(stacks.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(startup_aux.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(freelist.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(major_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(minor_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(memory.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(alloc.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(roots.o): relocation R_X86_64_32 against symbol `caml_oldify_one' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(globroots.o): relocation R_X86_64_32 against symbol `caml_global_roots' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(fail.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(signals.o): relocation R_X86_64_32S against undefined symbol `caml_pending_signals' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(signals_byt.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(printexc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(backtrace_prim.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(compare.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(ints.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(floats.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(str.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(array.o): relocation R_X86_64_32 against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(io.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(extern.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(intern.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(hash.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(sys.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(meta.o): relocation R_X86_64_32 against undefined symbol `caml_code_fragments_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(parsing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(gc_ctrl.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(terminfo.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(obj.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(lexing.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(callback.o): relocation R_X86_64_32S against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(debugger.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(weak.o): relocation R_X86_64_32 against symbol `caml_ephe_ref_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(compact.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(custom.o): relocation R_X86_64_32 against symbol `caml_custom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(dynlink.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(spacetime.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(interp.o): relocation R_X86_64_32 against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(fix_code.o): relocation R_X86_64_32 against undefined symbol `caml_code_fragments_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
File "_none_", line 1:
Error: Error while building custom runtime system
==> ERROR: A failure occurred in build().
Aborting...

NoSuck commented on 2017-03-12 15:54

This package was the impetus for a diatribe on AUR security that I will probably regret posting.

https://nosuck.org/2017/03/13/verification-in-aur-land-is-security-theater/

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

All comments