Your message dated Tue, 13 Dec 2022 08:49:03 +0000
with message-id <[email protected]>
and subject line Bug#1020387: fixed in dictionaries-common 1.29.0
has caused the Debian Bug report #1020387,
regarding dictionaries-common: Consensus regarding the packaging of the Qt
WebEngine hunspell binary dictionaries
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1020387: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020387
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.28.18
Severity: wishlist
Tags: l10n
Qt WebEngine has the ability to use Hunspell dictionaries for spell checking
with the WebEngine, but for some reason they require that the dictionary files
be converted to a special binary format (.bdic). This conversion can be done
using qwebengine_convert_dict from the qtwebengine5-dev-tools package. The
upstream documentation regarding this is found on Qt's website:
https://doc.qt.io/qt-5/qtwebengine-features.html#spellchecker
Once these libraries are available they can be used by any program that
includes Qt WebEngine.
The purpose of this bug report is to create a central location for discussion
about the best way to package these dictionaries.
There are two general questions that should be standardized:
1. What should be the policy regarding the binary packages?
2. Where should the dictionaries be placed on the file system?
1. The binary packages can be built without much difficulty from the same
source as existing Hunspell dictionaries. For an example of how this can be
done, see the following commit by Don Armstrong <[email protected]> to the scowl
sorce package which builds the English Hunspell dictionary binary packages:
https://git.donarmstrong.com/?p=deb_pkgs/scowl.git;a=commitdiff;h=4510f7fed66204384fe8c39fc875e24fd874229b
In this example patch, the compiled Qt WebEngine binary dictionary is shipped
as part of the existing Hunspell binary packages (for example, hunspell-en-us).
Another option would be to create a separate binary package (for example,
qtwebengine-dict-en-us). The argument for including it in the existing binary
package is that the compiled Qt WebEngine dictionary is not very large (691.2
KiB for en_US). The argument for splitting it into a separate binary package
is that most people who install the Hunspell dictionaries don't intent to use a
program that does spell checking inside of a Qt WebEngine, so it would be
wasted space on their system.
2. Qt WebEngine searches for these binary dictionary packages in a number of
places described in the upstream link above. One of them is in the system-wide
QT_INSTALL_PREFIX/qtwebengine_dictionaries. The current QT_INSTALL_PREFIX can
be determined by running the following command (assuming qmake is installed):
~$ qmake -query | grep QT_INSTALL_DATA
QT_INSTALL_DATA:/usr/share/qt5
Originally, I had proposed installing the dictionary files directly into
/usr/share/qt5/qtwebengine_dictionaries with a symlink from the upcoming
/usr/share/qt6/qtwebengine_dictionaries. However Don Armstrong proposed that
they instead be installed in an unversioned directory and then symlinked from
all the current versioned Qt directories, which makes it easier to maintain.
His patch, linked above, places the .bdic files into /usr/share/hunspell with
the original Hunspell files they were compiled from. Rene Engelhard
<[email protected]> objects to this file location because he feels it should be
preserved for files in the canonical Hunspell format. If a different directory
is used for the Qt WebEngine .bdic files, I would propose something like
/usr/share/qtwebengine-dict.
There is some discussion about this topic that already exists in the bug report
for scowl and on the Debian-KDE mailing list.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017646
https://lists.debian.org/debian-kde/2022/09/msg00011.html
I don't have a particularly strong opinion about either of these two issues,
although I do lean slightly towards having separate binary packages and using
/usr/share/qtwebengine-dict for the file locations. However, I do think it is
important that there is a consensus among all those who maintain the dictionary
language packages and that this consensus be documented in a central location.
--- End Message ---
--- Begin Message ---
Source: dictionaries-common
Source-Version: 1.29.0
Done: Agustin Martin Domingo <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dictionaries-common, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Agustin Martin Domingo <[email protected]> (supplier of updated
dictionaries-common package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 13 Dec 2022 00:18:32 +0100
Source: dictionaries-common
Architecture: source
Version: 1.29.0
Distribution: unstable
Urgency: medium
Maintainer: Agustin Martin Domingo <[email protected]>
Changed-By: Agustin Martin Domingo <[email protected]>
Closes: 1020387
Changes:
dictionaries-common (1.29.0) unstable; urgency=medium
.
[ Soren Stoutner ]
* debian/copyright: Add copyright information for Soren Stoutner.
* policy/dsdt-policy.xml.in: Add Hunspell binary .bdic
information (Closes: #1020387).
.
[ Agustin Martin Domingo ]
* installdeb-myspell: Create and install .bdic files.
* dsdt-policy.xml.in: Improve some programlisting environments.
Checksums-Sha1:
4267ccdce4e1cf8e85b7614810975134e0f501f3 1894 dictionaries-common_1.29.0.dsc
8dc145b7f676ae410dc99f559fdb7ed37509eebf 288528
dictionaries-common_1.29.0.tar.xz
07de1eaea911e5e202e64b2ea00f7bd088287bc7 6965
dictionaries-common_1.29.0_amd64.buildinfo
Checksums-Sha256:
88006ac39db00ab1e8276bc01c2ae517b7ae88b999095e447b23f41596c7f0ae 1894
dictionaries-common_1.29.0.dsc
81c9bd83510760233ee6e1b1b691b4692ce0a3f5ee280ad8471c80185ca52b2b 288528
dictionaries-common_1.29.0.tar.xz
81057782279321a641230a3e6bef4cdccab5b9f8084ef34620ac97371c4a02b8 6965
dictionaries-common_1.29.0_amd64.buildinfo
Files:
73595032535317db74472836ad3d366d 1894 text optional
dictionaries-common_1.29.0.dsc
468adb7abf5ed21adaee69bff8898a9a 288528 text optional
dictionaries-common_1.29.0.tar.xz
bf6c1b1a2f1bfc31501870b565846976 6965 text optional
dictionaries-common_1.29.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEEehey7p+gYd346SEFJrCLeiggvwFAmOYOL0ACgkQFJrCLeig
gvwylxAAvoWvsK2+1g7PqwX4ST8ESk+ftPeiZcoBph2IOcH10W9qOerhYDvXIr2O
az5onEQYxRVmiyqtmW0mCm7DtF20nuLhuQ2rHYUhbiXYyW8s2YD/2PDhrzLyvDal
BWrui5nnhrD3Coe562bqjinynxxk7BpeIiN0ZjRVUku+ogON12Ax/6D73/hOInOo
2l46gTqk6RZTlE5nL/PJJGoPyq0t3YO6KDc8CA5eB/KPYPayphj6zgC9O4DFs/c3
eJu6OpQzmV+GNAdUh44v3ukw4nXCn23ofk57J9oZwJ6/mM0LOcEOCwHW1xeFeRCY
DIZa3ugbT6FFpo0UAo6AIoIIcl7CxrVYJLtiPb6iCupR5vHfrEm1Gs28iKgKblD1
7EKsNHWYMav+vzmKTKavHVX3OaeqDeobwwcifT7lTqjp3ECTcV2gPs//3T0G3PCo
4szW2NgL4cdYZzjozyvBC14QBHgp/bvpzbN7HU/eVISSRFeD5b70qO47EiPX9QDC
JMIJZD3bfqElMO2dQOhnji2p08m+VbVuaqRGepjtErVycmHYXsI3J6dNU99DaOs7
8PucI4OQps8nqUGqjsu7QFoX6OJpA26hSkQj5JXS1YA59dXMUFltmdQTgJF+Der5
NDWyZUf6pmMB7lGOQEZ72M/6iylFJwD9hLr4DiWuz1KhaJainaA=
=2qR7
-----END PGP SIGNATURE-----
--- End Message ---