GNU bug report logs - #72937
[PATCH 0/2] gnu: autorandr: Update to 1.15.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sun, 1 Sep 2024 18:56:02 UTC

Severity: normal

Tags: patch

Done: jgart <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72937 in the body.
You can then email your comments to 72937 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72937; Package guix-patches. (Sun, 01 Sep 2024 18:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 01 Sep 2024 18:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 0/2] gnu: autorandr: Update to 1.15.
Date: Sun,  1 Sep 2024 21:53:58 +0300
This patchset updates autorandr to version 1.15 and improves the package
definition.

Artyom V. Poptsov (2):
  gnu: autorandr: Update to 1.15.
  gnu: autorandr: Use GEXPs.

 gnu/packages/xdisorg.scm | 49 ++++++++++++++++++++--------------------
 1 file changed, 24 insertions(+), 25 deletions(-)


base-commit: e1c92c98f7afff13fb7060199ba0dd4d9c5c2c53
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72937; Package guix-patches. (Sun, 01 Sep 2024 18:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 72937 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72937 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 1/2] gnu: autorandr: Update to 1.15.
Date: Sun,  1 Sep 2024 21:55:22 +0300
* gnu/packages/xdisorg.scm (autorandr): Update to 1.15.

Change-Id: I663cd9271a426287bbaee9179d75df05bd61c7ad
---
 gnu/packages/xdisorg.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index e7eab3babf..e470ad8c0a 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -281,7 +281,7 @@ (define-public arandr
 (define-public autorandr
   (package
     (name "autorandr")
-    (version "1.14")
+    (version "1.15")
     (home-page "https://github.com/phillipberndt/autorandr")
     (source
      (origin
@@ -291,7 +291,7 @@ (define-public autorandr
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0yb0rnv37xymjhg54mk7zw3h9501f45ykc1754mxy1q3bm0fgva6"))))
+        (base32 "1n4cmgisk1p199zny8zrdpfrbakchd6pvpkp9vzqqdw2f75iylzh"))))
     (build-system python-build-system)
     (native-inputs
      (list pkg-config))
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72937; Package guix-patches. (Sun, 01 Sep 2024 18:58:02 GMT) Full text and rfc822 format available.

Message #11 received at 72937 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 72937 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 2/2] gnu: autorandr: Use GEXPs.
Date: Sun,  1 Sep 2024 21:55:23 +0300
* gnu/packages/xdisorg.scm (autorandr): Use GEXPs.

Change-Id: I476e29ddff17c0180e8a0eeefe818954364eac71
---
 gnu/packages/xdisorg.scm | 45 ++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index e470ad8c0a..f123b739e7 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -298,29 +298,28 @@ (define-public autorandr
     (inputs
      (list xrandr libxcb))
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'build 'configure
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let ((xrandr (search-input-file inputs "/bin/xrandr")))
-               (substitute* "contrib/etc/xdg/autostart/autorandr.desktop"
-                 (("/usr") (assoc-ref outputs "out")))
-               (substitute* "autorandr.py"
-                 (("popen\\(\"xrandr") (string-append "popen(\"" xrandr))
-                 (("\\[\"xrandr") (string-append "[\"" xrandr)))
-               (substitute* "contrib/autorandr_launcher/autorandr_launcher.c"
-                 (("/usr/bin/autorandr")
-                  (string-append (assoc-ref outputs "out") "/bin/autorandr")))
-               (setenv "CC" "gcc"))
-             #t))
-         (add-after 'install 'install-contrib
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "make"
-                     (string-append "DESTDIR=" (assoc-ref outputs "out"))
-                     "PREFIX="
-                     "BASH_COMPLETIONS_DIR=etc/bash_completion.d"
-                     "install"
-                     "TARGETS=autorandr launcher manpage bash_completion"))))))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'build 'configure
+                 (lambda* (#:key inputs outputs #:allow-other-keys)
+                   (let ((xrandr (search-input-file inputs "/bin/xrandr")))
+                     (substitute* "contrib/etc/xdg/autostart/autorandr.desktop"
+                       (("/usr") (assoc-ref outputs "out")))
+                     (substitute* "autorandr.py"
+                       (("popen\\(\"xrandr") (string-append "popen(\"" xrandr))
+                       (("\\[\"xrandr") (string-append "[\"" xrandr)))
+                     (substitute* "contrib/autorandr_launcher/autorandr_launcher.c"
+                       (("/usr/bin/autorandr")
+                        (string-append (assoc-ref outputs "out") "/bin/autorandr")))
+                     (setenv "CC" "gcc"))))
+               (add-after 'install 'install-contrib
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (invoke "make"
+                           (string-append "DESTDIR=" (assoc-ref outputs "out"))
+                           "PREFIX="
+                           "BASH_COMPLETIONS_DIR=etc/bash_completion.d"
+                           "install"
+                           "TARGETS=autorandr launcher manpage bash_completion"))))))
     (synopsis "Auto-detect connected displays and load appropriate setup")
     (description "Autorandr wraps around xrandr to help with X11
 multi-screen configuration management.  It allows the user to create profiles
-- 
2.45.2





Reply sent to jgart <jgart <at> dismail.de>:
You have taken responsibility. (Wed, 04 Sep 2024 14:12:02 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Wed, 04 Sep 2024 14:12:02 GMT) Full text and rfc822 format available.

Message #16 received at 72937-done <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 72937-done <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: Re: [PATCH 0/2] gnu: autorandr: Update to 1.15.
Date: Wed, 04 Sep 2024 09:10:42 -0500
Applied with slight modifications. I used $#output instead of assoc-ref style
-- 
all the best,
jgart




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Oct 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.