From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: i3status: Update to 2.10. Date: Fri, 6 May 2016 14:01:08 -0400 Message-ID: <20160506180108.GB1412@jasmine> References: <87shy083fc.fsf@atonesir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayk4J-0003l4-Ph for guix-devel@gnu.org; Fri, 06 May 2016 14:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayk48-0000T4-8Z for guix-devel@gnu.org; Fri, 06 May 2016 14:01:34 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:39097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayk45-0000NI-QW for guix-devel@gnu.org; Fri, 06 May 2016 14:01:28 -0400 Content-Disposition: inline In-Reply-To: <87shy083fc.fsf@atonesir.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Al McElrath Cc: guix-devel@gnu.org On Mon, May 02, 2016 at 04:07:19PM -0700, Al McElrath wrote: > > Attached is a patch to update i3status to 2.10. Thanks, it works! The changed library dependencies seem to be working for me. Applied as 766a22fb4d1, preceded by a switch to https URLs (I had to rebase your patch to adopt the changed home-page link text). > The Makefile runs "setcap cap_net_admin=ep > $(DESTDIR)$(PREFIX)/bin/i3status)", which wasn't working in the prior > version, either. It makes the "%speed" element of the "ethernet" module > functional. I'm not sure how to handle that one. The package is > otherwise functional. I'm not sure what counts as "functional". For me, it shows the link speed: 1000 Mbits. Should it dynamically show the bandwidth usage? In any case, I tried making it a setuid binary, but that didn't seem to create a change, and it's probably a bad idea anyways, since they only ask for the cap_net_admin. Is i3status designed to be setuid? I don't know how to set just this capability in Guix. Advice appreciated!