unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73428: update elogind to 255
@ 2024-09-22 18:50 Julian Flake
  2024-09-23 21:43 ` bug#73428: [PATCH] elogind update to 252.24 Julian Flake
  2024-09-24  5:18 ` bug#73428: [PATCH v2 0/2] removed reference to deleted patch Julian Flake
  0 siblings, 2 replies; 11+ messages in thread
From: Julian Flake @ 2024-09-22 18:50 UTC (permalink / raw)
  To: 73428

Hi,

if possible, upgrade elogind to version 255. I (and maybe others) 
have issues with `loginctl suspend`, see 
https://github.com/elogind/elogind/issues/208#issuecomment-2366912746

best, nutcase

-- 
Dipl.-Inf. Julian Flake

University of Koblenz
Faculty 4: Computer Science
Institute for Software Technology
PB 20 16 02 | D-56016 Koblenz | Germany

Voice: +49 261 287 2787
Email: flake@uni-koblenz.de
https://www.uni-koblenz.de/~flake




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

* bug#73428: [PATCH] elogind update to 252.24
  2024-09-22 18:50 bug#73428: update elogind to 255 Julian Flake
@ 2024-09-23 21:43 ` Julian Flake
  2024-09-23 21:58   ` bug#73428: update elogind to 255 Julian Flake
  2024-09-24  5:18 ` bug#73428: [PATCH v2 0/2] removed reference to deleted patch Julian Flake
  1 sibling, 1 reply; 11+ messages in thread
From: Julian Flake @ 2024-09-23 21:43 UTC (permalink / raw)
  To: 73428; +Cc: Julian Flake, Julian Flake

This is an update to 252.24

Change-Id: Id1ab5f26a9296238724fd9873288ef5630d0a0b5
---
 gnu/packages/freedesktop.scm                 |  6 +-
 gnu/packages/patches/elogind-fix-rpath.patch | 60 --------------------
 2 files changed, 3 insertions(+), 63 deletions(-)
 delete mode 100644 gnu/packages/patches/elogind-fix-rpath.patch

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 993bb84ec6..e1e5e2663c 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2024 aurtzy <aurtzy@gmail.com>
 ;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
 ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2024 Julian Flake <flake@uni-koblenz.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -772,7 +773,7 @@ (define-public libxdg-basedir
 (define-public elogind
   (package
     (name "elogind")
-    (version "252.9")
+    (version "252.24")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -781,8 +782,7 @@ (define-public elogind
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "049cfv97975x700s7lx4p9i22nv6v7j046iwkspxba7kr5qq7akw"))
-              (patches (search-patches "elogind-fix-rpath.patch"))))
+                "06hgcnhk6wbsnhkrqblw23q2x2b6bijzcnqjzfdv9xqzc94pha90"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
diff --git a/gnu/packages/patches/elogind-fix-rpath.patch b/gnu/packages/patches/elogind-fix-rpath.patch
deleted file mode 100644
index 2a76cc467f..0000000000
--- a/gnu/packages/patches/elogind-fix-rpath.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Retrieved from https://github.com/elogind/elogind/issues/258
-
-From: Mark Hindley <mark@hindley.org.uk>
-Date: Wed, 24 May 2023 10:39:41 +0100
-Subject: Fixup_executable_rpath
-
-./meson.build sets
-
- install_rpath : rootlibexecdir
-
-however src/shared/meson.build sets
-
-libshared = shared_library(
-          [snip]
-        install_dir : rootpkglibdir
-        )
----
- meson.build | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 694a2fd..a575f69 100644
---- a/meson.build
-+++ b/meson.build
-@@ -2903,7 +2903,7 @@ executable('elogind',
-                 dependencies : [threads,
-                                 libacl,
-                                 libudev],
--                install_rpath : rootlibexecdir,
-+                install_rpath : rootpkglibdir,
-                 install : true,
-                 install_dir : rootlibexecdir)
- 
-@@ -2913,7 +2913,7 @@ exe = executable('loginctl',
-                         link_with : [libshared],
-                         dependencies : [threads,
-                                         libudev],
--                        install_rpath : rootlibexecdir,
-+                        install_rpath : rootpkglibdir,
-                         install : true,
-                         install_dir : rootbindir)
- public_programs += [exe]
-@@ -2923,7 +2923,7 @@ exe = executable('elogind-inhibit',
-                         include_directories : includes,
-                         link_with : [libshared],
-                         dependencies : [threads],
--                        install_rpath : rootlibexecdir,
-+                        install_rpath : rootpkglibdir,
-                         install : true,
-                         install_dir : rootbindir)
- public_programs += [exe]
-@@ -4283,7 +4283,7 @@ executable('elogind-uaccess-command',
-                         libshared],
-            dependencies: [libacl,
-                           libudev],
--           install_rpath : rootlibexecdir,
-+           install_rpath : rootpkglibdir,
-            install : true,
-            install_dir : rootlibexecdir)
- #endif // 0

base-commit: 41e408eb1f93d96b549d345e2de74143220b7b76
-- 
2.46.0





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

* bug#73428: update elogind to 255
  2024-09-23 21:43 ` bug#73428: [PATCH] elogind update to 252.24 Julian Flake
