FS#52201 - [gimp] please add poppler-glib as mandatory dependency in order to avoid error message

Attached to Project: Arch Linux
Opened by patrick (potomac) - Sunday, 18 December 2016, 17:11 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 19 December 2016, 00:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
currently in gimp package "poppler-glib" is only an optional dependency,

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gimp

if the user doesn't install poppler-glip package then an error message will occur at start of gimp in the console :

/usr/lib/gimp/2.0/plug-ins/file-pdf-load: error while loading shared libraries: libpoppler-glib.so.8: cannot open shared object file: No such file or directory

pdf support seems to be built in gimp package, so the poppler-glib package should a mandatory dependency, not an optional dependency

Additional info:
* package version(s) gimp 2.8.18-3
* config and/or log files etc.


Steps to reproduce:
- install gimp
- run gimp in console
- you will see an error message "error while loading shared libraries: libpoppler-glib.so.8: cannot open shared object file: No such file or directory"
- it's because the gimp package has been built with pdf support which requires the poppler-glib package
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 19 December 2016, 00:01 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Sunday, 18 December 2016, 22:45 GMT
Does the error message cause any problems? If not, optional is correct.
Comment by patrick (potomac) - Sunday, 18 December 2016, 23:40 GMT
yes the missing lib "poppler-glib" will cause a problem in gimp when the user wants to open a pdf file with gimp, an error message from gimp :

"Plug-in crashed: "file-pdf-load"
(/usr/lib/gimp/2.0/plug-ins/file-pdf-load)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side."

I think the archlinux packager of gimp has built gimp with the file-pdf-load plugin enabled ( by default ) during the "./configure" step, and in his PC the poppler-glib package was probably installed,

but the mistake here is the PKGBUILD file, as long as gimp is built with "pdf plugin enabled" then the "poppler-glib" package must be a mandatory dependency, it's logical, gimp needs this lib for his pdf plugin

Loading...