[Bug 1999764] [NEW] Fix build for Poppler 22.12 transition

Launchpad Bug Tracker 1999764 at bugs.launchpad.net
Thu Dec 15 13:11:07 UTC 2022


You have been subscribed to a public bug by Nathan Teodosio (nteodosio):

Inkscape won't build with Poppler >=22.09 because of calls such as

    state->getLineDash(&dash_pattern, &dash_length, &dash_start);

Poppler's getLineDash API changed.

The attached patch fixes the compilation, nonetheless the package to
build
(https://launchpad.net/~nteodosio/+archive/ubuntu/poppler/+build/24938248)
because of a failed Pango test:

--->
304/307 Test #304: render_text-glyphs-combining ........................................***Failed    1.14 sec
Failed to get connection
** (inkscape:19505): CRITICAL **: 18:49:52.468: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (inkscape:19505): CRITICAL **: 18:49:52.468: dbus_g_proxy_call:
assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (inkscape:19505): CRITICAL **: 18:49:52.468: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
end_font_face_cb: font face rule limited support.
  font-family : 'Noto Sans';
  src : url(fonts/NotoSans-Regular.ttf)
end_font_face_cb: Added font: /<<PKGBUILDDIR>>/testfiles/rendering_tests/fonts/NotoSans-Regular.ttf
Background RRGGBBAA: ffffff00
Area 0:0:600:600 exported to 600 x 600 pixels (96 dpi)
2
text-glyphs-combining FAILED
Failed to get connection
** (inkscape:19519): CRITICAL **: 18:49:52.688: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (inkscape:19519): CRITICAL **: 18:49:52.688: dbus_g_proxy_call:
assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (inkscape:19519): CRITICAL **: 18:49:52.688: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
end_font_face_cb: font face rule limited support.
  font-family : 'Noto Sans';
  src : url(fonts/NotoSans-Regular.ttf)
end_font_face_cb: Added font: /<<PKGBUILDDIR>>/testfiles/rendering_tests/fonts/NotoSans-Regular.ttf
Background RRGGBBAA: ffffff00
Area 0:0:600:600 exported to 2400 x 2400 pixels (384 dpi)
text-glyphs-combining-large FAILED
<---

** Affects: inkscape (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
Fix build for Poppler 22.12 transition
https://bugs.launchpad.net/bugs/1999764
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list