qutebrowser: dictionaries path
This commit is contained in:
parent
c6f0fc278f
commit
959112ffb6
|
@ -0,0 +1,31 @@
|
|||
--- a/misc/apparmor/usr.bin.qutebrowser
|
||||
+++ b/misc/apparmor/usr.bin.qutebrowser
|
||||
@@ -33,12 +33,12 @@ profile qutebrowser /usr/{local/,}bin/qu
|
||||
/usr/bin/ldconfig ix,
|
||||
/usr/bin/uname ix,
|
||||
/usr/bin/qutebrowser rix,
|
||||
- /usr/lib/qt/libexec/QtWebEngineProcess mrix,
|
||||
+ /usr/lib/qt6/libexec/QtWebEngineProcess mrix,
|
||||
/usr/share/pdf.js/** r,
|
||||
- /usr/share/qt/translations/qtwebengine_locales/* r,
|
||||
- /usr/share/qt/qtwebengine_dictionaries r,
|
||||
- /usr/share/qt/qtwebengine_dictionaries/* r,
|
||||
- /usr/share/qt/resources/* r,
|
||||
+ /usr/share/qt6/translations/qtwebengine_locales/* r,
|
||||
+ /usr/share/qt6/qtwebengine_dictionaries r,
|
||||
+ /usr/share/qt6/qtwebengine_dictionaries/* r,
|
||||
+ /usr/share/qt6/resources/* r,
|
||||
|
||||
owner @{HOME}/ r,
|
||||
owner /dev/shm/.org.chromium* rw,
|
||||
--- a/qutebrowser/browser/webengine/spell.py
|
||||
+++ b/qutebrowser/browser/webengine/spell.py
|
||||
@@ -28,7 +28,7 @@ def version(filename):
|
||||
|
||||
def dictionary_dir():
|
||||
"""Return the path (str) to the QtWebEngine's dictionaries directory."""
|
||||
- return os.path.join(standarddir.data(), 'qtwebengine_dictionaries')
|
||||
+ return '/usr/share/qt6/qtwebengine_dictionaries'
|
||||
|
||||
|
||||
def local_files(code):
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'qutebrowser'
|
||||
pkgname=qutebrowser
|
||||
version=3.2.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools asciidoc"
|
||||
depends="python3-Jinja2 python3-yaml"
|
||||
|
|
Loading…
Reference in New Issue