From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EJcRAZ76zWLeFAEAbAwnHQ (envelope-from ) for ; Wed, 13 Jul 2022 00:50:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AE0CAZ76zWI+NQEA9RJhRA (envelope-from ) for ; Wed, 13 Jul 2022 00:50:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A4562339E8 for ; Wed, 13 Jul 2022 00:50:05 +0200 (CEST) Received: from localhost ([::1]:35966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBOhg-0001Xd-QY for larch@yhetil.org; Tue, 12 Jul 2022 18:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBOAk-00065p-Go for guix-patches@gnu.org; Tue, 12 Jul 2022 18:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBOAk-0002PS-7p for guix-patches@gnu.org; Tue, 12 Jul 2022 18:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBOAk-0000OT-2N for guix-patches@gnu.org; Tue, 12 Jul 2022 18:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56382] [PATCH] gnu: gajim: Use hicolor-icon-theme to avoid crashing on startup Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Jul 2022 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Morgan.J.Smith@outlook.com Cc: Raghav Gururajan , 56382@debbugs.gnu.org Received: via spool by 56382-submit@debbugs.gnu.org id=B56382.16576641471487 (code B ref 56382); Tue, 12 Jul 2022 22:16:02 +0000 Received: (at 56382) by debbugs.gnu.org; 12 Jul 2022 22:15:47 +0000 Received: from localhost ([127.0.0.1]:43825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBOAN-0000Nl-9n for submit@debbugs.gnu.org; Tue, 12 Jul 2022 18:15:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBOAL-0000NW-LF for 56382@debbugs.gnu.org; Tue, 12 Jul 2022 18:15:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBOAF-0002H9-Ba; Tue, 12 Jul 2022 18:15:31 -0400 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=OU9XlrtjxxVfVsQ/2p13QEXETBi9CUJ3+GTdGdvlQnY=; b=ZXqVJW8lUDoNbN3nfKSn 4ibF28r6JyQDx4OrcpixLOvOOkB9XfxGV9tXx+aECFHo9GJCBcIhm4jj6fzEAksu78GCA+fUsTnpP dbw5zsP6OVEbzZe1SwlSnvJ7xbxbdUToyykx4ekUUl4mjQZ2GKR+CgRt5IPfHpP3plLhZMuQF+UXS VsfvNtA0UjRpxjxEA+cX90PCiJFHcISWPzovaMj7arTX3eE7nX1USpFJCTa+LFUyeKJnt+uLWrfIt n+4+EGKqAg5uZEzRH234ePsqufD9MNHAM/5GtG1603BZCvkyAanlbH9LFGFu4bY7x0hpTeqmubAEr cNJMcy+AfgzGag==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58492 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBOAE-0006to-V3; Tue, 12 Jul 2022 18:15:31 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Wed, 13 Jul 2022 00:15:28 +0200 In-Reply-To: (Morgan J. Smith's message of "Mon, 4 Jul 2022 09:43:54 -0400") Message-ID: <87sfn6asfz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657666205; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OU9XlrtjxxVfVsQ/2p13QEXETBi9CUJ3+GTdGdvlQnY=; b=FsJOesu/1Hm2VYrGSgEnHKLDjdaJbsRa9Vl6lU7NkPR9Pybd7as0AJbz8c/yRolV8F6iwQ vn1QJK+nNqBfbhw3zA603ABfVfUp4d4RwLsEtUJHJZufQM9QVFuEDTTrvt8nUrDP1CEhbT zgYObQlai8MifxDARKBLCP0XouyzjkrFBEykWPHBuw1LwZ9Qsp9zymxbtXtyZbmL8HxQUH RwQzMhrWwiUlyuNU4Kepj7cyjCfyDPo7ODyL/fapsI3ECGl97nbFWH7EwPlWHrOlYKu9aS uH3PmVBPM2GJEvsr/0R8c6+A27aaIlod7ngKBh+6bv7KXcVT591/GgxU7Jq1wQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657666205; a=rsa-sha256; cv=none; b=B5d5cRrDt2PFL/kRyRVRr3LRr9kCZJU18axp7yAfuoLTX7I7cJqtAx7V7FcvPz9kcKd0sG vHRJXgUpgGKzjQyAFA0QBypG7+7UnqtssbC3ihCvaQ+8CnWtNgMSQVB0/4n/WvT5I77eJ3 DnH3WVY8q9x5gb1dIGDldMjJKvnNvHGe5s0/DzAyF8KKSatQS+vweiLH4MzCSUgdaDY02p 30xNW/tobDGWIHnnBtB7jp56TLjdUy49hysQatraVp4qvu2eNpL/k9KuqB0znlXWutr1Uy PgJF17fDT330CY22cpSU1yiHfLE3WzclsIt3G0byNZFx/vsyGnp57iExcUl7vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZXqVJW8l; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZXqVJW8l; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A4562339E8 X-Spam-Score: -3.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: y79Eu08zt3Hq Hi Morgan, (+Cc: Raghav.) Morgan.J.Smith@outlook.com skribis: > From: Morgan Smith > > * gnu/packages/messaging.scm (gajim)[inputs]: Add hicolor-icon-theme > --- > > So on my system gajim crashes saying something like "icon not present in = the > theme Adwaita". I have installed Adwaita system wide. Looking in the ga= jim > build dir at > '/gnu/store/...-gajim-1.4.5/lib/python3.9/site-packages/gajim/data/icons/' > shows that the icons are stored in a 'hicolor' directory. The proper sol= ution > is to either figure out how to install the icons in a theme independent w= ay or > to notify upstream I can reproduce the problem with: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 221 Jul 03 2022 23:52:07 (current) guix e069de4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: e069de452a2c923868f5137421b4b6349c38d754 $ guix shell -CN -E DISPLAY gajim -- gajim [=E2=80=A6] (org.gajim.Gajim:1): Gtk-WARNING **: 22:04:37.615: Could not find the icon = 'org.gajim.Gajim-symbolic'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases Traceback (most recent call last): File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/application.py", line 389, in _handle_local_opti= ons self._startup() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/application.py", line 278, in _startup MainWindow() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/main.py", line 85, in __init__ self._main_stack =3D MainStack() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/main_stack.py", line 45, in __init__ self._chat_page =3D ChatPage() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/chat_page.py", line 60, in __init__ self._chat_stack =3D ChatStack() File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/chat_stack.py", line 48, in __init__ self.add_named(ChatPlaceholderBox(), 'empty') File "/gnu/store/b3c4lsfl0swzyk0ylkvbjz2lk28caxrl-gajim-1.4.5/lib/python3= .9/site-packages/gajim/gtk/chat_stack.py", line 161, in __init__ pixbuf =3D Gtk.IconTheme.load_icon_for_scale( gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'org.gajim.Gaji= m-symbolic' not present in theme Adwaita (0) --8<---------------cut here---------------end--------------->8--- Does simply adding =E2=80=98hicolor-icon-theme=E2=80=99 to =E2=80=98inputs= =E2=80=99 fix the issue? Unfortunately, Gajim fails to build for me as described in . Raghav, what should we do about it? The issue above is closed, but are we missing the fix? Thanks, Ludo=E2=80=99.