From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SFnTHGJhvGH+mgAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 11:07:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SHqnGGJhvGGFHAAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 10:07:30 +0000 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 23D653E8D for ; Fri, 17 Dec 2021 11:07:30 +0100 (CET) Received: from localhost ([::1]:37346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myA9B-0007qc-4y for larch@yhetil.org; Fri, 17 Dec 2021 05:07:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myA8l-0007p6-Iw for bug-guix@gnu.org; Fri, 17 Dec 2021 05:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myA8j-0000U7-ST for bug-guix@gnu.org; Fri, 17 Dec 2021 05:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myA8j-0004E3-Ll for bug-guix@gnu.org; Fri, 17 Dec 2021 05:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#51968: Missing dependency for Xournal++ Resent-From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Dec 2021 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51968 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Alexander Asteroth Cc: 51968@debbugs.gnu.org Received: via spool by 51968-submit@debbugs.gnu.org id=B51968.163973557816186 (code B ref 51968); Fri, 17 Dec 2021 10:07:01 +0000 Received: (at 51968) by debbugs.gnu.org; 17 Dec 2021 10:06:18 +0000 Received: from localhost ([127.0.0.1]:37996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myA82-0004D0-DL for submit@debbugs.gnu.org; Fri, 17 Dec 2021 05:06:18 -0500 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:34830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myA7z-0004Ck-Vd for 51968@debbugs.gnu.org; Fri, 17 Dec 2021 05:06:17 -0500 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4JFl4K6sl9z8SnY; Fri, 17 Dec 2021 11:06:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1639735570; bh=6hybeCLUERMT0NPiBD61TBct/agoVt5PaDoSA8JOmUQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=0gg/b6375jO9CiTWLjsm9uGzrlkn6OptGh9AA099n+FWe5VCrFm7rEJwANc0tFtRf gQ5yLOk8GCXiDu3uYorupxiPizbUT7oL18RvaXVO8CC2F9cKm8FvSkWO29M26wkNJQ CqG/2WfQCK5yEQ7L4QOyITonW2yatSXPXQMs9teU= Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4JFl4K6GCkz8SnP; Fri, 17 Dec 2021 11:06:09 +0100 (CET) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4JFl4K46mJz8Sm9; Fri, 17 Dec 2021 11:06:09 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx2.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4JFl4K0hm7zDgyr; Fri, 17 Dec 2021 11:06:09 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mail2.mail.ruhr-uni-bochum.de In-Reply-To: <87k0gca8lj.fsf@gnu.org> References: <87fsrsijtk.fsf@ruhr-uni-bochum.de> <87k0gca8lj.fsf@gnu.org> Date: Fri, 17 Dec 2021 11:06:02 +0100 Message-ID: <87a6gzv94l.fsf@ruhr-uni-bochum.de> 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Daniel =?UTF-8?Q?Mei=C3=9Fner?= From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639735650; h=from:from:sender:sender:reply-to: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=1PU/0c+BpFhXfoZhlg0ZAgz5fm4gds/WPQEGzPk7xg8=; b=iVd1e+8lsWmGFDCXauDwI9/2PrVjiSIZLjbStxVps5T4F+YsArqNSi5crmicnKQ5u56n9Y /sg1RnF1h2K4jryTqzcXxDUzyLi3v0NgTJCX9WbFtWzlPFIg86O5m9x480ABSXpGQNOV2m g6PQHzynCKARQlBr/d21YPODc7Laz4RBlplPMXLSsV9IqyOgFtsKGllz6dpOhZetcUR4Iq +bnhZo96AQAuZdyDgd4/AC1yMrW/G+RT0LV68I95P1D8eiLOSppVapxP5u6UK7qimMZ0Y5 4VV/jCk7paDytEhbnCWM9xY0laDvfBhknQmS2PqapaoGimjXF9qEnh/+rws7aA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639735650; a=rsa-sha256; cv=none; b=iDhmb5InlqPUx1IQlVMK0n1RCApW8IsIG1zZe6LW/jZLc50WELLc4gQJ4cNdULGXSxlHn0 L4OjdrurJJessCAaDds38NRWpfvL6JOqOZl5410vI1J4MxXEUbKvD4nJztlTRtMcT9yuw9 /yF/rih/IiF0o7b7N1mNPJ1xmm2aSMgFIB4i/qlDJBaa8g5Fq+E/N0XmarOJmk4gWE+HD8 PnxzhJ6FoDiyypgh3vLZT0uNwwDj8CgvA7IUsb+6ozl0kbEm/hFpGMBA3/fIQ5Xg5pfsv1 VQs7oz4OfwcWGG6Ugo/FfXT66dRjT3LUKgmgiqmhTjsqZujC6jKZcVCEy8z7rA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b="0gg/b637"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b="0gg/b637"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 23D653E8D X-Spam-Score: -4.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3JPTddw/l0IP Hi Alexander, hi Ludo=E2=80=99, Ludovic Court=C3=A8s writes: > Hi Daniel, > > Daniel Mei=C3=9Fner skribis: > >> there is a problem with the package xournalpp on Guix master. To >> reproduce run: >> >> $ guix shell --pure xournalpp -- xournalpp [...] > How should this be addressed? Adding =E2=80=98gnome-icon-theme=E2=80=99 = as a > propagated input would be quite unusual, but maybe it=E2=80=99s become > necessary? I have done some more analysis. First of all, I was wrong in pointing out it has to be =E2=80=98adwaita-icon-theme=E2=80=99 for it to work, =E2= =80=98gnome-icon-theme=E2=80=99 does also work. Of course, you then get a different =E2=80=98image-missing= =E2=80=99 icon. However, let me elaborate a bit: The following command tries to invoke xournalpp in a pure and environment. It crashes because it cannot find =E2=80=98image-missing.png= =E2=80=99. It tries to load this icon in the first place because it cannot load its own toolbar icons. #+begin_src bash guix shell --pure xournalpp -- xournalpp #+end_src However, when run from within Gnome it works without problems and the toolbar icons show up. Running the following prevents the crash but most of the toolbar icons now show the =E2=80=98image-missing=E2=80=99 icon: #+begin_src bash guix shell --pure xournalpp gnome-icon-theme export XDG_DATA_DIRS=3D$GUIX_ENVIRONMENT/share xournalpp #+end_src Depending on whether one uses =E2=80=98gnome-icon-theme=E2=80=99 or =E2=80= =98adwaita-icon-theme=E2=80=99 different icons for =E2=80=98image-missing=E2=80=99 are used. It seems to me that evince also does not find all of its icons. However, it does not crash because it has =E2=80=98adwaita-icon-theme=E2=80= =99 as one of its inputs (although it is just an input, not a propagated input). The missing icon is the =E2=80=98view-sidebar-symbolic-ltr=E2=80=99 and is comp= lained about after opening some PDF. #+begin_src bash guix shell --pure evince -- evince #+end_src Also in this case when run from Gnome the sidebar icon is correctly displayed. So in order to address the crash it seems natural to add either =E2=80=98gnome-icon-theme=E2=80=99 or =E2=80=99adwaita-icon-theme=E2=80=99 = to the list of inputs. For example, the following package definition yields a =E2=80=9Cworking=E2=80= =9D Xournalpp in the sense that it does not crash. #+begin_src scheme (use-modules (guix packages) (gnu packages pdf) (gnu packages gnome)) (package/inherit xournalpp (inputs (modify-inputs (package-inputs xournalpp) (append adwaita-icon-theme)))) #+end_src Put the above in a file named =E2=80=98xournalpp-fix.scm=E2=80=99 and then = run: #+begin_src bash guix shell --pure -f xournalpp-fix.scm -- xournalpp #+end_src Xournalpp does not crash, however, the correct toolbar icons are still missing and this seems to be the actual problem. Any ideas where to look for the problem? I have not tried to run Xournalpp in an XFCE environment to see if the toolbar icons are missing there, too. But maybe Alexander has, since he discovered the problem in the first place. As I am using Gnome, I have never run into this issue before despite having been using Xournalpp under Guix for a while now. Since evince also shows this behaviour in an isolated environment: Might there be a general underlying problem? Best Daniel