Github messages for voidlinux
 help / color / mirror / Atom feed
From: ArsenArsen <ArsenArsen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] xorg-server: enable privilege-less Xorg 
Date: Sat, 26 Feb 2022 23:00:58 +0100	[thread overview]
Message-ID: <20220226220058.Ypb7I4RA_tEB6YguOpPSIwgLPcM-EMbP5AwyrlrUVEc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35522@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

There is an updated pull request by ArsenArsen against master on the void-packages repository

https://github.com/ArsenArsen/void-packages privilegeless-xorg
https://github.com/void-linux/void-packages/pull/35522

xorg-server: enable privilege-less Xorg 
#### Testing the changes
- I tested the changes in this PR: **briefly**  
  I haven't daily driven these changes, but the affected areas I've tested, and I believe anyone who has the right groups should be alright.

There's actually no dependency on any library but DBus when enabling elogind, so I removed that false dependency. Changing `Xwrapper.config` to have `auto` by default should  prevent breaking anyone's system.

A patch file from https://github.com/void-linux/void-packages/pull/35522.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-privilegeless-xorg-35522.patch --]
[-- Type: text/x-diff, Size: 2032 bytes --]

From 79ab08e587bd588964d090a15f5940147fd39051 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
Date: Fri, 11 Feb 2022 00:54:04 +0100
Subject: [PATCH] xorg-server: enable rootless Xorg by default

---
 srcpkgs/xorg-server/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template
index 171f39e41490..f3361f517734 100644
--- a/srcpkgs/xorg-server/template
+++ b/srcpkgs/xorg-server/template
@@ -1,14 +1,14 @@
 # Template file for 'xorg-server'
 pkgname=xorg-server
 version=21.1.3
-revision=3
+revision=4
 build_style=meson
 configure_args="-Dipv6=true -Dxorg=true -Dxnest=true -Dxephyr=true
  -Dxvfb=true -Dhal=false -Dudev=true -Dxkb_dir=/usr/share/X11/xkb
  -Dxkb_output_dir=/var/lib/xkb
  -Dlinux_acpi=true -Dlinux_apm=false -Dsuid_wrapper=true
  -Dxcsecurity=true -Dsystemd_logind=$(vopt_if elogind true false)
- -Dglamor=true -Ddri2=true -Ddri3=true -Dglx=true"
+ -Dglamor=true -Ddri2=true -Ddri3=true -Dglx=true -Ddrm=true"
 hostmakedepends="pkg-config xkbcomp flex"
 makedepends="MesaLib-devel libXaw-devel libXfont-devel libXfont2-devel
  libXrender-devel libXres-devel libXtst-devel libXv-devel libXxf86dga-devel
@@ -17,7 +17,7 @@ makedepends="MesaLib-devel libXaw-devel libXfont-devel libXfont2-devel
  xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel xkbcomp
  nettle-devel libxcvt-devel font-util $(vopt_if elogind 'dbus-devel')"
 # See hw/xfree86/common/xf86Module.h. Only care for the major version.
-depends="xkeyboard-config $(vopt_if elogind 'elogind') xorg-server-common"
+depends="xkeyboard-config xorg-server-common"
 checkdepends="xkeyboard-config"
 short_desc="X11 server from X.org"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
@@ -33,6 +33,7 @@ conf_files="/etc/X11/Xwrapper.config"
 
 build_options="elogind"
 desc_option_elogind="Rootless Xorg support with elogind"
+build_options_default="elogind"
 
 # disable VBE on non-x86 systems
 case "$XBPS_TARGET_MACHINE" in

  parent reply	other threads:[~2022-02-26 22:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 23:57 [PR PATCH] " ArsenArsen
2022-02-11 10:23 ` dkwo
2022-02-11 11:12 ` ArsenArsen
2022-02-11 11:14 ` ArsenArsen
2022-02-11 13:37 ` dkwo
2022-02-11 13:46 ` ArsenArsen
2022-02-11 13:46 ` [PR PATCH] [Updated] " ArsenArsen
2022-02-11 13:56 ` dkwo
2022-02-11 22:09 ` leahneukirchen
2022-02-11 22:34 ` ArsenArsen
2022-02-11 22:42 ` leahneukirchen
2022-02-22 14:23 ` dkwo
2022-02-22 15:42 ` dkwo
2022-02-26 20:37 ` ahesford
2022-02-26 20:38 ` ahesford
2022-02-26 21:01 ` [PR PATCH] [Updated] " ArsenArsen
2022-02-26 21:04 ` dkwo
2022-02-26 21:08 ` ahesford
2022-02-26 21:54 ` ArsenArsen
2022-02-26 22:00 ` ArsenArsen [this message]
2022-02-28 15:07 ` dkwo
2022-02-28 15:21 ` ArsenArsen
2022-06-23  2:15 ` github-actions
2022-07-08  2:14 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220226220058.Ypb7I4RA_tEB6YguOpPSIwgLPcM-EMbP5AwyrlrUVEc@z \
    --to=arsenarsen@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).