Package Details: qpdfview-bzr 2070-1

Git Clone URL: https://aur.archlinux.org/qpdfview-bzr.git (read-only, click to copy)
Package Base: qpdfview-bzr
Description: A tabbed PDF viewer using the poppler library. (development version)
Upstream URL: https://launchpad.net/qpdfview
Licenses: GPL2
Conflicts: qpdfview
Submitter: adamreichold
Maintainer: adamreichold
Last Packager: adamreichold
Votes: 8
Popularity: 0.000006
First Submitted: 2012-02-07 20:39 (UTC)
Last Updated: 2018-05-06 13:58 (UTC)

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

adamreichold commented on 2022-09-08 10:12 (UTC)

@bryango I do not understand why this should be added here? I am not referring to any Git repositories in this PKGBUILD so why is the optional Git support of Breezy involved? Could this rather be an issue in the Breezy package which imports the package unconditionally?

bryango commented on 2022-09-08 08:33 (UTC)

It seems that python-dulwich should be added to the makedepends array.

Similar issue & fix: https://aur.archlinux.org/packages/pangoterm-bzr#comment-868532

Marcouney commented on 2018-09-25 20:19 (UTC)

@adamreichold Thank you for your help.

adamreichold commented on 2018-09-25 18:33 (UTC)

@Marcouney

You probably will have to keep doing this, i.e. adding the missing libraries (since MuPDF is linked as a static library and hence one has to do this manually (some MuPDF builds contain all dependencies, some do not)).

"readelf -s /usr/lib64/libopenjp2.so | grep opj_stream_default_create" tells that this time it is missing libopenjp2.so. (You can search for arbitrary symbols using for example "find -L /usr/lib64 -type f -name "*.so" -print0 | xargs -0 -n1 -P4 -i -- /bin/sh -c 'readelf -s {} | grep -H --label={} opj_stream_default_create'".)

Marcouney commented on 2018-09-25 10:40 (UTC) (edited on 2018-09-25 13:56 (UTC) by Marcouney)

@adamreichold Thank you; still have an error:

libqpdfview_fitz.so: undefined symbol: opj_stream_default_create

I fixed it by linking -lopenjp2 and -ljbig2dec.

adamreichold commented on 2018-09-25 05:57 (UTC)

@Marcouney

libqpdfview_fitz.so: undefined symbol: jpeg_abort

seems to be the problem, i.e. you need to link -ljpeg, try setting

qmake "CONFIG+=with_fitz" "FITZ_PLUGIN_LIBS=-lmupdf -lmupdfthird -ljpeg" qpdfview.pro

when building qpdfview to explicitly add the missing dependency.

Marcouney commented on 2018-09-24 20:47 (UTC)

When trying to open a CBZ file — qpdfview was successfully built with the option with_fitz —, the following critical error is thrown: “Could not load plug-in for file type 'CBZ'!”; these lines are printed in the console:

Could not load local plug-in: "/usr/bin/libqpdfview_fitz.so"
"The shared library was not found."
Could not load global plug-in: "/usr/lib/qpdfview/libqpdfview_fitz.so"
"Cannot load library /usr/lib/qpdfview/libqpdfview_fitz.so: (/usr/lib/qpdfview/libqpdfview_fitz.so: undefined symbol: jpeg_abort)"

How can I fix it?

keren_sky commented on 2018-05-06 14:03 (UTC)

@adamreichold thank you for the quick reply. Guess I'll edit the PKGBUILD accordingly. Cheers!

adamreichold commented on 2018-05-06 12:51 (UTC)

@keren_sky If you want to use the Fitz plug-in, c.f. https://bugs.launchpad.net/qpdfview/+bug/1762445

adamreichold commented on 2018-05-06 12:50 (UTC)

@keren_sky The Fitz plug-in is incompatible with the current MuPDF version. As a workaround, you either remove MuPDF from your installation or remove lines 45 to 47 from the PKGBUILD. I guess I will remove them from there when I find the time...