Package Details: qpdfview-bzr 2070-1

Git Clone URL: https://aur.archlinux.org/qpdfview-bzr.git (read-only)
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: 6
Popularity: 0.000056
First Submitted: 2012-02-07 20:39
Last Updated: 2018-05-06 13:58

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

Marcouney commented on 2018-09-25 20:19

@adamreichold Thank you for your help.

adamreichold commented on 2018-09-25 18:33

@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

@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

@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

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

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

adamreichold commented on 2018-05-06 12:51

@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

@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...

keren_sky commented on 2018-05-06 12:34

Seeing this and compile fails:

In file included from /usr/include/mupdf/fitz/device.h:7:0, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:33: /usr/include/mupdf/fitz/colorspace.h:201:85: error: ‘fz_stream’ has not been declared fz_colorspace fz_new_icc_colorspace_from_stream(fz_context ctx, const char name, fz_stream in); ^~~~~~~~~ sources/fitzmodel.cpp: In function ‘qpdfview::Model::Outline {anonymous}::loadOutline(fz_outline*)’: sources/fitzmodel.cpp:58:18: error: ‘fz_outline {aka struct fz_outline_s}’ has no member named ‘dest’; did you mean ‘next’? if(item->dest.kind != FZ_LINK_NONE)

DungeonMaster commented on 2016-12-21 19:11

@adamreichold

I removed qpdfview-bzr, replaced the qt5 poppler with the git version in the AUR, had qpdfview-bzr build again and.. it works so *shrug* thank you for the assist.