@ 2024-09-23 21:58   ` Julian Flake
  2024-09-24  8:59     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 11+ messages in thread
From: Julian Flake @ 2024-09-23 21:58 UTC (permalink / raw)
  To: 73428; +Cc: Julian Flake


The provided patch describes a minor upgrade of elogind to 252.24. Maybe
this already solves my specific issue with `loginctl suspend` while
using sway WM.

The major update to 255.x needs more attention, since configure flags
changed different tests fail.

I don't know, how to test this from a local git worktree of guix. I can
install it from my local worktree into my ~/.guix-profile, but this is
not picked up by my operating-system, which expects the binaries in my
system's profile, I guess.




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

* bug#73428: [PATCH v2 0/2] removed reference to deleted patch
  2024-09-22 18:50 bug#73428: update elogind to 255 Julian Flake
  2024-09-23 21:43 ` bug#73428: [PATCH] elogind update to 252.24 Julian Flake
@ 2024-09-24  5:18 ` Julian Flake
  2024-09-24  5:18   ` bug#73428: [PATCH v2 1/2] gnu: elogind update to 252.24 Julian Flake
  2024-09-24  5:18   ` bug#73428: [PATCH v2 2/2] gnu: elogind: Remove unneeded rpath patch Julian Flake
  1 sibling, 2 replies; 11+ messages in thread
From: Julian Flake @ 2024-09-24  5:18 UTC (permalink / raw)
  To: 73428; +Cc: Julian Flake, Julian Flake, Julian Flake

v2: two separate commits:
1. update of elogind to 252.24
2. removal of unused patch

Julian Flake (2):
  gnu: elogind update to 252.24
  gnu: elogind: Remove unneeded rpath patch.

 gnu/local.mk                                 |  1 -
 gnu/packages/freedesktop.scm                 |  6 +-
 gnu/packages/patches/elogind-fix-rpath.patch | 60 --------------------
 3 files changed, 3 insertions(+), 64 deletions(-)
 delete mode 100644 gnu/packages/patches/elogind-fix-rpath.patch


base-commit: 41e408eb1f93d96b549d345e2de74143220b7b76
-- 
2.46.0





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

* bug#73428: [PATCH v2 1/2] gnu: elogind update to 252.24
  2024-09-24  5:18 ` bug#73428: [PATCH v2 0/2] removed reference to deleted patch Julian Flake
@ 2024-09-24  5:18   ` Julian Flake
  2024-09-24  5:18   ` bug#73428: [PATCH v2 2/2] gnu: elogind: Remove unneeded rpath patch Julian Flake
  1 sibling, 0 replies; 11+ messages in thread
From: Julian Flake @ 2024-09-24  5:18 UTC (permalink / raw)
  To: 73428; +Cc: Julian Flake, Julian Flake, Julian Flake

