Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636790 - app-text/paperwork - missing dependencies
Summary: app-text/paperwork - missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2017-11-07 13:47 UTC by ilovekiruna
Modified: 2018-01-12 17:57 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge,6.63 KB, text/plain)
2017-11-07 13:47 UTC, ilovekiruna
Details
paperwork-1.2.ebuild (paperwork-1.2.ebuild,2.07 KB, text/plain)
2017-11-07 14:11 UTC, ilovekiruna
Details
patch_for_ebuild (patch,1.77 KB, patch)
2017-11-09 23:19 UTC, ilovekiruna
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ilovekiruna 2017-11-07 13:47:38 UTC
Created attachment 502924 [details]
emerge --info

After installing paperworks, the program does not start due to missing dependencies. This are:

x11-libs/libnotify
aspell with the installed languages
tesseract with the training useflag
x11-themes/gnome-icon-theme-symbolic

After installing the packages paperwork at least can be started.

Missing dependencies can be checked using "paperwork-shell chkdeps paperwork"
Comment 1 ilovekiruna 2017-11-07 14:11:58 UTC
Created attachment 502932 [details]
paperwork-1.2.ebuild

I attach an ebuild file which should include all the missing dependencies.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-11-09 23:05:09 UTC
Thanks for your report. When you make changes to an ebuild, please attach a unified diff against the latest version in tree, so your changes can be easily reviewed.
Comment 3 ilovekiruna 2017-11-09 23:19:58 UTC
Created attachment 503394 [details, diff]
patch_for_ebuild

unified patch for ebuild
Comment 4 Bernard Cafarelli gentoo-dev 2017-11-15 14:32:23 UTC
Hi, thanks for the report! What was the exact error?

I am asking because the chkdeps upstream script is not perfect (and I think some may be outdated too) and these do not look necessary for us:
* tesseract is pulled in by pyocr, AFAIK paperwork itself does not use it directly anymore. Also in theory cuneiform should work too (untested). And here I do not have the training USE-flag
* aspell: one of the possible backends for enchant, the spell-checking wrapper that handles pulling aspell/pspell/... paperwork itself does not need it (and only uses it for enhancing orientation detection)
* gnome-icon-theme-symbolic: other themes have the needed -symbolic variants (adwaita at least). Also it does not block startup
Comment 5 Bernard Cafarelli gentoo-dev 2017-11-15 14:34:40 UTC
And of course I just saw you mentioning libnotify after hitting the submit button... Hmm this one could be needed indeed, I will check that.
Comment 6 Bernard Cafarelli gentoo-dev 2017-11-17 16:36:36 UTC
I added 1.2.2 with this missing dependency, can you test and confirm this was this fixes paperwork startup on your system? Thanks
Comment 7 Sven Hesse 2017-11-28 19:02:51 UTC
dev-python/pyxdg is also missing in the dependencies. At least paperworks dies with a Python error on my system without.
Comment 8 Bernard Cafarelli gentoo-dev 2018-01-12 17:57:26 UTC
Thanks added that one last missing bit (for paperwork shell), fixed in current ebuild

Marking this as fixed since, hopefullly everything is in now!