On Friday, November 1, 2024 11:05:57 PM MST Don Armstrong wrote:
> On Wed, 16 Oct 2024, Soren Stoutner wrote:\n
> 
> > Control: -1 reopen
> > 
> > As explained in the previous email, the consensus for how .bidc
> > dictionaries should be configured has changed since the original patch
> > was prepared. Attached is a patch that brings scowl into conformity.
> 
> Where is this documented in the Debian dictionary policy?

It is documented in the dictionaries-common package.  Specifically, you can see 
the changes that were added to this package in the following two MRs:

https://salsa.debian.org/debian/dictionaries-common/-/merge_requests/5

https://salsa.debian.org/debian/dictionaries-common/-/merge_requests/6

The resulting policy can be read here:

https://salsa.debian.org/debian/dictionaries-common/-/blob/master/policy/dsdt-policy.xml.in?ref_type=heads

Or:

/usr/share/doc/dictionaries-common-dev/dsdt-policy.html

> The attached patch makes some changes which don't match the qtengine
> documentation (removing existing symlinks), and creating YA directory
> for bdic files doesn't seem to provide any advantage. [What code looks
> for them in that directory?]

A couple of the relevant paragraphs from the policy:

"Compiled .bdic files should be installed in /usr/share/hunspell-bdic. They 
should be shipped in the same binary package as the corresponding .dic and .aff 
files.”

"The Qt packages will install the following system-wide environment variable 
in /etc/environment.d/ so that programs that use Qt WebEngine will be able to 
find the .bdic dictionaries:

QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/”

This environment variable eliminates the needs for the symlinks that were 
originally envisioned and end up being a more elegant solution.  (And, 
actually, your shipping of those symlinks now befuddles the system a little 
bit, because those symlinks and this environment variable fight against each 
other.)

If you have any further questions please feel free to ask.  If you would like 
to read over the entire discussion that led to this policy consensus, you can 
do so at:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020387

-- 
Soren Stoutner
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to