Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] elogind: update to 246.10.
@ 2022-07-28 22:44 motorto
  2022-08-02 19:30 ` motorto
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: motorto @ 2022-07-28 22:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

There is a new pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages elogind-246.10
https://github.com/void-linux/void-packages/pull/38347

elogind: update to 246.10.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l



A patch file from https://github.com/void-linux/void-packages/pull/38347.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-246.10-38347.patch --]
[-- Type: text/x-diff, Size: 1296 bytes --]

From 640043ee1627ecc202173e1e864a6bdc851d9262 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 28 Jul 2022 23:15:17 +0100
Subject: [PATCH] elogind: update to 246.10.

---
 srcpkgs/elogind/template | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 8e9fb0ef6c81..51c9efd6e2ba 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -1,8 +1,7 @@
 # Template file for 'elogind'
 pkgname=elogind
-reverts="246.10_1"
-version=246.9.2
-revision=3
+version=246.10
+revision=1
 build_style=meson
 configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
  -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
@@ -18,7 +17,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, LGPL-2.0-or-later"
 homepage="https://github.com/elogind/elogind"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
-checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
+checksum=c490dc158c8f5bca8d00ecfcc7ad5af24d1c7b9e59990a0b3b1323996221a922
 conf_files="/etc/elogind/*.conf"
 # tests fail differently due to containerization and kernel features
 make_check=ci-skip

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
@ 2022-08-02 19:30 ` motorto
  2022-08-03 21:46 ` motorto
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-02 19:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
Been using this for 3 days on my main system without a problem.(x86_64-glibc)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
  2022-08-02 19:30 ` motorto
@ 2022-08-03 21:46 ` motorto
  2022-08-03 21:47 ` motorto
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-03 21:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~

Hum found an issue, cant seem to shutdown the system with `loginctl poweroff`

Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`

Can `loginctl lock-session` and screen locks. Weird ...

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
  2022-08-02 19:30 ` motorto
  2022-08-03 21:46 ` motorto
@ 2022-08-03 21:47 ` motorto
  2022-08-04 11:04 ` motorto
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-03 21:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~

Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`

Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`

Can `loginctl lock-session` and screen locks and I am able to suspend with `loginctl suspend`. Weird

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (2 preceding siblings ...)
  2022-08-03 21:47 ` motorto
@ 2022-08-04 11:04 ` motorto
  2022-08-04 11:04 ` motorto
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 11:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~

Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`

Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`

I am able to `loginctl lock-session` and screen locks and I am able to suspend with `loginctl suspend`. Weird

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (3 preceding siblings ...)
  2022-08-04 11:04 ` motorto
@ 2022-08-04 11:04 ` motorto
  2022-08-04 17:58 ` [PR PATCH] [Updated] " motorto
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 11:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~

Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`

Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`

I am able to `loginctl lock-session` and screen locks and to suspend with `loginctl suspend`. Weird

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (4 preceding siblings ...)
  2022-08-04 11:04 ` motorto
@ 2022-08-04 17:58 ` motorto
  2022-08-04 18:02 ` motorto
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 17:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages elogind-246.10
https://github.com/void-linux/void-packages/pull/38347

elogind: update to 246.10.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l

Going to test on a vm using seatd to see if the errors still occurs 

@Gottox in case you didn't see the message IRC could you check if the problem with libseat still occurs ? Ok my quick test it doesn't, but to be honest I don't have a lot of experience it with 

A patch file from https://github.com/void-linux/void-packages/pull/38347.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-246.10-38347.patch --]
[-- Type: text/x-diff, Size: 1798 bytes --]

From 17d94f841b5b958072fbc93528869171ea19c63b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 28 Jul 2022 23:15:17 +0100
Subject: [PATCH] elogind: update to 246.10.

---
 srcpkgs/elogind/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 8e9fb0ef6c81..f256fcf77023 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -1,24 +1,24 @@
 # Template file for 'elogind'
 pkgname=elogind
-reverts="246.10_1"
-version=246.9.2
-revision=3
+version=246.10
+revision=1
 build_style=meson
 configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
  -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
  -Dkexec-path=/usr/bin/kexec -Ddefault-hierarchy=legacy
