GNU bug report logs - #59648
[PATCH] gnu: icedove: Use native notifications when available

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: SeerLite <seerlite@HIDDEN>; Keywords: patch moreinfo; dated Mon, 28 Nov 2022 04:55:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59648 <at> debbugs.gnu.org:


Received: (at 59648) by debbugs.gnu.org; 8 Dec 2022 15:09:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 08 10:09:49 2022
Received: from localhost ([127.0.0.1]:57325 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p3IWz-0003wF-GB
	for submit <at> debbugs.gnu.org; Thu, 08 Dec 2022 10:09:49 -0500
Received: from mout.web.de ([212.227.17.12]:37903)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jonathan.brielmaier@HIDDEN>) id 1p3IWx-0003w9-Ek
 for 59648 <at> debbugs.gnu.org; Thu, 08 Dec 2022 10:09:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273;
 t=1670512179; bh=uolTUlhroqEsOWzKB66YPM7/2Xy6RdDA3rUfu5U37iM=;
 h=X-UI-Sender-Class:Date:To:Subject:From;
 b=MQ1esw6z0dduydV0oFHP9N1jnqPpSW9NlyW3e9FSJhsL1QXxGDWgJ8hi347vGsD9D
 cWccZ2fnd4ZjVRK4OIWeMoxwcW3Ww6VRzM/ck9WClptgoUfzwm73C9+Q458iLO8+0U
 PyYLbomynmrYiUsgU+wgS1UY/vOpSk39juOsuciDP1ths4fz+7x+5BNN8sKiJMwWfM
 PAVscbaHLHogrXXxaaGulEY1PBUlrQaTfK0NUEkyS2HCUY+OjThuxTmA/h04E0EnFh
 pq5cJXdT/9yptF215XyiPAblheT6rnP4WESkAjWE6KQi8MNMP22lFV3ALeJRjXryDd
 l3uYCiVXC06Tw==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from [192.168.178.23] ([77.185.96.181]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MUl9H-1pTJr81ALh-00QXWk for
 <59648 <at> debbugs.gnu.org>; Thu, 08 Dec 2022 16:09:39 +0100
Message-ID: <3d3b50d6-e258-8d39-f2fd-b06a9523a759@HIDDEN>
Date: Thu, 8 Dec 2022 16:09:36 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.5.0
To: 59648 <at> debbugs.gnu.org
Subject: [PATCH] gnu: icedove: Use native notifications when available
Content-Language: de-DE, en-US
From: Jonathan Brielmaier <jonathan.brielmaier@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:LBWy7ojh410klC6SzBtroL8HAdwcsKMMJSuGDc/JQGm1mnqrQJP
 x5XKDGfRuaNO6ifAVq3De88I6yBfYnwtjJM0kRvS3W2DOyHFjKxHSmGSWYQ0/Rh7+udKw9q
 i2Tfey70R/ej7m63BYLGlbgd5oLPrDqeUVvK5nMDuHtDJK7MozzbGp7Uka7daK5puayodHe
 m+e0bNpBHu8uzBgXAUOEA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:Y3VdtnFj6R0=;LZZz9N/zvSl0I2IGfgx19ivmFOz
 B5vhPDpzrx6j6bY5cvDWKRuc4CreiEwKN0OcU3HzEoNZAhqD/HPE1MqdLii24BYREnecMN0Z4
 JRebWGa5sNyiP9X/uckjt2vL+f7Gm8zHwTIpyGGPz2TZv6b4topIQX9h3NIuwScju/fUjGAUM
 GAhFDwHHiBdalqnw2CCPIZ/nHvu+3UwyaMZ84jhiRrcfZMvezz0RORPy1w62HQPSKSIGgIfLR
 P003UxNUxQXyTcGRtuWE1fBjU8D8/JtTL5yVBUbskFOXG69w1KrnrQNYGmxYlwqX1BfKKxqj4
 GbOK3y/kw4/wTBkKDI5LSbn1922Z46WJ8WzKBex56/BRarYocRVCMmw5vxfPcQCUKDT5N9J06
 2uPaYZom0V1whkcAy0CKbmF2BUBlkFSzjh3qWuu2acnI1aEcwpgQ+pXiLRDMhJk5ur5nInLlo
 xsfBIX5YIBnXs0oXhVFln6QzG/0EdE3Mxda2sKRacIvHoyVWFXPY9Q2mngB8GIixvl1CDDfG5
 yHQcCOTxGwNdqRj8k5B+eJg+7ew6Mw//7eeLjjLDkKhWGlfKfdUWypdCuVur/hqQ06bE/2JWm
 7RJpIJyGtU0IgKO1BkMFLeShMcHj693r7zZgc4JcSuUkFXmmX/HqSVQxsVJU7w+2iYHSdGJyp
 HFFZc3loTE3YAWGQvxrxuy7qS5by5akCtgURV7niqhtn6qVs3ipa5iDeuwWDSiF60PsTjuTTT
 +6BO1d3Z6knnNdl6zBu8ttuYOrFMwIqEKXpg+iLjeW/yr/MAYqe9uDS/uTnMHwCxa6mPEDdiB
 s3dkg5mNC7Rf9bvOSAs3sq4LY7UGjEIydfPGTKNJ84kM80oWq/0jS+erpJFdwYHay7waXAJ+s
 71OE3roV5r2n3Gv5DrQhLTnIQLUCFlsY9T9KEqFfDOfld1x5B0EnZPX9AdDSuoyhaZrq0zQIY
 VW2I2w==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 59648
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello SeerNet,

hm, when I enable notifications in Thunderbird I get notifications from
my sway desktop:
I just enabled it via Settings -> General -> Incoming Messages -> When
new messages arrive -> [x] Show an alert.

This is without your patch applied...

~Jonathan




Information forwarded to guix-patches@HIDDEN:
bug#59648; Package guix-patches. Full text available.

Message received at 59648 <at> debbugs.gnu.org:


Received: (at 59648) by debbugs.gnu.org; 5 Dec 2022 16:17:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 05 11:17:35 2022
Received: from localhost ([127.0.0.1]:36982 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p2E9u-0004vW-RK
	for submit <at> debbugs.gnu.org; Mon, 05 Dec 2022 11:17:35 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46564)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1p2E9s-0004vP-LS
 for 59648 <at> debbugs.gnu.org; Mon, 05 Dec 2022 11:17:33 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1p2E9m-0002Nj-I3; Mon, 05 Dec 2022 11:17:26 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=OTOjJQQtNqZt3Uybt7tYLIN/lNh2EC0Xft+XoqVC/2I=; b=H1G6wDoWr/YsdmJrMXRp
 AC/oveZ1H2HOp/5waRYFOyOIJcokWfyftu9lFVJSCnd9a6Ij7UgSak9HdqcbYK/aermzGmro7vTZ0
 zRUnanVemo0C5LzLz2ovV2PYRUBvMkNvjxzXrxA2tG7xwukM4Y3fu56VP8vAJZ2e5BaPcA1nauY+Q
 rjXqLRb9XzMKYdgClfMNrz+AHpxfDG7RTkcANBR5I6NaVwNxFY2+ztAOifs4gJ6sKPJ5/nJxsQ+K/
 wapP48zFJNGHUidSe7P0h4ECv1Nyul6SeA7wJkUyzQOErRBW+JU1khnax+GVFcRgktAD45aRsfOf8
 RTsYhnvtUFimqg==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1p2E9m-0003Xd-4o; Mon, 05 Dec 2022 11:17:26 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: SeerLite <seerlite@HIDDEN>
Subject: Re: bug#59648: [PATCH] gnu: icedove: Use native notifications when
 available
References: <7cc35b95103dd43472eb68b810971060e35aa42b.1669611249.git.seerlite@HIDDEN>
Date: Mon, 05 Dec 2022 17:17:24 +0100
In-Reply-To: <7cc35b95103dd43472eb68b810971060e35aa42b.1669611249.git.seerlite@HIDDEN>
 (seerlite@HIDDEN's message of "Mon, 28 Nov 2022 01:54:09 -0300")
Message-ID: <877cz5q0yz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 59648
Cc: Jonathan Brielmaier <jonathan.brielmaier@HIDDEN>, 59648 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

SeerLite <seerlite@HIDDEN> skribis:

> * gnu/packages/gnuzilla.scm (icedove)[phases]{wrap-program}: Add libnotify
> to LD_LIBRARY_PATH.

Jonathan: this one=E2=80=99s for you.  :-)

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#59648; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Nov 2022 04:54:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 27 23:54:45 2022
Received: from localhost ([127.0.0.1]:46110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ozWAH-00071h-DT
	for submit <at> debbugs.gnu.org; Sun, 27 Nov 2022 23:54:45 -0500
Received: from lists.gnu.org ([209.51.188.17]:35566)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <seerlite@HIDDEN>) id 1ozWAF-00071b-HZ
 for submit <at> debbugs.gnu.org; Sun, 27 Nov 2022 23:54:43 -0500
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 <seerlite@HIDDEN>)
 id 1ozWAF-0007e1-8b
 for guix-patches@HIDDEN; Sun, 27 Nov 2022 23:54:43 -0500
