diff options
author | 2021-09-20 18:42:41 +0200 | |
---|---|---|
committer | 2021-10-31 10:21:21 +0200 | |
commit | 32c96d50122cd4de336dc5a00816965cede95748 (patch) | |
tree | 62961c66b56cbb430bab7b0399e7f0dba83159c0 /app-editors/remarkable/files | |
parent | dev-ruby/iobuffer: cleanup (diff) | |
download | gentoo-32c96d50122cd4de336dc5a00816965cede95748.tar.gz gentoo-32c96d50122cd4de336dc5a00816965cede95748.tar.bz2 gentoo-32c96d50122cd4de336dc5a00816965cede95748.zip |
app-editors/remarkable: new package
remarkable is a full featured markdown editor, supporting
the github markdown dialect
Closes: https://bugs.gentoo.org/616208
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/22341
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
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') |