libharu is going to be updated with soname bump in the near future. This is a
second attempt [1].
There is an ABI change AND API change: HPDF_Page_SetDash() and
HPDF_Page_Create3DAnnot().
Syntax change.
1. HPDF_Page_Create3DAnnot()
was: HPDF_Page page, HPDF_Rect rect, HPDF_U3D u3d
new: HPDF_Page page, HPDF_Rect rect, HPDF_BOOL tb, HPDF_BOOL np, HPDF_U3D u3d,
HPDF_Image ap
where:
tb - enable visibility of ToolBar
np - enable visibility of Navigation Panel
ap - not described, referenced to pointer where 'appearance' should be
stored, but could be NULL so internal 'HPDF_Dict stream' will be used instead.
2. HPDF_Page_SetDash()
was: HPDF_Page page, const HPDF_UINT16 *dash_ptn, HPDF_UINT num_param,
HPDF_UINT phase
new: HPDF_Page page, const HPDF_REAL *dash_ptn, HPDF_UINT num_param,
HPDF_REAL phase
so it's 'dash_ptn' and 'phase'
gcc will throw error with signed-unsigned convertion if not fixed. Error could
be disabled with corresponding flag (but obviously should not).
Also hpdf.h does not include hpdf_version.h now. There is an issue opened in
libharu apstream [2] which may be resolved.
Affected packages:
vtk
saga
mathgl
EMBOSS
plplot
perl-PDF-Haru
blender
Looks like blender and EMBOSS does not use those API and could be just rebuilt.
Others rely on it.
I haven't permissions of proven packager so can't rebuild them (except mathgl
where I'm comaintainer).
--
Dmitrij S. Kryzhevich
[1]
https://lists.fedoraproject.org/archives/list/[email protected]/thread/ZV4NIK4TRWYM666B46YHQ2HAMJ6RDS27/
[2] https://github.com/libharu/libharu/issues/246
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue