Bug#751618: slim: consolekit dependency

2014-10-04 Thread Elimar Riesebieter
Control: tag -1 +patch

On Sat, 14 Jun 2014 21:04:43 +0200 Michele Cane michele.c...@gmail.com wrote:
 Package: slim
 Version: 1.3.6-3
 Severity: wishlist
 
 Dear Maintainer,
 
 Would it be possible to drop dependency on consolekit?
 At least on systemd systems that should be possible since it relies on 
 systemd-
 logind.

Patch attached.

Elimar
-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche
diff -Naurd debian.orig/control debian/control
--- debian.orig/control 2014-04-25 15:16:46.0 +0200
+++ debian/control  2014-10-04 13:36:56.607700719 +0200
@@ -15,7 +15,7 @@
 Provides: x-display-manager
 Recommends: xterm 
 Suggests: scrot, xauth
-Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (= 1.2.9) | debconf-2.0, 
dbus, consolekit
+Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (= 1.2.9) | debconf-2.0, 
dbus
 Description: desktop-independent graphical login manager for X11
  SLiM aims to be light, simple and independent from the various
  desktop environments. Although completely configurable through
diff -Naurd debian.orig/rules debian/rules
--- debian.orig/rules   2014-04-25 16:23:17.0 +0200
+++ debian/rules2014-10-04 13:36:44.509735323 +0200
@@ -3,14 +3,14 @@
 
 DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
-CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no 
-DBUILD_SLIMLOCK=yes
+CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DBUILD_SHARED_LIBS=no 
-DBUILD_SLIMLOCK=yes
 
 ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
- CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no 
-DBUILD_SLIMLOCK=no
+ CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DBUILD_SHARED_LIBS=no 
-DBUILD_SLIMLOCK=no
 endif
 
 ifeq ($(DEB_HOST_ARCH_OS),hurd)
- CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=yes -DBUILD_SHARED_LIBS=no 
-DBUILD_SLIMLOCK=no
+ CMAKE_FLAGS = -DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DBUILD_SHARED_LIBS=no 
-DBUILD_SLIMLOCK=no
 endif
 
 %:


Bug#751618: slim: consolekit dependency

2014-10-04 Thread Elimar Riesebieter
On Sat, 4 Oct 2014 13:42:24 +0200 Elimar Riesebieter riese...@lxtec.de wrote:
 Control: tag -1 +patch
 
 On Sat, 14 Jun 2014 21:04:43 +0200 Michele Cane michele.c...@gmail.com 
 wrote:
  Package: slim
  Version: 1.3.6-3
  Severity: wishlist
  
  Dear Maintainer,
  
  Would it be possible to drop dependency on consolekit?
  At least on systemd systems that should be possible since it relies on 
  systemd-
  logind.
 
 Patch attached.

BTW: This works with Debian's sysvinit as well!

Elimar
-- 
 You cannot propel yourself forward by
  patting yourself on the back.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#751618: slim: consolekit dependency

2014-06-14 Thread Michele Cane
Package: slim
Version: 1.3.6-3
Severity: wishlist

Dear Maintainer,

Would it be possible to drop dependency on consolekit?
At least on systemd systems that should be possible since it relies on systemd-
logind.

Cheers

Mike



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages slim depends on:
ii  consolekit 0.4.6-5
ii  dbus   1.8.4-1
ii  debconf [debconf-2.0]  1.5.53
ii  init-system-helpers1.19
ii  libc6  2.19-1
ii  libck-connector0   0.4.6-5
ii  libdbus-1-31.8.4-1
ii  libfontconfig1 2.11.0-5
ii  libfreetype6   2.5.2-1
ii  libgcc11:4.9.0-6
ii  libjpeg8   8d-2
ii  libpam0g   1.1.8-3
ii  libpng12-0 1.2.50-1
ii  libstdc++6 4.9.0-6
ii  libx11-6   2:1.6.2-2
ii  libxext6   2:1.3.2-1
ii  libxft22.3.1-2
ii  libxmu62:1.1.2-1
ii  libxrandr2 2:1.4.2-1
ii  libxrender11:0.9.8-1
ii  zlib1g 1:1.2.8.dfsg-1

Versions of packages slim recommends:
ii  xterm  306-1

Versions of packages slim suggests:
pn  scrot  none
ii  xauth  1:1.0.7-1

-- Configuration Files:
/etc/pam.d/slim changed:
authrequisite   pam_nologin.so
authrequiredpam_env.so readenv=1
authrequiredpam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
authoptionalpam_gnome_keyring.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so close
session requiredpam_limits.so
session requiredpam_loginuid.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so open
session optionalpam_gnome_keyring.so auto_start
@include common-password

/etc/slim.conf changed:
default_path/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
default_xserver /usr/bin/X11/X
xserver_arguments   -nolisten tcp
halt_cmd/sbin/shutdown -h now
reboot_cmd  /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T Console 
login -e /bin/sh -c /bin/cat /etc/issue.net; exec /bin/login
xauth_path /usr/bin/X11/xauth
authfile   /var/run/slim.auth
numlock on
login_cmd   exec /bin/bash -login ~/.xinitrc %session
screenshot_cmd  scrot /root/slim.png
welcome_msg Welcome to %host
shutdown_msg   The system is halting...
reboot_msg The system is rebooting...
current_theme   default
lockfile/var/run/slim.lock
logfile /var/log/slim.log


-- debconf information:
* shared/default-x-display-manager: slim
  slim/daemon_name: /usr/bin/slim


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org