Package Details: sonnet-git v5.90.0.671.e9fa9bc-1

Git Clone URL: https://aur.archlinux.org/sonnet-git.git (read-only, click to copy)
Package Base: sonnet-git
Description: Spelling framework for Qt
Upstream URL: https://invent.kde.org/frameworks/sonnet
Licenses: LGPL
Conflicts: sonnet
Provides: sonnet
Submitter: ilpianista
Maintainer: zan
Last Packager: zan
Votes: 19
Popularity: 0.009676
First Submitted: 2014-01-04 11:38 (UTC)
Last Updated: 2022-01-31 01:56 (UTC)

Dependencies (9)

Required by (7)

Sources (1)

Latest Comments

dr460nf1r3 commented on 2021-11-06 15:17 (UTC)

qt5-quickcontrols are missing in makedepends :)

sandsmark commented on 2016-03-03 13:41 (UTC)

the required version of voikko should be in arch now.

saburouta commented on 2015-08-26 05:17 (UTC)

Could anyone who has successfully disabled building the voikko plugin, please explain how? There's not configure tool... http://pastebin.com/kYEZ5DDs

desaparecido commented on 2015-08-25 09:36 (UTC)

hi, with libvoikko there are another packages needed to install it and build this package, and all that is really necessary ? libvoikko is marked like "optional", and build fine without it, but in needed to modify manually the package (deleting libvoikko stuffs), is possible to change the PKGBUILD to leave libvoikko like an optional only if needed ? thanks ;-)

arojas commented on 2015-08-20 16:59 (UTC)

@davispuh please report upstream

davispuh commented on 2015-08-20 15:24 (UTC)

It doesn't compile with libvoikko, removing it compiles. Scanning dependencies of target sonnet_voikko [ 41%] Building CXX object src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/voikkoclient.cpp.o [ 42%] Building CXX object src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/voikkodict.cpp.o In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22:0: /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:65:5: error: ‘QScopedPointer’ does not name a type QScopedPointer<VoikkoDictPrivate> d; ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In constructor ‘VoikkoDict::VoikkoDict(const QString&)’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:270:11: error: within this context d(new VoikkoDictPrivate(language, this)) ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:270:11: error: class ‘VoikkoDict’ does not have any field named ‘d’ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In member function ‘virtual bool VoikkoDict::isCorrect(const QString&) const’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:282:9: error: within this context if (d->m_sessionWords.contains(word) || d->m_personalWords.contains(word)) { ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:282:10: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ if (d->m_sessionWords.contains(word) || d->m_personalWords.contains(word)) { ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:282:45: error: within this context if (d->m_sessionWords.contains(word) || d->m_personalWords.contains(word)) { ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:282:46: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ if (d->m_sessionWords.contains(word) || d->m_personalWords.contains(word)) { ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:286:29: error: within this context return (voikkoSpellUcs4(d->m_handle, d->QStringToWchar(word)) == VOIKKO_SPELL_OK); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:286:30: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ return (voikkoSpellUcs4(d->m_handle, d->QStringToWchar(word)) == VOIKKO_SPELL_OK); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:286:42: error: within this context return (voikkoSpellUcs4(d->m_handle, d->QStringToWchar(word)) == VOIKKO_SPELL_OK); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:286:43: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ return (voikkoSpellUcs4(d->m_handle, d->QStringToWchar(word)) == VOIKKO_SPELL_OK); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In member function ‘virtual QStringList VoikkoDict::suggest(const QString&) const’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:293:24: error: within this context auto userDictPos = d->m_replacements.constFind(word); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:293:25: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ auto userDictPos = d->m_replacements.constFind(word); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:294:24: error: within this context if (userDictPos != d->m_replacements.constEnd()) { ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:294:25: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ if (userDictPos != d->m_replacements.constEnd()) { ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:298:48: error: within this context auto voikkoSuggestions = voikkoSuggestUcs4(d->m_handle, d->QStringToWchar(word)); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:298:49: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ auto voikkoSuggestions = voikkoSuggestUcs4(d->m_handle, d->QStringToWchar(word)); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:298:61: error: within this context auto voikkoSuggestions = voikkoSuggestUcs4(d->m_handle, d->QStringToWchar(word)); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:298:62: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ auto voikkoSuggestions = voikkoSuggestUcs4(d->m_handle, d->QStringToWchar(word)); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In member function ‘virtual bool VoikkoDict::storeReplacement(const QString&, const QString&)’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:322:5: error: within this context d->m_replacements[bad] = good; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:322:6: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ d->m_replacements[bad] = good; ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:323:12: error: within this context return d->storePersonal(QString(), bad, good); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:323:13: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ return d->storePersonal(QString(), bad, good); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In member function ‘virtual bool VoikkoDict::addToPersonal(const QString&)’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:329:5: error: within this context d->m_personalWords.insert(word); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:329:6: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ d->m_personalWords.insert(word); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:330:12: error: within this context return d->storePersonal(word); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:330:13: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ return d->storePersonal(word); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In member function ‘virtual bool VoikkoDict::addToSession(const QString&)’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:336:5: error: within this context d->m_sessionWords.insert(word); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:336:6: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ d->m_sessionWords.insert(word); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h: In member function ‘bool VoikkoDict::initFailed() const’: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:96:33: error: ‘Sonnet::SpellerPluginPrivate* const Sonnet::SpellerPlugin::d’ is private SpellerPluginPrivate *const d; ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:343:14: error: within this context return (!d->m_handle); ^ /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:343:15: error: invalid use of incomplete type ‘class Sonnet::SpellerPluginPrivate’ return (!d->m_handle); ^ In file included from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.h:25:0, from /mnt/AUR/sonnet-git/src/sonnet/src/plugins/voikko/voikkodict.cpp:22: /mnt/AUR/sonnet-git/src/sonnet/src/core/spellerplugin_p.h:37:7: note: forward declaration of ‘class Sonnet::SpellerPluginPrivate’ class SpellerPluginPrivate; ^ src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/build.make:86: recipe for target 'src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/voikkodict.cpp.o' failed make[2]: *** [src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/voikkodict.cpp.o] Error 1 CMakeFiles/Makefile2:525: recipe for target 'src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/all' failed make[1]: *** [src/plugins/voikko/CMakeFiles/sonnet_voikko.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: sonnet-git cleaning skipped :: failed to build sonnet-git package(s)