summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-11configure.ac: Fix support for the deprecated --with-launchd-id-prefixJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11launchd: syslog: Use facility org.x rather than userJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11launchd: include config.hJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-11Rename launchd-id-prefix to bundle-id-prefixJeremy Huddleston
It's used many other places than just for launchd. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-27launchd: Silence clang static analyzerJeremy Huddleston
../console_redirect.c:67:5: warning: Value stored to 'n' is never read n = kevent(kq, ev, 2, NULL, 0, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-27privileged_startx: Prefer /usr/bin/mktempJeremy Huddleston
This will avoid accidentally tripping over an incompatible, user-provided GNU flavor mktemp. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Brownbag fix string compareJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: console_redirect: Actually read and log the remaining data when we ↵Jeremy Huddleston
get EV_EOF Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Remove dead EXTRA_DISTJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Fix make distJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-26launchd: Enable stdout/stderr redirection to ASLJeremy Huddleston
Don't rely on launchd to do our logging for us. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Daniel A. Steffen <dsteffen@apple.com>
2011-04-25launchd: Log messages to ASL rather than fprintfJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-25launchd: Reorganized layout of launchd sourcesJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-03-24Fix minor typos in startx's comments.Cyril Brulebois
Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-29Merge adjacent if (timeout) blocksAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove the workaround for the deprecated AC_HELP_STRINGGaetan Nadon
With Autoconf version 2.60, AS_HELP_STRING is always available. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_LIBS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-07config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-07config: Replace obsolete usage of AC_OUTPUT with AC_CONFIG_FILESAlan Coopersmith
Stops configure from running the output generation routines twice Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-22Minor typo.Tom Doherty
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30Add usual set of URLs to READMEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30xinit 1.3.0xinit-1.3.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23config: Remove unnecessary calls from configure.acAlan Coopersmith
AC_PROG_CC, AC_PROG_SED, & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS 1.8 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-09-23config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-12launchd: Explicitly search /sbinJeremy Huddleston
Previously, launchd wasn't found if /sbin wasn't in the user's PATH. https://bugs.freedesktop.org/show_bug.cgi?id=29028 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-06-11DragonFly BSD: includes for PRIO_PROCESS and setpriority() in xinit.cDavid Shao
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-05-03darwin: Make __APPLE__ path in startx POSIX compliantJeremy Huddleston
http://xquartz.macosforge.org/trac/ticket/399 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-26Remove OS/2 leftoversMikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-16Enable support for an xinitrc.d directoryJeremy Huddleston
This was already done on darwin and Gentoo. Now others can benefit. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Reviewed-by: James Cloos <cloos@jhcloos.com>
2010-04-13Rationalize errors outputMikhail Gusarov
Implement Errorx/Fatalx in addition to existing Error/Fatal, replace all fprintf(stderr)/exit with Fatal, all fprintf(stderr) with Error. Additionally harmonize capitalization and punctuation of error messages. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Fix comment indentationMikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Use signals from Unix98 and drop pre-POSIX compatibilityMikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Use sigaction(2) instead of signal(2) to handle SIGUSR1 and SIGALRMMikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13sys/wait.h is in Unix98Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13setpriority and PRIO_PROCESS are in Unix98Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13SIGTT{IN,OU} is in Unix98Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13SIGCHLD is in Unix98Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13killpg(2) is in Unix98Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13waitpid(2) is in Unix98Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Use EXIT_{SUCCESS, FAILURE} from C90 instead of homegrown equivalentsMikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Stop converting functions' return types to voidMikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Simplify environment juggling by using fork() instead of vfork()Mikhail Gusarov
xinit used to copy process environment in order to give client correct DISPLAY and WINDOWPATH variables. It was not possible to do it in client process because it was vforked, not forked. As vfork() usage was not entirely correct (manpage specifies that behaviour is undefined if there are any memory modifications between vfork and exec), switch to fork(), move setting environment variables to client process and and drop all the manual mucking with environment. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-13Fix whitespaceMikhail Gusarov
File was indented with mix of 8-space and tab symbols and inconsistently formatted. Apply more-or-less consistent formatting and reindent everything to 4-space. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-04-08Nuke OS/2 and LynxOS support remnants.Mikhail Gusarov
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-03-15Update to version 1.2.1 for release.xinit-1.2.1Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-03-15Updates for .gitignoreJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-03-11darwin: Handle home directories that contain a single-quote (')Jeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-03-11Quiet warning for fts_openJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>