From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Helping programs find their icons Date: Thu, 05 Feb 2015 21:41:31 +0100 Message-ID: <87oap8yttw.fsf@gnu.org> References: <87r3u4kh8x.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJTF3-0003uF-6Y for guix-devel@gnu.org; Thu, 05 Feb 2015 15:41:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJTEz-0003GX-Vb for guix-devel@gnu.org; Thu, 05 Feb 2015 15:41:37 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJTEz-0003GT-Sd for guix-devel@gnu.org; Thu, 05 Feb 2015 15:41:33 -0500 In-Reply-To: <87r3u4kh8x.fsf@netris.org> (Mark H. Weaver's message of "Thu, 05 Feb 2015 01:24:46 -0500") 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: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > However, this problem is quite widespread. Many of our gtk packages > install icons into $out/share/icons/hicolor but have no 'index.theme', > and I suspect that's the reason the xfce application menu is missing so > many icons. > > inkscape-0.91 > emacs-24.4 > gtk+-3.14.7 > xfce4-session-4.10.0 > xfwm4-4.10.0 > exo-0.8.0 > thunar-1.4.0 > xfce4-panel-4.10.0 > xfdesktop-4.10.0 > xfce4-battery-plugin-1.0.5 > transmission-2.84 > > I think it might be helpful to add a post-install phase to > 'glib-or-gtk-build-system' that installs 'index.theme' from > 'hicolor-icon-theme' if $out/share/icons/hicolor exists. As =E5=AE=8B=E6=96=87=E6=AD=A6 suggests, glib-or-gtk-build-system may solve= the problem if we add =E2=80=98hicolor-icon-theme=E2=80=99 to the inputs, because it would au= tomatically add it to $XDG_DATA_DIRS. Wouldn=E2=80=99t it? Currently things like Evince, for instance, do find their icons. GIMP and Inkscape are fine too, but I think they use slightly different mechanisms. Thanks, Ludo=E2=80=99.