Commit Graph

113 Commits

Author SHA1 Message Date
Zebra2711
5c7974d169 deps: add missing python libraries for extract icon from .exe 2026-01-18 05:32:32 -08:00
Marco Zanin
718415b930 Ubuntu: packaging: add AppArmor profile for bwrap
Starting with Ubuntu 23.10 Canonical begin to restrict unprivileged
user namespaces.[1] After this change AppArmor completely block bwrap
if user namespace restrictions are enforced, breaking Umu, which stops
with the following error:

pressure-vessel-wrap[290705]: E: Child process exited with code 1:
bwrap: setting up uid map: Permission denied

The solution is to add the missing AppArmor profile for bwrap. Ubuntu
already has it on apparmor-profiles package but it has not been enabled
yet.[2] This commit adds the profile to Lutris package and add the rules
during the deb installation.[3] Since it's an experimental profile it
can cause some issues on some corner cases (bwrap with root privileges
for example will be blocked by AppArmor), but it's still much more better
than leave bwrap completely unconfined or Umu broken for all Ubuntu
users on 23.10+.

Note: The profile will break AppArmor with ABI version < 4, for this
reason this patch include a postinst script[4] that will remove bwrap
profile in case Lutris is installed on an old Ubuntu version or Debian
(ABI 3). The script also check if there are Ubuntu/Umu/Custom rules (if
the file name has the same nomenclature used by Ubuntu) installed and if
found ours will be removed.

Note for packaging: dh-apparmor now is a required build dependency.

Test:
1 Kubuntu 24.10 (Real HW) ABI 4: AppArmor OK (rules applied), Umu works
2 Ubuntu 23.04 (VM) ABI 3: AppArmor OK (rules removed), Umu works
3 Debian 12 (VM) ABI 3: AppArmor OK (rules removed), Umu works

[1] https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces
[2] 77f03f143a
[3] https://wiki.debian.org/AppArmor/Contribute/FirstTimeProfileImport
[4] https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#summary-of-ways-maintainer-scripts-are-called

Signed-off-by: Marco Zanin <mrczn.bb@gmail.com>
2024-11-21 07:20:38 +01:00
Mathieu Comandon
c7efaac555 Upgrade gamescope and gamemode to Recommends in Debian package 2023-11-21 11:18:24 -08:00
Daniel Johnson
0283ae2af1 Shifts 'fluidsynth' and 'xdg-desktop-portal' to be 'Recommands' and not 'Depends'.
'fluidsynth' is not really required, and 'xdg-desktop-portal' appears to just be for flatpak support, so I think we do not need hard dependencieson these.

Resolves #5138
2023-11-21 11:15:43 -08:00
FlitPix
0f813cdcc2 Add fluidsynth to depends 2023-08-10 22:01:49 -07:00
Daniel Johnson
1b77808a55 Correct type-o in package name 2023-05-27 06:56:07 -04:00
Mathieu Comandon
470213829d Add vulkan-tools and xdg-desktop-portal to Debian dependencies 2023-05-27 02:29:56 -07:00
Daniel Johnson
ada7f28d56 Add dependency on python3-gi-cairo everywhere it seems to matter.
Resolves #4857.