- -Ddefault-kill-user-processes=false -Dman=true"
+ -Ddefault-kill-user-processes=false -Dman=true
+ -Dpolkit=true"
 hostmakedepends="docbook-xsl gettext-devel gperf intltool libxslt m4
  pkg-config shadow glib-devel"
 makedepends="acl-devel eudev-libudev-devel gettext-devel libglib-devel libcap-devel
- libseccomp-devel pam-devel"
-depends="dbus"
+ libseccomp-devel pam-devel polkit-devel"
+depends="dbus polkit"
 short_desc="Standalone logind fork"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, LGPL-2.0-or-later"
 homepage="https://github.com/elogind/elogind"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
-checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
+checksum=c490dc158c8f5bca8d00ecfcc7ad5af24d1c7b9e59990a0b3b1323996221a922
 conf_files="/etc/elogind/*.conf"
 # tests fail differently due to containerization and kernel features
 make_check=ci-skip

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (5 preceding siblings ...)
  2022-08-04 17:58 ` [PR PATCH] [Updated] " motorto
@ 2022-08-04 18:02 ` motorto
  2022-08-04 18:09 ` motorto
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages elogind-246.10
https://github.com/void-linux/void-packages/pull/38347

elogind: update to 246.10.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l

Going to test on a vm using seatd to see if the errors still occurs 

@Gottox in case you didn't see the message IRC could you check if the problem with libseat still occurs ? Ok my quick test it doesn't, but to be honest I don't have a lot of experience it with 

A patch file from https://github.com/void-linux/void-packages/pull/38347.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-246.10-38347.patch --]
[-- Type: text/x-diff, Size: 1773 bytes --]

From aa6744d79b2d26176be30fd3a8daf2622d344aa8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 28 Jul 2022 23:15:17 +0100
Subject: [PATCH] elogind: update to 246.10.

---
 srcpkgs/elogind/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 8e9fb0ef6c81..58748968b3a9 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -1,24 +1,24 @@
 # Template file for 'elogind'
 pkgname=elogind
-reverts="246.10_1"
-version=246.9.2
-revision=3
+version=246.10
+revision=1
 build_style=meson
 configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
  -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
  -Dkexec-path=/usr/bin/kexec -Ddefault-hierarchy=legacy
- -Ddefault-kill-user-processes=false -Dman=true"
+ -Ddefault-kill-user-processes=false -Dman=true
+ -Dpolkit=true"
 hostmakedepends="docbook-xsl gettext-devel gperf intltool libxslt m4
  pkg-config shadow glib-devel"
 makedepends="acl-devel eudev-libudev-devel gettext-devel libglib-devel libcap-devel
- libseccomp-devel pam-devel"
+ libseccomp-devel pam-devel polkit-devel"
 depends="dbus"
 short_desc="Standalone logind fork"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, LGPL-2.0-or-later"
 homepage="https://github.com/elogind/elogind"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
-checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
+checksum=c490dc158c8f5bca8d00ecfcc7ad5af24d1c7b9e59990a0b3b1323996221a922
 conf_files="/etc/elogind/*.conf"
 # tests fail differently due to containerization and kernel features
 make_check=ci-skip

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (6 preceding siblings ...)
  2022-08-04 18:02 ` motorto
@ 2022-08-04 18:09 ` motorto
  2022-08-04 18:09 ` motorto
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~
~Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`~
~Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`~
~I am able to `loginctl lock-session` and screen locks and to suspend with `loginctl suspend`. Weird~

Talked in the IRC and started building with the polkit option to true since without even with polkit installed the loginctl poweroff/reboot wont work

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (7 preceding siblings ...)
  2022-08-04 18:09 ` motorto
@ 2022-08-04 18:09 ` motorto
  2022-08-04 21:11 ` [PR PATCH] [Updated] " motorto
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~
~Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`~
~Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`~
~I am able to `loginctl lock-session` and screen locks and to suspend with `loginctl suspend`. Weird~

Talked in the IRC and started building with the polkit option to true since without even with polkit installed the loginctl poweroff/reboot wont work

Later I will create a pr documenting this change to void handbooks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (8 preceding siblings ...)
  2022-08-04 18:09 ` motorto
@ 2022-08-04 21:11 ` motorto
  2022-08-04 21:16 ` motorto
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages elogind-246.10
https://github.com/void-linux/void-packages/pull/38347

