commit cfa71d44248562f22f2d92732c5e493e89061569
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Mar 9 13:37:26 2025 -0700

    xinit 1.4.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 39769df60a20892c923a99113feee35e2e35b01b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 23 15:43:19 2025 -0800

    quote variable assignments & expansions in startx & xinitrc
    
    Handle values that may contain spaces
    
    Reported-by: Peter Tribble <peter.tribble@gmail.com> in #23
    Fixes: b8517b6 ("Modernized shell scripts")
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/22>

commit fc9d432a6133465e7a6d128d6992a930a8e46267
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 23 15:32:57 2025 -0800

    Generate startx & xinitrc with configure substitutions instead of cpp
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/22>

commit 0af6f38f7c7f68fccae9baa282d626f3ddbb229b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jan 23 14:44:09 2025 -0800

    Add missing / at the beginning of /dev/urandom
    
    Reported-by: Peter Tribble <peter.tribble@gmail.com> in #23
    Fixes: b8517b6 ("Modernized shell scripts")
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/22>

commit 79d1a902f93fe75e31c0bfb95e949293e6213992
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jan 5 10:20:39 2025 -0800

    xinit 1.4.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 6ad6378928dd1eec2a3e159f92b53b68ce3884ba
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 7 10:27:28 2024 -0800

    Use asprintf() if available
    
    If we can use it, then we avoid a couple of clang warnings:
    xinit.c:534:20: warning: implicit conversion changes signedness:
     'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            len = numn + 1;
                ~ ~~~~~^~~
    xinit.c:540:40: warning: implicit conversion changes signedness:
     'int' to 'unsigned long' [-Wsign-conversion]
            len = strlen(windowpath) + 1 + numn + 1;
                                         ~ ^~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/20>

commit 0420d0b58b34217e496caa7dfa904bd833c00133
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 7 10:03:33 2024 -0800

    Use ptrdiff_t to store results of pointer subtraction
    
    Clears warnings from clang of:
    xinit.c:174:34: warning: implicit conversion loses integer precision:
     'long' to 'int' [-Wshorten-64-to-32]
        start_of_client_args = (cptr - client);
                             ~  ~~~~~^~~~~~~~
    xinit.c:203:34: warning: implicit conversion loses integer precision:
     'long' to 'int' [-Wshorten-64-to-32]
        start_of_server_args = (sptr - server);
                             ~  ~~~~~^~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/20>

commit 35de4b9d29a78e0f95539c0540b8b173cae71766
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 7 09:55:49 2024 -0800

    Clear -Wunused-parameter warnings from clang
    
    Add _X_UNUSED to parameters required by callback definitions which we
    don't acutally use.
    
    Clears clang warnings of:
    
    xinit.c:129:15: warning: unused parameter 'sig' [-Wunused-parameter]
    sigIgnore(int sig)
                  ^
    xinit.c:581:20: warning: unused parameter 'dpy' [-Wunused-parameter]
    ignorexio(Display *dpy)
                       ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/20>

commit 8a9c76dd35d5f824669ea2c7268cd7b4684c8687
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 7 09:50:10 2024 -0800

    Mark global variables as static since there's only one source file
    
    Clears 8 warnings from clang of the form:
    
    xinit.c:61:13: warning: no previous extern declaration for non-static
     variable 'bindir' [-Wmissing-variable-declarations]
    const char *bindir = BINDIR;
                ^
    xinit.c:61:7: note: declare 'static' if the variable is not intended
     to be used outside of this translation unit
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/20>

commit 2f62c78b5714c95d03c0b1271b9b83b550af50b3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Aug 27 16:45:36 2024 -0700

    Remove Xdmx from suggested Xserver list
    
    It's not included in the xorg-server-21.x releases.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/19>

commit 8252e334c5cc381d5a32bc4d3d47bae1bfc94fe0
Author: jopamo <p@1g4.org>
Date:   Tue Jun 25 20:06:53 2024 -0400

    add closing quote to /dev/random mcookie hex
    
    Fixes: b8517b6 ("Modernized shell scripts")
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/18>

