The Hunspell Dictionaries Content Snap is an attempt to allow multiple snaps to share a single copy of the Hunspell spellchecking dictionaries for multiple languages via the content interface. It allows snapped apps. that implements spellchecking via the infamous Hunspell library to not ship independent copies of the spellchecking dictionaries in their snaps, which takes about 200MiB(uncompressed)/32MiB(squashed) of disk space.
This snap does not feature any applications and is not intended to be used by regular users, instead, it is for snap packagers to implement a counterpart plug to connect and map its content into their snaps.
How to Use
The consumer snap’s snapcraft.yaml must define a counterpart plug for connection:
plugs: hunspell-dictionaries: interface: content default-provider: _provider_snap_name_ target: $SNAP/usr/share/hunspell
The list of currently supported provider_snap_name:
For maximum compatibility, pick the one that targets the same base.
- Packaging recipe source code
- Desktop: allow access to host hunspell dictionaries - snapd - snapcraft.io
- The content interface documentation
Please refer our project’s issue tracker
or create a new topic under
snap category in the Snapcraft Forums