Package Details: pdftxt 0.6-2

Git Clone URL: https://aur.archlinux.org/pdftxt.git (read-only)
Package Base: pdftxt
Description: A simple wrapper around mupdf library to extract text from pdf files.
Upstream URL: http://litcave.rudi.ir
Licenses: custom:BSD
Submitter: Sara
Maintainer: aksr
Last Packager: aksr
Votes: 4
Popularity: 0.460951
First Submitted: 2012-07-10 19:53
Last Updated: 2016-09-29 13:40

Required by (0)

Sources (3)

Latest Comments

aksr commented on 2016-09-29 14:02

TrialnError: Fixed, thanks.

TrialnError commented on 2016-09-29 10:33

Still needs a look at the depends line.
Without libmupdf installed this will fail to compile

dreieck commented on 2016-09-24 11:29

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

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