On 2022-01-31 at 08:31, Tixy wrote: > On Mon, 2022-01-31 at 07:52 -0500, The Wanderer wrote: > >> On 2022-01-30 at 23:49, Russell L. Harris wrote: >> >> > On Sun, Jan 30, 2022 at 10:36:57PM -0500, The Wanderer wrote: >> > >> > I discovered dictfmt and dictunformat, which seem to be applicable. >> > >> > But I do not know where in Debian (Debian 9) to look for the >> > moby-thesaurus file. >> >> If you still have access to a repository that contains it (that is, if >> 'apt-cache policy dict-moby-thesaurus' reports a remote location, not >> just /var/lib/dpkg/status), then you can download the source package >> with the command: >> >> apt-get source dict-moby-thesaurus >> >> (although you'll want to make sure you're in an appropriate empty >> directory before running the command, just to keep things clean). >> >> Note also that a brief examination of the binary package doesn't seem to >> show any indication of a Python connection at all, much less >> specifically a Python 2 one, so I'm not sure what it is that will need >> to be changed here. > > The source package description [1] says: > > Build-Depends-Indep: python (>= 2.4.3), python-dictdlib (>= 2.0.4), > > so it looks like it uses Python to make the binary package. > > The description includes... "This is formatted for use by the > dictionary server in the dictd package" > > So I'd guess that if you had dict/disctd installed you could use just > intsal dict-moby-thesaurus from Debian 10 and it would work. No python2 > needed.
Which in turn implies that what needs to be forward-ported is probably that python-dictdlib, whatever and wherever that is (it doesn't seem to be in current Debian testing, which would be expected if it is indeed Python-2-only, and I haven't taken the trouble to dig it up from the snapshots archive as of yet), as well as any dependencies that may have. I think it likely that with that done, dict-moby-thesaurus could be built from its existing source package with no issues.q -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
Description: OpenPGP digital signature