commit 671da781805728fdea68efa5609906f6e0d0a3fe
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Jun 16 11:52:00 2024 -0700

    Reindent startx after !6
    
    Converting cpp-level ifdefs to shell-level ifs left confusing indentation
    levels, this fixes that.
    
    Fixes: b8517b6 ("Modernized shell scripts")
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/17>

commit b8517b646839969548e5c1f1ac0045f0254da774
Author: Marc Pervaz Boocha <mboocha@sudomsg.xyz>
Date:   Wed Nov 17 22:43:35 2021 +0530

    Modernized shell scripts
    
    Fixes #14
    Makes Progress to #15
    
    Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xinit/-/merge_requests/6>

commit 354d1386d18631630447f47e6f2fd7f93e55feab
Author: Geert Hendrickx <geert@hendrickx.be>
Date:   Sun Jun 16 18:17:21 2024 +0000

    Don't exit with failure on SIGTERM regardless.

commit 0fb9f76d3f0205298b0d98c5b0a9a09c4e418388
Author: ayekat <takeya@bluewin.ch>
Date:   Thu Jan 12 22:06:50 2023 +0100

    startx: Assign XSERVERRC to correct userserverrc
    
    Also fix same mistake in the startx manpage.
    
    Signed-off-by: ayekat <takeya@bluewin.ch>

commit 3172dc7e15b7a249555ca12e24f4a787164a7f8a
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Wed Jan 11 21:33:11 2023 -0800

    darwin: Remove bashism from 10-tmpdirs script
    
    possible bashism in 10-tmpdirs line 57 (should be >word 2>&1):
                    if ${MKTEMP} -d ${dir} >& /dev/null ; then
    
    Fixes: https://github.com/XQuartz/XQuartz/issues/316
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit f9786fb5a7e526035699f3d4d6661468ab20e689
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Dec 3 14:05:44 2022 -0800

    xinit 1.4.2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4f22f255e58fda758fcdd85f8554c4ef274600e8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 9 12:22:19 2022 -0800

    man page: Update remote display example from rsh to ssh
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4e66c0bf2b5751e113ad3aba79891608f7e883e2
Author: Tim Egenton <tegenton@splattim.me>
Date:   Tue Dec 7 09:15:18 2021 -0500

    startx: Source XINITRC and XSERVERRC variables
    
    Fix issue #14
    
    Check XINITRC and XSERVERRC, if those files do not exist then just use
    ~/.xinitrc and ~/.xserverc as normal.
    
    Signed-off-by: Tim Egenton <tegenton@splattim.me>

commit 0ea1ec1ed445235cdba9e54e71023d5a82feed6b
Author: Arthur Williams <taaparthur@disroot.org>
Date:   Fri Oct 14 20:59:54 2022 -0700

    Don't wait for X to finish starting if it has died
    
    On my setup, when X first starts there aren't any screens available so
    it immediately dies. Half a second later, screens become available but
    xinit would still be waiting for the dead X process to signal that it
    is ready. It'll take 15s for it to timeout and respawn X.
    
    This patch makes xinit listen for its child's death and if X dies, it'll
    immediately stop waiting for it to finish starting and attempt to start
    it again.

commit 60389ce90f552d9dfef8facf0efaf48efa59d93c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 28 17:30:21 2022 -0700

    gitlab CI: stop requiring Signed-off-by in commits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d190145b94d00efe8a52c01c1675c308baa335cc
Author: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date:   Thu Jun 9 11:21:17 2022 +0200

    stop unsetting DBUS_SESSION_BUS_ADDRESS variable
    
    It's not necessary as we no longer support running startx from an
    existing X session.
    
    Fixes #9.
    
    Signed-off-by: Dominik Mierzejewski <dominik@greysector.net>

