Package Details: fbpdf-git r107.6a0d77f-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: 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: 2025-01-24 14:36 (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

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

m040601 commented on 2025-01-24 14:56 (UTC) (edited on 2025-01-24 14:57 (UTC) by m040601)

@xlucn

You might also have interest in adopting these other in the AUR. There are these two other very nice tools by Ali,

https://aur.archlinux.org/packages/fbff-git
https://aur.archlinux.org/packages/fbpad-git

Currently with outdated PKGBUILD's and the AUR maintainer doesnt seem to respond.

m040601 commented on 2025-01-24 14:46 (UTC) (edited on 2025-01-24 14:55 (UTC) by m040601)

@xlucn, wow ! You are fast.

... pushed the solution 
... Hope that's okay.

Tested and confirmed . Everything perfect. Thank you some much again.

xlucn commented on 2025-01-24 14:41 (UTC) (edited on 2025-01-24 14:43 (UTC) by xlucn)

I received the mail of outdate flagging earlier, I might just have pushed the solution 1 min after your comment :)

In it, I explicitly build fbdjvu (just like the fbpdf-poppler-git package). Hope that's okay.

m040601 commented on 2025-01-24 14:35 (UTC)

The PKGBUILD needs some adjustment. After the recent commits,

N 2025-01-24 10:27  fbpdf: take black level as a numerical p
  2025-01-11 07:44  Makefile: build only fbpdf by default
  2025-01-11 05:46  fbpdf: update copyright year
  2025-01-10 17:28  fbpdf: compute text left and right margi
  2025-01-10 16:57  doc.h: remove fbval_t type
  2022-06-24 09:02  fbpdf.1: update and improve the manual p

He recently changed the Makefile,

-all: fbpdf fbdjvu
+all: fbpdf

+The default target is fbpdf; to build the other two, they must be
+explicitly specified.

So. Because the Arch PKGBUILD contains,

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

Expecting to find a built fbdjvu.

It now fails with,

==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'fbdjvu': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: fbpdf-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
fbpdf-git - exit status 4

m040601 commented on 2025-01-10 22:46 (UTC) (edited on 2025-01-24 14:41 (UTC) by m040601)

Just some information, 2025-01-10. To confirm that this tool is still working, very usefull and valuable, and the PKGBUILD very appreciated.

Today after almost 3 years, the developer has made some small git repo updates,

N 2025-01-24 10:27  fbpdf: take black level as a numerical p
  2025-01-11 07:44  Makefile: build only fbpdf by default
  2025-01-11 05:46  fbpdf: update copyright year
  2025-01-10 17:28  fbpdf: compute text left and right margi
  2025-01-10 16:57  doc.h: remove fbval_t type
  2022-06-24 09:02  fbpdf.1: update and improve the manual p

He updated and minor changed all the ".c" c files. I tested the Makefile update and everything seems to work fine.

On Archlinux it seems the Makefile still needs the small patch,

9  -       $(CC) -o $@ $^ $(LDFLAGS) -lmupdf -lmupdf-third -lmupdf-pkcs7
10 +       $(CC) -o $@ $^ $(LDFLAGS) -lmupdf -lm

The PKGBUILD, although, needs some adjustment. Read my other above comment.

Remember that this "fbpdf-git" PKGBUILD uses the "mupdf" backend. Which have some nice things like rotation etc.

LaptopDev commented on 2025-01-06 18:01 (UTC)

For some reason it's not showing any image output in kitty on arch for me:

OS: Arch Linux x86_64 
Host: HP Spectre x360 2-in-1 Laptop 16-f1xxx 
Kernel: 6.6.65-1-lts 
Uptime: 19 hours, 46 mins 
Packages: 1533 (pacman), 21 (flatpak) 
Shell: bash 5.2.37 
Resolution: 3072x1920 
DE: GNOME 47.2 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: kitty 
CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz 
GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics] 
Memory: 6940MiB / 15688MiB

m040601 commented on 2024-09-17 09:17 (UTC)

Yeah. It's working again now. Thanks

I removed the package from my system. And installed it again with makepkg.

xlucn commented on 2024-09-15 01:40 (UTC)

@m04060, can you first try rebuild the package locally (makepkg -f)? It should build against the library that's currently on your system.

m040601 commented on 2024-09-14 22:11 (UTC)

The official Arch package "libmupdf" was updated on September 2024:

Name            : libmupdf
Version         : 1.24.9-1
Description     : Library for Lightweight PDF and XPS viewer
Architecture    : x86_64
URL             : https://mupdf.com/
Licenses        : AGPL-3.0-or-later
Groups          : None
Provides        : None
Depends On      : freetype2  gcc-libs  glibc  gumbo-parser  harfbuzz  jbig2dec  leptonica  libjpeg  openjpeg2  tesseract  zlib
Optional Deps   : None
Required By     : fbpdf-git  zathura-pdf-mupdf
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 50.43 MiB
Packager        : Robin Candau <antiz@archlinux.org>
Build Date      : Fri 30 Aug 2024 05:43:01 PM WEST
Install Date    : Fri 06 Sep 2024 04:30:33 PM WEST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Notice the "24.9" there.

After this, the PKGBUILD "fbpdf-git" stopped working. It looks for a "24.8":

fbpdf-mupdf: error while loading shared libraries: libmupdf.so.24.8: cannot open shared object file: No such file or directory

glyn commented on 2023-11-20 04:19 (UTC)

@xlucn Believe it or not, I hadn't guessed that was the proper way to install fbpdf-git. I naively assumed that everything in AUR was installable in the same way. Thank you.