On Fri, Aug 04, 2023 at 10:27:46PM +0000, Klemens Nanni wrote:
> https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/
>
> In there is a D-Bus socket used to communicate with tools like
> x11/gnome/orca. Use orca(1) -s and tick the 'Speak object under mouse' box
> to hear it reading out elements, texts, etc.
>
> I'm new to accessibility features and noticed that browsers wouldn't work
> whereas other ports without pledge/unveil would.
>
> Patch is for Firefox and Firefox ESR.
> Will check the Chromes next.
I've verified that they need the same treatment for orca to work.
>
> Feedback? Objection? OK?
Index: chromium/Makefile
===================================================================
RCS file: /cvs/ports/www/chromium/Makefile,v
retrieving revision 1.730
diff -u -p -r1.730 Makefile
--- chromium/Makefile 26 Jul 2023 18:27:38 -0000 1.730
+++ chromium/Makefile 5 Aug 2023 05:16:27 -0000
@@ -7,6 +7,7 @@ DPB_PROPERTIES= parallel parallel2
COMMENT= Chromium browser
V= 115.0.5790.110
+REVISION= 0
DISTNAME= chromium-${V}
Index: chromium/files/unveil.main
===================================================================
RCS file: /cvs/ports/www/chromium/files/unveil.main,v
retrieving revision 1.13
diff -u -p -r1.13 unveil.main
--- chromium/files/unveil.main 31 May 2023 11:34:32 -0000 1.13
+++ chromium/files/unveil.main 5 Aug 2023 05:18:40 -0000
@@ -54,6 +54,7 @@
~/.terminfo r
~/.cache/chromium rwc
+~/.cache/at-spi rw
~/.cache/dconf rwc
~/.cache/fontconfig rwc
~/.cache/gvfsd rwc
Index: ungoogled-chromium/Makefile
===================================================================
RCS file: /cvs/ports/www/ungoogled-chromium/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- ungoogled-chromium/Makefile 1 Aug 2023 07:29:25 -0000 1.68
+++ ungoogled-chromium/Makefile 5 Aug 2023 05:18:25 -0000
@@ -11,7 +11,7 @@ V= 115.0.5790.110
UGV= ${V}-1
DISTNAME= ungoogled-chromium-${V}
-REVISION= 0
+REVISION= 1
DISTFILES+= ${CHROMIUM_DISTFILES} \
${UGOOGLE_DISTFILES}:0 \
Index: ungoogled-chromium/files/unveil.main
===================================================================
RCS file: /cvs/ports/www/ungoogled-chromium/files/unveil.main,v
retrieving revision 1.2
diff -u -p -r1.2 unveil.main
--- ungoogled-chromium/files/unveil.main 5 May 2023 10:59:18 -0000 1.2
+++ ungoogled-chromium/files/unveil.main 5 Aug 2023 05:18:23 -0000
@@ -54,6 +54,7 @@
~/.terminfo r
~/.cache/ungoogled-chromium rwc
+~/.cache/at-spi rw
~/.cache/dconf rwc
~/.cache/fontconfig rwc
~/.cache/thumbnails rwc
Index: iridium/Makefile
===================================================================
RCS file: /cvs/ports/www/iridium/Makefile,v
retrieving revision 1.178
diff -u -p -r1.178 Makefile
--- iridium/Makefile 24 Jul 2023 14:15:42 -0000 1.178
+++ iridium/Makefile 5 Aug 2023 05:17:40 -0000
@@ -11,6 +11,7 @@ DPB_PROPERTIES+= lonesome
COMMENT= Iridium browser
V= 2023.07.115.1
+REVISION= 0
DISTNAME= iridium-browser-${V}
PKGNAME= iridium-${V}
Index: iridium/files/unveil.main
===================================================================
RCS file: /cvs/ports/www/iridium/files/unveil.main,v
retrieving revision 1.12
diff -u -p -r1.12 unveil.main
--- iridium/files/unveil.main 21 Jul 2023 17:36:58 -0000 1.12
+++ iridium/files/unveil.main 5 Aug 2023 05:19:00 -0000
@@ -54,6 +54,7 @@
~/.terminfo r
~/.cache/iridium rwc
+~/.cache/at-spi rw
~/.cache/dconf rwc
~/.cache/fontconfig rwc
~/.cache/gvfsd rwc
No comments:
Post a Comment