commit 6bdce31401e3caf10242f1e8a4855b2c8e90ea13
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sun Jun 19 20:09:55 2022 -0700

    darwin: Wait for font_cache to complete to avoid a race with `xset fb=`
    
    Partially fixes: https://github.com/XQuartz/XQuartz/issues/216
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit bf1d55c1aeef4d4755e1dbaf05cd625e48780bfb
Author: nia <nia@NetBSD.org>
Date:   Thu Apr 7 22:33:28 2022 +0200

    startx: don't attempt to catch SIGKILL
    
    Most shells ignore attempts to catch SIGKILL. Some, such as NetBSD's
    /bin/sh, print an annoying message helpfully reminding you
    that it isn't possible to catch SIGKILL whenever X starts.
    
    Signed-off-by: Nia Alarie <nia@NetBSD.org>

commit 71a8997cad602ef0adc9fed110e8a04d2a8fc8dc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 6 14:37:17 2021 -0800

    Build xz tarballs instead of bzip2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 366a03498d51958757cf03aa1ebbdf06db4eb2de
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Dec 6 14:37:14 2021 -0800

    gitlab CI: add a basic build test
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bdf2af54a800470990a66d11b14589e19fa568ac
Author: Arthur Williams <taaparthur@gmail.com>
Date:   Fri Jun 4 21:44:03 2021 -0700

    Remove non-portable grep usage from startx
    
    startx uses non-portable grep flags (-o). grep isn't even needed for
    this and has been replaced with substring removal.
    
    Closes #6

commit ae77976adaae9948e3e8d7a673dc88df4e31de46
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Mon Mar 15 17:37:53 2021 -0700

    darwin: Specify +extension GLX when the user requests IGLX support
    
    Fixes: https://github.com/XQuartz/XQuartz/issues/54
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit 8caf10c018d77a097015798b604be8817f526274
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Wed Mar 10 13:50:09 2021 -0800

    darwin: Ensure we launch the user startx from $HOME
    
    Fixes: https://github.com/XQuartz/XQuartz/issues/114
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit db21df4054e3351d14eb7dc1c3216cd23a61cee4
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Wed Mar 10 13:46:23 2021 -0800

    darwin: Drop support for macOS 10.7 and earlier
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit e2430bcb8327682340d985f89ad5137efa2f0d4f
Author: Rickie Schroeder <1187-Gregg16@users.noreply.gitlab.freedesktop.org>
Date:   Fri Aug 28 13:34:05 2020 +0000

    startx: use uname -n instead of hostname
    
    startx calls hostname to obtain the hostname, but this is not defined by POSIX, so not guaranteed to work. The script already does some checks to deal with different hostname implementations on Linux.
    
    Using uname -n instead fixes this in a portable way.

commit 91d2aba6364ec6685411595ccafea69fe9d20d6c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 23 09:26:21 2020 -0700

    Fix spelling/wording issues
    
    Found by using:
      codespell --builtin clear,rare,usage,informal,code,names
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4f54d1843a780a71c3be0b56fe2ad2ddfcbaf928
Author: Matt Turner <mattst88@gmail.com>
Date:   Sun Mar 8 15:16:36 2020 -0700

    man: Restore non-SCO UNIX bits of the man page
    
    It looks to me like commit 5268936259c5 (Remove SCO support for
    SHELL_CMD and startx man page.) removed the wrong bits of the man page.
    
    This commit replaces the SCO UNIX bits of the man page with the non-SCO
    UNIX bits.
    
    Signed-off-by: Matt Turner <mattst88@gmail.com>

commit 9a8b937bcfd84575e13039f316cbcb14c9729df4
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Mar 3 11:56:43 2019 -0800

    xinit 1.4.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b3dc751212e5f2f6b5d263e009cc2b85e56bfdbf
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Thu Feb 7 20:54:37 2019 +0100

    Buffer overflow with many arguments.
    
    Command line arguments are copied into clientargv and serverargv without
    verifying that enough space is available. A high amount of arguments can
    therefore trigger a buffer overflow like this:
    
    $ xinit $(seq 1 500)
    
    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
    Reviewed-by: Walter Harms wharms@bfs,de

commit f727023c1a75dcc467dd99a3db69a5834a0718f0
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Nov 21 17:06:34 2018 -0800

    Update configure.ac bug URL for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ce311771ca86a4134511aecda5601d7c76d763dd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 16 22:19:18 2018 -0800

    Update README for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 752ef176eb99f6315be27f00896b37ce217758b9