Change-Id: I9697aea701dca738d6f97f7ae36c9f77b920d11a
---
 gnu/packages/freedesktop.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 993bb84ec6..e1e5e2663c 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2024 aurtzy <aurtzy@gmail.com>
 ;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
 ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2024 Julian Flake <flake@uni-koblenz.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -772,7 +773,7 @@ (define-public libxdg-basedir
 (define-public elogind
   (package
     (name "elogind")
-    (version "252.9")
+    (version "252.24")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -781,8 +782,7 @@ (define-public elogind
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "049cfv97975x700s7lx4p9i22nv6v7j046iwkspxba7kr5qq7akw"))
-              (patches (search-patches "elogind-fix-rpath.patch"))))
+                "06hgcnhk6wbsnhkrqblw23q2x2b6bijzcnqjzfdv9xqzc94pha90"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
-- 
2.46.0





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

* bug#73428: [PATCH v2 2/2] gnu: elogind: Remove unneeded rpath patch.
  2024-09-24  5:18 ` bug#73428: [PATCH v2 0/2] removed reference to deleted patch Julian Flake
  2024-09-24  5:18   ` bug#73428: [PATCH v2 1/2] gnu: elogind update to 252.24 Julian Flake
@ 2024-09-24  5:18   ` Julian Flake
  2024-09-24  5:37     ` bug#73428: update elogind to 255 Julian Flake
  1 sibling, 1 reply; 11+ messages in thread
From: Julian Flake @ 2024-09-24  5:18 UTC (permalink / raw)
  To: 73428; +Cc: Julian Flake, Julian Flake, Julian Flake

Change-Id: Id12590b45317a3d965ee4d715e696e5402de85e4
---
 gnu/local.mk                                 |  1 -
 gnu/packages/patches/elogind-fix-rpath.patch | 60 --------------------
 2 files changed, 61 deletions(-)
 delete mode 100644 gnu/packages/patches/elogind-fix-rpath.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 8e7abc8a47..dd5d6e0c85 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1170,7 +1170,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/elm-ghc9.2.patch	\
   %D%/packages/patches/elm-offline-package-registry.patch	\
   %D%/packages/patches/elm-reactor-static-files.patch		\
-  %D%/packages/patches/elogind-fix-rpath.patch			\
   %D%/packages/patches/emacs-all-the-icons-remove-duplicate-rs.patch	\
   %D%/packages/patches/emacs-deferred-fix-number-of-arguments.patch	\
   %D%/packages/patches/emacs-elpy-dup-test-name.patch		\
diff --git a/gnu/packages/patches/elogind-fix-rpath.patch b/gnu/packages/patches/elogind-fix-rpath.patch
deleted file mode 100644
index 2a76cc467f..0000000000
--- a/gnu/packages/patches/elogind-fix-rpath.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Retrieved from https://github.com/elogind/elogind/issues/258
-
-From: Mark Hindley <mark@hindley.org.uk>
-Date: Wed, 24 May 2023 10:39:41 +0100
-Subject: Fixup_executable_rpath
-
-./meson.build sets
-
- install_rpath : rootlibexecdir
-
-however src/shared/meson.build sets
-
-libshared = shared_library(
-          [snip]
-        install_dir : rootpkglibdir
-        )
----
- meson.build | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 694a2fd..a575f69 100644
---- a/meson.build
-+++ b/meson.build
-@@ -2903,7 +2903,7 @@ executable('elogind',
-                 dependencies : [threads,
-                                 libacl,
-                                 libudev],
--                install_rpath : rootlibexecdir,
-+                install_rpath : rootpkglibdir,
-                 install : true,
-                 install_dir : rootlibexecdir)
- 
-@@ -2913,7 +2913,7 @@ exe = executable('loginctl',
-                         link_with : [libshared],
-                         dependencies : [threads,
-                                         libudev],
--                        install_rpath : rootlibexecdir,
-+                        install_rpath : rootpkglibdir,
-                         install : true,
-                         install_dir : rootbindir)
- public_programs += [exe]
-@@ -2923,7 +2923,7 @@ exe = executable('elogind-inhibit',
-                         include_directories : includes,
-                         link_with : [libshared],
-                         dependencies : [threads],
--                        install_rpath : rootlibexecdir,
-+                        install_rpath : rootpkglibdir,
-                         install : true,
-                         install_dir : rootbindir)
- public_programs += [exe]
-@@ -4283,7 +4283,7 @@ executable('elogind-uaccess-command',
-                         libshared],
-            dependencies: [libacl,
-                           libudev],
--           install_rpath : rootlibexecdir,
-+           install_rpath : rootpkglibdir,
-            install : true,
-            install_dir : rootlibexecdir)
- #endif // 0
-- 
2.46.0





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

