Package: qtox / 1.17.6-2

Metadata

Package Version Patches format
qtox 1.17.6-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Remove bundled font.patch | (download)

res.qrc | 3 0 + 3 - 0 !
src/main.cpp | 7 0 + 7 - 0 !
2 files changed, 10 deletions(-)

 [patch 1/5] remove bundled font


0002 Remove tests requiring net.patch | (download)

cmake/Testing.cmake | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 2/5] remove tests requiring net


0003 fix apparmor Import nvidia abstraction.patch | (download)

security/apparmor/2.12.1/usr.bin.qtox | 1 1 + 0 - 0 !
security/apparmor/2.13.2/usr.bin.qtox | 1 1 + 0 - 0 !
security/apparmor/2.13.3/usr.bin.qtox | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+)

 [patch 3/5] fix(apparmor): import nvidia abstraction

In Debian Sid, after upgrading to nvidia-tesla-470-driver,
qTox forever freezes upon startup.

AppArmor denials:

```
type=AVC msg=audit(1666461161.036:2783): apparmor="DENIED"
operation="open" profile="qtox" name="/proc/modules" pid=5139
comm="qtox" requested_mask="r" denied_mask="r" fsuid=1000
ouid=0FSUID="vincas" OUID="root"

type=AVC msg=audit(1666461161.036:2784): apparmor="DENIED"
operation="exec" profile="qtox" name="/usr/bin/nvidia-modprobe" pid=5150
comm="qtox" requested_mask="x" denied_mask="x" fsuid=1000
ouid=0FSUID="vincas" OUID="root"

```

As it keeps waiting forever:

```
[pid  5306] clone(child_stack=NULL,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDstrace: Process
5317 attached
, child_tidptr=0x7f41ea70d750) = 5317
[pid  5317] set_robust_list(0x7f41ea70d760, 24) = 0
[pid  5306] wait4(5317,  <unfinished ...>
[pid  5317] execve("/usr/bin/nvidia-modprobe",
["/usr/bin/nvidia-modprobe"], 0x7ffc19b67258 /* 0 vars */) = -1 EACCES
(Permission denied)
[pid  5317] write(7, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  5315] <... poll resumed>)         = 1 ([{fd=7, revents=POLLIN}])
[pid  5317] futex(0x55ed33f3f4d0,
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL,
FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid  5315] read(7, "\1\0\0\0\0\0\0\0", 16) = 8
[pid  5315] poll([{fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 2, -1
<unfinished ...>
[pid  5314] <... poll resumed>)         = 1 ([{fd=3, revents=POLLIN}])
[pid  5314] recvmsg(3, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="U\2P\1:\3\4\0\3\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0\0\3\37%\2\0\0",
iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
[pid  5314] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  5314] poll([{fd=3, events=POLLIN}], 1, -1
```

Allowing to read /proc/modules and other nvidia-driver-related files
(by importing abstractions/nvidia) fixes this issue.

0004 fix video fix FTBFS with ffmpeg 7.0.patch | (download)

src/video/cameradevice.cpp | 36 1 + 35 - 0 !
1 file changed, 1 insertion(+), 35 deletions(-)

 [patch 4/5] fix(video): fix ftbfs with ffmpeg 7.0


0005 throw away text message on friend request.patch | (download)

src/core/core.cpp | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 [patch 5/5] throw away text message on friend request


reproducible gzip.patch | (download)

cmake/Installation.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---