The Hunspell Dictionaries Content Snaps

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.

Related Links

Support

Please refer our project’s issue tracker
https://bugs.launchpad.net/hunspell-dictionaries-snaps

or create a new topic under snap category in the Snapcraft Forums
https://forum.snapcraft.io

Join Snapcrafters

https://forum.snapcraft.io/t/join-snapcrafters/1325

1 Like

@admins Please set this topic as a wiki, thanks in advance!

This is now a wiki! Thank you for all this.

1 Like

The following content snaps, targeting core18 and core20, has been made available to the consumers:

We’ve also fixed the plug declaration to reduce confusion.

Cheers!

1 Like