2024-11-24 14:39 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002473NetSurfGTK-specificpublic2023-08-14 03:21
ReporterPICCORO Lenz McKAY 
Assigned To 
SeveritycrashReproducibilitysometimes 
StatusacknowledgedResolutionopen 
PlatformLinuxOSDebianOS Version6
Product Version3.5 
Target VersionFixed in Version 
Summary0002473: error building with libharu 2.2.1 : implicit declaration haru_nsfont_apply_style
Descriptionwhen build enabling libharu i got an error building with libharu 2.2.1 : implicit declaration haru_nsfont_apply_style, got output in console of this error:


 COMPILE: desktop/font_haru.c
desktop/font_haru.c:43:40: error: desktop/save_pdf/font_haru.h: No existe el fichero o el directorio
desktop/font_haru.c: En la función ‘haru_nsfont_width’:
desktop/font_haru.c:139: aviso: declaración implícita de la función ‘haru_nsfont_apply_style’
desktop/font_haru.c:139: aviso: declaración externa anidada de ‘haru_nsfont_apply_style’
desktop/font_haru.c: En el nivel principal:
desktop/font_haru.c:280: aviso: no hay un prototipo previo para ‘haru_nsfont_apply_style’
desktop/font_haru.c:280: error: tipos en conflicto para ‘haru_nsfont_apply_style’
desktop/font_haru.c:139: nota: la declaración implícita previa de ‘haru_nsfont_apply_style’ estaba aquí
desktop/font_haru.c:367: aviso: no hay un prototipo previo para ‘haru_nsfont_set_scale’
make[3]: *** [build-Linux-gtk/desktop_font_haru.o] Error 1
make[3]: se sale del directorio `/home/general/Devel/deb/netsurf-3.5/netsurf'
make[2]: *** [/home/general/Devel/deb/netsurf-3.5/inst-gtk/build-stamp] Error 2
make[2]: se sale del directorio `/home/general/Devel/deb/netsurf-3.5'
dh_auto_build: make -j1 PREFIX=/usr TARGET=gtk returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: se sale del directorio `/home/general/Devel/deb/netsurf-3.5'
make: *** [build] Error 2
Additional Informationusing libharu 2.2.1 with some patches from github libharu repo
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
Vincent Sanders

~0001473

Vincent Sanders (administrator)

building with PDF export is currently broken and libharu is unfortunately unmaintained and missing several important bugfixes necessary to use it with modern NetSurf.

I will update the Documentation to reflect this. Thanks for the report
Michael Orlitzky

~0002424

Michael Orlitzky (reporter)

Haru lives once more: https://github.com/libharu/libharu

The interface is bit-rotted of course, but without TOO much trouble, I was able to get it to build again.
+Notes

-Issue History
Date Modified Username Field Change
2016-09-23 05:28 PICCORO Lenz McKAY New Issue
2016-12-31 12:48 Vincent Sanders Note Added: 0001473
2016-12-31 12:48 Vincent Sanders Status new => acknowledged
2023-08-14 03:21 Michael Orlitzky Note Added: 0002424
+Issue History