From unknown Thu Aug 14 18:40:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39521 <39521@debbugs.gnu.org> To: bug#39521 <39521@debbugs.gnu.org> Subject: Status: [PATCH] gnu: autorandr: Update to 1.9. Reply-To: bug#39521 <39521@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:40:36 +0000 retitle 39521 [PATCH] gnu: autorandr: Update to 1.9. reassign 39521 guix-patches submitter 39521 Brice Waegeneire severity 39521 normal tag 39521 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 04:10:58 2020 Received: (at submit) by debbugs.gnu.org; 9 Feb 2020 09:10:58 +0000 Received: from localhost ([127.0.0.1]:52030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0icE-0000qO-5k for submit@debbugs.gnu.org; Sun, 09 Feb 2020 04:10:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:45254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0icD-0000qH-3c for submit@debbugs.gnu.org; Sun, 09 Feb 2020 04:10:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54213) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0icB-0006kR-Gd for guix-patches@gnu.org; Sun, 09 Feb 2020 04:10:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0icA-0001JU-8i for guix-patches@gnu.org; Sun, 09 Feb 2020 04:10:55 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:39809) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j0ic9-0001J2-W7 for guix-patches@gnu.org; Sun, 09 Feb 2020 04:10:54 -0500 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 11A8040004 for ; Sun, 9 Feb 2020 09:10:51 +0000 (UTC) From: Brice Waegeneire To: guix-patches@gnu.org Subject: [PATCH] gnu: autorandr: Update to 1.9. Date: Sun, 9 Feb 2020 10:10:48 +0100 Message-Id: <20200209091048.28722-1-brice@waegenei.re> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.194 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/xdisorg.scm (autorandr): Update to 1.9. [native-inputs]: Remove man-db. [arguments]: Install XDG autostart config. --- gnu/packages/xdisorg.scm | 94 ++++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 48 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index c1f6876c7e..d8920779b1 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -150,58 +150,56 @@ program.") (license license:gpl3+))) (define-public autorandr - ;; Use latest commit since 1.7 lacks many new features such as the - ;; autorandr_launcher. - (let ((commit "b484c0ea9c9a4838278bbd661a7cc384333c1df8")) - (package - (name "autorandr") - (version (git-version "1.7" "1" commit)) - (home-page "https://github.com/phillipberndt/autorandr") - (source - (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0da17kzsisjv3s993j5idkk1n2d2cvjdn7pngs2b0ic1r2h5z02h")))) - (build-system python-build-system) - (native-inputs - `(("man-db" ,man-db))) - (inputs - `(("xrandr" ,xrandr) - ("libxcb" ,libxcb))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'build 'configure - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "autorandr.py" - (("popen\\(\"xrandr") (string-append "popen(\"" - (assoc-ref inputs "xrandr") - "/bin/xrandr")) - (("\\[\"xrandr") (string-append "[\"" - (assoc-ref inputs "xrandr") - "/bin/xrandr"))) - #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_completiond.d" - "install_manpage" - "install_bash_completion" - "install_launcher")))))) - (synopsis "Auto-detect connected displays and load appropriate setup") - (description "Autorandr wraps around xrandr to help with X11 + (package + (name "autorandr") + (version "1.9") + (home-page "https://github.com/phillipberndt/autorandr") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bb0l7fcm5lcx9y02zdxv7pfdqf4v4gsc5br3v1x9gzjvqj64l7n")))) + (build-system python-build-system) + (inputs + `(("xrandr" ,xrandr) + ("libxcb" ,libxcb))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "contrib/etc/xdg/autostart/autorandr.desktop" + (("/usr") (assoc-ref outputs "out"))) + (substitute* "autorandr.py" + (("popen\\(\"xrandr") (string-append "popen(\"" + (assoc-ref inputs "xrandr") + "/bin/xrandr")) + (("\\[\"xrandr") (string-append "[\"" + (assoc-ref inputs "xrandr") + "/bin/xrandr"))) + #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_completiond.d" + "install_manpage" + "install_bash_completion" + "install_launcher" + "install_autostart_config")))))) + (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 for various multi-screen setups. Autorandr automatically detects the profiles that can be activated based on the connected hardware. Hook scripts can be used to further tweak the behaviour of the different profiles.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public bemenu (package -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 18:42:44 2020 Received: (at 39521) by debbugs.gnu.org; 9 Feb 2020 23:42:45 +0000 Received: from localhost ([127.0.0.1]:53415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0wDs-0002cW-KV for submit@debbugs.gnu.org; Sun, 09 Feb 2020 18:42:44 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:43887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0wDr-0002cN-68 for 39521@debbugs.gnu.org; Sun, 09 Feb 2020 18:42:43 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 2EF1620002; Sun, 9 Feb 2020 23:42:41 +0000 (UTC) From: Nicolas Goaziou To: Brice Waegeneire Subject: Re: [bug#39521] [PATCH] gnu: autorandr: Update to 1.9. References: <20200209091048.28722-1-brice@waegenei.re> Date: Mon, 10 Feb 2020 00:42:40 +0100 In-Reply-To: <20200209091048.28722-1-brice@waegenei.re> (Brice Waegeneire's message of "Sun, 9 Feb 2020 10:10:48 +0100") Message-ID: <87v9ofz5sf.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39521 Cc: 39521@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Brice Waegeneire writes: > * gnu/packages/xdisorg.scm (autorandr): Update to 1.9. > [native-inputs]: Remove man-db. > [arguments]: Install XDG autostart config. I added a copyright line and applied your patch, as cde4cb4dd29203eb2f15716e3735cbaa36853f6c. Thank you! Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 18:43:14 2020 Received: (at 39521-done) by debbugs.gnu.org; 9 Feb 2020 23:43:14 +0000 Received: from localhost ([127.0.0.1]:53419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0wEL-0002de-UL for submit@debbugs.gnu.org; Sun, 09 Feb 2020 18:43:14 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:48125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0wEJ-0002dU-GZ for 39521-done@debbugs.gnu.org; Sun, 09 Feb 2020 18:43:12 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D0C6CC0005 for <39521-done@debbugs.gnu.org>; Sun, 9 Feb 2020 23:43:09 +0000 (UTC) From: Nicolas Goaziou To: 39521-done@debbugs.gnu.org Subject: [bug#39521] [PATCH] gnu: autorandr: Update to 1.9. Date: Mon, 10 Feb 2020 00:43:08 +0100 Message-ID: <87r1z3z5rn.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39521-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Applied. Closing. From unknown Thu Aug 14 18:40:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 09 Mar 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator