Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 910591

Summary: media-gfx/gscan2pdf-2.13.2: missing app-text/unpaper splash...
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: Current packagesAssignee: Chris Mayo <aklhfex>
Status: RESOLVED INVALID    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app log file

Description CaptainBlood 2023-07-20 14:28:59 UTC
emerging app-text/unpaper, media-gfx/graphicsmagick, media-gfx/sane-frontends  fixes the issues logged below:

INFO - unpaper --version
INFO - unpaper --version: command not found
INFO - Found Image::Magick 7.1.1
INFO - convert --version
INFO - Spawned PID 6106
INFO - Found imagemagick 7.1.1-6
INFO - gm -version
INFO - gm -version: command not found
INFO - scanadf --version
INFO - scanadf --version: command not found

Missing app-text/unpaper triggers a warning popup at startup which could be confusing to some.

No idea if media-gfx/graphicsmagick could fully replace media-gfx/imagemagick though.

Reproducible: Always
Comment 1 CaptainBlood 2023-07-20 14:33:03 UTC
Plz note this doesn't prevent GUI to start, after cancelling accordlingly.
Comment 2 CaptainBlood 2023-07-20 14:34:00 UTC
Created attachment 865830 [details]
app log file
Comment 3 Chris Mayo 2023-07-20 18:44:23 UTC
The ebuild uses optfeature for app-text/unpaper and media-gfx/sane-frontends:

	optfeature "scan post-processing" app-text/unpaper
	optfeature "automatic document feeder support" media-gfx/sane-frontends

as you pointed out if they are missing there is no crash.


The media-gfx/imagemagick Perl bindings are used, in gscan2pdf:

       use Image::Magick;

If graphicsmagick provides that as well, maybe it could be used as a replacement. But it would need someone who was really motivated to try it, checks the tests pass and submit a PR.