* bug#73428: update elogind to 255
  2024-09-24  5:18   ` bug#73428: [PATCH v2 2/2] gnu: elogind: Remove unneeded rpath patch Julian Flake
@ 2024-09-24  5:37     ` Julian Flake
  0 siblings, 0 replies; 11+ messages in thread
From: Julian Flake @ 2024-09-24  5:37 UTC (permalink / raw)
  To: 73428; +Cc: Julian Flake, Julian Flake


$ guix refresh elogind --list-dependent

Building the following 1680 packages would ensure 3220 dependent
packages are rebuilt [...]




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

* bug#73428: update elogind to 255
  2024-09-23 21:58   ` bug#73428: update elogind to 255 Julian Flake
@ 2024-09-24  8:59     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2024-09-24  9:02       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 11+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2024-09-24  8:59 UTC (permalink / raw)
  To: 73428, julian; +Cc: Julian Flake

Hi Julian,

On 23 September 2024 21:58:46 UTC, Julian Flake <julian@flake.de> wrote:
>I don't know, how to test this from a local git worktree of guix. I can
>install it from my local worktree into my ~/.guix-profile

However you're installing it from your local checkout should also work for reconfiguring your system, e.g., with ./pre-inst-env.

If it doesn't, you need to make sure that your privilege escalation mechanisb (sudo?) isn't clobbering your environment (guix shell?).



Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.




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

* bug#73428: update elogind to 255
  2024-09-24  8:59     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2024-09-24  9:02       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2024-09-24 10:34         ` Julian Flake
  0 siblings, 1 reply; 11+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2024-09-24  9:02 UTC (permalink / raw)
  To: 73428, julian; +Cc: Julian Flake

...or, if you need additional channels or can't get this to work, you can commit your changes, replace the guix channel URL with "file:///home/your/guix", guix pull --{allow-downgrades,disable-authentication}, and reconfigure as you would otherwise.

Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.




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

* bug#73428: update elogind to 255
  2024-09-24  9:02       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2024-09-24 10:34         ` Julian Flake
  2024-09-24 19:29           ` Julian Flake
  0 siblings, 1 reply; 11+ messages in thread
From: Julian Flake @ 2024-09-24 10:34 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 73428, flake

Hi,

> ...or, if you need additional channels or can't get this to 
> work, you
> can commit your changes, replace the guix channel URL with
> "file:///home/your/guix", guix pull
> --{allow-downgrades,disable-authentication}, and reconfigure as 
> you
> would otherwise.

that's actually exactly, what I started this morning. Building all 
the packages takes a lot of time (and is still running), of 
course.




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

* bug#73428: update elogind to 255
  2024-09-24 10:34         ` Julian Flake
@ 2024-09-24 19:29           ` Julian Flake
  0 siblings, 0 replies; 11+ messages in thread
From: Julian Flake @ 2024-09-24 19:29 UTC (permalink / raw)
  To: 73428; +Cc: Tobias Geerinckx-Rice


Can we use some branch at the QA / Build server for testing, if 
all dependent packages actually build with this 252.24 patch?




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

end of thread, other threads:[~2024-09-24 19:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-22 18:50 bug#73428: update elogind to 255 Julian Flake
2024-09-23 21:43 ` bug#73428: [PATCH] elogind update to 252.24 Julian Flake
2024-09-23 21:58   ` bug#73428: update elogind to 255 Julian Flake
2024-09-24  8:59     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2024-09-24  9:02       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2024-09-24 10:34         ` Julian Flake
2024-09-24 19:29           ` Julian Flake
2024-09-24  5:18 ` bug#73428: [PATCH v2 0/2] removed reference to deleted patch Julian Flake
2024-09-24  5:18   ` bug#73428: [PATCH v2 1/2] gnu: elogind update to 252.24 Julian Flake
2024-09-24  5:18   ` bug#73428: [PATCH v2 2/2] gnu: elogind: Remove unneeded rpath patch Julian Flake
2024-09-24  5:37     ` bug#73428: update elogind to 255 Julian Flake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).