Package Details: fbpdf-git r94.dfe9f00-1

Git Clone URL: https://aur.archlinux.org/fbpdf-git.git (read-only, click to copy)
Package Base: fbpdf-git
Description: A small framebuffer pdf viewer, based on MuPDF.
Upstream URL: http://litcave.rudi.ir/
Licenses: ISC
Submitter: Sara
Maintainer: aksr
Last Packager: aksr
Votes: 42
Popularity: 0.000001
First Submitted: 2011-02-08 00:46
Last Updated: 2018-10-19 07:34

Latest Comments

1 2 3 4 5 6 ... Next › Last »

m040601 commented on 2020-07-27 19:48

A small reminder to the maintainers of this package. Keep an eye on, for possible or future canonical git repo changes.

This developer, who makes all these very interesting packages, is called Ali Gholami Rudi and his home page is http://litcave.rudi.ir/

He publishes his work in 2 different git repos, which until now seem to be in sync:

This AUR package is pulling from repo.or.cz. But on his homepage he points the links to github

m040601 commented on 2020-07-27 19:29

Thanks for this, very usefull AUR package.

There is an official Arch package called fbida, https://www.archlinux.org/packages/community/x86_64/fbida/

It installs these binaries,

$ pacman -Fl fbida | grep bin

fbida usr/bin/
fbida usr/bin/exiftran
fbida usr/bin/fbgs
fbida usr/bin/fbi
fbida usr/bin/fbpdf
fbida usr/bin/ida

and these man pages:

$ pacman -Fl fbida | grep man

fbida usr/share/man/
fbida usr/share/man/man1/
fbida usr/share/man/man1/exiftran.1.gz
fbida usr/share/man/man1/fbgs.1.gz
fbida usr/share/man/man1/fbi.1.gz
fbida usr/share/man/man1/ida.1.gz

Unfortunately the fbida developer also stuffs a binary called "fbpdf" in the fbida package. He doesnt even lists it , https://www.kraxel.org/blog/linux/. And worst, doesnt include a man page for it.

You did the right thing for fbpdf-git, and chose the binary name to be "fbpdf2" so not to conflict with fbida's "fbpdf"

install -Dm755 fbpdf2 $pkgdir/usr/bin/fbpdf2

Please also change the man page name to be fbpdf2.

  install -Dm644 $srcdir/fbpdf.1 $pkgdir/usr/share/man/man1/fbpdf2.1

This will avoid this confusing situation I ran into.

  • A user installs both, fbida and fbpdf-git.
  • See an executable named "fbpdf"
  • Want to see its man page
  • Type man fbpdf.
  • Do not get "fbpdf"'s man page, but get instead "fbpdf2" man page.

weznon commented on 2016-12-04 01:25

numbleroot, mujs needs to be installed from the aur as well, it is available at https://aur.archlinux.org/packages/mujs-git/

numbleroot commented on 2016-10-25 22:02

Good evening,

currently when I try to install fbpdf-git via the pacaur wrapper it fails with

$ pacaur -S fbpdf-git
:: Package(s) fbpdf-git not found in repositories, trying AUR...
:: resolving dependencies...
:: no results found for mujs

Anything you can do about this?

Thanks in advance!

dreieck commented on 2016-09-24 11:30

Fails to 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 -lmujs -lfreetype \
-ljbig2dec -ljpeg -lz -lopenjp2 -lm -lcrypto
/sbin/ld: cannot find -lmujs
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: fbpdf] Error 1

== >% ==

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.