From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MIT4NPeVwWFl7wAAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 09:53:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IMDBMPeVwWEPJQAAB5/wlQ (envelope-from ) for ; Tue, 21 Dec 2021 08:53:11 +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 8D81A346E4 for ; Tue, 21 Dec 2021 09:53:11 +0100 (CET) Received: from localhost ([::1]:37342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzatR-0001tD-SG for larch@yhetil.org; Tue, 21 Dec 2021 03:53:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzatK-0001t3-AE for bug-guix@gnu.org; Tue, 21 Dec 2021 03:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzatK-0006Gf-1N for bug-guix@gnu.org; Tue, 21 Dec 2021 03:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzatJ-0001g6-S5 for bug-guix@gnu.org; Tue, 21 Dec 2021 03:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#51968: Missing dependency for Xournal++ Resent-From: Alexander Asteroth Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 21 Dec 2021 08:53: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: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Received: via spool by 51968-submit@debbugs.gnu.org id=B51968.16400767476403 (code B ref 51968); Tue, 21 Dec 2021 08:53:01 +0000 Received: (at 51968) by debbugs.gnu.org; 21 Dec 2021 08:52:27 +0000 Received: from localhost ([127.0.0.1]:52323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzasl-0001fC-5U for submit@debbugs.gnu.org; Tue, 21 Dec 2021 03:52:27 -0500 Received: from sv-2s11.infcs.de ([194.95.66.48]:47542 helo=ux-2s-mailproxy.inf.h-brs.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzasf-0001eq-OG for 51968@debbugs.gnu.org; Tue, 21 Dec 2021 03:52:25 -0500 Received: from gyps.h-brs.de (p5797302f.dip0.t-ipconnect.de [87.151.48.47]) (authenticated bits=0) by ux-2s-mailproxy.inf.h-brs.de (8.15.2/8.15.2/Debian-8ska0) with ESMTPSA id 1BL8qDme010000 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Dec 2021 09:52:13 +0100 References: <87fsrsijtk.fsf@ruhr-uni-bochum.de> <87k0gca8lj.fsf@gnu.org> <87a6gzv94l.fsf@ruhr-uni-bochum.de> <87czlvkxd7.fsf@h-brs.de> <875yrj5qxf.fsf@ruhr-uni-bochum.de> User-agent: mu4e 1.7.4; emacs 27.2 From: Alexander Asteroth Date: Tue, 21 Dec 2021 09:45:06 +0100 In-reply-to: <875yrj5qxf.fsf@ruhr-uni-bochum.de> Message-ID: <87ee66e3wp.fsf@h-brs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Auth: by SMTP AUTH @ ux-2s11 X-MIMEDefang-Info-ge: Gescannt in Inf@FH-BRS, Regeln s. MiniFAQ E-Mail/Mailscanner X-Scanned-By: MIMEDefang @ FB02 @ H-BRS 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: , Cc: 51968@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-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=1640076791; 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; bh=yi6rRDErR0ydlj4q6ZKJhAhPkYnjaxIoigmIMOGrbcA=; b=rj/IRnoJm9r2mylBIL0P42EAsmYGidj6uh98l1J8ueu0MsHDJy2hcokUqKOMH8KUzZLqI5 7LK9sGuIIe7Q2RB5Lm/Zp7qVInuQetEfZ5r+8LsBAZ3cAiBu8u+POAwdHkRYOOgcMHH0zo OHQdlLSk0DiD9SJ561dVi4MUiFG0L8fXcboBqTJa99gyyr8inovP1NeuS0sA6qJt5KEUZX RiNgMTPIQpFOt6X/uDozxtTIQG7fsIlz5/lUtpZn5CrQG++SBVLiLRSHTHnfZCQEHtRS1n BQHS8WU6CvEoQNDtEykF0BS3kgZYp14WutBjfPJ1OWUgEl9V2pSu6Wqnxcnn0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640076791; a=rsa-sha256; cv=none; b=O2D70zwQ5IX4UsYIWt5xqpqLLN6ITyllxKGGENbqgRfPSA+mrHEX80b6AEJ82KHns6Zn6d GDTvfQwwAqddjmklCe6ps5Pfp8pLU4wFGaqJMWU5AcAsMrLqsAUTVOjld00oRQIYtSAFZQ sMUY1vefd+pQqoMwKnVDRfnp0c2WYWzKn7gBBCXaAB+gtJUCe4lsDGLcDuUT1Y4LqktSXY 5kAq4Rvkf8c7u1oMteP+vFr/DwJbo/rzmB7tWgHjmBnLtKe4OYzlrBXWx+oPMCFP/O8lJS XNFtmgBVuwNsYRDDTz2tpXSKXw6eTMk6nvd8ek6G+/KVB+EORDHAuKYboqvvvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none); 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: -3.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=h-brs.de (policy=none); 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: 8D81A346E4 X-Spam-Score: -3.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: Xt9+CI1QAi3t Hi Daniel, On Mon, Dec 20 2021, 14:47:24, Daniel Mei=C3=9Fner wrote: >> I can reproduce the missing icons issue by running=20 >> >>> guix shell --pure -f xournalpp-fix.scm -- xournalpp >> >> as suggested below. Wondering why the icons are not missing when I run >> xournalpp in my environment I discovered that >> >>> guix shell --pure gtk+ -f xournalpp-fix.scm -- xournalpp >> >> resolves this problem. > > This is weird since gtk+ already is an input to xournalpp (despite not a > propagated one). What desktop environment are you using? That is *really* strange, is it? I'm using no desktop environment. Just EXWM as window manager. > >> Looking at your xournalpp-fix.scm file I wondered what the function >> modify-input exactly does (and how to add gtk+ to the append >> clause). I don't find neither documentation in the manuals nor code >> for it in a guix checkout (when I do a recursive grep in the source >> for guix or gnu modules the result is empty). > > This =E2=80=98modify-input=E2=80=99 form is actually a macro and it is do= cumented in the > latest version of the manual [1]. This macro is part of a big surface > level syntax change for packages which arrived with the > core-updates-frozen merge. See [2] for a nice blog post. In the meantime I found that as well. But the documentation (from my perspective) is unfortunately incomplete. It neither specifies the full semantics (without looking into the macro-code) nor does it tell me, what kind of clauses I can put e.g. into (modify-input ...). How is (append ...) translated? The web document links to the list append function which it might somehow translate to but that is not documented either (at least I dont find it). This seems to be a general problem with the documentation to me (that it doesn't fully document neither syntax nor semantics). Others have problems using guile (which I don't have)... Cheers, Alex > As I have > mentioned, gtk+ is already an input for xournalpp. If it were not, you > could add it using: > > (modify-inputs (package-inputs xournalpp) > (append adwaita-icon-theme gtk+)) > > Best, > Daniel > > 1: https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Varian= ts.html#index-modify_002dinputs > 2: https://guix.gnu.org/de/blog/2021/the-big-change/