From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2FknOH8m6mQ/YQAAauVa8A:P1 (envelope-from ) for ; Sat, 26 Aug 2023 18:21:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2FknOH8m6mQ/YQAAauVa8A (envelope-from ) for ; Sat, 26 Aug 2023 18:21:20 +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 7F0BC5323D for ; Sat, 26 Aug 2023 18:21:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=bS0M4wmM; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693066879; a=rsa-sha256; cv=none; b=NCz1DcTyJKFqNAPUElpxErymuv5vIk0NkrfeUR/KPw0MlKB+Wo7ZC/xd9HFOtnBrdyq5IM NY0uR8T9lpwsg/vUVa9TR7m+PpN3qkg8IhxNnY5dFOW2ky+tRkeyDsXSC9Ra2bUPzIT7Oi KvPpma3RutijzNsNLmJOe7kITLpj3L5AGoiAzWYvQ99R1pDKLRs27PxlaQdZ8SNRav4D4Y nsO51OSBbesQQsRA6rYSBtQoZ6VGJZBoF5Hv0jwAHpaKs+t4wLhxin44XW3oackVl0olv8 hXbQEa6sM7fyoKxdckYdKRgJ9Hib64IfRtz9J1mkRi/V6QKsOuv+/NV6dRGMlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=bS0M4wmM; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693066879; 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: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=Jc3koBNugPunU8xTee4OIH/l75I0kWB9Pgx8GiAhT4Q=; b=V0QDFSTyFVQKVgRrUgxFJGz/TglNgZRirdfTXsgSp2eduhc1xRUoerlxtO3m1dyLEvSbv1 /1JXjyCK8gKknJvYqi2ldbUc3uDnumbUlUv7gzMmpxs+S/WKSo0qe8oVYsATQUxCxBosBh O8UwfmEnhDm4TP5PMNlPePNrDd5hYDN0N7AkGTX+6J4oRAmMpgUiJKlNTW9nI2CflJrdh9 WBfMfxXHFQ6iy9hwokL/0OjnR4TGlAkGGdJHaF7JlIhK8a7a6tV3OkDk7pE19FrbmGAkl3 zsJZiBfZPo/B8yrQL59ywD0gjf7EvwfW4U7D/cNy4gnd5sRI6DomvNDwvxWpzw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZw1y-0002D9-MW; Sat, 26 Aug 2023 12:20:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZw1x-0002Cq-7z for bug-guix@gnu.org; Sat, 26 Aug 2023 12:20:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZw1x-0003Su-0N for bug-guix@gnu.org; Sat, 26 Aug 2023 12:20:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZw22-0003SH-8E for bug-guix@gnu.org; Sat, 26 Aug 2023 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65508: Displaying qt applications on wayland using qtwayland is complicated Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Aug 2023 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65508 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Morgan Smith Cc: 65508@debbugs.gnu.org Received: via spool by 65508-submit@debbugs.gnu.org id=B65508.169306681513212 (code B ref 65508); Sat, 26 Aug 2023 16:21:02 +0000 Received: (at 65508) by debbugs.gnu.org; 26 Aug 2023 16:20:15 +0000 Received: from localhost ([127.0.0.1]:43354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZw1G-0003R1-HH for submit@debbugs.gnu.org; Sat, 26 Aug 2023 12:20:14 -0400 Received: from mail-vk1-xa31.google.com ([2607:f8b0:4864:20::a31]:46503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZw1E-0003Ql-VV for 65508@debbugs.gnu.org; Sat, 26 Aug 2023 12:20:13 -0400 Received: by mail-vk1-xa31.google.com with SMTP id 71dfb90a1353d-48faba23f51so873001e0c.1 for <65508@debbugs.gnu.org>; Sat, 26 Aug 2023 09:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693066801; x=1693671601; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Jc3koBNugPunU8xTee4OIH/l75I0kWB9Pgx8GiAhT4Q=; b=bS0M4wmMV+gSk+IgG/PR4wqb0eVmQOPZ6rFohEvDCtHSrY3O00vGoaCZBTFWJ/WQ+S GWmsjJU28KEqgRjie4enOok483//NbZQJArJJYdQ2P6+6dpxRP3WJlWbEVXfvFf2CoEX 5hDE+5x/g4FVIvOofRH6RWLhi7Xhf2ULs2J441MSASCi3FsXgQ1dCTinFWjkNf8iI+kS i7+FBVty5X5U9ztz2wwj1hrh76xCKKFt18jwRPORNlzEmQ2zIYELMYduz6USYHYak1C1 IAPbAMSpki+mQsGuOd3lwsE+9rw2eqVAm+uI2k5osuEk3uaCcjauv5ij/UuE5PNrTrI2 o5wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693066801; x=1693671601; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Jc3koBNugPunU8xTee4OIH/l75I0kWB9Pgx8GiAhT4Q=; b=GTr+rRcynRnNscUcmmPkVXWEVkf/OtT/3VdIzwBO25Us6C1Vp/TTw5lPaWnGoMu+ow vlwAo/eGFOV0GzyvgtII9X8UT38pHCDQfY8E2qWn2QoPkvInY86nw9ApS3jPGsWdbpgV HcPiI/HHmV3EVMwgvA9mTdLkyKbVbTx9nuObyaxwcYaRhKUj9mu7QeHs4ZCkbu8MVOp6 Mmy0Yvp9wJV1gGk2o816dczeINHjlJxWxaCYmpzxfM/fWViyWf1UT9S2TMWT9TNE9rDE s0kJfevtser+GFIu+RWjz0DoxpXsnq+pfeciIa56YUB4+d4OeEv2NC8+hj5p44C+xgNY BrBg== X-Gm-Message-State: AOJu0YxEazFia58uX1Uu5beYXGAArLCTiZctDCpFXw4CI6VhUU/Xsqke oOG1vQKrDf1trjJ4h0pNoig7OUPvk1U= X-Google-Smtp-Source: AGHT+IF4bpuHW2SOldA+xNNmURCLIhyCRFMvfELmdOmPmwm9D+wbs0eK3njG92mdc/86O+inr0yJkg== X-Received: by 2002:a1f:dd44:0:b0:48d:2bcf:f959 with SMTP id u65-20020a1fdd44000000b0048d2bcff959mr16928919vkg.3.1693066801575; Sat, 26 Aug 2023 09:20:01 -0700 (PDT) Received: from hurd (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id g8-20020ae9e108000000b0076dae4753efsm1254766qkm.14.2023.08.26.09.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 09:20:01 -0700 (PDT) From: Maxim Cournoyer References: Date: Sat, 26 Aug 2023 12:20:00 -0400 In-Reply-To: (Morgan Smith's message of "Thu, 24 Aug 2023 13:48:04 -0400") Message-ID: <87edjpojwv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -5.12 X-Migadu-Queue-Id: 7F0BC5323D X-Migadu-Spam-Score: -5.12 X-TUID: A8g0NodaI+fb Hi, Morgan Smith writes: > Hello guix! > > Before I get into the actual bug I'm trying to report, I have to bring up 2 > other complications. > > 1. qtwayland@6 currently doesn't build due a test failure. So in this bug I'm > either using "--without-tests=qtwayland" on the command line or > "((options->transformation '((without-tests . "qtwayland"))) qtwayland)" in > manifests. > > 2. The way we deal with multiple package versions in a profile is really weird. > "guix shell package@1 package@2" works as expected (both versions available). > "guix install package@1 package@2" silently installs only the newer one. > Putting package@1 and package@2 in a manifest yields: "error: profile contains > conflicting entries for package" > > > OK with that out of the way, onto my actual bug report: > > I use wayland. I also use some qt applications. For a qt application to > display on wayland it either needs the qtwayland plugin available, or it can > use some x11 fallback thingy. The qtwayland plugin is the way I'd like my qt > applications to render. > > Some applications include qtwayland in their inputs like okular and work fine > out of the box. Most applications (like openscad and jami) do not. > > This is fine because we can simply install qtwayland into our profile. Not > everyone uses wayland so this actually seems like the appropriate thing to do. > Unfortunately, openscad uses qtwayland@5 and jami uses qtwayland@6. Due to the > above explained complication, I cannot simply install both into my profile. > > We could make qtwayland@5 and qtwayland@6 into two completely different > packages and that would solve my problem. Doing "guix shell qtwayland@5 > qtwayland@6 qtbase" (jami wants qtbase for some reason), allows me to run both > openscad and jami. So clearly qtwayland@5 and qtwayland@6 don't interfere with > each other. > > Of course the more user friendly option would be to simply add the appropriate > qtwayland to the inputs of a package using the qt-build-system. Or maybe even > make it propagated from qtbase somehow? > > guix size qtwayland@5 = 1203.1 MiB > guix size qtbase@5 = 1171.5 MiB > > guix size qtwayland@6 = 1271.7 MiB > guix size qtbase@6 = 1190.2 MiB This size is a bit misleading for Qt 6, which recently regressed by referencing Python, bloating it's size by about 100 MiB, IIRC (now fixed on the telephony-team branch). Since qtwayland correctly works as a plugin when installed to a user profile, it seems we should leave it that way, but I agree we should fix the uses cases of installing multiple versions of the same package in the same profile. -- Thanks, Maxim