diff options
author | Koop Mast <kwm@FreeBSD.org> | 2017-08-05 10:58:48 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2017-08-05 10:58:48 +0000 |
commit | e18e2ae3c04a5012efb089b152a0d558c8110371 (patch) | |
tree | 5237d3d5922af476695ecaa49d7957cf8cd37191 /sysutils/consolekit/files/ck-get-x11-server-pid | |
parent | Explicitly build with -std=gnu++11. (diff) |
Update consolekit to 1.2.0.
* Rename consolekit to consolekit2 to reflect that consolekit2 is a new
project, even if it the continuation of the old consolekit project.
* Expand pkg-descr with some background info.
* Add license
* ConsoleKit2 has been ported to GDbus, so dbus-glib is not anymore required
* Add GObject introspection support for desktops environment such Pantheon or Deepin.
* Thanks to Jesper Schmitz Mouridsen, Ben Woods and Olivier Duchateau for
assisting with there versions of the port, suggesting changes and testing.
PR: 202269
Notes
Notes:
svn path=/head/; revision=447399
Diffstat (limited to 'sysutils/consolekit/files/ck-get-x11-server-pid')
-rw-r--r-- | sysutils/consolekit/files/ck-get-x11-server-pid | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sysutils/consolekit/files/ck-get-x11-server-pid b/sysutils/consolekit/files/ck-get-x11-server-pid deleted file mode 100644 index 05c433e0175e..000000000000 --- a/sysutils/consolekit/files/ck-get-x11-server-pid +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -SED="/usr/bin/sed" -CAT="/bin/cat" - -dispnum=0 -if [ ! -z "${DISPLAY}" ]; then - dispnum=$(echo ${DISPLAY} | ${SED} -E -e 's|:([0-9]+).*|\1|') -fi - -if [ ! -f "/tmp/.X${dispnum}-lock" ]; then - echo "ERROR: Failed to find X lock file for display ${dispnum}" - exit 1 -fi -pid=$(${CAT} "/tmp/.X${dispnum}-lock") - -echo ${pid} |