[arch-commits] Commit in xorg-xinit/repos (5 files)
Andreas Radke
andyrtr at archlinux.org
Tue Mar 13 16:37:29 UTC 2018
Date: Tuesday, March 13, 2018 @ 16:37:29
Author: andyrtr
Revision: 318840
archrelease: copy trunk to testing-x86_64
Added:
xorg-xinit/repos/testing-x86_64/
xorg-xinit/repos/testing-x86_64/PKGBUILD
(from rev 318839, xorg-xinit/trunk/PKGBUILD)
xorg-xinit/repos/testing-x86_64/fs25361.patch
(from rev 318839, xorg-xinit/trunk/fs25361.patch)
xorg-xinit/repos/testing-x86_64/fs46369.patch
(from rev 318839, xorg-xinit/trunk/fs46369.patch)
xorg-xinit/repos/testing-x86_64/xserverrc
(from rev 318839, xorg-xinit/trunk/xserverrc)
---------------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
fs25361.patch | 17 +++++++++++++++++
fs46369.patch | 11 +++++++++++
xserverrc | 2 ++
4 files changed, 80 insertions(+)
Copied: xorg-xinit/repos/testing-x86_64/PKGBUILD (from rev 318839, xorg-xinit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-03-13 16:37:29 UTC (rev 318840)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=xorg-xinit
+pkgver=1.4.0
+pkgrel=2
+pkgdesc="X.Org initialisation program "
+arch=('x86_64')
+license=('custom')
+url="https://xorg.freedesktop.org/"
+depends=('libx11' 'xorg-xauth' 'xorg-xrdb' 'xorg-xmodmap' 'inetutils')
+makedepends=('xorg-util-macros')
+optdepends=('xorg-twm' 'xterm')
+backup=('etc/X11/xinit/xserverrc'
+ 'etc/X11/xinit/xinitrc')
+source=(${url}/releases/individual/app/xinit-${pkgver}.tar.bz2{,.sig}
+ fs25361.patch
+ fs46369.patch
+ xserverrc)
+options=(!emptydirs)
+sha512sums=('53a29081130c1e195eb441ee77ccaa044b18b4cca3d2d5da3a6d67aa421dfd9718fa18b6be6232a41e40cf260c8190064c4d8d9ab771177bd5cd12e77a8fa79e'
+ 'SKIP'
+ '12a89cbb26902e135bb21f945c8de86526ff879c9f20a2601157f6a39899f021ed2970cee9e4fbcd4c13af6fe78e7902dd1f7ce1928fc914d681453bf848c0f8'
+ '8a36bff3c472763a9a46b9a36b8b4a15f03e6fb0387b12efba27f15dc500faa2a3f92c0f7e217a0b00da7c78682c7af6357cc6b88b550ece9bc89c477412b7e0'
+ 'f86d96d76bcb340021e7904925f0029f8662e4dfc32489198b3a8695dca069da496539e2287249c763fe9c4d8d5d591fd18fe49a0bee822cbbd0eb712efbb89b')
+validpgpkeys=('7C2608F8E5F9E78D7A3F26FF177544B49AF313FB') # "Hans de Goede <jwrdegoede at fedoraproject.org>"
+validpgpkeys+=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith at oracle.com>"
+
+prepare() {
+ cd xinit-${pkgver}
+ patch -Np1 -i ../fs25361.patch
+ patch -Np1 -i ../fs46369.patch
+ sed -i -e 's/XSLASHGLOB.sh/XSLASHGLOB/' xinitrc.cpp
+}
+
+build() {
+ cd xinit-${pkgver}
+ autoreconf -fi
+ ./configure --prefix=/usr --with-xinitdir=/etc/X11/xinit
+ make
+}
+
+package() {
+ cd xinit-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -m644 "${srcdir}/xserverrc" "${pkgdir}/etc/X11/xinit/xserverrc"
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Copied: xorg-xinit/repos/testing-x86_64/fs25361.patch (from rev 318839, xorg-xinit/trunk/fs25361.patch)
===================================================================
--- testing-x86_64/fs25361.patch (rev 0)
+++ testing-x86_64/fs25361.patch 2018-03-13 16:37:29 UTC (rev 318840)
@@ -0,0 +1,17 @@
+Common subdirectories: xinit.orig/privileged_startx and xinit/privileged_startx
+diff -u xinit.orig/startx.cpp xinit/startx.cpp
+--- xinit.orig/startx.cpp 2011-08-02 18:26:57.161711018 +0400
++++ xinit/startx.cpp 2011-08-02 19:06:39.348816866 +0400
+@@ -290,9 +290,9 @@
+ XCOMM now add the same credentials to the client authority file
+ XCOMM if '$displayname' already exists do not overwrite it as another
+ XCOMM server may need it. Add them to the '$xserverauthfile' instead.
+- for displayname in $authdisplay $hostname$authdisplay; do
++ for displayname in $authdisplay $hostname/unix$authdisplay; do
+ authcookie=`XAUTH list "$displayname" @@
+- | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
++ | sed -n "s/.*$hostname\/unix$authdisplay[[:space:]*].*[[:space:]*]//p"` 2>/dev/null;
+ if [ "z${authcookie}" = "z" ] ; then
+ XAUTH -q << EOF
+ add $displayname . $mcookie
+
Copied: xorg-xinit/repos/testing-x86_64/fs46369.patch (from rev 318839, xorg-xinit/trunk/fs46369.patch)
===================================================================
--- testing-x86_64/fs46369.patch (rev 0)
+++ testing-x86_64/fs46369.patch 2018-03-13 16:37:29 UTC (rev 318840)
@@ -0,0 +1,11 @@
+diff -u -r xinit-1.3.4/startx.cpp xinit-1.3.4-dbus/startx.cpp
+--- xinit-1.3.4/startx.cpp 2015-09-21 17:07:29.732240308 +0200
++++ xinit-1.3.4-dbus/startx.cpp 2015-09-21 17:07:59.255424644 +0200
+@@ -11,7 +11,6 @@
+ XCOMM Site administrators are STRONGLY urged to write nicer versions.
+ XCOMM
+
+-unset DBUS_SESSION_BUS_ADDRESS
+ unset SESSION_MANAGER
+
+ #ifdef __APPLE__
Copied: xorg-xinit/repos/testing-x86_64/xserverrc (from rev 318839, xorg-xinit/trunk/xserverrc)
===================================================================
--- testing-x86_64/xserverrc (rev 0)
+++ testing-x86_64/xserverrc 2018-03-13 16:37:29 UTC (rev 318840)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/X -nolisten tcp "$@"
More information about the arch-commits
mailing list