From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH 1/1] gnu: transmission-gtk: Add icon dependencies. Date: Fri, 22 Jan 2016 14:27:38 -0500 Message-ID: <20160122192738.GA20936@jasmine> References: <8737tp4jts.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMhMy-0007SE-Fr for guix-devel@gnu.org; Fri, 22 Jan 2016 14:27:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMhMv-00007m-9Y for guix-devel@gnu.org; Fri, 22 Jan 2016 14:27:40 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMhMv-00007d-3R for guix-devel@gnu.org; Fri, 22 Jan 2016 14:27:37 -0500 Content-Disposition: inline In-Reply-To: <8737tp4jts.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org On Fri, Jan 22, 2016 at 06:15:11PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > > * gnu/packages/bittorrent.scm (transmission)[inputs]: Add > > adwaita-icon-theme and hicolor-icon-theme. > > I don’t think we should take that route, because we would end up doing > that for each and every GTK+ package. If it's true that all GTK+ packages depend on these icons, would it make sense to alter the glib-or-gtk-build-system to provide them? > > However, we could: > > 1. On GuixSD, arrange so that these two things are automatically > installed as part of %desktop-services. > > 2. Augment “Application Setup” to suggest installing icon theme when > using Guix on foreign distros. I have adwaita-icon-theme and hicolor-icon-theme in my profile, but when running transmission-gtk, it complains on stderr about problems with both icon themes and has no icons at all: --start-example- (transmission-gtk:21008): Gtk-WARNING **: Could not find the icon 'document-open'. The 'hicolor' theme was not found either, perhaps you need to install it. (transmission-gtk:20986): Gtk-WARNING **: Error loading theme icon 'network-idle' for stock: Icon 'network-idle' not present in theme Adwaita --end-example-- Is this working for anyone else? I haven't found a way to provide the correct paths at build time, but I'm not very familiar with this build system. > > WDYT? > > Ludo’.