Package Details: fbpdf-git 0.r82.58aac97-1

Git Clone URL: https://aur.archlinux.org/fbpdf-git.git (read-only)
Package Base: fbpdf-git
Description: A small framebuffer pdf viewer, based on MuPDF.
Upstream URL: http://litcave.rudi.ir/
Licenses: custom:BSD
Submitter: Sara
Maintainer: aksr
Last Packager: aksr
Votes: 37
Popularity: 0.117507
First Submitted: 2011-02-08 00:46
Last Updated: 2015-06-28 07:02

Required by (0)

Sources (3)

Latest Comments

aksr commented on 2016-03-23 06:44

dr.fx: fbpdf2 requires poppler. mupdf and openjpeg2 atleast are needed. Other options are for fbpdf2(poppler) and fbdjvu(djvulibre). Anyway, it should be clearer. I'll fix it. ;)

dr.fx commented on 2016-02-24 22:42

Why is Poppler both a required and optional dependency? And what is Poppler used for? I tried running fbpdf after removing Poppler from my system (using pacman's dd option to ignore dependencies) and it still worked fine as far as that I could see.

radonballoon commented on 2015-02-17 20:51

For those who can't compile due to error idomeneo1 commented about: download tarball and makepkg.

Alternatively you can edit the makefile and change
-lopenjpeg
to
-lopenjp2

peresmeshnik commented on 2014-05-24 12:32

Solved by pacman -Syu.

peresmeshnik commented on 2014-05-23 14:17

Hello.

I get an error after makepkg:

==> Starting build...
Cloning into '/home/alex/builds/fbpdf-git/src/fbpdf-build'...
done.
cc -c -Wall -O2 -I./include fbpdf.c
cc -c -Wall -O2 -I./include mupdf.c
mupdf.c: In function ‘doc_open’:
mupdf.c:68:2: warning: implicit declaration of function ‘fz_register_document_handlers’ [-Wimplicit-function-declaration]
fz_register_document_handlers(doc->ctx);
^
cc -c -Wall -O2 -I./include draw.c
cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmujs -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjp2 -lm -lcrypto
/usr/bin/ld: cannot find -lmujs
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1
==> ERROR: A failure occurred in build().
Aborting...

When I substitute -lmujs for -lmupdf-js-none in src/fbpdf-build/Makefile and do make all I get this error:

cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmupdf-js-none -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjp2 -lm -lcrypto
mupdf.o: In function `doc_open':
mupdf.c:(.text+0x2e9): undefined reference to `fz_register_document_handlers'
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1

mupdf version is 1.3-8.

Thanks.

jeaye commented on 2014-03-28 20:01

Had to install community/openjpeg2, which is not marked a dependency.

idomeneo1 commented on 2014-01-24 21:09

I have openjpeg2, and it's not working

(.text+0x873): undefined reference to `opj_destroy_codec'
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1

ovmjm commented on 2013-11-23 11:29

It seems the package now requires openjpeg2 to build with the -lopenjp2 flag instead of -lopenjpeg

idomeneo1 commented on 2013-11-22 20:58

Hi, I'm getting this in makepkg. Am I missing something?

==> Starting build()...
cc -c -Wall -O2 -I./include fbpdf.c
cc -c -Wall -O2 -I./include mupdf.c
cc -c -Wall -O2 -I./include draw.c
cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmupdf-js-none -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjpeg -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x229): undefined reference to `opj_set_info_handler'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x23f): undefined reference to `opj_set_warning_handler'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x255): undefined reference to `opj_set_error_handler'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x27c): undefined reference to `opj_stream_default_create'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2b0): undefined reference to `opj_stream_set_read_function'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2c2): undefined reference to `opj_stream_set_skip_function'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2d4): undefined reference to `opj_stream_set_seek_function'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2e7): undefined reference to `opj_stream_set_user_data'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x2ff): undefined reference to `opj_stream_set_user_data_length'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x316): undefined reference to `opj_read_header'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x345): undefined reference to `opj_stream_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x34d): undefined reference to `opj_destroy_codec'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x7f8): undefined reference to `opj_stream_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x800): undefined reference to `opj_destroy_codec'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x86b): undefined reference to `opj_stream_destroy'
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libmupdf.a(load-jpx.o): In function `fz_load_jpx':
(.text+0x873): undefined reference to `opj_destroy_codec'
collect2: error: ld returned 1 exit status
Makefile:14: recipe for target 'fbpdf' failed
make: *** [fbpdf] Error 1
==> ERROR: A failure occurred in build().
Aborting...

ismaelvc commented on 2012-11-04 23:51

I have aproblem when trying to start fbpdf, look here: https://bbs.archlinux.org/viewtopic.php?id=152283

Has this happened to any of you? I will try to get in touch with the developer, thanks in advance!

All comments