:: [devuan-dev] bug#912: [PATCH] (Re-)…
Top Page
Delete this message
Reply to this message
Author: Plasma (David Paul)
Date:  
To: 912
Subject: [devuan-dev] bug#912: [PATCH] (Re-)Re-enable ConsoleKit support in slim
Control: tags -1 patch

Dear Maintainer,

The attached patch re-enables ConsoleKit support in the slim package,
resolving #912. It can be applied to the head of the suites/unstable
branch in the slim packaging repository. Please also consider
backporting it into excalibur-proposed-updates for the upcoming
Excalibur release.

--
Plasma
>From 464a2e3d90c9f7b84a911ffbdf96458f3b795d38 Mon Sep 17 00:00:00 2001
From: "Plasma (David Paul)" <davidpaul@???>
Date: Wed, 1 Oct 2025 14:59:17 -0500
Subject: [PATCH] (Re-)Re-enable building with ConsoleKit support

Closes: #912
---
 debian/changelog | 8 ++++++++
 debian/control   | 1 +
 debian/rules     | 6 +++---
 3 files changed, 12 insertions(+), 3 deletions(-)


diff --git a/debian/changelog b/debian/changelog
index 8652157..266dd2b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+slim (1.4.1-1devuan3) UNRELEASED; urgency=medium
+
+  * (Re-)Re-enable building with ConsoleKit support. (Closes: #912)
+    - d/rules: Set CMAKE_FLAGS to include -DUSE_CONSOLEKIT=yes.
+    - d/control: Build-Depends: libck-connector-dev.
+
+ -- Plasma (David Paul) <davidpaul@???>  Wed, 01 Oct 2025 13:58:41 -0500
+
 slim (1.4.1-1devuan2) unstable; urgency=medium


[ tempforever ]
diff --git a/debian/control b/debian/control
index b99be13..c7a44d3 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends:
debconf,
debhelper-compat (= 13),
freeglut3-dev,
+ libck-connector-dev,
libjpeg-dev,
libpam0g-dev,
libpng-dev,
diff --git a/debian/rules b/debian/rules
index 3fb04a0..cf95e10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,14 +5,14 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

-CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=yes
+CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=yes

ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
- CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=no
+ CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=no
endif

ifeq ($(DEB_HOST_ARCH_OS),hurd)
- CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=no
+ CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no -DBUILD_SLIMLOCK=no
endif

%:
--
2.30.2