Received: from mx.nixnet.email ([5.161.67.119])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <seerlite@HIDDEN>)
 id 1ozWAD-00087B-HZ
 for guix-patches@HIDDEN; Sun, 27 Nov 2022 23:54:43 -0500
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by mx.nixnet.email (Postfix) with ESMTPSA id DCDC17D3A0;
 Mon, 28 Nov 2022 05:54:18 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nixnet.email;
 s=202002021149; t=1669611259;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=HOph3B7nUdf7CftsXCsWH38TG0QJPcIYqBB74fX7lGk=;
 b=g1u8Gsc1X0nrVw+y/kKKA7vIJRtybWO3aTUymuepKZoXCutTQVLunzXP8cBrdVLkyi9psk
 HIfER6L5GSE5OWfbxe+VvKAu/7Rbb3O7INdvWMC1Cq90C7+GiTsnzVUoPqFGpzDwfxYHh2
 3Bdw2/qofckXwMDrm23UZPi7VvtuhCM=
From: SeerLite <seerlite@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: icedove: Use native notifications when available
Date: Mon, 28 Nov 2022 01:54:09 -0300
Message-Id: <7cc35b95103dd43472eb68b810971060e35aa42b.1669611249.git.seerlite@HIDDEN>
X-Mailer: git-send-email 2.38.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=5.161.67.119; envelope-from=seerlite@HIDDEN;
 helo=mx.nixnet.email
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: SeerLite <seerlite@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/gnuzilla.scm (icedove)[phases]{wrap-program}: Add libnotify
to LD_LIBRARY_PATH.
---
 gnu/packages/gnuzilla.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index feb80d81a2..6a8ee41a1e 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1189,6 +1189,7 @@ (define (runpaths-of-input label)
                                         "eudev"
                                         "pulseaudio"
                                         ;; For the integration of native notifications
+                                        ;; (same reason as icedove)
                                         "libnotify"))))
                 (wrap-program (car (find-files lib "^icecat$"))
                   `("XDG_DATA_DIRS" prefix (,gtk-share))
@@ -1496,10 +1497,13 @@ (define-public icedove
                      (pulseaudio #$(this-package-input "pulseaudio"))
                      (pulseaudio-lib (string-append pulseaudio "/lib"))
                      (eudev #$(this-package-input "eudev"))
-                     (eudev-lib (string-append eudev "/lib")))
+                     (eudev-lib (string-append eudev "/lib"))
+                     ;; For the integration of native notifications (same reason as icecat)
+                     (libnotify #$(this-package-input "libnotify"))
+                     (libnotify-lib (string-append libnotify "/lib")))
                 (wrap-program (car (find-files lib "^icedove$"))
                   `("XDG_DATA_DIRS" prefix (,gtk-share))
-                  `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,eudev-lib)))))))))
+                  `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,eudev-lib ,libnotify-lib)))))))))
     (inputs
      (list alsa-lib
            bzip2
@@ -1519,6 +1523,7 @@ (define-public icedove
            libffi
            libgnome
            libjpeg-turbo
+           libnotify
            libpng-apng
            libvpx
            libxcomposite
-- 
2.38.1





Acknowledgement sent to SeerLite <seerlite@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#59648; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 13 Dec 2022 13:30:02 UTC

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