From patchwork Fri Jun 14 19:22:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 14325 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 A4DDC170DE; Fri, 14 Jun 2019 20:43:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 45505170DC for ; Fri, 14 Jun 2019 20:43:06 +0100 (BST) Received: from localhost ([::1]:54782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs6L-0004LY-UM for patchwork@mira.cbaines.net; Fri, 14 Jun 2019 15:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44459) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs3R-0001o4-Kd for guix-patches@gnu.org; Fri, 14 Jun 2019 15:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbrnu-00072G-Se for guix-patches@gnu.org; Fri, 14 Jun 2019 15:24:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbrnu-000720-LX for guix-patches@gnu.org; Fri, 14 Jun 2019 15:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbrnu-00075Q-Et for guix-patches@gnu.org; Fri, 14 Jun 2019 15:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36213] [PATCH 1/4] gnu: Add python-notify2, python2-notify2. References: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> In-Reply-To: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> Resent-From: "Alex Griffin" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jun 2019 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36213@debbugs.gnu.org Received: via spool by 36213-submit@debbugs.gnu.org id=B36213.156054018827168 (code B ref 36213); Fri, 14 Jun 2019 19:24:02 +0000 Received: (at 36213) by debbugs.gnu.org; 14 Jun 2019 19:23:08 +0000 Received: from localhost ([127.0.0.1]:37844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrn1-000748-NO for submit@debbugs.gnu.org; Fri, 14 Jun 2019 15:23:08 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrmz-00073T-Dr for 36213@debbugs.gnu.org; Fri, 14 Jun 2019 15:23:06 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 553FC22182 for <36213@debbugs.gnu.org>; Fri, 14 Jun 2019 15:23:00 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Fri, 14 Jun 2019 15:23:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=t9JwkNJlGpmh4hQjZ9z5I2m+eJD+58+LogqSA6WOkB8=; b=xocSG2C9 PoGbsoayKsl3fBPSbuVX3rPHArjNL4Qn7dCPi/alx0amltWfaYUBH954/nFF9lV+ 8/GBDi/4cpV3psdoYdzKtMJtwZfqvOU9eZ1Xm2Wk6yyrG5Puiys4fg02Ev6TAigB MAYTXZM6KfwaxpClVvG2ahhwncOdqDBl5n2W+a/uzFNqwyF1VsnCHdZEli3o//3h Fci2UqXyIDQqKL8+JyUcUFvCfLQT6IBXT8YeqhWSKAlSu0pSY/xiNoTWJgLo3DJ9 o+f3Qs7gZzpu06fNXOa5eS65Jq+6xQWe8FKB+tvH980bz6w5esq8+OB8BVcfHicY lGOITWyMLSI8iA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=t9JwkNJlGpmh4hQjZ9z5I2m+eJD+5 8+LogqSA6WOkB8=; b=EpG4I2LVeqEPO5xISlXEOKMswhH6OnE981fee4ovm08KS CGSoUsDGcYhFYbuIZ3r61fV0wSNIbm0XbOli5xeOHdrjrLLxlvC+D7w9KDMZnGiH 5GfnfdFaljvytDPXHuzq8fRQQZdoQIDK/JUGGlNItIYAOokXDbPZcupcgbkFV/ed 8od2Kvytt+9nM5GsIPN39/7yHsHMLdi5RRlOcdp03MFoTJ75qKf9kKvc5NFLNssr P2wrlpJ5S9IREPNlEGw2knG2jyc9nQTetudywmbxrsNOw1OWXn8UNt3g7T9JQQ9H N2YrMkiUMsQ2vWhWAxqNunULO4+pMp6/hqAc39wCA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiuddgudeflecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtre erreertdenucfhrhhomhepfdetlhgvgicuifhrihhffhhinhdfuceorgesrghjghhrfhdr tghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrsegrjhhgrhhfrdgtohhmnecuve hluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id EB75B1400A0; Fri, 14 Jun 2019 15:22:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1 Mime-Version: 1.0 Message-Id: <4aa0f1f1-8953-4eb0-b8db-464ffe55aac6@www.fastmail.com> Date: Fri, 14 Jun 2019 19:22:59 +0000 From: "Alex Griffin" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches attached From d6b03487f9844f9836ac2cb877022ffaac9f53ee Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Thu, 13 Jun 2019 13:46:14 -0500 Subject: [PATCH 1/4] gnu: Add python-notify2, python2-notify2. * gnu/packages/python-xyz.scm (python-notify2): New variable. (python2-notify2): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a7c88e9187..e07f9532ed 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -60,6 +60,7 @@ ;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Sam ;;; Copyright © 2019 Jack Hill +;;; Copyright © 2019 Alex Griffin ;;; ;;; This file is part of GNU Guix. ;;; @@ -5350,6 +5351,33 @@ implementation of D-Bus.") ;; "ValueError: unichr() arg not in range(0x10000) (narrow Python build)" (arguments `(#:tests? #f)))) +(define-public python-notify2 + (package + (name "python-notify2") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "notify2" version)) + (sha256 + (base32 + "0z8rrv9rsg1r2qgh2dxj3dfj5xnki98kgi3w839kqby4a26i1yik")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) ; tests depend on system state + (native-inputs + `(("python-dbus" ,python-dbus))) + (home-page "https://bitbucket.org/takluyver/pynotify2") + (synopsis "Python interface to D-Bus notifications") + (description + "notify provides a Python interface for sending D-Bus notifications. +It is a reimplementation of pynotify in pure Python, and an alternative to +the GObject Introspection bindings to libnotify for non-GTK applications.") + (license (list license:bsd-2 + license:lgpl2.1+)))) + +(define-public python2-notify2 + (package-with-python2 python-notify2)) + (define-public python-lxml (package (name "python-lxml") -- 2.22.0 From patchwork Fri Jun 14 19:23:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 14324 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 945EB170DE; Fri, 14 Jun 2019 20:43:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 42C4C170DC for ; Fri, 14 Jun 2019 20:43:02 +0100 (BST) Received: from localhost ([::1]:54778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs6H-0004HO-U6 for patchwork@mira.cbaines.net; Fri, 14 Jun 2019 15:43:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44417) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs3R-0001mU-0E for guix-patches@gnu.org; Fri, 14 Jun 2019 15:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbrnv-00072n-B1 for guix-patches@gnu.org; Fri, 14 Jun 2019 15:24:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbrnv-00072g-6p for guix-patches@gnu.org; Fri, 14 Jun 2019 15:24:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbrnv-00075Y-0C for guix-patches@gnu.org; Fri, 14 Jun 2019 15:24:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36213] [PATCH 2/4] gnu: Add python-pyroute2, python2-pyroute2. References: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> In-Reply-To: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> Resent-From: "Alex Griffin" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jun 2019 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36213@debbugs.gnu.org Received: via spool by 36213-submit@debbugs.gnu.org id=B36213.156054021627207 (code B ref 36213); Fri, 14 Jun 2019 19:24:02 +0000 Received: (at 36213) by debbugs.gnu.org; 14 Jun 2019 19:23:36 +0000 Received: from localhost ([127.0.0.1]:37848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrnU-00074l-3v for submit@debbugs.gnu.org; Fri, 14 Jun 2019 15:23:36 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrnT-00074Z-1H for 36213@debbugs.gnu.org; Fri, 14 Jun 2019 15:23:35 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id ECB7B21AF1 for <36213@debbugs.gnu.org>; Fri, 14 Jun 2019 15:23:29 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Fri, 14 Jun 2019 15:23:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=pPMtBCW3XOQCqMl/tENxdeEDx7ZvbtZaW7OOleOQMOo=; b=PtXpcSSu LHSVnrpH3ERr0Yg1MyA1DBkjAInXQul3J1rY6WvRWEGfTtt47KJ1ERcTtT02B7Yo ayjSZMVNzdI2JWdHDuYF2aNZHmgD7+bk8c+FQf53j++ZkWQH5AkzaDRpz9bt6L9m dlMLC/zr7PPPG03xLEIQPHitcuHuV0sdR1X3vmf4bOqjdWSL1tJ5Spln1taatnZL exCbmzGA+JEtzj14bdGbJnHIlQ8phriZziuQSXR3bw2ch9CTRtd5gBbrri91SdUl xXSlKd0mbZU4j+n+5Vf772escKXjo5oDeC3fDEHDSx/SR/NYT7OKkFEiFxtN/UI0 a+s7gqjeNOBEcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=pPMtBCW3XOQCqMl/tENxdeEDx7Zvb tZaW7OOleOQMOo=; b=Bsh2+lHEwsCG55LkxHq89MyuZVDeci34Ha6Hk6DeLDH45 IWY9pksVNCvZ+huvBYb+XSPqO+CW1L8E1FG36ZSVDsGBDrcyIROTsOWInFkXk0x2 R71i4Atqf2jua/eC8af3uBGUPGwut+0SYrjqzkcqyT3wB+nDcDFmd0A88raTCsAR 9yc523e8N/x+CA522dY2hp1sZe4Fa0pZQbctWlp/s9jDrlygyV1UBYWSv9MHdw4S A2hJkNVAA/nqrvstD9NregT3mbgrsHCVYNWXNkvphDec+9jO+ka7q7z63H5oDgjh dPVKtxqpRuXlanRxDOTHQDmMHHsUSZrkmA6jPoPpA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiuddgudeflecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtre erreertdenucfhrhhomhepfdetlhgvgicuifhrihhffhhinhdfuceorgesrghjghhrfhdr tghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrsegrjhhgrhhfrdgtohhmnecuve hluhhsthgvrhfuihiivgepud X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A7EF11400A0; Fri, 14 Jun 2019 15:23:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1 Mime-Version: 1.0 Message-Id: <45b0bac5-1b53-4939-a1b8-effd0ea0c6fb@www.fastmail.com> Date: Fri, 14 Jun 2019 19:23:29 +0000 From: "Alex Griffin" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches attached From 427cfc454cba81de55985eb39dde83ab30b8c7f9 Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Thu, 13 Jun 2019 15:46:10 -0500 Subject: [PATCH 2/4] gnu: Add python-pyroute2, python2-pyroute2. * gnu/packages/python-xyz.scm (python-pyroute2): New variable. (python2-pyroute2): New variable. fixup pyroute2 --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e07f9532ed..cceddf8f3b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6650,6 +6650,42 @@ and MAC network addresses.") (define-public python2-netaddr (package-with-python2 python-netaddr)) +(define-public python-pyroute2 + (package + (name "python-pyroute2") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyroute2" version)) + (sha256 + (base32 + "1gmz4r1w0yzj6fjjypnalmfyy0lnfznydyn62gi3wk50j5hhxbny")))) + (build-system python-build-system) + (home-page "https://github.com/svinota/pyroute2") + (synopsis "Python netlink library") + (description + "Pyroute2 is a pure Python netlink library with minimal dependencies. +Supported netlink families and protocols include: +@itemize +@item rtnl, network settings - addresses, routes, traffic controls +@item nfnetlink - netfilter API: ipset, nftables, ... +@item ipq - simplest userspace packet filtering, iptables QUEUE target +@item devlink - manage and monitor devlink-enabled hardware +@item generic - generic netlink families + @itemize + @item nl80211 - wireless functions API (basic support) + @item taskstats - extended process statistics + @item acpi_events - ACPI events monitoring + @item thermal_events - thermal events monitoring + @item VFS_DQUOT - disk quota events monitoring + @end itemize +@end itemize") + (license license:gpl2+))) + +(define-public python2-pyroute2 + (package-with-python2 python-pyroute2)) + (define-public python-wrapt (package (name "python-wrapt") -- 2.22.0 From patchwork Fri Jun 14 19:27:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 14322 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 5275E170DE; Fri, 14 Jun 2019 20:40:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EAF4D170DC for ; Fri, 14 Jun 2019 20:40:07 +0100 (BST) Received: from localhost ([::1]:54728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs3P-0002A6-Vk for patchwork@mira.cbaines.net; Fri, 14 Jun 2019 15:40:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44459) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs3M-0001o4-TN for guix-patches@gnu.org; Fri, 14 Jun 2019 15:40:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbrrq-00022G-8Z for guix-patches@gnu.org; Fri, 14 Jun 2019 15:28:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52544) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbrrm-0001v4-OD for guix-patches@gnu.org; Fri, 14 Jun 2019 15:28:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbrrm-0007B4-Ga for guix-patches@gnu.org; Fri, 14 Jun 2019 15:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36213] [PATCH 3/4] gnu: Add python2-zeroconf. References: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> In-Reply-To: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> Resent-From: "Alex Griffin" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jun 2019 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36213@debbugs.gnu.org Received: via spool by 36213-submit@debbugs.gnu.org id=B36213.156054044327543 (code B ref 36213); Fri, 14 Jun 2019 19:28:02 +0000 Received: (at 36213) by debbugs.gnu.org; 14 Jun 2019 19:27:23 +0000 Received: from localhost ([127.0.0.1]:37855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrr8-0007AB-NF for submit@debbugs.gnu.org; Fri, 14 Jun 2019 15:27:22 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrr6-00079z-MN for 36213@debbugs.gnu.org; Fri, 14 Jun 2019 15:27:21 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9827921F57 for <36213@debbugs.gnu.org>; Fri, 14 Jun 2019 15:27:15 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Fri, 14 Jun 2019 15:27:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=BiHtgjYWVD30Ka8GFw0ekFImhsRdK2/5sg2Z3CbHCxY=; b=iufObMv9 rL3beHW3FFihMoI2amPz7Ag2omG48zGwEXlFwbQt3VuLnJHGqTSoeTrBWfxeW1iT HozLbbh7XDbnXVtKiaQcMmC8utEL/sIVZw5lhhNV/bpWSh5yFa/4XOFjpaXCsLCw 8q/9f/ug+DNxfMZg5OOphU6fMFHUexZdimqBJnMb+7xdx4nNir7lhDgSNJ27BvGz KA+kdhS/1cBWNQlSWuCh3DnMLvBDfPWojhXLtuolUzpMDBNm1QJ8nDPD2GJW0p5/ /J2SxVh4youQgj8Ji/fr4i17ZSMNHBfwnxndCO+oa87ZIkmcPWrl81C/iqLvU8ZV /495B2SieCBiwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=BiHtgjYWVD30Ka8GFw0ekFImhsRdK 2/5sg2Z3CbHCxY=; b=DOIunKxrk2zOVraHILy073NjrB/OBLJKtk+01FM3AgKny LifHZkF7Ei5uvrA0j7Q3wCkiYTJYhZPFCDBg5GoidYcNccIQF68tmO652rgz6h2v FqQJqcGX5BF4uY6V58FGNdqZxHAfWHsvS/rknqUEk+ncWnT0V8Fsj4CpYhYb+8kA pIjO2MXmEEIhtzEtzQDlpRK9V8V+cR/+46UyJcqdjhWNsQtbVwWz/lCf6TODCDh3 VsunFlSeuQsf++tzsgxaCz2TAhotc7p8yTc/UpsrznFZ2nPGZ9tnTgRySCJpnsXr 3bBT320veu5mm9MaTwqh6UrMB6c6Or10TkfUiGjpQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiuddgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtre erreertdenucfhrhhomhepfdetlhgvgicuifhrihhffhhinhdfuceorgesrghjghhrfhdr tghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrsegrjhhgrhhfrdgtohhmnecuve hluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 34E651400A0; Fri, 14 Jun 2019 15:27:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1 Mime-Version: 1.0 Message-Id: <73379ba3-f6d0-45a2-a49e-b2df8b937e62@www.fastmail.com> Date: Fri, 14 Jun 2019 19:27:15 +0000 From: "Alex Griffin" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This patch packages the last version of the zeroconf package to support python 2. That's also why I didn't package it for python 3, because it would be a substantially different package. From 37571b285637bce2ebd4a519360c81734c0a238a Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Thu, 13 Jun 2019 14:21:53 -0500 Subject: [PATCH 3/4] gnu: Add python2-zeroconf. * gnu/packages/python-xyz.scm (python2-zeroconf): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cceddf8f3b..23f1fe902d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15460,3 +15460,37 @@ by Igor Pavlov.") (define-public python2-pylzma (package-with-python2 python-pylzma)) + +(define-public python2-zeroconf + (package + (name "python2-zeroconf") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "zeroconf" version)) + (sha256 + (base32 + "0ykzg730n915qbrq9bn5pn06bv6rb5zawal4sqjyfnjjm66snkj3")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-requires + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "setup.py" + (("enum-compat") + "enum34")) + #t))))) + (native-inputs + `(("python2-six" ,python2-six) + ("python2-enum32" ,python2-enum34) + ("python2-netifaces" ,python2-netifaces) + ("python2-typing" ,python2-typing))) + (home-page "https://github.com/jstasiak/python-zeroconf") + (synopsis "Pure Python mDNS service discovery") + (description + "Pure Python multicast DNS (mDNS) service discovery library +(Bonjour/Avahi compatible).") + (license license:lgpl2.1+))) -- 2.22.0 From patchwork Fri Jun 14 19:28:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 14323 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 2C89D170DE; Fri, 14 Jun 2019 20:42:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1EE34170DC for ; Fri, 14 Jun 2019 20:42:58 +0100 (BST) Received: from localhost ([::1]:54768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs6D-0004D6-P7 for patchwork@mira.cbaines.net; Fri, 14 Jun 2019 15:42:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44424) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbs3K-0001mg-SN for guix-patches@gnu.org; Fri, 14 Jun 2019 15:40:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbrss-00037U-AB for guix-patches@gnu.org; Fri, 14 Jun 2019 15:29:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbrsk-00033E-6k for guix-patches@gnu.org; Fri, 14 Jun 2019 15:29:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbrsk-0007Ck-2R for guix-patches@gnu.org; Fri, 14 Jun 2019 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36213] [PATCH 4/4] gnu: Add pulseaudio-dlna. References: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> In-Reply-To: <9f57b4cb-e4e9-4dfa-9308-9263b5edfe23@www.fastmail.com> Resent-From: "Alex Griffin" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jun 2019 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36213@debbugs.gnu.org Received: via spool by 36213-submit@debbugs.gnu.org id=B36213.156054051427656 (code B ref 36213); Fri, 14 Jun 2019 19:29:02 +0000 Received: (at 36213) by debbugs.gnu.org; 14 Jun 2019 19:28:34 +0000 Received: from localhost ([127.0.0.1]:37860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrsI-0007C0-4c for submit@debbugs.gnu.org; Fri, 14 Jun 2019 15:28:34 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrsF-0007Bi-NM for 36213@debbugs.gnu.org; Fri, 14 Jun 2019 15:28:32 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D94C121E56 for <36213@debbugs.gnu.org>; Fri, 14 Jun 2019 15:28:25 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Fri, 14 Jun 2019 15:28:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=Sam3fzIjsvqVNO2H6gR9HkMjP92x8a/SpGrnh+1AmfE=; b=PSuFq40I ZBsITJZ876OleD0MRws71+De2VFRDUIqwRdWu6jDtqTCmLxBOc66SE4Od/a7R5am Mm/rAmUEvZr9zJl90KBllKMgIQ6CXHJpCuiYUqg9k6S/5GHfSArRwsiCOd1wVluC S88zuwFcClti59g1Iw7/tAOcFsXQ8pBEJ79vQpalN4LT9QhrOrRnz5a8WYE1Kmg1 2Ous+mNVIjVI+juhrozZYwO/bhWqXk79swpvLOgrIczNsVYLcjx8Q5OGN3h1F6f/ H/ZSFkETcevWyZRzkqObPIUj7w0ACHXxhV+5g1Cj2vC0h+MHcgswqW1SDUlwosCu 0m4UbDQipELP2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=Sam3fzIjsvqVNO2H6gR9HkMjP92x8 a/SpGrnh+1AmfE=; b=Pv/qI7L+tlZoyAXV5tg2zySucTC0//kYcQmYVLPNX9ALr 54+ZbFXiXytJnLTGWs87Uq00gS7Nl33bNmUqBmjxWBZxF0BR2w1Wevix4dic2tul h5SAfpIm5LX0nbL9zaHIxJdcE1+QgqcxaZPJWWGS/qpcd4+Sqnd94nZ/zYc+Rcc4 wbgEh39NyhL8fz3KrPeiqfPIx87fBB4dn/f0/X0x081nFw/QmhAoxBYMFz7VbUs5 +vV8vkhg7eq7TRrTb9QRKRoabDV0HVUgB9NxsIdpm8ay4TKuxdkl+8efufl+Q12A AIh6xedm0Syg4DAEqajpuN8vy1rEHUibqJ7knVBnA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiuddgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtre erreertdenucfhrhhomhepfdetlhgvgicuifhrihhffhhinhdfuceorgesrghjghhrfhdr tghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrsegrjhhgrhhfrdgtohhmnecuve hluhhsthgvrhfuihiivgepud X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A0B721400A0; Fri, 14 Jun 2019 15:28:25 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1 Mime-Version: 1.0 Message-Id: <3ee05f72-19df-4eb0-89c0-37ddded34d57@www.fastmail.com> Date: Fri, 14 Jun 2019 19:28:16 +0000 From: "Alex Griffin" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This patch adds pulseaudio-dlna, which lets you stream audio to Chromecast and DLNA devices (like Sonos speakers). From 3d71a5aae006cc7a149370013d24a6c29561581e Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Thu, 13 Jun 2019 15:45:38 -0500 Subject: [PATCH 4/4] gnu: Add pulseaudio-dlna. * gnu/packages/pulseaudio.scm (pulseaudio-dlna): New variable. --- gnu/packages/pulseaudio.scm | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index 96d15bdf9c..0dc9dc4191 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2017 Stefan Reichör ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2018 Pierre Langlois +;;; Copyright © 2019 Alex Griffin ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ (define-module (gnu packages pulseaudio) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix l:) #:use-module (guix build-system gnu) #:use-module (guix build-system python) @@ -43,6 +45,10 @@ #:use-module (gnu packages web) #:use-module (gnu packages linux) #:use-module (gnu packages m4) + #:use-module (gnu packages protobuf) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages python-web) #:use-module (gnu packages pkg-config) #:use-module (gnu packages xiph)) @@ -303,3 +309,53 @@ sinks.") (description "Pulsemixer is a PulseAudio mixer with command-line and curses-style interfaces.") (license l:expat))) + +(define-public pulseaudio-dlna + (let ((commit "4472928dd23f274193f14289f59daec411023ab0") + (revision "1")) + (package + (name "pulseaudio-dlna") + (version (git-version "0.5.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/masmu/pulseaudio-dlna.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dfn7036vrq49kxv4an7rayypnm5dlawsf02pfsldw877hzdamqk")))) + (build-system python-build-system) + (arguments `(#:python ,python-2)) + (inputs + `(("python2-chardet" ,python2-chardet) + ("python2-dbus" ,python2-dbus) + ("python2-docopt" ,python2-docopt) + ("python2-futures" ,python2-futures) + ("python2-pygobject" ,python2-pygobject) + ("python2-lxml" ,python2-lxml) + ("python2-netifaces" ,python2-netifaces) + ("python2-notify2" ,python2-notify2) + ("python2-protobuf" ,python2-protobuf) + ("python2-psutil" ,python2-psutil) + ("python2-requests" ,python2-requests) + ("python2-pyroute2" ,python2-pyroute2) + ("python2-setproctitle" ,python2-setproctitle) + ("python2-zeroconf" ,python2-zeroconf))) + (home-page "https://github.com/masmu/pulseaudio-dlna") + (synopsis "Stream audio to DLNA / UPnP and Chromecast devices") + (description "A lightweight streaming server which brings DLNA / UPNP and +Chromecast support to PulseAudio and Linux. It can stream your current +PulseAudio playback to different UPnP devices (UPnP Media Renderers, including +Sonos devices and some Smart TVs) or Chromecasts in your network. You should +also install one or more of the following packages alongside pulseaudio-dlna: +@itemize +@item ffmpeg - transcoding support for multiple codecs +@item flac - FLAC transcoding support +@item lame - MP3 transcoding support +@item opus-tools - Opus transcoding support +@item sox - WAV transcoding support +@item vorbis-tools - Vorbis transcoding support +@end itemize") + (license l:gpl3+)))) -- 2.22.0