scudcloud icon indicating copy to clipboard operation
scudcloud copied to clipboard

Zesty support/build for spell checker

Open mcg opened this issue 9 years ago • 12 comments

ScudCloud Version

scudcloud --version
ScudCloud 1.58
Python 3.5.3
Qt 5.7.1
PyQt 5.7
SIP 4.18.1

Distro and Desktop info

  • Distribution: Ubuntu
  • Version/Release: 17.04
  • Desktop environment: Ubuntu GNOME

Expected behavior

Working spellcheck.

Actual behavior

The following packages have unmet dependencies:
 libqtwebkit-qupzillaplugins : Depends: libhunspell-1.3-0 (>= 1.3.3) but it is not installable

I am using the yakkety PPA in zesty. Works except for spellcheck due to that hunspell version issue. Any chance we can get a Zesty build in the PPA?

mcg avatar Apr 27 '17 20:04 mcg

@mcg, I just published both packages (Scudcloud and libqtwebkit-qupzillaplugins) for Zesty. Sorry about miss Zesty.

raelgc avatar Apr 27 '17 21:04 raelgc

That was quick! Unfortunately, using the zesty repo. the same libhunspell dependency issue happens.

mcg avatar Apr 27 '17 21:04 mcg

According the package page, the package name is now libhunspell-1.4-0.

I'll build a fix for it.

raelgc avatar Apr 27 '17 22:04 raelgc

I tried to change the requirements to accept libhunspell 1.3 or 1.4. But the build failed. It appears it'll require to generate the Qt build again in Zesty.

For this I'll require a Zesty VM. I'll require help or wait some days, until my Internet is properly installed (I'm working under a 3G connection).

raelgc avatar Apr 27 '17 23:04 raelgc

Does Launchpad no longer provide PPA build services? It's been years since I used them.

mcg avatar Apr 27 '17 23:04 mcg

How do I trigger spell-checking of my messages? I have hunspell installed. I traced the scudcloud process and see, that it finds the hunspell-executable -- but there are no obvious attempts to use it and the misspelled message go out into the world without any attempt to warn me and/or correct them. Is there some setting I need to turn on, or is this functionality simply not implemented yet?

UnitedMarsupials-zz avatar Sep 28 '17 16:09 UnitedMarsupials-zz

@UnitedMarsupials are you on which distro and version? For now, it works only on Ubuntu until 16.10. You need to build libqtwebkit-qupzillaplugins for you distro and version. It's a webkit plugin (not a webbrowser plugin) to enable spell checking.

raelgc avatar Sep 28 '17 19:09 raelgc

@raelgc, as we already established elsewhere, I'm a FreeBSD-user -- the term "distro" does not exist in our world :)

For now, it works only on Ubuntu until 16.10.

Could you enumerate, what software -- libraries, executables -- are required for it to work? Is it more than just finding the hunspell executable, for example -- which scudcloud does find, according to process-trace?..

Lastly, is it supposed to "just work", when everything is in place, or do I need to request it though the GUI somewhere? Thanks!

UnitedMarsupials-zz avatar Sep 29 '17 17:09 UnitedMarsupials-zz

Sorry @UnitedMarsupials.

You need to build this library: it contains 2 webkit plugins (it's different than navigator plugins, they extend the webkit funcionality).

After build it and install, it'll just work if hunspell related dictionary is installed (of course, you need to restart scudcloud).

raelgc avatar Sep 29 '17 17:09 raelgc

You need to build this library

Ok... And that's a distinct piece of software from QupZilla/qupzilla-plugins? Is it your own project of general usefulness, or something only useful for scudcloud-users? I'm asking to better decide, whether to create a separate port for it, or to bundle it with scudcloud...

UnitedMarsupials-zz avatar Sep 29 '17 18:09 UnitedMarsupials-zz

that's a distinct piece of software from QupZilla/qupzilla-plugins?

No, it's just a .deb wrapper for QupZilla/qupzilla-plugins.

raelgc avatar Sep 29 '17 18:09 raelgc

No, it's just a .deb wrapper for

Then a FreeBSD-user does not need to build it, do I? :-) I will create a FreeBSD port of qupzilla-plugins...

But, meanwhile, why is scudcloud even looking for hunspell, if the plugins aren't available?

UnitedMarsupials-zz avatar Sep 29 '17 20:09 UnitedMarsupials-zz