From 7197fc2b4121f6e79801d747767b10cbca454605 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 18 Jul 2014 14:39:16 +0200 Subject: [PATCH] xorg-server: add a post-install message mentioning required user groups. --- srcpkgs/xorg-server/INSTALL | 17 +++++++++++++++++ srcpkgs/xorg-server/template | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/xorg-server/INSTALL diff --git a/srcpkgs/xorg-server/INSTALL b/srcpkgs/xorg-server/INSTALL new file mode 100644 index 00000000000..dc21dd1b8c9 --- /dev/null +++ b/srcpkgs/xorg-server/INSTALL @@ -0,0 +1,17 @@ +case "$ACTION" in +post) + cat <<_EOF +======================================================================= + +${PKGNAME}-${VERSION} 1.16 now requires your user to be a member of +the *input* and *video* groups to be able to run X without root +permissions. Make sure to add your user to these groups: + + # sudo usermod -a -G input,video + +and the re-login to make it effective. + +======================================================================= +_EOF + ;; +esac diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template index 1209c70a1a9..e5aff56c15f 100644 --- a/srcpkgs/xorg-server/template +++ b/srcpkgs/xorg-server/template @@ -1,7 +1,7 @@ # Template build file for 'xorg-server'. pkgname=xorg-server version=1.16.0 -revision=3 +revision=4 build_style=gnu-configure configure_args="--enable-ipv6 --enable-xcsecurity --enable-record --enable-xnest --enable-xephyr --enable-composite --enable-xvfb