Author: Laurent Bigonville <bigon@bigon.be>
Date:   Fri Sep 12 15:35:49 2014 +0200

    Fix some miscellaneous stuffs in the manpages
    
    See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726962
    https://bugs.freedesktop.org/show_bug.cgi?id=83797
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aac8e17d28665dd35a73ee188c007f0b0f9cd9fe
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Mon Oct 26 13:55:35 2009 +0000

    Make text about supplying X server arguments via startx more generic
    
    Make text about supplying X server arguments via startx more generic,
    rather than assuming the started server will be Xorg, and hence will
    take Xorg's arguments.
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2df7937c6d57a4f44288d13fc50218fe088c4185
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 9 17:44:47 2018 -0800

    xinit 1.4.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2effad417dabccd0b41ac32dc8108c99c73801d2
Author: Tobias Stoeckmann <tobias@stoeckmann.org>
Date:   Mon Jan 30 21:35:37 2017 +0100

    xinit: check for correct fork error code
    
    Even though this code is only active on __sun machines, the fork return
    value should be checked for -1, not 1, to detect an error situation.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 710ea2cec2b36831a3b6b5bdae223d18edbea933
Author: Mihail Konev <k.mvc@ya.ru>
Date:   Thu Jan 26 14:00:21 2017 +1000

    autogen: add default patch prefix
    
    Signed-off-by: Mihail Konev <k.mvc@ya.ru>

commit 4345a602d48fbdf68e57db54e08f6a78d1679993
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Mar 9 12:00:52 2015 +0000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 762c1a8db1257246e23e0f9dfd876f97cb73e528
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jan 24 10:32:07 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit 4525e14fcfeaaf526227e3addec67d0ce4632270
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sat May 28 14:00:58 2016 -0700

    startx: Add support for enabling IGLX for XQuartz
    
    https://bugs.freedesktop.org/show_bug.cgi?id=96260
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit 208a47e0d8f62e7c77fa42137511de890feea7fe
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sat May 28 13:47:01 2016 -0700

    startx: Add -listen tcp if nolisten_tcp is disabled for XQuartz
    
    https://bugs.freedesktop.org/show_bug.cgi?id=95379
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit 72160c42bea2073bf95c01aca59a12f0ca7ab707
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Tue Dec 29 17:03:43 2015 -0800

    launchd: Install binaries into libexecdir
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit 281b314f38564537279c94e605bee74ff41b0245
Author: Ingo Schwarze <schwarze@usta.de>
Date:   Sun Aug 30 15:13:07 2015 +0200

    remove bogus \/ escapes
    
    some X manuals use then escape sequence \/ when they want to render
    a slash.  That's bad because \/ is not a slash but an italic
    correction, never producing any output, having no effect at all in
    terminal output, and only changing spacing in a minor way in typeset
    output.
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

commit c5e40f503420bd61c7a33e082db755c03c070c81
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Mar 25 11:04:13 2015 +1000

    startx: don't init defaultdisplay to :0
    
    This is misleading - it is always overwritten after looping through the lock
    files.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>

