FS#46665 - [gaupol] python-pyenchant ahould not be set as optional dependency

Attached to Project: Community Packages
Opened by Jakub Klawier (wariat) - Sunday, 11 October 2015, 22:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 01 January 2016, 03:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm using gaupol to create subtitles for video. Had problem with spellchecker and contacted the author. Problem is fixed by installing pyenchant, the gaupol author asked me to contact package maitaner abd ask about that:

"Please consider telling the Gaupol Arch package maintainer to make those optional dependencies non-optional. Even though they are technically optional, many of them provide essential features. If pacman doesn't somehow interactively offer to install them, they should be installed by default rather than silently skipped."

Steps to reproduce:
* uninstall pyenchant
* try to change the subtitles language via menu tools/configure spellcheck

This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Friday, 01 January 2016, 03:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  gaupol 0.28.2-3
Comment by Doug Newgard (Scimmia) - Sunday, 11 October 2015, 22:19 GMT
Pacman specifically told you that python-pyenchant was needed for spellchecking. Sounds to me more like user error.
Comment by Jakub Klawier (wariat) - Sunday, 11 October 2015, 22:27 GMT
Ok maybe it's just my mistake. But if you are installing something than just checking if it is working, and few days later starting to use it it's not easy to remember that pacman said something like this.
Also IMO while creating subtitles for video spellchecker is not something really optional.

anyway, i understand if you want to close it as WONTFIX.
Comment by Osmo Salomaa (otsaloma) - Monday, 12 October 2015, 18:51 GMT
Upstream here. I'd like to add that the reason I made many of the dependencies optional is that it made testing on Windows and releasing Windows installers much easier. Some components didn't have Windows binaries available or working ones, so I could just leave them out and still release on Windows even if some features were missing.

On Linux we don't have this problem. If pacman doesn't have a concept of recommended dependencies, my advice would be to avoid causing confusion and just mark most of the dependencies as required. Most them are very small and won't waste much disk space. GStreamer is big though, but essential for anyone actually subtitling. MPlayer and VLC should be fine left as optional.

See the Debian package for sensibly set dependencies. I use Debian myself, so I have complained to the package maintainer at least a couple times to get them right.

https://packages.debian.org/sid/gaupol
Comment by Doug Newgard (Scimmia) - Tuesday, 13 October 2015, 03:53 GMT
@otsaloma, Arch tends to hold it's users to a higher standard. It doesn't cater to newbies, it expects users to pay attention to what is going on. If the program will run without the dep, optional is appropriate if the maintainer decides that's the way he wants it.
Comment by Evangelos Foutras (foutrelis) - Friday, 01 January 2016, 03:52 GMT
Sorry for the delay in addressing this; while the dependencies are technically optional (and were listed by pacman as such), I agree that it is best to make them hard dependencies so spell-checking works out of the box.

Loading...