summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2021-09-20 18:42:41 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-10-31 10:21:21 +0200
commit32c96d50122cd4de336dc5a00816965cede95748 (patch)
tree62961c66b56cbb430bab7b0399e7f0dba83159c0 /app-editors/remarkable/files
parentdev-ruby/iobuffer: cleanup (diff)
downloadgentoo-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.gentoo10
-rw-r--r--app-editors/remarkable/files/remarkable-1.9.0_pre20210320-disable-spellcheck.patch23
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')