Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910591 - media-gfx/gscan2pdf-2.13.2: missing app-text/unpaper splash...
Summary: media-gfx/gscan2pdf-2.13.2: missing app-text/unpaper splash...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chris Mayo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-20 14:28 UTC by CaptainBlood
Modified: 2023-07-24 18:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app log file (file.log.xz,2.55 KB, application/x-xz)
2023-07-20 14:34 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
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.