Compare commits

...

17 Commits

Author SHA1 Message Date
  Ralph Rönnquist 92684380cd Version change for beowulf build 9 months ago
  Ralph Rönnquist b88df07e38 Bump version line for unstable. 1 year ago
  Ralph Rönnquist aa93c16916 Merge branch 'suites/experimental' into 'suites/unstable' 1 year ago
  Ralph Rönnquist 4317637211 Merge branch 'wip/devuan' into 'suites/experimental' 1 year ago
  Mark Hindley 6637cfea8d Changelog. 1 year ago
  Mark Hindley 11ca1951b6 Don't use unnecessary bash when exec will do. 1 year ago
  Mark Hindley d90325a646 Use /usr/bin/sessreg to register logins in utmp, wtmp and lastlog. 1 year ago
  Mark Hindley 926f520ad8 Bump version number so that upgrades work. 1 year ago
  Mark Hindley 81abd90ef8 Target experimental. 1 year ago
  Daniel Reurich e7b149e0d5 Merge branch 'wip/devuan' into 'suites/experimental' 1 year ago
  Mark Hindley 6899c79108 Changelog. 1 year ago
  Mark Hindley 85dcd316fd Delete unused duplicate copy of patch. 1 year ago
  Mark Hindley bd91736e10 Depend on libpam-elogind | logind as alternatives to consolekit. 1 year ago
  Mark Hindley 442148b455 Add patch to support runtime detection of consolekit falling back to pam session if not found. 1 year ago
  Daniel Reurich e80dcc6340 Update changelog for 1.3.6-5+devuan5 release 1 year ago
  Daniel Reurich 2ce1e57a98 add gbp.conf with forced compression-level 1 year ago
  Daniel Reurich 8266d1b5f6 Update Maintainers, Uploaders, Changed-By 1 year ago
8 changed files with 112 additions and 27 deletions
Split View
  1. +34
    -0
      debian/changelog
  2. +4
    -3
      debian/control
  3. +2
    -0
      debian/gbp.conf
  4. +0
    -23
      debian/patches/fix-hyphen-used-as-minus-sign.patch
  5. +2
    -0
      debian/patches/series
  6. +11
    -0
      debian/patches/sessreg.patch
  7. +1
    -1
      debian/patches/slim-conf.patch
  8. +58
    -0
      debian/patches/support-consolekit-runtime-detection.patch

+ 34
- 0
debian/changelog View File

@@ -1,3 +1,37 @@
slim (1.3.6-5.1+devuan4~beowulf1) beowulf; urgency=medium

* New version for beowulf build.

-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 13 Jun 2019 21:55:02 +0000

slim (1.3.6-5.1+devuan4) unstable; urgency=medium

* Bump version number and target archive for unstable.

-- Ralph Ronnquist <ralph.ronnquist@gmail.com> Thu, 13 Jun 2019 21:55:02 +0000

slim (1.3.6-5.1+devuan3) experimental; urgency=medium