elogind: update to 246.10.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l

Going to test on a vm using seatd to see if the errors still occurs 

@Gottox in case you didn't see the message IRC could you check if the problem with libseat still occurs ? Ok my quick test it doesn't, but to be honest I don't have a lot of experience it with 

A patch file from https://github.com/void-linux/void-packages/pull/38347.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-246.10-38347.patch --]
[-- Type: text/x-diff, Size: 1753 bytes --]

From 2eab6589f98b2abdcb9676513105846be23a8a11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 28 Jul 2022 23:15:17 +0100
Subject: [PATCH] elogind: update to 246.10.

---
 srcpkgs/elogind/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 8e9fb0ef6c81..93f2969006ab 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -1,24 +1,24 @@
 # Template file for 'elogind'
 pkgname=elogind
-reverts="246.10_1"
-version=246.9.2
-revision=3
+version=246.10
+revision=1
 build_style=meson
 configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
  -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
  -Dkexec-path=/usr/bin/kexec -Ddefault-hierarchy=legacy
- -Ddefault-kill-user-processes=false -Dman=true"
+ -Ddefault-kill-user-processes=false -Dman=true
+ -Dpolkit=true"
 hostmakedepends="docbook-xsl gettext-devel gperf intltool libxslt m4
  pkg-config shadow glib-devel"
 makedepends="acl-devel eudev-libudev-devel gettext-devel libglib-devel libcap-devel
  libseccomp-devel pam-devel"
-depends="dbus"
+depends="dbus polkit"
 short_desc="Standalone logind fork"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, LGPL-2.0-or-later"
 homepage="https://github.com/elogind/elogind"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
-checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
+checksum=c490dc158c8f5bca8d00ecfcc7ad5af24d1c7b9e59990a0b3b1323996221a922
 conf_files="/etc/elogind/*.conf"
 # tests fail differently due to containerization and kernel features
 make_check=ci-skip

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PR PATCH] [Updated] elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (9 preceding siblings ...)
  2022-08-04 21:11 ` [PR PATCH] [Updated] " motorto
@ 2022-08-04 21:16 ` motorto
  2022-08-04 21:22 ` motorto
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 21:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages elogind-246.10
https://github.com/void-linux/void-packages/pull/38347

elogind: update to 246.10.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l

Going to test on a vm using seatd to see if the errors still occurs 

@Gottox in case you didn't see the message IRC could you check if the problem with libseat still occurs ? Ok my quick test it doesn't, but to be honest I don't have a lot of experience it with 

A patch file from https://github.com/void-linux/void-packages/pull/38347.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elogind-246.10-38347.patch --]
[-- Type: text/x-diff, Size: 2935 bytes --]

From 9e0c0b2c193296888000734a7076e15fd777d4c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 28 Jul 2022 23:15:17 +0100
Subject: [PATCH] elogind: update to 246.10.

---
 srcpkgs/elogind/patches/polkit.patch | 27 +++++++++++++++++++++++++++
 srcpkgs/elogind/template             | 10 +++++-----
 2 files changed, 32 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/elogind/patches/polkit.patch

diff --git a/srcpkgs/elogind/patches/polkit.patch b/srcpkgs/elogind/patches/polkit.patch
new file mode 100644
index 000000000000..4bdf1289f268
--- /dev/null
+++ b/srcpkgs/elogind/patches/polkit.patch
@@ -0,0 +1,27 @@
+commit 2b09e13f7aec13105380d9d9fddc96ae51911b0c
+Author: Daniel Kolesa <daniel@octaforge.org>
+Date:   Sat Dec 18 02:53:26 2021 +0100
+
+    reenable polkit
+
+diff --git a/meson.build b/meson.build
+index 72825a2..b14cb64 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1155,15 +1155,6 @@ if want_polkit != 'false' and not skip_deps
+                 message('Old polkit detected, will install pkla files')
+                 install_polkit_pkla = true
+         endif
+-#if 1 /// Disable polkit completely if libpolkit is not there. See elogind issue #167
+-        if not libpolkit.found()
+-                if want_polkit != 'auto'
+-                        error('Polkit requested but libpolkit was not found.')
+-                endif
+-                install_polkit = false
+-                want_polkit    = false
+-        endif
+-#endif // 1
+ endif
+ conf.set10('ENABLE_POLKIT', install_polkit)
+ 
+
diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template
index 8e9fb0ef6c81..b8d2d8ce8696 100644
--- a/srcpkgs/elogind/template
+++ b/srcpkgs/elogind/template
@@ -1,13 +1,13 @@
 # Template file for 'elogind'
 pkgname=elogind
-reverts="246.10_1"
-version=246.9.2
-revision=3
+version=246.10
+revision=1
 build_style=meson
 configure_args="-Dcgroup-controller=elogind -Dhalt-path=/usr/bin/halt
  -Drootlibexecdir=/usr/libexec/elogind -Dreboot-path=/usr/bin/reboot
  -Dkexec-path=/usr/bin/kexec -Ddefault-hierarchy=legacy
- -Ddefault-kill-user-processes=false -Dman=true"
+ -Ddefault-kill-user-processes=false -Dman=true
+ -Dpolkit=true"
 hostmakedepends="docbook-xsl gettext-devel gperf intltool libxslt m4
  pkg-config shadow glib-devel"
 makedepends="acl-devel eudev-libudev-devel gettext-devel libglib-devel libcap-devel
@@ -18,7 +18,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, LGPL-2.0-or-later"
 homepage="https://github.com/elogind/elogind"
 distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
-checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9
+checksum=c490dc158c8f5bca8d00ecfcc7ad5af24d1c7b9e59990a0b3b1323996221a922
 conf_files="/etc/elogind/*.conf"
 # tests fail differently due to containerization and kernel features
 make_check=ci-skip

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (10 preceding siblings ...)
  2022-08-04 21:16 ` motorto
