apparmor-profiles-extra: fix pidgin apparmor profile not being able to access ibus socket
This commit is contained in:
parent
d489ed9527
commit
e1d8eb655e
4 changed files with 23 additions and 6 deletions
|
|
@ -0,0 +1,15 @@
|
|||
diff --git a/profiles/usr.bin.pidgin b/profiles/usr.bin.pidgin
|
||||
index 78338084..6d18657d 100644
|
||||
--- a/profiles/usr.bin.pidgin
|
||||
+++ b/profiles/usr.bin.pidgin
|
||||
@@ -90,6 +90,10 @@
|
||||
# https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/43
|
||||
owner /{,var/}run/user/*/at-spi/bus* rw,
|
||||
|
||||
+ # Allow IBus private socket under HOME cache (used by some IBus setups)
|
||||
+ owner @{HOME}/.cache/ibus/ r,
|
||||
+ owner @{HOME}/.cache/ibus/* rw,
|
||||
+
|
||||
# Site-specific additions and overrides. See local/README for details.
|
||||
#include <local/usr.bin.pidgin>
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@
|
|||
#
|
||||
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
|
||||
# Copyright (C) 2025 Jacob K <jacobk@disroot.org>
|
||||
# Copyright (C) 2025 Luis Guzmán <ark@switnet.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -18,18 +19,19 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=1
|
||||
VERSION=2
|
||||
|
||||
. ./config
|
||||
|
||||
# Apply patches for screen reader on in pidgin, see more at:
|
||||
# https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/198
|
||||
for patch in $(ls -v ${DATA}/*.patch)
|
||||
do
|
||||
patch_p1 $patch
|
||||
done
|
||||
|
||||
apply_patch_changes
|
||||
|
||||
|
||||
changelog "Apply fix for issue TPH#198 for using pidgin with the screen reader."
|
||||
changelog "
|
||||
Apply fix for issue TPH#198 for using pidgin with the screen reader.
|
||||
Apply fix for pidgin not able to access ibus socket
|
||||
"
|
||||
|
||||
package
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue