Package Details: pdftxt 0.7-6

Git Clone URL: https://aur.archlinux.org/pdftxt.git (read-only, click to copy)
Package Base: pdftxt
Description: Simple wrapper around libmupdf to extract text from PDF files
Upstream URL: https://litcave.rudi.ir
Licenses: BSD
Submitter: Sara
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 6
Popularity: 0.000054
First Submitted: 2012-07-10 19:53 (UTC)
Last Updated: 2023-09-30 03:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

dreieck commented on 2016-09-24 11:29 (UTC)

Fails to build: == %< == cc -c -Wall -O2 -I./include pdftxt.c pdftxt.c:15:26: error: unknown type name ‘fz_text_page’ static void extract_page(fz_text_page *pg, int pnum) ^~~~~~~~~~~~ pdftxt.c: In function ‘extract’: pdftxt.c:47:2: error: unknown type name ‘fz_text_sheet’ fz_text_sheet *sheet; ^~~~~~~~~~~~~ pdftxt.c:48:2: error: unknown type name ‘fz_text_page’ fz_text_page *text; ^~~~~~~~~~~~ == >% ==

TrialnError commented on 2016-09-10 21:58 (UTC) (edited on 2016-09-10 22:08 (UTC) by TrialnError)

Since the package got split, the depends aren't satisfied with mupdf. The Header files needed for compilation got moved to the libmupdf package. Dunno if those deps can be swapped or if the mupdf is still necessary. Edit: Oh, and some comments on the PKGBUILD itself. Empty variables should be deleted, and one array with checksums is more than enough. Edit2: Patching is necessary. It fails on unknown datatype fz_text_page and fz_text_sheet