diff options
Diffstat (limited to 'app-editors/remarkable/files')
-rw-r--r-- | app-editors/remarkable/files/README.gentoo | 10 | ||||
-rw-r--r-- | app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-editors/remarkable/files/README.gentoo b/app-editors/remarkable/files/README.gentoo new file mode 100644 index 000000000000..9533e5f0de44 --- /dev/null +++ b/app-editors/remarkable/files/README.gentoo @@ -0,0 +1,10 @@ + +Known Gentoo-related issues: +============================ + +- export to HTML/PDF does not work (this feature would need the python module + "wkhtmltopdf" which is not packaged for gentoo and most probably will + never be - it depends on deprecated Qt WebKit) +- spellchecking is disabled (would need python module pygtkspellcheck which) + is also not packaged for gentoo yet) + diff --git a/app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch b/app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch new file mode 100644 index 000000000000..6dbd4cf48a8d --- /dev/null +++ b/app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch @@ -0,0 +1,23 @@ +Remove the spellcheck option permanently unless someone is packaging +pygtkspellcheck for Gentoo + +Signed-off-by: Martin Dummer <martin.dummer@gmx.net> + +--- a/remarkable/RemarkableWindow.py ++++ b/remarkable/RemarkableWindow.py +@@ -41,13 +41,8 @@ + import warnings + from findBar import FindBar + +-# Check if gtkspellcheck is installed +-try: +- from gtkspellcheck import SpellChecker +- spellcheck_enabled = True +-except: +- print("*Spellchecking not enabled.\n*To enable spellchecking install pygtkspellcheck\n*https://pypi.python.org/pypi/pygtkspellcheck/") +- spellcheck_enabled = False ++# spellcheck permanently disabled ++spellcheck_enabled = False + + import logging + logger = logging.getLogger('remarkable') |