* Bump version number so that upgrades work.
* Use sessreg to update utmp, wtmp and lastlog (Closes: #302).
* Don't use bash when exec will do.

-- Mark Hindley <mark@hindley.org.uk> Tue, 05 Mar 2019 16:56:23 +0000

slim (1.3.6-5+devuan6) experimental; urgency=medium

* If consolekit is not available, fall back on logind PAM session.
* Remove unused duplicate quilt patch.

-- Mark Hindley <mark@hindley.org.uk> Mon, 11 Feb 2019 17:38:54 +0000

slim (1.3.6-5+devuan5) unstable; urgency=medium

* Update Maintainers, Uploaders, Changed-By
* add gbp.conf with forced compression-level

-- Daniel Reurich <centurion@haggai.centurion.net.nz> Mon, 11 Feb 2019 22:37:19 +1300

slim (1.3.6-5+devuan4) unstable; urgency=medium

* change to using /etc/alternatives and cleanup


+ 4
- 3
debian/control View File

@@ -1,8 +1,9 @@
Source: slim
Section: x11
Priority: optional
Maintainer: Dima Krasner <dima@dimakrasner.com>
Uploaders: Jens Peter Secher <jps@debian.org>, Mateusz Łukasik <mati75@linuxmint.pl>
Maintainer: Devuan Dev Team <devuan-dev@lists.dyne.org>
Uploaders: Dima Krasner <dima@dimakrasner.com>, Daniel Reurich <daniel@centurion.net.nz>
Changed-By: Daniel Reurich <daniel@centurion.net.nz>
Build-Depends: debconf, debhelper (>= 9), libjpeg-dev, libpam0g-dev,
libpng-dev, libxft-dev, libxmu-dev, po-debconf, sharutils, cmake,
freeglut3-dev, libpthread-stubs0-dev, libxrandr-dev, libck-connector-dev
@@ -14,7 +15,7 @@ Architecture: any
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, consolekit | libpam-elogind | logind, x11-xserver-utils
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


+ 2
- 0
debian/gbp.conf View File

@@ -0,0 +1,2 @@
[DEFAULT]
compression-level = 9

+ 0
- 23
debian/patches/fix-hyphen-used-as-minus-sign.patch View File

@@ -1,23 +0,0 @@
Description: Fix hyphen used as minus sign
Author: Mateusz Łukasik <mati75@linuxmint.pl>

--- a/slimlock.1
+++ b/slimlock.1
@@ -5,7 +5,7 @@
.SH SYNOPSIS
.nf
.fam C
-\fBslimlock\fP [-v]
+\fBslimlock\fP [\-v]
.fam T
.fi
.SH DESCRIPTION
@@ -25,7 +25,7 @@ slimlock.conf contains the following set
.B dpms_standby_timeout
number of seconds of inactivity before the screen blanks.
.BI "Default: " 60
-.TP
+.TP
.B dpms_off_timeout
number of seconds of inactivity before the screen is turned off.
.BI "Default: " 600

+ 2
- 0
debian/patches/series View File

@@ -5,3 +5,5 @@ no-slimlock-with-pam.patch
libslim-cmake-fixes.patch
fix-systemd-service.patch
manpage-formatting-fixes.patch
support-consolekit-runtime-detection.patch
sessreg.patch

+ 11
- 0
debian/patches/sessreg.patch View File

@@ -0,0 +1,11 @@
--- a/slim.conf
+++ b/slim.conf
@@ -42,6 +42,8 @@
#
# sessionstart_cmd some command
# sessionstop_cmd some command
+sessionstart_cmd exec /usr/bin/sessreg -a -l "$DISPLAY" %user
+sessionstop_cmd exec /usr/bin/sessreg -d -l "$DISPLAY" %user
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line

+ 1
- 1
debian/patches/slim-conf.patch View File

@@ -33,7 +33,7 @@ Index: slim/slim.conf
# i.e. for freebsd use:
# login_cmd exec /bin/sh - ~/.xinitrc %session
-login_cmd exec /bin/bash -login ~/.xinitrc %session
+login_cmd exec /bin/bash -login /etc/X11/Xsession %session
+login_cmd exec /etc/X11/Xsession %session
# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with


+ 58
- 0
debian/patches/support-consolekit-runtime-detection.patch View File

@@ -0,0 +1,58 @@
--- a/app.cpp
+++ b/app.cpp
@@ -570,8 +570,13 @@
ck.open_session(DisplayName, pw->pw_uid);
}
catch(Ck::Exception &e) {
+#ifdef USE_PAM
+ logStream << APPNAME << ": Consolekit::" << e << endl;
+ logStream << APPNAME << ": falling back to PAM session" << endl;
+#else
logStream << APPNAME << ": " << e << endl;
exit(ERR_EXIT);
+#endif
}
#endif
@@ -584,18 +589,20 @@
char** child_env = pam.getenvlist();
# ifdef USE_CONSOLEKIT
- char** old_env = child_env;
+ if (ck.get_xdg_session_cookie()) {
+ char** old_env = child_env;
- /* Grow the copy of the environment for the session cookie */
- int n;
- for(n = 0; child_env[n] != NULL ; n++);
-
- n++;
-
- child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1)));
- memcpy(child_env, old_env, sizeof(char*)*n);
- child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
- child_env[n] = NULL;
+ /* Grow the copy of the environment for the session cookie */
+ int n;
+ for(n = 0; child_env[n] != NULL ; n++);
+
+ n++;
+
+ child_env = static_cast<char**>(malloc(sizeof(char*)*(n+1)));
+ memcpy(child_env, old_env, sizeof(char*)*n);
+ child_env[n - 1] = StrConcat("XDG_SESSION_COOKIE=", ck.get_xdg_session_cookie());
+ child_env[n] = NULL;
+ }
# endif /* USE_CONSOLEKIT */
#else
@@ -663,7 +670,8 @@
#ifdef USE_CONSOLEKIT
try {
- ck.close_session();
+ if (ck.get_xdg_session_cookie())
+ ck.close_session();
}
catch(Ck::Exception &e) {
logStream << APPNAME << ": " << e << endl;

Loading…
Cancel
Save