Bug 1703849 - [pango] pango-view fails for backend ft2 because of missing dependency on ImageMagick
Summary: [pango] pango-view fails for backend ft2 because of missing dependency on Ima...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pango
Version: 29
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-04-28 19:30 UTC by Joachim Frieben
Modified: 2019-08-13 19:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Joachim Frieben 2019-04-28 19:30:14 UTC
Description of problem:
Using pango-view with backend ft2 in a current Fedora 29 Workstation installation fails because pango-view tries to launch the display utility from ImageMagick which has not been pulled in as a dependency.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Launch GNOME session of a current Fedora 29 Workstation installation.
2. Run 'pango-view --backend=ft2 -t PANGO'.

Actual results:
Utility pango-view aborts with the error message:
 "pango-view: When running ImageMagick 'display' command: Failed to execute child process “display” (No such file or directory)"

Expected results:
Utility pango-view displays the sample text.

Additional info:
- Installing package ImageMagick prior to running pango-view ensures correct execution. Therefore, adding ImageMagick as a requirement of package pango solves this issue.
- It is probably preferable to patch pango-view such that it calls "gm display" from package GraphicsMagick and to pull in the latter instead of ImageMagick.

Comment 1 Peng Wu 2019-04-30 06:38:52 UTC
Personally I think the pango package doesn't need to require ImageMagick or GraphicsMagick.
It seems only the ft2 backend will use display, and print warning if not installed.

IIRC, GraphicsMagick is better maintained for security issues.

Comment 2 Matthias Clasen 2019-08-13 19:06:36 UTC
from the upstream pango perspective: not a bug

Note You need to log in before you can comment on or make changes to this bug.