commit e07fa99039c0f63ed8f0b142e546ef102321fca0
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Fri Mar 20 14:25:44 2015 +0100

    startx: Fix startx picking an already used display number when -nolock is used
    
    Currently startx relies on /tmp/.X?-lock being present for automatically
    picking a free display number. This does not work if -nolock is used when
    starting the server, or if the server is started with -displayfd as -displayfd
    implies -nolock.
    
    This is becoming a problem now that -displayfd is getting used by
    display-managers (e.g. gdm), this fixes this by also checking for
    /tmp/.X11-unix/X?
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit a3a34a393b9aeacc0b41dc9b4608ad2be25564cf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Mar 25 11:08:45 2015 +1000

    startx: fix comment typo
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 27488975a61858bbaf72047838074389566e2136
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 13 21:43:37 2015 -0500

    Remove left over $(launchagents_DATA) in CLEANFILES
    
    This was left over when reorganizing layout of launchd sources
    in commit 567f59d3f8189b92bc46e2af1260f9340f462bdb
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1be5f1ae5df1d9b3f29fafe3eb29ea890a628b54
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 13 20:21:51 2015 -0500

    Remove support for ancient A/UX 3.0 support
    
    This was Apple Computer’s implementation of the Unix operating system
    for some of their Macintosh computers. From 1988 to 1995.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5268936259c598ea1e51370df33011a48ec9f3d4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 13 19:37:16 2015 -0500

    Remove SCO support for SHELL_CMD and startx man page.
    
    SCO support was removed from startx.cpp and xinitrc.cpp earlier.
    
        Remove unixware / sco support
        http://cgit.freedesktop.org/xorg/app/xinit/commit/
        ?id=fdf03cd2fdfd9cd5635334c5e4dc2bb23e92e37a
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e3bab0cc706880c22f2b205e7abad9d8c0227071
Author: Mark Kettenis <kettenis@openbsd.org>
Date:   Thu Jan 29 11:23:01 2015 +0100

    startx: Don't use GNU expr extensions
    
    Use the ':' operator instead of "match" and avoid the use of "\+".  Both
    constructions aren't specified by POSIX and not supported in BSD expr.
    Also drop the '^' from the regular expressions as it is implicit and
    POSIX leaves its behaviour undefined.
    
    Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
    Acked-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit bd6cacdd36615e9b8136aeb86c3924a404785977
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Tue Jan 20 16:18:34 2015 +0100

    startx: Pass -keeptty when telling the server to start on the current tty
    
    Detaching from the tty causes systemd-logind to refuse service to the xserver,
    the xserver already tries to detect that it is being asked to run on the
    current tty and then automatically enables -keeptty, but this code fails if
    all of stdin, stdout and stderr are redirected to a file. So explicitly tell
    the xserver to not detach when we're telling it to run on the current tty.
    
    BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1177513
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 6f6747d500439782476cf5c029a7fc45fc954c86
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Thu Sep 11 16:29:06 2014 +0200

    xinit 1.3.4
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>

commit e91faac94e36937c96c04277eae7960bf5132b5b
Author: Brad Smith <brad@comstyle.com>
Date:   Fri Aug 29 01:34:16 2014 -0400

    Remove hardcoded path to OpenSSL for OpenBSD
    
    Since xinit's autoconf script was changed to use AC_PATH_PROGS() to find
    openssl this hardcoded path to openssl can be removed. This was noticed
    recently when openssl was moved from /usr/sbin to /usr/bin and developers
    were looking for anything having hardcoded paths.
    
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit 94b002262d27975dabf56c77fd308ebabc894090
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Tue Aug 26 11:52:20 2014 +0200

    startx: Make the bugzilla reference in a comment survive cpp processing
    
    https://bugs.freedesktop.org/show_bug.cgi?id=83019
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>

commit 5502aaf99f4e723e96791e8f4cf01e0c200ec269
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat May 31 21:39:32 2014 -0700

    autogen.sh: Honor NOCONFIGURE=1
    
    See http://people.gnome.org/~walters/docs/build-api.txt
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a6a720b5181d4d0529e4eb203ece234ba45f69dd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat May 31 21:38:41 2014 -0700

    configure: Drop AM_MAINTAINER_MODE
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1b23094a8606bf383ec6c7803a9cd300b1bb96a7
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Mon Apr 7 11:23:48 2014 +0200

    startx: Pass vtX as long as the user did not specify one
    
    Adding vtX to $defaultserverargs means that it will only be added when
    the user specifies no server arguments.
    
    This means that doing ie: "startx -- -depth 16" will cause the server to start
    on a different vt then just "startx", which does not meat the principle of
    least surprise.
    
    Instead always pass the vtX argument, except when the user has specified its
    own vtX argument. Note that vtX still only gets added for the default server,
    since for ie Xnest or Xephyr it makes no sense.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: James Cloos <cloos@jhcloos.com>

