From patchwork Sat Oct 28 01:43:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 55457 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CFCF627BBE9; Sat, 28 Oct 2023 02:44:53 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2A84F27BBE2 for ; Sat, 28 Oct 2023 02:44:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwYNM-0007DS-2U; Fri, 27 Oct 2023 21:44:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwYNL-0007DK-1B for guix-patches@gnu.org; Fri, 27 Oct 2023 21:44:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwYNK-0000zL-PV for guix-patches@gnu.org; Fri, 27 Oct 2023 21:44:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwYNq-0005sf-4e for guix-patches@gnu.org; Fri, 27 Oct 2023 21:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66784] [PATCH] gnu: dunst: Update to 1.9.2. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 Oct 2023 01:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66784 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66784@debbugs.gnu.org Cc: Jaeme Sifat X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169845747122550 (code B ref -1); Sat, 28 Oct 2023 01:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2023 01:44:31 +0000 Received: from localhost ([127.0.0.1]:37527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwYNK-0005rd-V6 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 21:44:31 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwYNG-0005rO-1O for submit@debbugs.gnu.org; Fri, 27 Oct 2023 21:44:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwYMe-0007AN-Jh for guix-patches@gnu.org; Fri, 27 Oct 2023 21:43:48 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwYMb-0000km-Pr for guix-patches@gnu.org; Fri, 27 Oct 2023 21:43:48 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo1.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qwYMW-008nuN-Dh for guix-patches@gnu.org; Sat, 28 Oct 2023 03:43:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-Id:Date:Subject:Cc:To:From; bh=PeMBLDpK7NxUaSIvXigG1gbq7Rin6N3mwg6msCy2d+4=; b=IPFmRjYdXgMPiaa6F4y5MulGwm zYI0XoBPuB0/w9HdWdK1g54okypiA63X3Rdb3a8uqcg7Moe0WspVYulEZD1Zcw/k8Hupk+3KJx2Ow Wtl8P9jB6a7JaBJjK+0FQzkvH+QJoLah0g/ZR0QyI3h4HGUR6JSEtEb9ZferjhMpahd2NopOWz+Ds 2ephEiJ1RWNWf6iZYhNHygYqj+hhO/L+cQ6TT1jsI0GbcCySCI69pXHfqizFNOCpvUdwgHNbT0z8m bigUwbx6TytGryk0ostc++5t0rf59d5rEEvvqKWA+D9UWlJY89vkcPNJ+gB9nKYiCbNTzRfgBNFVn H2+S8DEw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qwYMU-0005Wt-Te for guix-patches@gnu.org; Sat, 28 Oct 2023 03:43:40 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qwYMP-00Fwkf-Bx; Sat, 28 Oct 2023 03:43:34 +0200 Date: Fri, 27 Oct 2023 21:43:12 -0400 Message-Id: <4821a626597466ad2a7f12a1dd90bea2e05fce77.1698457385.git.jaeme@runbox.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=jaeme@runbox.com; helo=mailtransmit05.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Dunst is primarily used in X11 window managers and wayland compositors (similar to mako). Having a file dedicated to it is space inefficient. * gnu/packages/dunst.scm: Delete file. * gnu/packages/wm.scm (dunst): Update to 1.9.2. [arguments]: Use gexps. Signed-off-by: Jaeme Sifat Change-Id: I02ce49ffcdb8d790659c8d7fc8a95976daa4e349 --- gnu/packages/dunst.scm | 89 ------------------------------------------ gnu/packages/wm.scm | 51 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 89 deletions(-) delete mode 100644 gnu/packages/dunst.scm base-commit: ff1146fb4f7254a8f644f89d7af6b4b566528603 diff --git a/gnu/packages/dunst.scm b/gnu/packages/dunst.scm deleted file mode 100644 index 4a8ff59ec9..0000000000 --- a/gnu/packages/dunst.scm +++ /dev/null @@ -1,89 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2017, 2018 Alex Kost -;;; Copyright © 2018 Tobias Geerinckx-Rice -;;; Copyright © 2019, 2023 Efraim Flashner -;;; Copyright © 2020 Brice Waegeneire -;;; Copyright © 2021 Alexandru-Sergiu Marton -;;; Copyright © 2021 Guillaume Le Vaillant -;;; Copyright © 2022 Jai Vetrivelan -;;; -;;; This file is part of GNU Guix. -;;; -;;; GNU Guix is free software; you can redistribute it and/or modify it -;;; under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 3 of the License, or (at -;;; your option) any later version. -;;; -;;; GNU Guix is distributed in the hope that it will be useful, but -;;; WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Guix. If not, see . - -(define-module (gnu packages dunst) - #:use-module (guix packages) - #:use-module (guix git-download) - #:use-module (guix build-system gnu) - #:use-module (guix utils) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (gnu packages) - #:use-module (gnu packages base) - #:use-module (gnu packages freedesktop) - #:use-module (gnu packages glib) - #:use-module (gnu packages gnome) - #:use-module (gnu packages gtk) - #:use-module (gnu packages perl) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages xorg)) - -(define-public dunst - (package - (name "dunst") - (version "1.9.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dunst-project/dunst") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1nfxf2rahngxpy606yrizrz16d0pswl5sa9jfzpv7h19x6xy24vx")))) - (build-system gnu-build-system) - (arguments - `(#:tests? #f ; no check target - #:make-flags (list (string-append "CC=" ,(cc-for-target)) - (string-append "PREFIX=" %output) - (string-append "SYSCONFDIR=" %output "/etc") - ;; Otherwise it tries to install service file - ;; to "dbus" store directory. - (string-append "SERVICEDIR_DBUS=" %output - "/share/dbus-1/services") - "dunstify") - #:phases (modify-phases %standard-phases - (delete 'configure)))) - (native-inputs - (list pkg-config perl ; for pod2man - which)) - (inputs - (list dbus - (librsvg-for-system) ; for svg support - glib - cairo - pango - libnotify ; for dunstify - libx11 - libxscrnsaver - libxinerama - libxrandr - libxdg-basedir - wayland)) ; for wayland support - (home-page "https://dunst-project.org/") - (synopsis "Customizable and lightweight notification daemon") - (description - "Dunst is a highly configurable and minimalistic notification daemon. -It provides @code{org.freedesktop.Notifications} D-Bus service, so it is -started automatically on the first call via D-Bus.") - (license license:bsd-3))) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 8576d0297d..2c2e908589 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -64,6 +64,7 @@ ;;; Copyright © 2023 Jonathan Brielamier ;;; Copyright © 2023 Vessel Wave ;;; Copyright © 2023 Nicolas Graves +;;; Copyright © 2023 Jaeme Sifat ;;; ;;; This file is part of GNU Guix. ;;; @@ -1490,6 +1491,56 @@ (define-public cwm project derived from the original Calm Window Manager.") (license license:isc))) +(define-public dunst + (package + (name "dunst") + (version "1.9.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dunst-project/dunst") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17zrw7jrnlyln81pxw7p4jgvl7j1w1gf488nfskhns6j6dcz90gh")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ;no check target + #:make-flags #~(list (string-append "CC=" + #$(cc-for-target)) + (string-append "PREFIX=" %output) + (string-append "SYSCONFDIR=" %output "/etc") + ;; Otherwise it tries to install service file + ;; to "dbus" store directory. + (string-append "SERVICEDIR_DBUS=" %output + "/share/dbus-1/services") + "dunstify") + #:phases #~(modify-phases %standard-phases + (delete 'configure)))) + (native-inputs (list pkg-config perl ;for pod2man + which)) + (inputs (list dbus + (librsvg-for-system) ;for svg support + glib + cairo + pango + libnotify ;for dunstify + libx11 + libxscrnsaver + libxinerama + libxrandr + libxdg-basedir + wayland)) ;for wayland support + (home-page "https://dunst-project.org/") + (synopsis "Customizable and lightweight notification daemon") + (description + "Dunst is a highly configurable and minimalistic notification daemon. +It provides @code{org.freedesktop.Notifications} D-Bus service, so it is +started automatically on the first call via D-Bus.") + (license license:bsd-3))) + (define-public dwl (package (name "dwl")