:: [devuan-dev] Patch for udisks2 to e…
Top Page
Delete this message
Reply to this message
Author: Svante Signell
Date:  
To: devuan-dev
Subject: [devuan-dev] Patch for udisks2 to enable installation of mate-desktop-environment (+etc)
Hello,

On order to be able to install mate-desktop-environment in Debian (and maybe
other desktops) udisks2 is needed. Currently udisks2 depends on libpam-systemd
and build-depends on libsystemd-dev. The attached patch for version 2.8.4-1
fixes the build, as reported in #923387. Additionally, creating a link in
libelogind-dev:
/usr/lib/x86_64-linux-gnu/pkgconfig/libelogind.pc-> libsystemd.pc
(and s/x86-linux-gnu/triplet/ for other architectures.)
enables the usage of the login option:
using libsystemd-login:     yes


Unfortunately I don't know how to test if it works with elogind. Anybody knows?
Anyway, I do have mate running on a real Debian GNU/Linux laptop now!

After a new release of elogind the Build-Depends condition on libelogind-dev
(>=241.3-1+debian1) in debian/control should be upgraded accordingly.

I know we really have problems getting the patch in #923387 applied. However,
creating an updated version of elogind (now 241.3-1+debian1) followed by an
updated patch to udisks2/debian/control would at least make it possible to
install elogind and manually build udisks2 with the patch in that bug report.

Alternately, creating an updated version of udisks2 for Devuan/Beowulf would be
nice (and doable). Looking at the packages for Devuan they are outdated:
ascii: 2.1.8-1+devuan2
beowulf: 2.1.3-5+devuan2
ceres: 2.1.3-5+devuan2
experimental: 2.6.5-2+devuan1

@Mark, are you interested?

Thanks!


--- a/debian/control    2019-07-23 00:00:20.000000000 +0200
+++ b/debian/control    2019-10-04 18:23:35.219168814 +0200
@@ -28,7 +28,7 @@
                libpolkit-agent-1-dev (>= 0.97),
                libpolkit-gobject-1-dev (>= 0.97),
                policykit-1 (>= 0.105-18),
-               libsystemd-dev (>= 209),
+               libsystemd-dev (>= 209) | libelogind-dev (>=241.3-1+debian1),
                pkg-config,
                udev (>= 147),
                xsltproc,
@@ -48,7 +48,7 @@
          libblockdev-swap2,
          libblockdev-loop2,
          libblockdev-fs2,
-         libpam-systemd,
+         default-logind | logind,
          parted,
          udev,
          ${misc:Depends},

--- a/debian/changelog    2019-07-23 00:00:20.000000000 +0200
+++ b/debian/changelog    2019-10-04 18:18:43.579178911 +0200
@@ -1,3 +1,13 @@
+udisks2 (2.8.4-1.1) unstable; urgency=medium
+
+  * control: Build-Depends: Replace libsystemd-dev with
+    libsystemd-dev | libelogind-dev
+  * control: Add link: FIXME in libelogind-dev
+    /usr/lib/x86_64-linux-gnu/pkgconfig/libelogind.pc-> libsystemd.pc
+  * control: Replace libpam-systemd with default-logind | logind
+
+ -- Svante Signell <svante.signell@???>  Fri, 04 Oct 2019 13:38:20 +0200
+
 udisks2 (2.8.4-1) unstable; urgency=medium


* New upstream version 2.8.4