From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 WDrSLJPAvWL6AgEAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 17:26:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iLC9LJPAvWKdCQEAauVa8A (envelope-from ) for ; Thu, 30 Jun 2022 17:26:11 +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 2D56217A5D for ; Thu, 30 Jun 2022 17:26:10 +0200 (CEST) Received: from localhost ([::1]:40740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6w3V-0008Az-9e for larch@yhetil.org; Thu, 30 Jun 2022 11:26:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6w3O-00088Y-0Z for guix-patches@gnu.org; Thu, 30 Jun 2022 11:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6w3N-00070b-NO for guix-patches@gnu.org; Thu, 30 Jun 2022 11:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6w3N-0004NX-IK for guix-patches@gnu.org; Thu, 30 Jun 2022 11:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56169] [PATCH] gnu: Add cambalache. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Jun 2022 15:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56169 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Cc: 56169@debbugs.gnu.org Received: via spool by 56169-submit@debbugs.gnu.org id=B56169.165660273016786 (code B ref 56169); Thu, 30 Jun 2022 15:26:01 +0000 Received: (at 56169) by debbugs.gnu.org; 30 Jun 2022 15:25:30 +0000 Received: from localhost ([127.0.0.1]:35362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6w2s-0004Mf-GO for submit@debbugs.gnu.org; Thu, 30 Jun 2022 11:25:30 -0400 Received: from mail-ej1-f68.google.com ([209.85.218.68]:42850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6w2q-0004MS-2f for 56169@debbugs.gnu.org; Thu, 30 Jun 2022 11:25:29 -0400 Received: by mail-ej1-f68.google.com with SMTP id fi2so39649892ejb.9 for <56169@debbugs.gnu.org>; Thu, 30 Jun 2022 08:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=+i5Ib3KUpixOV7ZYXKwzQ60RlrusmIPzQIsQzTOGupA=; b=cXq1UIRZ9TBEF2uc9H3UjeS2ZhN6rZtfTbcj7KlyPFfzF/u2YgdVLbcLTttyJwcV2e 9Jrv6ENhkQfei3dDb28VhUe+9xALP1EWRVr7itd3/PsQjgcrkpSESap+1yexx3ZsnvyB rffgz99/tNKEzqJuYHE7KMr/7Ja5tuma+TW4QV9vCroQhsha+YMqV8nNRjlJI6jM4hjP YUoY77jZUSgiybn0M89l4OHz3nkPN0gjz3LvRNAgLb5qlF6FGptre9WzfKLR+m6FbcB+ WVRNw5zXzYNjgF/x9OYufLM1TK96RSSTdLiUejrgayQqdDqcNG/9o1EkphMwSZNbeOz6 vxSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=+i5Ib3KUpixOV7ZYXKwzQ60RlrusmIPzQIsQzTOGupA=; b=TUYUp9eCH7aZwyJBZ0pyG5MMAvmwKiibvyQab5O2l/SWJedORcU+mRo7cQZUzn8rYQ Lak25/McUSXb+GcKAXGutk7l9o7gwMtyzeJH/PcYiFHmLUUliLAU4ZLUDKmyFUMWE4UW cZC23se+7Uhh0HgD+6RzrLnjwWf02clSZNVRFruuxmfsPOOxXU6nt7VFPYuWbuwVt+xR 1TNenvZDAOpsxqBbju85xnYFbUlYn2LNVPS2HwLt4ITwb6xCL50iaiksrEiBvhbkfG0W YE2obMAN4Y7SxkweJQEsFSOFnVgbBn8+jmQQvnSaBg+ow51DUIsbyUD2u1Rwu1crDDxz NISw== X-Gm-Message-State: AJIora/aei4M/rAgAAP2KwNKq+MZN8VwHz70KfYxGY3Ajz5uvifjDEa7 nFs37gWtn4ggD3hsOBgvIeg= X-Google-Smtp-Source: AGRyM1vuOWwX2/dfrI7LMYiZABv09arU49D8HnjTy2V0sNHg/nAU/T/U0TrT4Q3tw85N6NEjivqlKQ== X-Received: by 2002:a17:906:529a:b0:726:be4e:aef3 with SMTP id c26-20020a170906529a00b00726be4eaef3mr9403535ejm.87.1656602722096; Thu, 30 Jun 2022 08:25:22 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id f26-20020a056402005a00b004358f6e0570sm13333769edu.17.2022.06.30.08.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jun 2022 08:25:21 -0700 (PDT) Message-ID: <301bd0e47791b49e275c5d5ab3879b38533f2866.camel@gmail.com> From: Liliana Marie Prikler Date: Thu, 30 Jun 2022 17:25:20 +0200 In-Reply-To: <87o7yav7dd.fsf_-_@ruhr-uni-bochum.de> References: <87ilokc4um.fsf@ruhr-uni-bochum.de> <87o7yav7dd.fsf_-_@ruhr-uni-bochum.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1656602770; 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=+i5Ib3KUpixOV7ZYXKwzQ60RlrusmIPzQIsQzTOGupA=; b=kYvfcxwQQl9YktB+C+GZDtoi2a//6/1P8H/SZsFbWK13RSionbT4xPLgxeH45A3SR/pgEK gfLzKpZjXj+ITo4rr8ZKZM5u6YPtcBJqe2C8dh0mb4cFKoRRNRUm6/F5adcCzyErysP0d3 gFu/PWd5abSHH8suWL29/d18etnV+ZYHITZokiQJc6AGi92RCRs8EdxMA0UnAGUGiADyYM z4c5k3qdBklVziaScX6JXvcw62Yg2NIY4fB6CiPM2ammvqGbpsjnRMefo/MK1uuI3NNvy4 zGh8120SUXkcJJIOwhyoEjCxXQkYMu9OISwEyEy60c36steKH9q7A/lzniFqFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656602770; a=rsa-sha256; cv=none; b=tbW/A/0nokW02+ucZhnzxhA7bXLt7PfKFnaJyaU+sXMdW+ce93AWzWsVV6Tl8Z0azRRU65 qdSBXJcJidF5vkT1b9DPN4loH0X6ZVeQvaHGs2xN/WiDYELJyANuE+WkipEIuFeKfdjUaR tjOuboTUgLFehW+CM+EbZWNUGo/9wnDdcTDhtUl2iNgWfCxr4XiIdDjjpiBBCdMn50GtGw 0zwwFRN83++t1SWNQlSJUp8mgi5k7QW14WjQHGAA7Y/K2Z+N80x5KEeNndRo9m0s21e6YN 2jnh6zE47YStwRKv7ChkqBmnb9rMKeX1Oyz7rHnoqJ/3oJew4k7Dfb+PJtmoRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cXq1UIRZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cXq1UIRZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 2D56217A5D X-Spam-Score: 6.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: YWGojnrMNLNd Am Donnerstag, dem 30.06.2022 um 11:16 +0200 schrieb Daniel Meißner: > Liliana Marie Prikler writes: > > > Am Mittwoch, dem 29.06.2022 um 09:21 +0200 schrieb Daniel Meißner: > > > Hi Liliana, > > > > > > Thanks for packaging Cambalache :-) I have applied your patch to > > > my > > > local Guix checkout and it builds fine.  However, running > > > > > >     ./pre-inst-env guix shell cambalache -- cambalace > > > > > > Cambalache starts up but I am unable to add any widgets.  There > > > are > > > some error messages written to stderr that complain about a > > > missing > > > typelib: CambalachePrivate.  I see that you wrap the programme > > > but > > > you did not include the path to the CambalachePrivate typelib.  > > > So > > > maybe this is causing the problem? > > Thanks, I'll update the patch accordingly soon™. > > I did a first try by wrapping the programme as follows: > > --8<---------------cut here---------------start------------->8--- > (wrap-program prog >               `("GI_TYPELIB_PATH" >                 suffix >                 (,(getenv "GI_TYPELIB_PATH") >                  ,(string-append #$output "/lib/girepository-1.0")))) > --8<---------------cut here---------------end--------------->8--- > > Now, with this, cambalache finds the typelib but complains on two > other things: > > 1. There's another typelib called Adw which is not found Should be resolved by adding libadwaita to the inputs. > 2. gi.repository.GLib.GError: gdk-pixbuf-error-quark: Format der > Bilddatei unbekannt (3) A broken image? Any supporting hints like file paths? > Now 2. is more severe since it occurs when I add for example a > GtkApplicationWindow to the project.  This widget does not show up > and I cannot add other widgets to the application window. > > > > Additionally, the icons in the headerbar are missing.  This seems > > > to > > > be related to: > > > > > > Missing dependency for Xournal++ > > > https://issues.guix.gnu.org/51968 > > For this class of bugs, I'd always try to include glib in the guix > > shell and check if the issue persists.  We don't build icon caches > > per package, so the only way to fix that is to get XDG_DATA_DIRS > > into your profile. > > Thanks for the hint.  IIUC, the inclusion of glib into the profile > triggers a hook for generating the appropiate XDG_DATA_DIRS env > variable into the profile, right?  Is the reason why icon caches are > not per-package so that different icon-themes can work?  Sorry, this > is taking an orthogonal direction. It's a practical limitation. There is a single file, that would leat to a very large number of conflicts, most of them harmless but still time-consuming to resolve. Thus we leave it to a profile hook to actually generate the icon themes. This hook runs regardless, but XDG_DATA_DIRS won't be set by it. Cheers