<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Dmitry</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">It hasn’t been discussed, but I think it would make sense for Chromium to ship the convert_dict tool as it is the upstream for the project.  I suppose the reason why the discussion was around how it is shipped in the Qt packages was because that is the only place it is currently shipped in Debian:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><a href="https://packages.debian.org/search?searchon=contents&keywords=convert_dict&mode=path&suite=testing&arch=any">https://packages.debian.org/search?searchon=contents&keywords=convert_dict&mode=path&suite=testing&arch=any</a></p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Andres, do you have an comments on the feasibility of shipping convert_dict as part of a Chromium package targeted at developers?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Dmitry, can you also comment about adding a symlink from /usr/share/qt5/qtwebengine_dictionaries to /usr/share/hunspell-dict as part of one of the libqt5webengine packages and from /usr/share/qt6/qtwebengine_dictionaries as part of one of the libqt6webengine packages?</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">There is some information about where Qt WebEngines search for these dictionaries at <a href="https://doc.qt.io/qt-5/qtwebengine-features.html#spellchecker">https://doc.qt.io/qt-5/qtwebengine-features.html#spellchecker</a></p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Monday, December 26, 2022 9:08:38 AM MST Dmitry Shachnev wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> On Tue, Dec 13, 2022 at 10:43:06AM -0700, Soren Stoutner wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Can one of the Debian Qt/KDE maintainers weigh in on the feasibility of</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > either creating a meta package that depends on the most recent package</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > that includes qwebengine_convert_dict or creating an unversioned package</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > that installs qwebengine_convert_dict?  Also, either having</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > qwebengine_convert_dict being installed in an unversioned location or</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > having a symlink that is unversioned?  That would make it easier for</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Hunspell language packages to build-depend on qwebengine_convert_dict and</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > wouldn’t require reworking all of those packages’ build scripts every time</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > the version of Qt in Debian changes.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I think we can do this, but why do you think such tool should be provided by</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Qt WebEngine, not by Chromium itself?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Chromium is the main upstream for convert_dict tool, while Qt WebEngine is</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> one of several wrappers around it (e.g. another one is Electron). Also</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> having it in Chromium will help to avoid the problem with versions, as</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> there is always only one version of Chromium.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Source code for convert_dict is present in the Chromium tarball [1], so it</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> shouldn't be hard to provide a new binary package for it.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> (Maybe this was already discussed in the thread, but I did not read every</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> message, please give me a link if it's the case.)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> [1]:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> https://sources.debian.org/src/chromium/108.0.5359.124-1/chrome/tools/conve</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> rt_dict/</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> --</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Dmitry Shachnev</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Soren Stoutner</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">soren@stoutner.com</p>
</body>
</html>