Package Details: fbpdf-git r102.6276360-3

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: https://github.com/aligrudi/fbpdf
Licenses: ISC
Conflicts: fbpdf
Provides: fbpdf
Submitter: Sara
Maintainer: xlucn
Last Packager: xlucn
Votes: 43
Popularity: 0.000000
First Submitted: 2011-02-08 00:46 (UTC)
Last Updated: 2023-11-18 18:26 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

xlucn commented on 2022-06-24 05:46 (UTC) (edited on 2023-11-20 08:36 (UTC) by xlucn)

I updated the package. Apart from the fixes (please test it), most notably I removed the poppler-based fbpdf2, and renamed "fbpdf" as "fbpdf-mupdf" instead of "neatfbpdf", still to avoid conflict with "fbida" package. Those are just my own decisions, so they can be changed again.

If you want poppler-based variant, see https://aur.archlinux.org/packages/fbpdf-poppler-git.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »

xlucn commented on 2023-11-18 17:51 (UTC)

Are you using an AUR helper? The package is still here if that's what you suspect.

However, I noticed that the build fails currently, probably due to libmupdf providing a shared library as a change recently. I will try submit a patch here, please try installing it again.

P.S. Now that the package built with shared mupdf library is also small in size, I will merge mupdf-based and poppler-based builds back to one package. After that poppler needs to be installed, I hope that's OK for everyone.

glyn commented on 2023-11-18 16:56 (UTC)

Is this still available? I tried to install it using pacman and it was not found.

xlucn commented on 2022-06-24 05:46 (UTC) (edited on 2023-11-20 08:36 (UTC) by xlucn)

I updated the package. Apart from the fixes (please test it), most notably I removed the poppler-based fbpdf2, and renamed "fbpdf" as "fbpdf-mupdf" instead of "neatfbpdf", still to avoid conflict with "fbida" package. Those are just my own decisions, so they can be changed again.

If you want poppler-based variant, see https://aur.archlinux.org/packages/fbpdf-poppler-git.

m040601 commented on 2021-09-20 15:38 (UTC)

I tested building this program without this PKGBUILD

git clone https://github.com/aligrudi/fbpdf

I didnt do any edits to the Makefile. No "sed" this, nor "patch" that.

The Makefile has these options :

    $ make
all        clean      fbdjvu     fbpdf      fbpdf2     poppler.o

As the developer states in the README:

....  There are three make targets: fbpdf uses mupdf library for rendering pdf,
fbpdf2 uses poppler for the same purpose ...

Providing you have all the dependencies needed, both make fbpdf2 and make fbdjvu, built sucessfuly, and both programs work as expected.

make fbpdf, however, fails with:

    $ make fbpdf
cc -o fbpdf fbpdf.o mupdf.o draw.o -L./lib -lmupdf -lmupdf-third -lmupdf-pkcs7 -lmupdf-threads -lm
/usr/bin/ld: cannot find -lmupdf-pkcs7
/usr/bin/ld: cannot find -lmupdf-threads
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: fbpdf] Error 1

m040601 commented on 2021-09-10 05:38 (UTC) (edited on 2021-09-10 05:39 (UTC) by m040601)

Anyone willing to take over this PKGBUILD ?

It currently fails to build, and the maintainer hasnt replied to any comment in the last 3 months.

 Maintainer:    aksr
 Last Updated:   2018-10-19 07:34

m040601 commented on 2021-05-24 19:02 (UTC) (edited on 2021-09-20 15:35 (UTC) by m040601)

This package currently fails to build with:

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 -lharfbuzz -lmupdf -lmupdf-third -lfreetype -lharfbuzz -lz -ljbig2dec -ljpeg -lopenjp2 -lm
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libmupdf.a(xml.o): in function `xml_from_gumbo':
(.text.xml_from_gumbo+0xc2): undefined reference to `gumbo_normalized_tagname'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libmupdf.a(xml.o): in function `fz_parse_xml_from_html5':
(.text.fz_parse_xml_from_html5+0x124): undefined reference to `gumbo_destroy_output'
/usr/bin/ld: (.text.fz_parse_xml_from_html5+0x23a): undefined reference to `gumbo_parse_with_options'
collect2: error: ld returned 1 exit status
make: *** [Makefile:14: fbpdf] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: fbpdf-git

m040601 commented on 2021-05-24 18:57 (UTC)

A "pinned comment" should be posted on the top of this comments, to warn users of the choices made by the PKGBUILD maintainer:

49   install -Dm755 fbpdf $pkgdir/usr/bin/neatfbpdf
50   install -Dm755 fbpdf2 $pkgdir/usr/bin/fbpdf2
51   install -Dm755 fbdjvu $pkgdir/usr/bin/fbdjvu
52   install -Dm644 README $pkgdir/usr/share/doc/$pkgname/README
53   install -Dm644 $srcdir/fbpdf.1 $pkgdir/usr/share/man/man1/fbpdf.1

That is this package, runs not as "fbpdf" but as "neatfbpdf" and "fbpdf2". The man page is "fbpdf".

m040601 commented on 2021-05-24 18:52 (UTC) (edited on 2021-05-24 18:57 (UTC) by m040601)

Actually the "Upstreamm url" should be changed from

http://litcave.rudi.ir/

to

https://github.com/aligrudi/fbpdf

That is what the developer himself, has on his personal homepage.

micwoj92 commented on 2021-04-04 22:17 (UTC)

Hello, could you update homepage to https?