The source project of this merge request has been removed.
Build the binary .bdic dictionaries
There are probably more elegant ways to do this, but here is a starting point for building the .bdic binary dictionaries.
A few notes:
- This solution attempts to build all the dictionaries inside of the for loop. Those that need special treatment fail, but that failure doesn't propagate up to the main build process as a failure, so the building of the package continues. It would probably be possible to add logic that didn't attempt to build the dictionaries that we know will fail, which will save a few buildd cycles, but I didn't investigate that.
- The following lines, which modify and build the dictionaries that need special treatment are outside of the for loop, which has the effect of any failure in any of the commands causing the package build to fail. This is nice because, if at any point in the future, the upstream dictionaries change in a way that makes the current workarounds for compiling the binary .bdic dictionaries fail, the entire package build will fail, making it easy to notice that something needs to be modified.
- I also added the full text of the CC-BY-SA-4.0 license to debian/copyright as I noticed a lintian warning that it was missing and it was an easy thing to fix.