Message ID | DM5PR03MB31633E3B8D7FB6CF9CD13BE5C5BE9@DM5PR03MB3163.namprd03.prod.outlook.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 44DA127BBEA; Mon, 4 Jul 2022 15:28:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C0FFD27BBE9 for <patchwork@mira.cbaines.net>; Mon, 4 Jul 2022 15:28:20 +0100 (BST) Received: from localhost ([::1]:49768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1o8N3j-00023u-Tv for patchwork@mira.cbaines.net; Mon, 04 Jul 2022 10:28:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o8MSg-0001XY-6B for guix-patches@gnu.org; Mon, 04 Jul 2022 09:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o8MSf-0007dZ-UC for guix-patches@gnu.org; Mon, 04 Jul 2022 09:50:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1o8MSf-00047E-Oe for guix-patches@gnu.org; Mon, 04 Jul 2022 09:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56382] [PATCH] gnu: gajim: Use hicolor-icon-theme to avoid crashing on startup Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Jul 2022 13:50:01 +0000 Resent-Message-ID: <handler.56382.B.165694256915771@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56382@debbugs.gnu.org Cc: Morgan Smith <Morgan.J.Smith@outlook.com> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165694256915771 (code B ref -1); Mon, 04 Jul 2022 13:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2022 13:49:29 +0000 Received: from localhost ([127.0.0.1]:46419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1o8MS9-00046J-Go for submit@debbugs.gnu.org; Mon, 04 Jul 2022 09:49:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:46160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <Morgan.J.Smith@outlook.com>) id 1o8MS7-00046B-6C for submit@debbugs.gnu.org; Mon, 04 Jul 2022 09:49:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Morgan.J.Smith@outlook.com>) id 1o8MS5-0000RW-J6 for guix-patches@gnu.org; Mon, 04 Jul 2022 09:49:26 -0400 Received: from mail-bn7nam10olkn2081a.outbound.protection.outlook.com ([2a01:111:f400:7e8a::81a]:7716 helo=NAM10-BN7-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Morgan.J.Smith@outlook.com>) id 1o8MS2-0007YW-15 for guix-patches@gnu.org; Mon, 04 Jul 2022 09:49:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nu4XSojkT773qE6OqBGtTeGYaYTBHCRFGJU4u2nCCyiNkciZXW4SDU/cJhHHmBG3OCtPKIWt5nLeYhuHxIcseMVruIkFJ58x+M17OvjCqtkKrexxelyBgZeYPAnDmS4e2AO0oaO5R5crynuOI1+ywp3wRWadg17Pf1tzah5LjyxT8ETlX/pVauDe9uYrJpEvamKCopbScXgTho0iuwKfQtrOwDACY1j9lbiwA3k+xoRqXXILMjmXLapYzeSjTZW5JsrMtxY+/08HlzrpPZnBgGyQI3am0N3neQmkqOaKXbpUaYmRM7IYQEeKNZE2vOYXSRm+N4jzdbPFQKY3NpJzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ii5Q1aaojKJosjAEC0R0rDqRSDgNiuZreXw07ZYMPRo=; b=Z2+LKoaNGjKb9fSeLZtyW+8+h+PlTXxNE5J71mCTmtANlGMuTXlj577JczqGJ1SYN/5bNBA9ryyEONAw9vlPKojI0o2McUF4kbRcG/N0TwPGes1jzEhogF9FePlSUQkMx4M78+m/urcuUzgFGFQksMwej7Dp21KAkWZ0kV846TjHLqnKj6XCrGt3DAzJi6KRvghI4RlewuEdN7xL/teELjogUbAy77POVnGIqzPfMGCo8PiJlxYeaOr+aCpVLY8UTR1HnQdQA7zscoePArYFfjxcU/sg+VP+MdRUJLapFOZ6D9jdB2GIpDT4SEEDIDY4s2qionYmlQNQn1pnkToOCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ii5Q1aaojKJosjAEC0R0rDqRSDgNiuZreXw07ZYMPRo=; b=eCDpEvksGb8230+W5bUjmPgzG/DSUFQFU+Hl67OZjMjZdjk1H+cChkZzYq4y3feEH2Ii8VVuiYh05DSwQe/kN9zOu2eKop/ebJwGFUIBmReMVCWCkUbbv4M7suM1BFwUcmGeCuEo3AlYPd1t/bkQRUrflE7wGDFCTmkcMxedH51pUnDVVeA9zbwAeFuBl651qe4Nnm6NDWk6eQEYnEWHY3h2T9koQy0OGsofMbWOjS8+YFzPEk8bfJNC/woD9s3S/pmZuFSCqXbfzjFBwkBwlr7F+mvOhIrTWb4e5rGUZU04RFTtZ7C+xlXa+L9DNMjl570vVWEwA6zP5KvbqvMNLA== Received: from DM5PR03MB3163.namprd03.prod.outlook.com (2603:10b6:4:40::24) by SJ0PR03MB6567.namprd03.prod.outlook.com (2603:10b6:a03:388::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.18; Mon, 4 Jul 2022 13:44:17 +0000 Received: from DM5PR03MB3163.namprd03.prod.outlook.com ([fe80::c0c2:301e:b410:43e7]) by DM5PR03MB3163.namprd03.prod.outlook.com ([fe80::c0c2:301e:b410:43e7%5]) with mapi id 15.20.5395.020; Mon, 4 Jul 2022 13:44:16 +0000 From: Morgan.J.Smith@outlook.com Date: Mon, 4 Jul 2022 09:43:54 -0400 Message-ID: <DM5PR03MB31633E3B8D7FB6CF9CD13BE5C5BE9@DM5PR03MB3163.namprd03.prod.outlook.com> X-Mailer: git-send-email 2.36.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [83U6SxQJ1wnFrz2iMi7Qiv8ujI17K2Nv] X-ClientProxiedBy: YT3PR01CA0104.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:85::29) To DM5PR03MB3163.namprd03.prod.outlook.com (2603:10b6:4:40::24) X-Microsoft-Original-Message-ID: <20220704134354.24534-1-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb738992-897e-4f47-4c8b-08da5dc349c9 X-MS-Exchange-SLBlob-MailProps: gjx25WM8ZNUxDAI+Tg+jRSc79YAuptYJhmncM8NyUp9rWTTE5mCN/H4OAnFMn/noNuFNNakJsg1KFfouBScTG69u5RpRjJ53XOi7gYX7PMRfHVeHydNgZZGaA94GrOyB0XUVGY15fuiMQRciAoYbBz3JYYAoTie0f9gEHwr//fd6Rgz8Pwp2tBJVb6S2fHOcpcW617Y+nv9tXYHMuy3mBkmZX484ayelDNS5um9EKH2aV+ijUyACvawPKdUqDxWMu6q5hjiklHvr6YCitkD8xmTc++YXEqn+hs3AAk36wS1eG3VkwdrD4f3aQaHD7H++hGlWIH3mKxWt9PTxiyE09bpnZxlGRIl2fhSrPmPtEGbm69tWO6WOxEOeQ9SPKGS1LZL1oi24SmcFuKBKVLLgU4jiy0bunylhWght/rE4s8gu3cqaTCREMc1eZKBuGcb/pxB9p95i9L/A1RG7vI2R60pyGIVSJmyVJK5E2SrXMPM2c0HLTsFI4Oh8uC0JgtSSU8P6X70j6qZFhzkvj9wcJmDM+zcT1q9OKzNK+JNs9F1T7BWdD424Mdb57IDwrDHXDB/Pk9AZ1+48/2f5Q/2v9+bevC8Z7BV75ty/EL5wpoqP/UqOS4cIYqer62MZ1bizHi1zcesj91o1vyqgOtWRNfe37oQSe+uNc/sCRPFoq/A/1CH1NQKe6n66JhRgPFNTMhgL9ks7R26C+WAYS7zwT8kz6XMR7ANC8dTmaBK27MI= X-MS-TrafficTypeDiagnostic: SJ0PR03MB6567:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K1gYSpIsZDwgmS3sT03poeqZYnWMPbZcuqD5Q90HG5WaTAlCD4Wq5Jg6oEBPyPfPxrOBwrK/zTE0gacRHenCbR42LEQVGMT5Zv/tf33IcuzygBzSpshvsHAODH6++krVgKciWuSxpNHMgaXPp/3oXI4kzVsR36jytoAWn2faRpsqtM/h1nYb04n6rYEnTON6B+n+LjYopJpYF4FHdRf66Dy4gckmwyQMesD6ELmTBcl1sDxa773GwMRm5hRPHm0lU8yzDkHUKDRCg20CfRArXebxCg+ScTE2nnXXcCw3augTMAPBgj777hJxt8FcnHCZ+GqOPOuQpC+DlBGhB5wnUaw+3bTWwP9jbl4pAmrGgaa4cD1RutPZ4kPOg15hoXmdZcWtOJkSm9Y0JC0pFys8+VbT4CysYUpeF3CZF7A1L6x5GN+eqBRnnoaEQRNkvp+jI0MjQIsKrEJlBJ3B2iV/FYkzZMwmwB52wJt1v5FKp0DmIYRFuaTo8Z7q2T8fwGkmhsnML9I9x2cQMoccx771WYzsb75iH8L/w9QksBlK3P+eW7pwVywV0mDCVnpqdztwhFbG4XMiowUJYNsOCVmTlTPb0qNQaNSu7f6KjK2isj/uN+e+yFNAWqisvwurW4JEeQ9KxzPV4qCn54ifgQOCZw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kuxShw3kOneCBgAEfzCI90tBSg5x+jHXtoguuBSvTox+tCFp4CU9rVeyhPk38asK+mM5h1phhg3LWL3Cb0qu//I1UT+nZk61qYiBsXztB/Gk28kLTOnp3eLvGmNwbT4m8SVcWDzZZWCr/+jqDLgiOkEhz1MvhORcRvoE9eWnvHavTTMpA648G0+S1lQCEEZ7dWmOah02JGyJdTTblxs2NMkh4ZZzqFOIjMCXOLvFCfExq5we5CkTy6K4bRxFlsiLlJQV1yVw9Gg9lE8J9CQCth3MnWwzQaQ7dP6ZyetlR6AHQOuXJY5KhFuU6fHuomoZ1uAWqx/IfH+cvzK/SVcMHZTW6cBbTyRmuuhLEichEt3g5H7iD+/VER0DN3aN5qBR9YgiQNszB54fOear6FW4s/iQGpp2bWX4LPoSedyjJ6PURDRPxE6WgDCySr8MReNKklfCzSUhfv7qh6KQebRtzCXjART+35dF0pFDr7F7AMmGbcNwuKaxOqFxLN3grmgrh97OKsnR+BpsAjuGUGOmFbMv7EBzRJYdPKpYQq5JUI19d+XQr+XPAi3DpCJrEuBWM77vMyOI/OAUFyj+T/Javd75erMeclCLL2tBp9PyRtE4kJRysoVKov8v5JY4J6XLjdjT21EY0QaIk51rG4YJ6zK+aJu05kr30B93mjykHvHTWlVpERsLuNfzIEAcm9rQN7sE45lno+kLx6bd4JnTNnm5RdSgS5FeiBg4YJe9oLgxew2hMJT9v4IcTVc4rPU/OaJtVodybBHikeju0OYbZ44/Y2z9QUAdSMD+DkEMTwSvLQL0ElAMLYXCiV9GXHakL/8ofSm8G/S5cMCIC7+FLmVssTuA4xQkHio+0iNKlr4IOrKvhJwkLw3hRidCDfJBboFzOYfXnB99dodVN8CVuUMC+S9p/Pw1j6PaAIsZU3L4hVGx0RUasLOYIb2+FHFPhlPtH4/WaTFHUCgGkEQHPvWCH4eelbm6OdZn4TYa5mvN01mgc1WHbh9MG+qHnGKdsQ+lkTRNLc6wETMu8yxiGfFAt1QSKrurqjSdI8a5SPzpocVe5TJP5FrRxFj3bvGGoRgxnepA1gKOZROKCPBHS0NoknuAxRgZfXGqgGK8EiY70eUDzH8nyCquYN3WnIbWLsjd8DAt34gg/EMsveHxep7gsybk/UvZ6TobssWAFFVtt6NfadbxmD4h98RqV/oE4klEI6tcJLRbuyiKS+MO7RYVSgeZtokWRvNHkJtHLUlokg8K270BFGj+w1+NB1NV8CJc6RGBQ6Y0vXbj9lv9gH1g9+eTE96JB7Gp48qZf+o= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb738992-897e-4f47-4c8b-08da5dc349c9 X-MS-Exchange-CrossTenant-AuthSource: DM5PR03MB3163.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2022 13:44:16.8187 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB6567 Received-SPF: pass client-ip=2a01:111:f400:7e8a::81a; envelope-from=Morgan.J.Smith@outlook.com; helo=NAM10-BN7-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#56382] gnu: gajim: Use hicolor-icon-theme to avoid crashing on startup
|
|
Commit Message
Morgan Smith
July 4, 2022, 1:43 p.m. UTC
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* 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 gajim
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 solution
is to either figure out how to install the icons in a theme independent way or
to notify upstream
gnu/packages/messaging.scm | 1 +
1 file changed, 1 insertion(+)
Comments
Hi Morgan, (+Cc: Raghav.) Morgan.J.Smith@outlook.com skribis: > From: Morgan Smith <Morgan.J.Smith@outlook.com> > > * 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 gajim > 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 solution > is to either figure out how to install the icons in a theme independent way 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 […] (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_options 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 = 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 = 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 = 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 = Gtk.IconTheme.load_icon_for_scale( gi.repository.GLib.GError: gtk-icon-theme-error-quark: Icon 'org.gajim.Gajim-symbolic' not present in theme Adwaita (0) --8<---------------cut here---------------end--------------->8--- Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? Unfortunately, Gajim fails to build for me as described in <https://dev.gajim.org/gajim/gajim/-/issues/10478>. Raghav, what should we do about it? The issue above is closed, but are we missing the fix? Thanks, Ludo’.
Ludo, > Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? Most gtk-based apps expect hicolor-icon-theme and adwaita-icon-theme to be in the profile. Adding these in either system or user profile would prevent this error from occurring. > Unfortunately, Gajim fails to build for me as described in > <https://dev.gajim.org/gajim/gajim/-/issues/10478>. > > Raghav, what should we do about it? The issue above is closed, but are > we missing the fix? That's odd. The upstream removed those obsolete test files which were causing the build failure. Could you please confirm the commit and system-architecture you tried to build on? Regards, RG.
Ludo, >> Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? > > Most gtk-based apps expect hicolor-icon-theme and adwaita-icon-theme to be in the profile. Adding these in either system or user profile would prevent this error from occurring. > >> Unfortunately, Gajim fails to build for me as described in >> <https://dev.gajim.org/gajim/gajim/-/issues/10478>. >> >> Raghav, what should we do about it? The issue above is closed, but are >> we missing the fix? > > That's odd. The upstream removed those obsolete test files which were causing the build failure. Could you please confirm the commit and system-architecture you tried to build on? It appears the build fails on CI too [https://ci.guix.gnu.org/build/1099363/log/raw]. This time its a different test that is failing. But same as before, it passes on my machine and probably passes on some other machines too. Pushed the fix as commit 29980098508e1e23a767a7c91fe27f0478418eb2, and reported the bug upstream. Regards, RG.
Hi, "Raghav Gururajan" <rg@raghavgururajan.name> skribis: >> Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? > > Most gtk-based apps expect hicolor-icon-theme and adwaita-icon-theme to be in the profile. Adding these in either system or user profile would prevent this error from occurring. Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’, not ‘propagated-inputs’) shouldn’t make any difference I guess? >> Unfortunately, Gajim fails to build for me as described in >> <https://dev.gajim.org/gajim/gajim/-/issues/10478>. >> >> Raghav, what should we do about it? The issue above is closed, but are >> we missing the fix? > > That's odd. The upstream removed those obsolete test files which were causing the build failure. Could you please confirm the commit and system-architecture you tried to build on? I retried and this time it passed. Perhaps it’s non-deterministic? Maybe has to do with running tests in parallel? Thanks, Ludo’.
Hi Ludovic, Ludovic Courtès <ludo@gnu.org> writes: > Hi, > > "Raghav Gururajan" <rg@raghavgururajan.name> skribis: > >>> Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? >> >> Most gtk-based apps expect hicolor-icon-theme and adwaita-icon-theme to be in the profile. Adding these in either system or user profile would prevent this error from occurring. > > Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’, > not ‘propagated-inputs’) shouldn’t make any difference I guess? I think it works as inputs because of our wrappers (perhaps XDG_DATA_DIRS)? But it's kind at odds with our policy which is to let users manage icons themselves. Probably because of #20255 that wouldn't help currently (system and user profiles are not merged), but if we fixed that bug we could make the situation better by adding 'hicolor-icon-theme' to the default packages of our desktop system templates. Thanks, Maxim
Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > Hi Ludovic, > > Ludovic Courtès <ludo@gnu.org> writes: > >> Hi, >> >> "Raghav Gururajan" <rg@raghavgururajan.name> skribis: >> >>>> Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? >>> >>> Most gtk-based apps expect hicolor-icon-theme and adwaita-icon-theme to be in the profile. Adding these in either system or user profile would prevent this error from occurring. >> >> Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’, >> not ‘propagated-inputs’) shouldn’t make any difference I guess? > > I think it works as inputs because of our wrappers (perhaps > XDG_DATA_DIRS)? But it's kind at odds with our policy which is to let > users manage icons themselves. Yeah. > Probably because of #20255 that wouldn't help currently (system and user > profiles are not merged), but if we fixed that bug we could make the > situation better by adding 'hicolor-icon-theme' to the default packages > of our desktop system templates. Right. BTW, the reason the solution at <https://issues.guix.gnu.org/20255#12> was rejected could be revisited. Since that time, search paths made it into the manifest itself, which brings a speed up: --8<---------------cut here---------------start------------->8--- $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches ' $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null real 0m0.540s user 0m0.131s sys 0m0.063s $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null real 0m0.135s user 0m0.130s sys 0m0.024s --8<---------------cut here---------------end--------------->8--- Thoughts? Ludo’.
Hello! Ludovic Courtès <ludo@gnu.org> writes: [...] >>> Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’, >>> not ‘propagated-inputs’) shouldn’t make any difference I guess? >> >> I think it works as inputs because of our wrappers (perhaps >> XDG_DATA_DIRS)? But it's kind at odds with our policy which is to let >> users manage icons themselves. > > Yeah. > >> Probably because of #20255 that wouldn't help currently (system and user >> profiles are not merged), but if we fixed that bug we could make the >> situation better by adding 'hicolor-icon-theme' to the default packages >> of our desktop system templates. > > Right. > > BTW, the reason the solution at <https://issues.guix.gnu.org/20255#12> > was rejected could be revisited. Since that time, search paths made it > into the manifest itself, which brings a speed up: > > $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches ' > $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null > > real 0m0.540s > user 0m0.131s > sys 0m0.063s > $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null > > real 0m0.135s > user 0m0.130s > sys 0m0.024s > > Thoughts? Re-reading the bug report, we had come up with a blueprint of a possible solution but failed short of implementing it [0] [0] https://issues.guix.gnu.org/20255#35 Even the --search-paths command become 0.2 s, I don't think it'll satisfy all parties, so the solution above still has merit, I think. Perhaps we should try to implement it, unless you see a problem with it. Thanks, Maxim
Hi Ludo, On +2022-07-18 11:29:55 +0200, Ludovic Courtès wrote: > Hi, > > Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > > > Hi Ludovic, > > > > Ludovic Courtès <ludo@gnu.org> writes: > > > >> Hi, > >> > >> "Raghav Gururajan" <rg@raghavgururajan.name> skribis: > >> > >>>> Does simply adding ‘hicolor-icon-theme’ to ‘inputs’ fix the issue? > >>> > >>> Most gtk-based apps expect hicolor-icon-theme and adwaita-icon-theme to be in the profile. Adding these in either system or user profile would prevent this error from occurring. > >> > >> Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’, > >> not ‘propagated-inputs’) shouldn’t make any difference I guess? > > > > I think it works as inputs because of our wrappers (perhaps > > XDG_DATA_DIRS)? But it's kind at odds with our policy which is to let > > users manage icons themselves. > > Yeah. > > > Probably because of #20255 that wouldn't help currently (system and user > > profiles are not merged), but if we fixed that bug we could make the > > situation better by adding 'hicolor-icon-theme' to the default packages > > of our desktop system templates. > > Right. > > BTW, the reason the solution at <https://issues.guix.gnu.org/20255#12> > was rejected could be revisited. Since that time, search paths made it > into the manifest itself, which brings a speed up: > > --8<---------------cut here---------------start------------->8--- > $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches ' > $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null > > real 0m0.540s > user 0m0.131s > sys 0m0.063s > $ time guix package -p ~/.guix-home/profile -p /run/current-system/profile --search-paths > /dev/null > > real 0m0.135s > user 0m0.130s > sys 0m0.024s > --8<---------------cut here---------------end--------------->8--- > > Thoughts? > > Ludo’. I'm sure you were just after a quick indication and know what can affect timing, but I'm curious: What would the above results be if you did the second timing first, after a power down and cold start? I'm guessing the kernel file systems are pretty clever about caching stuff, especially if you have lots of ram :) I.e., what cached state could the first timing have left for the second to profit from? (I've been fooled maany times, benchmarking and timing :) -- Regards, Bengt Richter
Ludo, >> Right, so the proposed patch (adding ‘hicolor-icon-theme’ to ‘inputs’, >> not ‘propagated-inputs’) shouldn’t make any difference I guess? > > I think it works as inputs because of our wrappers (perhaps > XDG_DATA_DIRS)? But it's kind at odds with our policy which is to let > users manage icons themselves. Yep, adding icons to inputs should work because of the wrappers. But the reason Maxim mentioned, is why I haven't added icons to inputs in Gajim. Regards, RG.
Hi, bokr@bokr.com skribis: > I'm sure you were just after a quick indication and know what can affect timing, > but I'm curious: > > What would the above results be if you did the second timing > first, after a power down and cold start? > > I'm guessing the kernel file systems are pretty clever about > caching stuff, especially if you have lots of ram :) The ‘drop_caches’ command is meant to drop all caches, as if I were doing it on a cold start. Ludo’.
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index a9906bfd29..1efcce21d5 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -1270,6 +1270,7 @@ (define-public gajim ("gtk+" ,gtk+) ("gtksourceview" ,gtksourceview) ("gupnp-igd" ,gupnp-igd) + ("hicolor-icon-theme" ,hicolor-icon-theme) ("libappindicator" ,libappindicator) ("libnice" ,libnice) ("libsecret" ,libsecret)