commit 44915d6953076849b69a017f6fc8234b0f254362
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Tue Mar 25 11:54:31 2014 +0100

    startx: Under Linux start X on the current VT
    
    When we let X allocate a new VT, systemd-logind will not recognize any
    processes running on this VT as belonging to a valid session (since there
    was no pam session opened on that tty).
    
    This causes problems like PolicyKit denials for these processes.
    
    ConsoleKit under Linux has been deprecated for a few years now and is no
    longer being maintained, so simply make this the default under Linux.
    
    Note we do not pass in the vt if the user has specified an alternative server
    to start, as the vtX argument is only valid for the Xorg server, likewise we
    omit it if the user has specified any other server arguments.
    
    Fixes:
    https://bugzilla.redhat.com/show_bug.cgi?id=806491
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 79479a0c45f3177ddf0bb2666d39535b6c767c07
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Tue Mar 25 11:48:58 2014 +0100

    Replace $RAWCPPFLAGS with $TRADITIONALCPPFLAGS when processing cpp files
    
    Various .cpp files containt things like #ifdef __APPLE__ and #ifdef __linux__
    these have been broken (all #ifdef-s always seen as false) since:
    http://cgit.freedesktop.org/xorg/util/macros/commit/?id=d690e4a9febd07988d149a967791c5629c17b258
    
    This commit makes these work again by removing -undef from the cpp flags.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 7f54370baca4203bb344f5f8a4c2683f5b78d50b
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Thu Mar 27 14:37:19 2014 +0100

    Bump required util-macros version to 1.19
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit fdf03cd2fdfd9cd5635334c5e4dc2bb23e92e37a
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Thu Mar 27 12:29:19 2014 +0100

    Remove unixware / sco support
    
    We don't support SCO / Unixware anymore, so lets remove the SCO / Unixware
    specific bits from startx and xinitrc
    
    SCO support was removed from the server in 2010:
    http://lists.x.org/archives/xorg-devel/2010-December/017209.html
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 463b85fcf51d8ff5886ebe1f3481e5cb4d603436
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Nov 22 23:03:39 2013 -0800

    Pass files to cpp via CLI arg instead of stdin to workaround gcc 4.8 change
    
    Fixes Bug 69439 - Empty lines before #!/bin/sh in startx
    https://bugs.freedesktop.org/show_bug.cgi?id=69439
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 182920f156c87715d91b2f64b8781a0072af996e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 8 09:48:50 2013 -0700

    Fix warnings about parameters to startServer & startClient shadowing globals
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cdc39fd28649ea906dea8f58981d15d4b04a0a47
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 8 09:35:35 2013 -0700

    xinit 1.3.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2363f7ed1c7f838107c1209a97d103f72d980f99
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Sep 8 09:35:27 2013 -0700

    Add Apple copyright/license notice from launchd files to COPYING
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5250190bd436b5b762ebb57452d15dff5ae6a24a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 24 14:46:33 2013 -0700

    Use pid_t instead of int for type of pids
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 14ea26b8dc0c601e445331e09a4cc9ca082a1345
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 00:15:34 2013 -0700

    Check for openssl as mkcookie fallback on all platforms, not just OpenBSD
    
    Configure will notify the builder which cookie maker it chooses,
    so that packagers can add a dependency on the program needed.
    
    (Matthieu says the -hex flag to the openssl command was originally
     OpenBSD-specific but has since been added in upstream OpenSSL.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>

commit 09ab37f816d2fe9482574c825132d9b516b8e0bf
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 18 22:58:10 2013 -0700

    Declare processTimeout() as taking a const string arg
    
    Fixes gcc const warnings on every call to it
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1dd71b4eae433896e41f8366f23b8269712b4cf3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Jul 18 22:51:56 2013 -0700

    If we have to forcibly kill the Xserver on Solaris, reset kbd_mode
    
    If the Xserver hangs when xinit is waiting for it to die, and xinit
    sends a kill -9 to it, then it will leave the keyboard in a state that
    can't be used on the text console, so fix it up ourselves.
    
    Upstreaming from Solaris, where it was originally implemented to fix
    Sun bug 4221128 “If Xserver is slow to exit, xinit does "kill -9" and
    kbd_mode -a is required”
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 79fd43329e15432bab4f9f8856af385ac2ac0417
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Thu Apr 4 14:58:30 2013 +0200

    Use xinitrc.d/?*.sh as the matching pattern instead of needing a fragile sed substitution XSLASHGLOB to produce xinitrc.d/*.sh. (If that were used literally the slash-star would confuse cpp.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ef3d1d64958c51d7716445574bb7e5653aab714d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 23 11:23:25 2013 -0800

    Add printf attributes suggested by gcc
    
    Also moves existing noreturn attributes up to function prototypes for
    functions with forward declarations.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 4e85bce64acef1fa0ddff04d59737444e942ff12
Author: Egbert Eich <eich@freedesktop.org>
Date:   Thu May 19 09:27:13 2011 +0200

    install: Use sysconfdir instead of libdir for config files.
    
    Most X packages today install their config files in sysconfigdir,
    only a few are left which still put their configuration in libdir.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 7c2f87264db950dfecb1a5467d06b3d9d621e32c
Author: Egbert Eich <eich@freedesktop.org>
Date:   Thu May 19 09:26:24 2011 +0200

    man: Set correct config file location in man page
    
    Change the config file location from a hard coded path to what is
    set during build.
    
    Signed-off-by: Egbert Eich <eich@freedesktop.org>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit fb4d46c9a85755910a222dcc7167df3b5a5c8d94
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Thu Sep 20 22:31:44 2012 -0700

    privileged_startx: use root:wheel instead of 0:0
    
    http://xquartz.macosforge.org/trac/ticket/637
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit bfed997da5f083e3ddfbda440e114d1261d18b14
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Jul 24 08:47:29 2012 -0700

    XQuartz: Fix an issue where -dpi was not being passed to the server despite being set
    
    For some reason 'defaults' sometimes shows dpi in quotes and sometimes
    doesn't.
    
    Regression-from: 335937217a51e5e159a14463e0b1e3aedf35c6be
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 8156aad786754499f4636104aa5bd8a27a281448
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat May 19 04:34:32 2012 -0700

    Annotate Fatal and Fatalx as _X_NORETURN
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 641588afe92c803a1231ecf6281115f55b20e62a
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat May 19 04:30:49 2012 -0700

    laucnhd: Silence some syslog spam
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 335937217a51e5e159a14463e0b1e3aedf35c6be
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat May 19 04:22:14 2012 -0700

    darwin: Silence a syslog message from defaults
    
    Unfortunately defaults has no way to check if a preference exists, and it
    prints a message to syslog if we read one that doesn't exist.  dpi is one
    that commonly doesn't exist and results in user confusion when they read
    syslog.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit eda973a32552c916e7e7cce8877674106cbda0cb
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed Apr 18 10:02:07 2012 -0700

    launchd: Fix the destination of moved-aside directories in privileged_startx
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit c781653f956043e0ee476d4e95e0ae93b27aff96
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed Apr 18 09:52:18 2012 -0700

    launchd: Load privileged_startx properly on Tiger
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 4cd122efcfa47afbe8c2ebeee6d8fd48914839a7
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed Apr 18 09:47:33 2012 -0700

    launchd: Provide more verbose error reporting for launchd checkin failures
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 2d9bdc819adbe45ec3ffdc72429fd92b7f613601
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Wed Apr 18 09:20:37 2012 -0700

    launchd: Don't provide the LaunchAgent on Tiger
    
    Tiger's launchd doesn't support all the features we need from it.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 49cfa8b7253096d24b2ef6a8d0ba32c4bae9ac23
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Feb 17 17:35:26 2012 -0800

    launchd/privileged_startx: Improved error resolution
    
    Rather than just failing to do anything when directories aren't what we
    want them to be, we now try our best to fix the situation.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit f5ef7a3f8c1e8ac3f715e4059bf3b9a03aafd5a7
Author: Jeremy Huddleston <jeremyhu@apple.com>
