0.4.18 fails to build with_fitz

Bug #1879051 reported by ernsteiswuerfel on 2020-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Undecided
Unassigned

Bug Description

qmake CONFIG+="with_fitz" qpdfview.pro
make
[...]
In file included from /usr/include/mupdf/fitz/pixmap.h:8,
                 from /usr/include/mupdf/fitz/image.h:7,
                 from /usr/include/mupdf/fitz/device.h:7,
                 from /usr/include/mupdf/fitz/display-list.h:7,
                 from sources/fitzmodel.cpp:35:
/usr/include/mupdf/fitz/separation.h:39:80: error: 'fz_colorspace' has not been declared
   39 | void fz_add_separation(fz_context *ctx, fz_separations *sep, const char *name, fz_colorspace *cs, int cs_channel);
      | ^~~~~~~~~~~~~
/usr/include/mupdf/fitz/separation.h:54:52: error: 'fz_colorspace' has not been declared
   54 | void fz_convert_separation_colors(fz_context *ctx, fz_colorspace *src_cs, const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params);
      | ^~~~~~~~~~~~~
/usr/include/mupdf/fitz/separation.h:54:125: error: 'fz_colorspace' has not been declared
   54 | void fz_convert_separation_colors(fz_context *ctx, fz_colorspace *src_cs, const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params);
      | ^~~~~~~~~~~~~
In file included from /usr/include/mupdf/fitz/pixmap.h:8,
                 from /usr/include/mupdf/fitz/image.h:7,
                 from /usr/include/mupdf/fitz/device.h:7,
                 from /usr/include/mupdf/fitz/display-list.h:7,
                 from sources/fitzmodel.cpp:35:
/usr/include/mupdf/fitz/separation.h:54:166: error: 'fz_color_params' has not been declared
[...]

Installed mupdf on this system is 1.16.1.
This is downstream Gentoo Bug: https://bugs.gentoo.org/697720

Adam Reichold (adamreichold) wrote :

Hello,

this is already fixed on trunk which should be build fine with MuPDF 1.16.1.

Best regards,
Adam

Changed in qpdfview:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers