Ravenports generated: 22 Sep 2024 04:10
[ravenports.git] / bucket_6C / consolekit
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               consolekit
4 VERSION=                1.2.6
5 REVISION=               3
6 KEYWORDS=               sysutils
7 VARIANTS=               std
8 SDESC[std]=             Framework for defining and tracking users
9 HOMEPAGE=               https://github.com/ConsoleKit2/ConsoleKit2
10 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            GITHUB/arrowd:ConsoleKit2:3ead222
14 DISTFILE[1]=            generated:main
15 DF_INDEX=               1
16 SPKGS[std]=             set
17                         primary
18                         dev
19                         man
20                         nls
21
22 OPTIONS_AVAILABLE=      X11
23 OPTIONS_STANDARD=       X11
24 OPT_ON[all]=            X11
25
26 BUILD_DEPENDS=          dbus:dev:std
27                         libdrm:dev:std
28                         openpam:dev:std
29                         polkit:dev:std
30 BUILDRUN_DEPENDS=       dbus:primary:std
31                         libdrm:primary:std
32                         openpam:primary:std
33                         polkit:primary:std
34
35 USES=                   autoreconf gmake libtool:build pkgconfig zlib
36 GNOME_COMPONENTS=       glib libxslt introspection
37
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
43 LICENSE_SCHEME=         solo
44
45 FPC_EQUIVALENT=         sysutils/consolekit2
46
47 MUST_CONFIGURE=         gnu
48 CONFIGURE_ARGS=         --with-pid-file=/var/run/consolekit.pid
49                         --enable-pam-module
50                         --with-pam-module-dir={{PREFIX}}/lib
51                         --localstatedir=/var
52                         --enable-polkit
53                         --enable-introspection
54                         --enable-libdrm
55                         --disable-udev-acl
56                         --disable-libcgmanager
57                         --disable-libevdev
58                         --without-systemdsystemunitdir
59
60 INSTALL_TARGET=         install-strip
61 INSTALL_REQ_TOOLCHAIN=  yes
62 PLIST_SUB=              X11_SCRIPTS={{X11_SCRIPTS:U"@comment "}}
63
64 VAR_OPSYS[freebsd]=     MAKEFILE_LINE=X11_SCRIPTS=
65 VAR_OPSYS[sunos]=       CPPFLAGS=-DO_CLOEXEC=0
66                         LDFLAGS=-lintl
67 VAR_OPSYS[dragonfly]=   MAKEFILE_LINE=X11_SCRIPTS=
68 VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=X11_SCRIPTS=
69
70 [X11].CONFIGURE_WITH_BOTH=              x
71 [X11].XORG_COMPONENTS_ON=               x11
72
73 post-install:
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)
77 .endfor
78         # created by script file instead
79         ${RM} -r ${STAGEDIR}/var/log
80
81 pre-configure:
82         ${REINPLACE_CMD} -e "s|http://www.oasis-open.org/docbook/xml/|file://${LOCALBASE}/share/xml/docbook/|" \
83                 ${WRKSRC}/doc/libconsolekit/libconsolekit-docs.xml
84
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.
91
92 ConsoleKit2 is a fork of the ConsoleKit since that is no longer maintained 
93 (freedesktop chose to use logind instead).
94
95
96 [FILE:112:distinfo]
97 82e33069d903157b693f372d0f773c2345ecceccafa72131846cf15f42d4a401       260393 arrowd-ConsoleKit2-3ead222.tar.gz
98
99
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
111 bin/
112  ck-history
113  ck-launch-session
114  ck-list-sessions
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
119 lib/
120  libck-connector.so.0
121  libck-connector.so.0.0.0
122  libconsolekit.so.1
123  libconsolekit.so.1.0.0
124  pam_ck_connector.so
125 lib/girepository-1.0/libconsolekit-1.0.typelib
126 libexec/
127  ck-collect-session-info
128  ck-remove-directory
129 sbin/
130  ck-log-system-restart
131  ck-log-system-start
132  ck-log-system-stop
133  console-kit-daemon
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
146
147
148 [FILE:189:manifests/plist.dev]
149 include/ConsoleKit/
150  libconsolekit.h
151  sd-login.h
152 include/ConsoleKit/ck-connector/ck-connector.h
153 lib/
154  libck-connector.so
155  libconsolekit.so
156 lib/pkgconfig/
157  ck-connector.pc
158  libconsolekit.pc
159
160
161 [FILE:128:manifests/plist.man]
162 share/man/man1/
163  ck-history.1
164  ck-launch-session.1
165  ck-list-sessions.1
166  console-kit-daemon.1m
167 share/man/man8/pam_ck_connector.8
168
169
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
176
177
178 [FILE:423:patches/patch-configure.ac]
179 --- configure.ac.orig   2023-08-11 16:26:44 UTC
180 +++ configure.ac
181 @@ -201,7 +201,7 @@ case "$host" in
182                  KVM_LIBS="-lkvm"
183          fi
184          ;;
185 -        *-*-freebsd* | *-*-kfreebsd*-gnu )
186 +        *-*-freebsd* | *-*-midnight* )
187          CK_BACKEND="freebsd"
188          AC_CHECK_LIB(kvm, kvm_openfiles, have_kvm=yes,
189                  AC_MSG_ERROR([Unable to find libkvm which is needed on FreeBSD/DragonflyBSD]))
190
191
192 [FILE:191:patches/patch-doc_Makefile.am]
193 --- doc/Makefile.am.orig        2023-08-11 16:26:44 UTC
194 +++ doc/Makefile.am
195 @@ -1,4 +1,4 @@
196 -SUBDIRS = dbus libconsolekit
197 +SUBDIRS = dbus
198  
199  manpagedir = $(mandir)/man1
200  manpage_DATA =            \
201
202
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
208
209 ---
210  data/ConsoleKit.conf | 3 +++
211  1 file changed, 3 insertions(+)
212
213 --- data/ConsoleKit.conf.orig   2023-08-11 16:26:44 UTC
214 +++ data/ConsoleKit.conf
215 @@ -56,6 +56,9 @@
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"
225
226
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
230 @@ -38,6 +38,7 @@
231  #include <sys/event.h>
232  #endif
233  
234 +#include <stdint.h>
235  #include <glib.h>
236  #include <glib-object.h>
237  #include <glib/gstdio.h>
238
239
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
243 @@ -1,5 +1,6 @@
244  #pragma once
245  
246 +#include <stdint.h>
247  #include <sys/types.h>
248  
249  typedef struct
250
251
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
256  SUBDIRS += freebsd
257  endif
258  
259 +if CK_COMPILE_DRAGONFLY
260 +SUBDIRS += freebsd
261 +endif
262 +
263  if CK_COMPILE_NETBSD
264  SUBDIRS += netbsd
265  endif
266
267
268 [FILE:283:files/scripts-primary.ucl]
269 post-install: [{
270     args: ""
271     code: <<EOS
272 /bin/mkdir -p /var/log/ConsoleKit
273 /usr/bin/touch /var/log/ConsoleKit/history 
274 EOS
275 }]
276 pre-deinstall: [{
277     args: ""
278     code: <<EOS
279 /bin/rm -f /var/log/ConsoleKit/history
280 /usr/bin/find "/var/log/ConsoleKit" -type d -empty -delete
281 EOS
282 }]
283