It seems to me that Debian requires an extra package for PyCairo, but
RPM and PIP based installs do not. That's strange, but at least this
much seems to be needed.
2023-05-20 15:30:30 -07:00
Mathieu Comandon
8241e2c3a7 Update release date and contact email 2023-05-16 12:00:28 -07:00
Mathieu Comandon
8b725f361f Add python3-protobuf to Recommends 2023-02-11 11:22:41 -08:00
Mathieu Comandon
93e01fe4b8 Add gir1.2-webkit2-4.1 as a possible dependency 2023-02-11 11:17:45 -08:00
Mathieu Comandon
b90e349294 Lutris can use libwine package to satisfy dependencies 2022-12-03 14:35:13 -08:00
Mathieu Comandon
f73603dc51 Revert "Remove remaining uses of libnotify"
This reverts commit 5c20dff48d.
2022-12-02 13:51:18 -08:00
Mathieu Comandon
dcde7f5280 Revert "Bump Webkit2 dependency to 4.1"
This reverts commit 5c2cf7be51.
2022-12-02 13:51:03 -08:00
Maximiliano Sandoval R
5c2cf7be51 Bump Webkit2 dependency to 4.1
Webkit2 4.0 uses libsoup 2 which is deprecated, and as such it is not
part of the GNOME 43 runtime. The only difference in 4.1 is the use of
soup3 instead of soup2.
2022-10-22 13:41:45 +02:00
Maximiliano Sandoval R
5c20dff48d Remove remaining uses of libnotify 2022-10-22 11:51:07 +02:00
Stephan Lachnit
610501d215 debian: suggest gamescope
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-08-10 17:40:12 -07:00
Mathieu Comandon
1b08d2fb0b Remove gir1.2-gnomedesktop requirement 2022-02-23 09:53:47 -08:00
Mathieu Comandon
cfcffec8ab Change project statement 2021-03-22 15:21:50 -07:00
Stephan Lachnit
00cdfa221d Add lxml dependency
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-12-29 14:34:33 -08:00
Stephan Lachnit
a132834b11 debian: add python3-dbus dependency
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977246

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-12-14 13:37:34 -08:00
muzena
4c82502d2b Add appstream dependency to control file 2020-11-11 10:04:02 -08:00
Mathieu Comandon
ec76c27e1a Install Humble games from self generated installers 2020-10-03 04:51:11 -07:00
muzena
11e254b3e9 Revert debian build changes 2020-07-20 11:32:20 -07:00
muzena
bfdbd6e55e Fix ppa building 2020-07-15 11:59:10 -07:00
Stephan Lachnit
2995f4cd77 d/control: remove arch specific recommends
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-07-13 17:21:55 -07:00
Stephan Lachnit
2b06416ee9 d/control: change to arch: all
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-07-13 17:21:55 -07:00
Stephan Lachnit
9f245c0779 add lib32gcc alternative for newer gcc versions
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-19 18:23:08 -07:00
Stephan Lachnit
6dd56d3734 Default to Meson for Debian package
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-19 18:23:08 -07:00
Stephan Lachnit
1db904644f debian: update Standards-Version to 4.5.0
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-04-06 09:30:28 -07:00
Stephan Lachnit
26f2d606eb debian: use dh-sequence-python3
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-03-29 11:20:10 -07:00
Stephan Lachnit
036b070d69 Remove "for GNU/Linux" in debian/control
While the focus is on Linux and it currently only runs on Linux, nothing prevents people from adding support for different Kernels.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-01-11 16:09:25 -08:00
Stephan Lachnit
4d2f5c5d3c Add winetricks to recommends
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-01-11 16:09:25 -08:00
Stephan Lachnit
621ce256da Use system installation of python-distro
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-01-11 16:09:25 -08:00
Mathieu Comandon
061c496efc Move gfvs-backends to recommends, fall back to xdg-open (Closes #2514) 2020-01-01 12:58:57 -08:00
Aaron Opfer
d394a1750f lutris-wrapper: setproctitle to game name
Makes it slightly easier to identify what game a particular
lutris-wrapper instance is responsible for.
2019-12-27 15:25:21 -08:00
Stephan Lachnit
6c7bce931a make package Debian compliant
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2019-12-10 17:20:00 +01:00
Adehom
8709a01ac5 Issues lutris#2376
Change X-Python-Version: >= 3.4  ====> X-Python3-Version: >= 3.4 in line 23
2019-10-09 15:47:46 +02:00
Mathieu Comandon
fb53fc0e00 Also add libc bin to runtime dependencies, OBS doesn't pass tests without ldconfig 2019-04-16 15:29:42 -07:00
Mathieu Comandon
4c760cbf26 Add libc-bin to build dependencies to provide ldconfig 2019-04-16 15:29:42 -07:00
Mathieu Comandon
6b4039079b Add gvfs-backend as dependency (Closes #1918) 2019-03-24 23:17:30 -07:00
Mathieu Comandon
122451b89b Add mesa-utils as dependency (Closes #1930) 2019-03-24 23:17:30 -07:00
Mathieu Comandon
57a37782f1 All the build dependencies! 2019-02-01 10:20:52 -08:00
Mathieu Comandon
5b6b2b1655 Add PIL to Build-Depends 2019-02-01 10:16:17 -08:00
Mathieu Comandon
3a9b792a37 Add requests to build dependencies 2019-02-01 10:07:18 -08:00
Mathieu Comandon
5c51f4d0d0 Provide simpler downloader implementation based on requests 2019-01-21 22:06:37 -08:00
Mathieu Comandon
226057fd63 Add python3-pil dependency 2019-01-09 19:59:23 -08:00
Mathieu Comandon
c5497a3ae5 Add notifications when games are imported (Closes #1472) 2019-01-04 05:03:46 -08:00
Mathieu Comandon
0acdfb40a0 Add x11-xserver-utils dependency (Fixes #1361) 2018-12-20 23:34:32 -08:00
Mathieu Comandon
e82a4dabad Add fluid-soundfont-gs dependency to Debian/Ubuntu 2018-12-20 23:26:36 -08:00