@ 2022-08-04 21:22 ` motorto
  2022-08-04 21:25 ` motorto
  2022-08-11 23:19 ` motorto
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 21:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~
~Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`~
~Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`~
~I am able to `loginctl lock-session` and screen locks and to suspend with `loginctl suspend`. Weird~

Talked in the IRC and started building with the polkit option to true since without even polkit installed the loginctl poweroff/reboot wont work

Later I will create a pr documenting this change to void handbooks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (11 preceding siblings ...)
  2022-08-04 21:22 ` motorto
@ 2022-08-04 21:25 ` motorto
  2022-08-11 23:19 ` motorto
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-04 21:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1203127987

Comment:
~Been using this for 3 days on my main system without a problem.(x86_64-glibc)~
~Hum found an issue, cant seem to shutdown the system with `loginctl poweroff` && `loginctl reboot`~
~Get the following error: `2022-08-03T21:44:13.00727 daemon.err: Aug  3 22:44:13 loginctl[15860]: Failed to power off system via elogind: Access denied`~
~I am able to `loginctl lock-session` and screen locks and to suspend with `loginctl suspend`. Weird~

Talked in the IRC and started building with the polkit option to true since without even polkit installed the loginctl poweroff/reboot wont work

- [X] I will create a pr documenting this change to void handbooks

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: elogind: update to 246.10.
  2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
                   ` (12 preceding siblings ...)
  2022-08-04 21:25 ` motorto
@ 2022-08-11 23:19 ` motorto
  13 siblings, 0 replies; 15+ messages in thread
From: motorto @ 2022-08-11 23:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38347#issuecomment-1212583814

Comment:
Using this for more than a week even with the new dbus update and it works fine. (I know I am biased, but I don't see someone else testing it)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-08-11 23:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-28 22:44 [PR PATCH] elogind: update to 246.10 motorto
2022-08-02 19:30 ` motorto
2022-08-03 21:46 ` motorto
2022-08-03 21:47 ` motorto
2022-08-04 11:04 ` motorto
2022-08-04 11:04 ` motorto
2022-08-04 17:58 ` [PR PATCH] [Updated] " motorto
2022-08-04 18:02 ` motorto
2022-08-04 18:09 ` motorto
2022-08-04 18:09 ` motorto
2022-08-04 21:11 ` [PR PATCH] [Updated] " motorto
2022-08-04 21:16 ` motorto
2022-08-04 21:22 ` motorto
2022-08-04 21:25 ` motorto
2022-08-11 23:19 ` motorto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).