1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[std]= Framework for defining and tracking users
9 HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2
10 CONTACT= Michael_Reim[kraileth@elderlinux.org]
13 SITES[main]= GITHUB/arrowd:ConsoleKit2:3ead222
14 DISTFILE[1]= generated:main
22 OPTIONS_AVAILABLE= X11
26 BUILD_DEPENDS= dbus:dev:std
30 BUILDRUN_DEPENDS= dbus:primary:std
35 USES= autoreconf gmake libtool:build pkgconfig zlib
36 GNOME_COMPONENTS= glib libxslt introspection
38 LICENSE= GPLv2+:primary
39 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
40 LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING
41 LICENSE_AWK= TERMS:"^$$"
42 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/ck-session.h
45 FPC_EQUIVALENT= sysutils/consolekit2
48 CONFIGURE_ARGS= --with-pid-file=/var/run/consolekit.pid
50 --with-pam-module-dir={{PREFIX}}/lib
53 --enable-introspection
56 --disable-libcgmanager
58 --without-systemdsystemunitdir
60 INSTALL_TARGET= install-strip
61 INSTALL_REQ_TOOLCHAIN= yes
62 PLIST_SUB= X11_SCRIPTS={{X11_SCRIPTS:U"@comment "}}
64 VAR_OPSYS[freebsd]= MAKEFILE_LINE=X11_SCRIPTS=
65 VAR_OPSYS[sunos]= CPPFLAGS=-DO_CLOEXEC=0
67 VAR_OPSYS[dragonfly]= MAKEFILE_LINE=X11_SCRIPTS=
68 VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=X11_SCRIPTS=
70 [X11].CONFIGURE_WITH_BOTH= x
71 [X11].XORG_COMPONENTS_ON= x11
74 .for script in hibernate hybridsleep restart stop suspend
75 (cd ${STAGEDIR}${PREFIX}/lib/ConsoleKit/scripts && \
76 ${MV} ck-system-${script} ck-system-${script}.sample)
78 # created by script file instead
79 ${RM} -r ${STAGEDIR}/var/log
82 ${REINPLACE_CMD} -e "s|http://www.oasis-open.org/docbook/xml/|file://${LOCALBASE}/share/xml/docbook/|" \
83 ${WRKSRC}/doc/libconsolekit/libconsolekit-docs.xml
85 [FILE:438:descriptions/desc.primary]
86 ConsoleKit is a framework for defining and tracking users, login sessions,
87 and seats. It allows multiple users to be logged in at the same time and
88 share hardware for their graphical session. ConsoleKit will keep track of
89 those resources and whichever session is active will have use of the
90 hardware at that time.
92 ConsoleKit2 is a fork of the ConsoleKit since that is no longer maintained
93 (freedesktop chose to use logind instead).
97 82e33069d903157b693f372d0f773c2345ecceccafa72131846cf15f42d4a401 260393 arrowd-ConsoleKit2-3ead222.tar.gz
100 [FILE:1424:manifests/plist.primary]
101 @sample lib/ConsoleKit/scripts/ck-system-hibernate.sample
102 @sample lib/ConsoleKit/scripts/ck-system-hybridsleep.sample
103 @sample lib/ConsoleKit/scripts/ck-system-restart.sample
104 @sample lib/ConsoleKit/scripts/ck-system-stop.sample
105 @sample lib/ConsoleKit/scripts/ck-system-suspend.sample
106 %%X11-ON%%@(,,4755) libexec/ck-get-x11-display-device
107 %%X11-ON%%libexec/ck-get-x11-server-pid
108 %%X11_SCRIPTS%%lib/ConsoleKit/scripts/
109 ck-get-x11-display-device
110 ck-get-x11-server-pid
115 etc/ConsoleKit/seats.d/00-primary.seat
116 etc/X11/xinit/xinitrc.d/90-consolekit
117 etc/dbus-1/system.d/ConsoleKit.conf
118 etc/logrotate.d/consolekit
121 libck-connector.so.0.0.0
123 libconsolekit.so.1.0.0
125 lib/girepository-1.0/libconsolekit-1.0.typelib
127 ck-collect-session-info
130 ck-log-system-restart
134 share/dbus-1/interfaces/
135 org.freedesktop.ConsoleKit.Manager.xml
136 org.freedesktop.ConsoleKit.Seat.xml
137 org.freedesktop.ConsoleKit.Session.xml
138 share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
139 share/gir-1.0/libconsolekit-1.0.gir
140 share/polkit-1/actions/org.freedesktop.consolekit.policy
141 @dir /var/run/ConsoleKit
142 @dir etc/ConsoleKit/run-seat.d
143 @dir etc/ConsoleKit/run-session.d
144 @dir lib/ConsoleKit/run-seat.d
145 @dir lib/ConsoleKit/run-session.d
148 [FILE:189:manifests/plist.dev]
152 include/ConsoleKit/ck-connector/ck-connector.h
161 [FILE:128:manifests/plist.man]
166 console-kit-daemon.1m
167 share/man/man8/pam_ck_connector.8
170 [FILE:219:manifests/plist.nls]
171 share/locale/bg/LC_MESSAGES/ConsoleKit2.mo
172 share/locale/es/LC_MESSAGES/ConsoleKit2.mo
173 share/locale/es_419/LC_MESSAGES/ConsoleKit2.mo
174 share/locale/fr/LC_MESSAGES/ConsoleKit2.mo
175 share/locale/ru/LC_MESSAGES/ConsoleKit2.mo
178 [FILE:423:patches/patch-configure.ac]
179 --- configure.ac.orig 2023-08-11 16:26:44 UTC
181 @@ -201,7 +201,7 @@ case "$host" in
185 - *-*-freebsd* | *-*-kfreebsd*-gnu )
186 + *-*-freebsd* | *-*-midnight* )
188 AC_CHECK_LIB(kvm, kvm_openfiles, have_kvm=yes,
189 AC_MSG_ERROR([Unable to find libkvm which is needed on FreeBSD/DragonflyBSD]))
192 [FILE:191:patches/patch-doc_Makefile.am]
193 --- doc/Makefile.am.orig 2023-08-11 16:26:44 UTC
196 -SUBDIRS = dbus libconsolekit
199 manpagedir = $(mandir)/man1
203 [FILE:863:patches/patch-hibernate]
204 From 961c1de02ebcdc7279f2a8d95d87598189978bdf Mon Sep 17 00:00:00 2001
205 From: Gleb Popov <6yearold@gmail.com>
206 Date: Tue, 4 Jul 2023 09:49:18 +0300
207 Subject: [PATCH] Allow calls to CanSuspendThenHibernate
210 data/ConsoleKit.conf | 3 +++
211 1 file changed, 3 insertions(+)
213 --- data/ConsoleKit.conf.orig 2023-08-11 16:26:44 UTC
214 +++ data/ConsoleKit.conf
216 send_member="CanSuspend"/>
217 <allow send_destination="org.freedesktop.ConsoleKit"
218 send_interface="org.freedesktop.ConsoleKit.Manager"
219 + send_member="CanSuspendThenHibernate"/>
220 + <allow send_destination="org.freedesktop.ConsoleKit"
221 + send_interface="org.freedesktop.ConsoleKit.Manager"
222 send_member="Hibernate"/>
223 <allow send_destination="org.freedesktop.ConsoleKit"
224 send_interface="org.freedesktop.ConsoleKit.Manager"
227 [FILE:233:patches/patch-libconsolekit_sd-compat.c]
228 --- libconsolekit/sd-compat.c.orig 2023-08-11 16:26:44 UTC
229 +++ libconsolekit/sd-compat.c
231 #include <sys/event.h>
236 #include <glib-object.h>
237 #include <glib/gstdio.h>
240 [FILE:182:patches/patch-libconsolekit_sd-login.h]
241 --- libconsolekit/sd-login.h.orig 2023-08-11 16:26:44 UTC
242 +++ libconsolekit/sd-login.h
247 #include <sys/types.h>
252 [FILE:245:patches/patch-tools_Makefile.am]
253 --- tools/Makefile.am.orig 2023-08-11 16:26:44 UTC
254 +++ tools/Makefile.am
255 @@ -14,6 +14,10 @@ if CK_COMPILE_FREEBSD
259 +if CK_COMPILE_DRAGONFLY
268 [FILE:283:files/scripts-primary.ucl]
272 /bin/mkdir -p /var/log/ConsoleKit
273 /usr/bin/touch /var/log/ConsoleKit/history
279 /bin/rm -f /var/log/ConsoleKit/history
280 /usr/bin/find "/var/log/ConsoleKit" -type d -empty -delete