From unknown Tue Jun 24 17:24:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63427 <63427@debbugs.gnu.org> To: bug#63427 <63427@debbugs.gnu.org> Subject: Status: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) Reply-To: bug#63427 <63427@debbugs.gnu.org> Date: Wed, 25 Jun 2025 00:24:56 +0000 retitle 63427 gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) reassign 63427 guix submitter 63427 Nathan Dehnel severity 63427 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 10 14:51:09 2023 Received: (at submit) by debbugs.gnu.org; 10 May 2023 18:51:09 +0000 Received: from localhost ([127.0.0.1]:49032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwou5-0007Fi-2z for submit@debbugs.gnu.org; Wed, 10 May 2023 14:51:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:57688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwou2-0007FL-ON for submit@debbugs.gnu.org; Wed, 10 May 2023 14:51:07 -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 1pwou1-0005YN-BX for bug-guix@gnu.org; Wed, 10 May 2023 14:51:05 -0400 Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwotz-0001Pg-Tn for bug-guix@gnu.org; Wed, 10 May 2023 14:51:05 -0400 Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-394021fb9c1so960695b6e.1 for ; Wed, 10 May 2023 11:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683744662; x=1686336662; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oSu8A8uJGZaabKWurYFmDmvgH43l9EovJJBKuJklILY=; b=ppNj4UwSX4fa5kxxcQXq/yvSqM1FhGtA2nFVRy4RYP/EDcbAa1fZXWw5SLGS/ow1aN 8bJQj9fqxlQ1b5HuuAerSniAqlIiEucsK+thceR4gKlEh3fx6qYteFOlkfLZGuNxzIRk AjA50Owh6oa7V5nEOiz6uWykRU4juH1xcD1aRc5WoXat7Frhf3r3zgwAdAT1NDc1QYDu c81ZUwwTcjoyWSEJLQvAQjTz7HikOr3QmZRqPYPgydlvTYvIev0LzSPYk6FwM6rtBW4e 9RgOvg7AHCYFPnqklp3DXxbkUFOYA2f+6phCkmBbptkij0GHkB0Iohh1v2yP7Hy+horb 5AWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683744662; x=1686336662; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oSu8A8uJGZaabKWurYFmDmvgH43l9EovJJBKuJklILY=; b=ap+W3sA3gyUWX9jH2x3XLAvf1BfaIfJKvNoDEkr/wCvp5g2cho4iB5Gg4VXFZrEFKi 4/8QIp14oGkwBbx3kPPCvLwzMma4+Jzcs5rpyj6zWOnIhEHko719vqdSQy+0zaOotnPF jenSZ3igKvpGhKo2jKPPlY3WURMXm0+NviUEvOn10oGZMDe/q7nJ7k4zMlvvnLU5dZZu ibInLSXGAyPAnSgsCwgZhmys4F3N9GaHPhAXHDckhgBSF1nmH7qUB+cW8z1Tq1rKKH34 fjzzqvtL/HEBpp3aCht83Fzo4h9+4zpDaJkc4ZsAuciNuHLOl78AA46pjmBKCr8nNvbg rYTw== X-Gm-Message-State: AC+VfDwZAdgJRo+p8yyF5INsYBDD71Q09FA+sVv/DHbNneCnRVU0BnX1 ZmKKAaoqGF3UXBh5YaZXZebVPSfxkoIfvWblmRdeHzfy4Ng= X-Google-Smtp-Source: ACHHUZ7a/1oZClVMytWkbuMTGF9M6lTOkbf225TpggsgSdV4ZvSs03ykMl7Q4GvdwABZrDZaXOxkeH7XDT4NwHwWPUg= X-Received: by 2002:a54:4813:0:b0:38e:2f8f:e53c with SMTP id j19-20020a544813000000b0038e2f8fe53cmr3416257oij.21.1683744662222; Wed, 10 May 2023 11:51:02 -0700 (PDT) MIME-Version: 1.0 From: Nathan Dehnel Date: Wed, 10 May 2023 13:50:51 -0500 Message-ID: Subject: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) To: bug-guix Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=ncdehnel@gmail.com; helo=mail-oi1-x22f.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Gtk:ERROR:gtkiconhelper.c:494: ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/current-system/profile/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3) Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/current-system/profile/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3) This is breaking various apps like viewnior, xfce4-power-manager, causing firefox to crash when opening the file picker, making app icons not appear, etc. guix version b7e7744 From debbugs-submit-bounces@debbugs.gnu.org Wed May 10 18:25:02 2023 Received: (at 63427) by debbugs.gnu.org; 10 May 2023 22:25:02 +0000 Received: from localhost ([127.0.0.1]:49190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwsF3-0004nA-Qi for submit@debbugs.gnu.org; Wed, 10 May 2023 18:25:02 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:58395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwsEx-0004mY-9j for 63427@debbugs.gnu.org; Wed, 10 May 2023 18:24:59 -0400 Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-4efe8991b8aso9064233e87.0 for <63427@debbugs.gnu.org>; Wed, 10 May 2023 15:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683757489; x=1686349489; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=22ruxkBJefiYhp35eyHyxvMukQYOzR8ylckAlv+MTOY=; b=IaYSd166WyxC1Gfvu4wkixMUo5JoqE17O8oWuVJAfpfdnUJCKIOOCPa9614v7ZfhyW dcETtJ8CP7ubsdclmtIoQRx39E8SSXHYagvHVRO1kDxrQHdpDa780+wjHL9qDlN9N/0b Jn4U/NI5b7mK8TBWLe/Ua2448p5dXV6MkxCam8HR5qgwR7UWalc8LpuudIuKxH5UUa9P CgDnLZqcGdqRogJSp+HkyyMbNoEAIbYPAuudoUOZcGFFuMXfVVYhSquRKObhSQ/yqSFj NJ/d6rfQ3uN8cJuA96EMrfOjj5IerijW6k4Qxf8zT0m9NrPZPE4AFTb1Qp3/6askOGj/ EJ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683757489; x=1686349489; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=22ruxkBJefiYhp35eyHyxvMukQYOzR8ylckAlv+MTOY=; b=Xpatpar7WM2SaQNOxwn+D2v8wwwIleIpwlarH6ebUIaJN+UvIJ3bbjiJ7Vb8DOxUNk Ny63yS6+RZ6Ym0z/QSG50ApJ7wcw5WCmZ4ivdWgwPDuI23z1bIY6tIKQcJYYmqu76h5w 7TkvWW4WWyUq6GOVTxN7gT3zPJdVaO0kRb7OxDEx2idnIHXJCYSgzapU0IcoYRi3valz PofmygbSgdW3GFlz6k2knXOtWiemVJ93/pAbEJ1907nQyUHh4mFXXE8Mk2qOQnhvfUEj uTUwWph1fXfGnNlVFoPRP/S1G++E0o7UjvaU5XbJ5QY8f+SJ86Y7UAexWkmSGXhg7YbU MHRg== X-Gm-Message-State: AC+VfDwdEeNxpyLGfTijb1epkehrzJtAu+1Xx6t1Kpn534ZJ/fCzVVzS YAY0khmmUbdfELUkAQWkrQZHJmRCvX2ObwFdjx1FFz3h X-Google-Smtp-Source: ACHHUZ59uOeh1Fblh9uaF1fYVClTeo6yFcMi6gEhjMvFQ+bFeDAQGkzhF4xsnv6UO6Jrk0O8thLCriVw38QqWzoB3AI= X-Received: by 2002:a05:6512:79:b0:4ef:efd3:465e with SMTP id i25-20020a056512007900b004efefd3465emr1996457lfo.31.1683757489002; Wed, 10 May 2023 15:24:49 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 10 May 2023 23:24:37 +0100 Message-ID: Subject: To: 63427@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, How to reproduce the issue? May you, please provide some steps please. -- … наш разум - превосходная объяснительная машина которая способна найти смысл почти в чем угодно, истолков [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sharlatanus[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.50 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.50 listed in list.dnswl.org] 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 63427 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) SGksDQoNCkhvdyB0byByZXByb2R1Y2UgdGhlIGlzc3VlPyBNYXkgeW91LCBwbGVhc2UgcHJvdmlk ZSBzb21lIHN0ZXBzIHBsZWFzZS4NCg0KLS0gDQrigKYg0L3QsNGIINGA0LDQt9GD0LwgLSDQv9GA 0LXQstC+0YHRhdC+0LTQvdCw0Y8g0L7QsdGK0Y/RgdC90LjRgtC10LvRjNC90LDRjyDQvNCw0YjQ uNC90LAg0LrQvtGC0L7RgNCw0Y8g0YHQv9C+0YHQvtCx0L3QsA0K0L3QsNC50YLQuCDRgdC80YvR gdC7INC/0L7Rh9GC0Lgg0LIg0YfQtdC8INGD0LPQvtC00L3Qviwg0LjRgdGC0L7Qu9C60L7QstCw 0YLRjCDQu9GO0LHQvtC5INGE0LXQvdC+0LzQtdC9LCDQvdC+DQrRgdC+0LLQtdGA0YjQtdC90L3Q viDQvdC1INCyINGB0L7RgdGC0L7Rj9C90LjQuCDQv9GA0LjQvdGP0YLRjCDQvNGL0YHQu9GMINC+ INC90LXQv9GA0LXQtNGB0LrQsNC30YPQtdC80L7RgdGC0LguDQo= From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 04:06:01 2023 Received: (at 63427) by debbugs.gnu.org; 11 May 2023 08:06:02 +0000 Received: from localhost ([127.0.0.1]:49659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px1JJ-0005jf-Cj for submit@debbugs.gnu.org; Thu, 11 May 2023 04:06:01 -0400 Received: from jpoiret.xyz ([206.189.101.64]:46830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px1JH-0005jX-Fg for 63427@debbugs.gnu.org; Thu, 11 May 2023 04:05:59 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id BD146185192; Thu, 11 May 2023 08:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1683792358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OCcJq/XixVFVKke8ChgJPfd1u0qgSt1xyYr/EuZIqik=; b=E+kAfSMwJUHQgx/7fa5k38J/NoydJVCs4zxrSvypBaA215x3X/W96AzNHi3KvkZ45qLipk 1sjKvZylo1zOdWfC1PEFGXYvpqa2xnKZOoa/koDkRaW1keJjSjLAdHJJLn3Zx9gKjXNo5W a8iQ1iKWYNAQtH+rH9LjxwYla9wPg3BIxntG8sLcQBVv5enj9qRZ3r922fe/DM0U1wuy7t Qv1ReYuPSNbblLbTVdn0Q7PfNoYeZiDjnIL731p1VR3CgYCKb05wS7/4W4Hp2luAH5QGex 2Na/52YXznmslTB3zfALYfW2viw+Ib5beCcZuPxStBYg0aBEH+piazzSfdbJHw== From: Josselin Poiret To: Nathan Dehnel , 63427@debbugs.gnu.org Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) In-Reply-To: References: Date: Thu, 11 May 2023 10:05:41 +0200 Message-ID: <874joje1ii.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Nathan, Nathan Dehnel writes: > Gtk:ERROR:gtkiconhelper.c:494: > ensure_surface_for_gicon: assertion > failed (error =3D=3D NULL): Failed to load > /run/current-system/profile/share/icons/Adwaita/16x16/status/image-missin= g.png: > Unrecognized image file format (gdk-pixbuf-error-quark, 3) > Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: > assertion failed (error =3D=3D NULL): Failed to load > /run/current-system/profile/share/icons/Adwaita/16x16/status/image-missin= g.png: > Unrecognized image file format (gdk-pixbuf-error-quark, 3) > > This is breaking various apps like viewnior, xfce4-power-manager, > causing firefox to crash when opening the file picker, making app > icons not appear, etc. So, GDK Pixbuf has a dynamic loader mechanism, where additional formats can be added via additional loaders, which are usually all installed in the same directory. In Guix, this means that we need to point GDK Pixbuf to a list of loaders to use that is dependent on what is installed (there's no easy way to record this per-package, embed it inside of it and then use that only there like with the ld cache). For that, we use the environment variable GDK_PIXBUF_MODULE_FILE, which is a search-path for the package gdk-pixbuf, meaning that it is set only if gdk-pixbuf is installed in your profile. Now, if we had packaged everything properly, all the applications you mention should *propagate* gdk-pixbuf and not just list it as an input, so that it always gets installed to the profile as well, but that's not the case! The reason it doesn't happen for other users is because they have some applications which pull in gdk-pixbuf inside the profile! So we should fix this and propagate gdk-pixbuf everywhere (something which I'm not too much a fan of, but alas). In the meantime, you can manually install gdk-pixbuf to your profile, log-out and log-in and it should hopefully work. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmRcodUQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcait3iDACIZ5wNEXGbybkKOZBMyYvcihAFJMxNqiMN MypVqy0+rpv1E2W88Q8ezoFz7YEBPvHs527Nn0hQvwhM9MU4Y6ETJvAW7V8VKpD6 cS0ZtU9WeOPw8IC4mStQqKmd+ZHoRER3i7WXY2D3sWHbMV/tExO2nEV6sktrn+kb SrP8jWi4mjJ+G0rijn8te35MqEx8BQrUsVxJeVxG8UECxPqr/Ii7J2K6IqqisZNM D7FVVxz/78qoK6MZzLWz7m5Vy8dJS8Pyp4ORl1AaCChEva5JnwEwkdXl4rBoorIk z8VhU5nP4USQTK93g2kETCk2PKPJN3QPQ2V/NW66lGJlRtbt52ZlwDu6P4Xopicb zRTQDgRsofj9ewD6Xrh38+mGcphC7osyXPgnJkeSDbB0nZ3PRypsQxzm3OwCve6Q 1VTpZfF07QU1Zvi+LJme0bTDqVMRWKg9lwfGngvAdV4UCUo8A/CB9C4Ku5h0EkDY IS7enJIdBEUQ7SSft8xRvjmvUeCEvBA= =4vnz -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 07:05:00 2023 Received: (at submit) by debbugs.gnu.org; 11 May 2023 11:05:00 +0000 Received: from localhost ([127.0.0.1]:49854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px46V-0007To-Oy for submit@debbugs.gnu.org; Thu, 11 May 2023 07:05:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:58832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px46U-0007Th-BT for submit@debbugs.gnu.org; Thu, 11 May 2023 07:04:59 -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 1px46T-0002Sn-4d for bug-guix@gnu.org; Thu, 11 May 2023 07:04:58 -0400 Received: from relay.yourmailgateway.de ([188.68.63.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px46J-0005KU-Nq for bug-guix@gnu.org; Thu, 11 May 2023 07:04:51 -0400 Received: from mors-relay-8201.netcup.net (localhost [127.0.0.1]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4QH8DS3W1Nz3sL6; Thu, 11 May 2023 13:04:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1683803080; bh=HvQxTpRBqeKBLnKMvhNWwLg5hSw2xtixWAuW6Nmkss4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=TG9gMDUkssdWrNBe9E5IqDhOlxzo1kLS6o4ZXV2M5VdOdd7UteIJbNHqPHb4ZsnmU uCGDtJ+pl8zuSpOe8RM2YIRrr0Af94nSqVC+aJ+jWLR6qnPUC0pL9kX6N7zOkwuOJn CTW478MMTEh1A2lxov58FmH+1+zoBDLnslfKKGoqw2bKLBF0C9BZmJzY/zsm/FhiCx fkcqAuxLhjIWjoC8eCpoJi9pMDoq9DY3PXaBkvl11nZ6g0kNytf8XfmftWIKl4MPUF DQHMVSxypPV8DE1G53jLAo9yz8/Q1rQcVxu9c2okJ0w5spaF4n5Ko3qRMve2Fyb4F5 saDdVT38Sr1Ag== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4QH8DS2nnkz3sJ4; Thu, 11 May 2023 13:04:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4QH8DR4JGTz8sbC; Thu, 11 May 2023 13:04:39 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 02A398102A; Thu, 11 May 2023 13:04:31 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Josselin Poiret via Bug reports for GNU Guix Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) References: <874joje1ii.fsf@jpoiret.xyz> Date: Thu, 11 May 2023 13:04:31 +0200 In-Reply-To: <874joje1ii.fsf@jpoiret.xyz> (Josselin Poiret via Bug reports for's message of "Thu, 11 May 2023 10:05:41 +0200") Message-ID: <87pm77uo1s.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 02A398102A X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[99.99%]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_CC(0.00)[gmail.com,debbugs.gnu.org,jpoiret.xyz] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: OgE+0cmx+27oKf75ssyioz256ApvC7cHvsw5pMkHSCEp9HhsD7OdPWIS Received-SPF: pass client-ip=188.68.63.162; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de 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, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Nathan Dehnel , Josselin Poiret , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi all. Josselin Poiret via Bug reports for GNU Guix writes: > For > that, we use the environment variable GDK_PIXBUF_MODULE_FILE, which is a > search-path for the package gdk-pixbuf, meaning that it is set only if > gdk-pixbuf is installed in your profile. [=E2=80=A6] So > we should fix this and propagate gdk-pixbuf everywhere (something which > I'm not too much a fan of, but alas). The cambalache package does the right thing by wrapping the program to setenv GDK_PIXBUF_MODULE_FILE to the value it has while building the package. glib-or-gtk build system sets GDK_PIXBUF_MODULE_FILE while building the package. Note that gdkpixbuf and perhaps librsvg-for-system must be in inputs. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 15:11:46 2023 Received: (at 63427) by debbugs.gnu.org; 11 May 2023 19:11:46 +0000 Received: from localhost ([127.0.0.1]:53369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxBhZ-0002dP-UU for submit@debbugs.gnu.org; Thu, 11 May 2023 15:11:46 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:52433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxBhX-0002d6-MY for 63427@debbugs.gnu.org; Thu, 11 May 2023 15:11:44 -0400 Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-96649b412easo978579866b.0 for <63427@debbugs.gnu.org>; Thu, 11 May 2023 12:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683832298; x=1686424298; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=L+gCpLKIn0SWb/OgbHk2hB/RTUHuFIS604mwGFr6PCM=; b=bK+1309Q8/Sj30KmJbLmLY+lMddUcUhRRLa8o8jWVx9P48qEi2tFCeJ2SAkqAOCNci pZb/9Zp5m73PNIujWw0CBb9sysntS6gNRyuK/z66GJQliT05N+EZ0aRpugYtrWec8iHV Vfx8BJZK1AzzbpSaGyUBLTkydW/pQVKzaVd3TeeH1SmOV6iSHvhKmECWq7mrCscYt02J DGB1aY92pvvdpTV4JIHF9xP3a+SAB621jFe1pFyp90clf0V0H2G7hB8RDodMMscb5uSe MIJnnspcmEN2fVAkHX8FzxeFLQrvUeCpzZPn/gt0+OQ/1KazQcR3dHPl/u1bTZNJ4gH0 Sa4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683832298; x=1686424298; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=L+gCpLKIn0SWb/OgbHk2hB/RTUHuFIS604mwGFr6PCM=; b=LQSgwvSepXmFSWWZJlCRsn446FONs+8Uhpzx1i0K3tTX67mC8vtdwWCTus4mOFfyVb 2oVdeMSJVXvYvrw5rWrUJFB3LQDs6dQ8yNvUxsHrQ+Td0HtArbC9DgwAW7L/oC1Pkjzz YiPAfOMQjM4uVQ/881h4geX1hEzr02AFNgLKWiJw50NRL5k1BJEt9KZUvwhG1f/6f5E/ IMKdcSwQw22WMaRv3t0YxwADt2owE508MxCAvQ8GTj/I697I3lsODG+H/cwDm4HVwmRd 0CQFd75lwxj2GDlOPi5rw1EovwCM1aJzxmB5ZqNjlQs4TXBMTaJ3HH9DetLZPXNuisua Rmzw== X-Gm-Message-State: AC+VfDxYRYztt6T1ptlds6cXqgYW3WoAj9H2UAqETbbKzf7EzSV8KaAS pKXVfyuBySQNsNGBJIpCH/s= X-Google-Smtp-Source: ACHHUZ4EVJDuoERgVF2h6MFMXkao5fjYYfM3qqquGIoE/xxOHgjiG0EHhA8Q3R3eQVt7JlIkWrrK/w== X-Received: by 2002:a17:907:72d6:b0:94e:43ce:95f6 with SMTP id du22-20020a17090772d600b0094e43ce95f6mr22372629ejc.47.1683832297840; Thu, 11 May 2023 12:11:37 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id k18-20020a17090632d200b009661f07db93sm4371712ejk.223.2023.05.11.12.11.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 12:11:37 -0700 (PDT) Message-ID: <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) From: Liliana Marie Prikler To: Josselin Poiret , Nathan Dehnel , 63427@debbugs.gnu.org Date: Thu, 11 May 2023 21:11:36 +0200 In-Reply-To: <874joje1ii.fsf@jpoiret.xyz> References: <874joje1ii.fsf@jpoiret.xyz> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Donnerstag, dem 11.05.2023 um 10:05 +0200 schrieb Josselin Poiret: > Now, if we had packaged everything properly, all the applications you > mention should *propagate* gdk-pixbuf and not just list [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.218.67 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.67 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.67 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 63427 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Am Donnerstag, dem 11.05.2023 um 10:05 +0200 schrieb Josselin Poiret: > Now, if we had packaged everything properly, all the applications you > mention should *propagate* gdk-pixbuf and not just list it as an > input No. Propagated inputs are *never* the result of proper packaging.=20 More often than not, they create more issues than they solve by reducing Guix to the capabilities of a dumb package manager. While yes, they have been accepted as a solution to some issues (e.g. pkg- config not finding inputs), this by no means translates to "oh, something's not found, let's propagate an input". However, even for those cases where they have become accepted practice, we ought to look for better solutions, as proliferating propagations do end up biting us in the form of conflicts. The only instance in which propagated inputs behave as intended is with meta packages; there they are even slightly less clunky than their alternative (union builds). As for the actual problem at hand, the solution has already been pointed out by Florian: wrapping commands to bind GDK_PIXBUF_MODULE_FILE. Sadly, Florian didn't point these unwanted side effects of propagation, as contributors are often unaware of them. Cheers From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 17:22:29 2023 Received: (at 63427) by debbugs.gnu.org; 11 May 2023 21:22:29 +0000 Received: from localhost ([127.0.0.1]:53561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxDk4-00006M-ND for submit@debbugs.gnu.org; Thu, 11 May 2023 17:22:29 -0400 Received: from mail-oa1-f54.google.com ([209.85.160.54]:57443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxDk1-000069-QK for 63427@debbugs.gnu.org; Thu, 11 May 2023 17:22:26 -0400 Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-19619af9a02so3516256fac.2 for <63427@debbugs.gnu.org>; Thu, 11 May 2023 14:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683840140; x=1686432140; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0UTGNuMpTuNLcjqvncOxAAIUmbrcoGS1C3x/4PdfWAM=; b=LvqJSxHW5ju7lFQR+J0NN0je2CnMwSgRx99hjoOxa/6xLdDUAOxsg6mFR7Zt24p5NZ AWQDI53//HciY8xb/Sv15xshUPDsJBFFKx6znWBWPaTi+dgaOCGjLgSB+iwfZS1bjQ3j WQO20XrATXFeXrraA3QEUKCagMpCcFDanp5J76uJKItPd59N532fBCPlcILmu0y2ZZ86 Lx6S6f75cJNISQJ0sG0AhlxT9yFmOTynzMaATF5CUw5gHz+kNcf4uuzs2eVj1/8Sj+U4 bIAoDwxd7EyLYHHHKkGdPJjNzd2Eej3JJeivQkHn9E8qgRqCi3cIRR3DgXK6usrw5Mv8 qlUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683840140; x=1686432140; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0UTGNuMpTuNLcjqvncOxAAIUmbrcoGS1C3x/4PdfWAM=; b=UcfaDwADRzlxv0veFBRy4opofpwafiW1kByiIBQbT6Y5lpq3RKvg8ZKIQIjAmXOT/E 0KF6t44qI04BTz78vEzUH4Oofx4d+97QjmtoCQkrqWK2UdGFQ9zmZ4D2T8Z9LagzVtCw kjL6tB9B9VkgzG3NM6PPsNK9oW8IDHIqE07gwFgw2tyskemNcNrgnEKibYVz3YNyWuqJ nVpn/7Sbc9b0cyFPktPP4lb0znN3MPrQHEvUQOlgItQK/pZ2HThGBzFWGo7w0ivYuO/v +6vFS3E3zskzYFzVEVFOtIM+DhyltsCyG2vt2/K9VcpioGaQK4U7Kie63CmnV2qFuxZU nLCg== X-Gm-Message-State: AC+VfDweJCn0p2GD7gRS3TNejK4WRyehdspGPhnq6CYGOZ9Ks0CrMqWa rx75ZdRiD1DfEqnsGY74DhPC6VbyzGFr16cpbZOyIMyJpBg= X-Google-Smtp-Source: ACHHUZ5b+DpLJc8T3GvmBqCTDP2Q2x4kWMXddvuXuOny0O0x7PnyIxYfsD8fjEpDGL6W1vm8fOKM0XPvamBBEkMnwzk= X-Received: by 2002:a54:448b:0:b0:38e:54da:9173 with SMTP id v11-20020a54448b000000b0038e54da9173mr5647120oiv.29.1683840139826; Thu, 11 May 2023 14:22:19 -0700 (PDT) MIME-Version: 1.0 References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> In-Reply-To: <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> From: Nathan Dehnel Date: Thu, 11 May 2023 16:22:08 -0500 Message-ID: Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) To: Liliana Marie Prikler Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Josselin Poiret , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Installing gdk-pixbuf and rebooting didn't fix the issue: viewnior '/home/nathan/Downloads/from-phone/Pictures/Screenshots/Screenshot= _20230509-183317_F-Droid.png' (viewnior:2482): Gtk-WARNING **: 16:14:57.820: Unable to locate theme engine in module_path: "adwaita", (viewnior:2482): Gtk-WARNING **: 16:14:57.822: Unable to locate theme engine in module_path: "adwaita", /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6: version `GLIBC_2.34' not found (required by /gnu/store/yr4lbvdyc4dgs76yij1dw2w2z8s84af8-gnutls-3.7.7/lib/libgnutls.so.3= 0) Failed to load module: /home/nathan/.guix-profile/lib/gio/modules/libgiognutls.so /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6: version `GLIBC_2.34' not found (required by /gnu/store/8sfnwc672lswqgkf9g5qv7r5247jyipp-libproxy-0.4.17/lib/libproxy.so= .1) Failed to load module: /home/nathan/.guix-profile/lib/gio/modules/libgiolibproxy.so ** (viewnior:2482): WARNING **: 16:14:57.853: Pixbuf theme: Cannot load pixmap file /run/current-system/profile/share/themes/Adwaita-dark/gtk-2.0/assets/line.p= ng: Couldn=E2=80=99t recognize the image file format for file =E2=80=9C/run/current-system/profile/share/themes/Adwaita-dark/gtk-2.0/asse= ts/line.png=E2=80=9D (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed ** (viewnior:2482): WARNING **: 16:14:57.853: Invalid borders specified for theme pixmap: /run/current-system/profile/share/themes/Adwaita-dark/gtk-2.0/asset= s/line.png, borders don't fit within the image (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed ** (viewnior:2482): WARNING **: 16:14:57.853: Invalid borders specified for theme pixmap: /run/current-system/profile/share/themes/Adwaita-dark/gtk-2.0/asset= s/line.png, borders don't fit within the image (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (viewnior:2482): GdkPixbuf-CRITICAL **: 16:14:57.853: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed On Thu, May 11, 2023 at 2:11=E2=80=AFPM Liliana Marie Prikler wrote: > > Am Donnerstag, dem 11.05.2023 um 10:05 +0200 schrieb Josselin Poiret: > > Now, if we had packaged everything properly, all the applications you > > mention should *propagate* gdk-pixbuf and not just list it as an > > input > No. Propagated inputs are *never* the result of proper packaging. > More often than not, they create more issues than they solve by > reducing Guix to the capabilities of a dumb package manager. While > yes, they have been accepted as a solution to some issues (e.g. pkg- > config not finding inputs), this by no means translates to "oh, > something's not found, let's propagate an input". However, even for > those cases where they have become accepted practice, we ought to look > for better solutions, as proliferating propagations do end up biting us > in the form of conflicts. > > The only instance in which propagated inputs behave as intended is with > meta packages; there they are even slightly less clunky than their > alternative (union builds). > > As for the actual problem at hand, the solution has already been > pointed out by Florian: wrapping commands to bind > GDK_PIXBUF_MODULE_FILE. Sadly, Florian didn't point these unwanted > side effects of propagation, as contributors are often unaware of them. > > Cheers From debbugs-submit-bounces@debbugs.gnu.org Fri May 12 05:27:23 2023 Received: (at 63427) by debbugs.gnu.org; 12 May 2023 09:27:23 +0000 Received: from localhost ([127.0.0.1]:54084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxP3b-0003dV-CC for submit@debbugs.gnu.org; Fri, 12 May 2023 05:27:23 -0400 Received: from relay.yourmailgateway.de ([188.68.61.107]:36219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxP3T-0003dF-HI for 63427@debbugs.gnu.org; Fri, 12 May 2023 05:27:22 -0400 Received: from mors-relay-8405.netcup.net (localhost [127.0.0.1]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4QHk1Z25lYz6wtB; Fri, 12 May 2023 11:27:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1683883634; bh=mugUp2Y4pu3TO9xuT5uwle7JOtVt6RLe5tGZqqsdlNI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=AYY1/J7KAbjkcMsKzpSWWACvTa2yvYiI8PXgkZarKp0fAjpVN/VnviANKvGBO2LUW jlTjYcNioUiisw8fI8Y573C728uYwWd36yfDsnTsK3JXH6FpD+mE6RKQJjLED7L+En tXt/sSzxGxdCUgNiKcV+9LdubZZpA4DA7dSq2kQ68EMN7bA8QacGmOqueI5RRF2AET PyNT2TqIPxE8o6edeY10b7LM7TmOHuACvt4tnB9vt4EiSyb7IZoMxDaZmoXfwxACqe BVmLOGjwM/544UR3f3sumIvOwN5/28sDt5yL0CMtNTy6S5cqDrd5bNmXdmdG8R9jbG 0pR3jFa0lh2jQ== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4QHk1Z1R11z6wqS; Fri, 12 May 2023 11:27:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -1.5 X-Spam-Level: X-Spam-Status: No, score=-1.5 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_05=-0.5] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4QHk1X5XGpz8tYG; Fri, 12 May 2023 11:27:12 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id EC91B81120; Fri, 12 May 2023 11:19:11 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Nathan Dehnel Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> Date: Fri, 12 May 2023 11:19:11 +0200 In-Reply-To: (Nathan Dehnel's message of "Thu, 11 May 2023 16:22:08 -0500") Message-ID: <87bkipaovk.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: EC91B81120 X-Spamd-Result: default: False [1.40 / 15.00]; SUSPICIOUS_RECIPS(1.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,jpoiret.xyz,debbugs.gnu.org] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: AH6N1TlKh7AzeTDAS5vdj8YzCi/344RoEu5isAM7VykXRlpeht0zXJ5Y X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Josselin Poiret , Liliana Marie Prikler , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nathan, could you try running this command: guix shell --pure viewnior gdk-pixbuf -- viewnior For me this works now. My guess is that for you, something else breaks viewnior and --pure can help. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri May 12 17:22:12 2023 Received: (at 63427) by debbugs.gnu.org; 12 May 2023 21:22:13 +0000 Received: from localhost ([127.0.0.1]:33838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxaDM-0008BI-Lg for submit@debbugs.gnu.org; Fri, 12 May 2023 17:22:12 -0400 Received: from mail-oo1-f42.google.com ([209.85.161.42]:50186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxaDK-0008B6-FV for 63427@debbugs.gnu.org; Fri, 12 May 2023 17:22:11 -0400 Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-54fba751417so1855196eaf.0 for <63427@debbugs.gnu.org>; Fri, 12 May 2023 14:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683926525; x=1686518525; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bx1d+6K11Iuoi8pICoyhExVK9fcZ4BTIdPgF5NIjj/8=; b=HZKfkRLUAaUA5esZEtc/VMpY77QBpvnJzGNIyq3+fo0CTvRPHjT4/7VEJgliGA3qKj sLyaOacAGn/zxRb5OocooZGljeBOL8AYcfXN+bUBHC75nLqNwdiY0iDoFHKy4wVULmfn O9p8H5+7UNKustKINbfFXmhKF2D1TzZeZojSWH1CArOV2cvwnkPPS4XBekFfusyFfLvg 6vbXhRrtJE9OKs/jXwcm4I1ie9uem7eRGTUnX3Y50Jpg7U8E5kNhYEDnRdJxRSHH4BLy 3hcgCwka+fpQDyi6yuupAID6gP21pH8uvX6XVCiTX1x+CRxV/PirOJK9Ox8Hfw60oKKo BkuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683926525; x=1686518525; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bx1d+6K11Iuoi8pICoyhExVK9fcZ4BTIdPgF5NIjj/8=; b=e9evLwDbZpUQ9oE3CqD+njb7OoVKJO7G/8v+fEXx/cE3kAT8emOJsaTX/YVS0JVaAC 6WtSWzKTU/yAbDoe5edNNXPLrkv04zCrkTrpYRDclxeDgWVmwR07L7w2NDri5V2KrvnA e2cuIEY9zQU41Xq3KkFt5fA+Wsul+04Rwo833fS0NEtv+TfNLiyf9pXycOtQ0EutfTO5 81ecEHFj2EylKpFmMPyG2nEdBQ9lqRCnn8w9jhlBO9A9N9SkovsP1GSuzlN3r1HpqjTm uuxC2RILKa5nqMcypOmfjbgaoVeL6RhOoM9UAJTOBfEbbwmJ0uUorQkwzYVLWdGxpqmH acJg== X-Gm-Message-State: AC+VfDxf7H67I3mZ8o+CNMx+Ud+KAoRISZcgTd6Uszpjl8pjhBMUS6ZB q9xuoYe87p054RFZfQwUNxq6E0+c8aQxkWQf89s= X-Google-Smtp-Source: ACHHUZ7piR8g5yVwFA0/Wmtcpsamafj015KKmb9eWt5xOHa2jysabu7RF0aLFy63S9fuH9w7l7VYISVlECGSUs7c4nw= X-Received: by 2002:a4a:6f5d:0:b0:54f:89c6:15aa with SMTP id i29-20020a4a6f5d000000b0054f89c615aamr5965232oof.7.1683926524671; Fri, 12 May 2023 14:22:04 -0700 (PDT) MIME-Version: 1.0 References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> In-Reply-To: <87bkipaovk.fsf@pelzflorian.de> From: Nathan Dehnel Date: Fri, 12 May 2023 16:21:53 -0500 Message-ID: Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) To: "pelzflorian (Florian Pelz)" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Josselin Poiret , Liliana Marie Prikler , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yes, that one works On Fri, May 12, 2023 at 4:27=E2=80=AFAM pelzflorian (Florian Pelz) wrote: > > Nathan, could you try running this command: > > guix shell --pure viewnior gdk-pixbuf -- viewnior > > For me this works now. My guess is that for you, something else breaks > viewnior and --pure can help. > > Regards, > Florian From debbugs-submit-bounces@debbugs.gnu.org Sat May 13 06:49:31 2023 Received: (at 63427) by debbugs.gnu.org; 13 May 2023 10:49:31 +0000 Received: from localhost ([127.0.0.1]:36091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxmod-0005LZ-9v for submit@debbugs.gnu.org; Sat, 13 May 2023 06:49:31 -0400 Received: from relay.yourmailgateway.de ([188.68.61.103]:37439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxmoZ-0005LO-Uj for 63427@debbugs.gnu.org; Sat, 13 May 2023 06:49:29 -0400 Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4QJMny3Y4mz7xmC; Sat, 13 May 2023 12:49:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1683974966; bh=7TvvlxIi5rv3MObiCubh9wkigyqdqVAmuEYwzb424gE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=IeuoU2dUCvFRPKzgAy+lBj8gpwuGEbhHOOW5hTrLM9u0FFNZf7gKmvpi6qgcye0U2 e4Co4y3V2MPEzlb6DuzwaJ1xZtQI4Alt1uA3tKR9pWN+RJeP3/sZy55TpYMkMM5e6T tB0IlLuvjxbZ5bQirffX4n3EvFAnpXkmBdA6wduGo+bdwRuKrW8Yhag3HBFEXYne1e NGWSiFMORARMcan6UH6DY2QIo7OSaB70qM0JueqVuGtHWQi0FkI1tippmSQK5IHhPP DvswLYqr1R8TRbYqoPIAcBYwbqXuHqDwM/wK887CTBSTWsvvR0yTsgBWrmSLeCjPkl PYhvlRsBXrwag== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4QJMny38Qpz7xm2; Sat, 13 May 2023 12:49:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4QJMnx4yF9z8sh1; Sat, 13 May 2023 12:49:25 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 3EA3C80790; Sat, 13 May 2023 12:49:18 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Nathan Dehnel Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> Date: Sat, 13 May 2023 12:49:16 +0200 In-Reply-To: (Nathan Dehnel's message of "Fri, 12 May 2023 16:21:53 -0500") Message-ID: <87cz34ecb7.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: 3EA3C80790 X-Spamd-Result: default: False [-4.10 / 15.00]; BAYES_HAM(-5.50)[100.00%]; SUSPICIOUS_RECIPS(1.50)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; FREEMAIL_TO(0.00)[gmail.com]; HAS_ATTACHMENT(0.00)[]; TAGGED_RCPT(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,jpoiret.xyz,debbugs.gnu.org] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: xxZcuZxd7yOKy2tHzJvDJ/MHwpeB14P2/jczgt0qqt5W8nYkuNBHFlxl X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Josselin Poiret , Liliana Marie Prikler , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nathan Dehnel writes: > Yes, that one works That=E2=80=99s good. This means maybe either - if guix shell without --pure works too, you just have not run =E2=80=9Cgu= ix upgrade=E2=80=9D recently, or - --pure helped and viewnior is not compatible with the Adwaita dark theme, or - --pure helped because you have misconfigured something that breaks the installed viewnior, but leaves the pure one intact. What remains as a bug is wrapping the viewnior program inside gdk-pixbuf, so installing gdk-pixbuf is not needed anymore. Untested patch is attached. But then other image loaders installed by the user to support e.g. libexif would not be usable anymore. We could also add libexif, but do we even want the attached patch? Or should it be up to the user to install image loaders? Regards, Florian --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=viewnior-Support-image-formats-out-of-the-box.patch Content-Transfer-Encoding: quoted-printable >From 29c76710eea6720aa4b5e774a83ce19e577937ac Mon Sep 17 00:00:00 2001 Message-Id: <29c76710eea6720aa4b5e774a83ce19e577937ac.1683974741.git.pelzfl= orian@pelzflorian.de> From: Florian Pelz Date: Sat, 13 May 2023 12:33:26 +0200 Subject: [PATCH] gnu: viewnior: Support image formats out of the box. * gnu/packages/image-viewers.scm (viewnior) [inputs]: Add 'librsvg-for-system'. [arguments]: Enable 'glib-or-gtk?' to make available GDK_PIXBUF_MODULE_FILE. Wrap viewnior to use it instead of the image loaders installed by the user. --- gnu/packages/image-viewers.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index db7a44d4ff..bbe26aadbe 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -27,6 +27,7 @@ ;;; Copyright =C2=A9 2022, 2023 Maxim Cournoyer ;;; Copyright =C2=A9 2022 Tomasz Jeneralczyk ;;; Copyright =C2=A9 2022 Cairn +;;; Copyright =C2=A9 2023 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -425,12 +426,22 @@ (define-public viewnior (base32 "14qvx1wajncd5ab0207274cwk32f4ipfnlaci6phmah0cwra2did")))) (build-system meson-build-system) (arguments - '(#:phases (modify-phases %standard-phases + '(#:glib-or-gtk? #t + #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-source (lambda _ ;; Don't create 'icon-theme.cache' (substitute* "meson.build" - (("meson.add_install_script*") ""))))) + (("meson.add_install_script*") "")))) + (add-after 'glib-or-gtk-wrap 'wrap-pixbuf + (lambda* (#:key outputs #:allow-other-keys) + (let ((viewnior (string-append #$output "/bin/viewni= or"))) + (wrap-program viewnior + ;; Wrap GDK_PIXBUF_MODULE_FILE so viewnior can b= e used + ;; to view JPG, PNG and SVG, without the user ne= eding + ;; to install gdk-pixbuf or librsvg. + `("GDK_PIXBUF_MODULE_FILE" =3D + (,(getenv "GDK_PIXBUF_MODULE_FILE")))))))) #:tests? #f)) ;no tests (native-inputs (list gettext-minimal @@ -440,7 +451,8 @@ (define-public viewnior (inputs (list exiv2 gdk-pixbuf - gtk+-2)) + gtk+-2 + (librsvg-for-system))) (home-page "https://siyanpanayotov.com/project/viewnior") (synopsis "Simple, fast and elegant image viewer") (description "Viewnior is an image viewer program. Created to be simp= le, base-commit: e3e011a08141058598cc7631aeb52d620a3ccb8c --=20 2.39.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 13 09:50:33 2023 Received: (at 63427) by debbugs.gnu.org; 13 May 2023 13:50:33 +0000 Received: from localhost ([127.0.0.1]:36259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxpdp-0004DV-AY for submit@debbugs.gnu.org; Sat, 13 May 2023 09:50:33 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:58538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxpdf-0004D5-EM for 63427@debbugs.gnu.org; Sat, 13 May 2023 09:50:32 -0400 Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-966400ee79aso1565358966b.0 for <63427@debbugs.gnu.org>; Sat, 13 May 2023 06:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683985817; x=1686577817; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=y93Eq2QZ6pzXynTe0zejwfrDba8PygAcNkm5f0DnkBs=; b=Z7ayjo09nr+Z4IJfoHRUad0Szp0vAHDmgo9hJwIDCqwkVEI9iYqwEZ2VpuC0pCx2gm /f/Ait6P6V/kTs7pNgHYr1koHaXHSkjQ4dUOD35xLZ1xQIiaXRyP02DUIruDJHVMMVBH /X2N/+TyzFMqipGYigqrGYiCc70eSX7OdZHTeKYgeSPKbgBHIZSDePyuazsxHioyJ7kv ItiMsNYE43U1irewdfvDdPbRVybHoq0dEN1TrvnsorLi8GacT0C2es/DVnTikryKPn/9 WWbVxKN6z+UxFDbx4Fi6qdLEgaXghWHMkxFL/rzsDgeXzo1ywVDU9KoRpyhwmQDZkN4V OSlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683985817; x=1686577817; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=y93Eq2QZ6pzXynTe0zejwfrDba8PygAcNkm5f0DnkBs=; b=HtyyIK12HlIv4CI/sa0uw55nSfN0btq+OkFnr2TChB9HseIZJ4jvTnI6Yv33jU3fIa rrxdY8NyD5PaupwAqo0o2bl9gW8s6B6uFiGb6upC21oTxedHmkBMg+AZtI9g7hSYGJwL wk2TJVG35+noMCXyeslYIpRO/IuQd1TdwHpH/EARao0BP4Bfee0XYHVo4U/ApiGH9N/h ZOLu+utr5b3B2xUD1ObbsytKnrAk8k8NHR6IwO3JhugWz/bB4aD/RFeXrVcO1w9go0jS cnRDcieLoQoYy8YAZImPESanzjHNQv67Fax476ZxSugqyuGdehEB6XSNWdZLySgYjmix /EDw== X-Gm-Message-State: AC+VfDwSzREF5IRXO+QIIknFhnVqZYUGK/i8zXKm7lHbK4Sm+JCyMaCt xPeMtyY/DWShKcbWwdviTSw= X-Google-Smtp-Source: ACHHUZ6L7ihy/1600Pl8oxRyEtuYUFCkuwwdtpG3SIQ34OEZhvdQYMaYvd7z/SabHvF3/yyNXTQ5Mw== X-Received: by 2002:a17:907:3f88:b0:96a:6e42:7123 with SMTP id hr8-20020a1709073f8800b0096a6e427123mr9038583ejc.36.1683985817415; Sat, 13 May 2023 06:50:17 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id ia2-20020a170907a06200b00959c07bdbc8sm6836794ejc.100.2023.05.13.06.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 May 2023 06:50:16 -0700 (PDT) Message-ID: Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) From: Liliana Marie Prikler To: "pelzflorian (Florian Pelz)" , Nathan Dehnel Date: Sat, 13 May 2023 15:50:16 +0200 In-Reply-To: <87cz34ecb7.fsf@pelzflorian.de> References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Josselin Poiret , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Samstag, dem 13.05.2023 um 12:49 +0200 schrieb pelzflorian (Florian Pelz): > But then other image loaders installed by the user to support > e.g. libexif would not be usable anymore.=C2=A0 We could also add libexif= , > but do we even want the attached patch?=C2=A0 Or should it be up to the > user to install image loaders? Given that $GDK_PIXBUF_MODULE_FILE is bound and not PATH-like, it would be up to the package to declare those dependencies. Perhaps we ought to have a meta-package for gdk-pixbuf with all available loaders.=20 Lacking that it's up to the packager to decide which formats are important and add each one manually; though note that this practice also allows users to override said defaults with proper modify-inputs. Cheers From debbugs-submit-bounces@debbugs.gnu.org Sat May 13 14:38:26 2023 Received: (at 63427) by debbugs.gnu.org; 13 May 2023 18:38:26 +0000 Received: from localhost ([127.0.0.1]:39601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxu8Q-0007Gy-4P for submit@debbugs.gnu.org; Sat, 13 May 2023 14:38:26 -0400 Received: from relay.yourmailgateway.de ([185.244.194.184]:58781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pxu8O-0007Gp-7G for 63427@debbugs.gnu.org; Sat, 13 May 2023 14:38:25 -0400 Received: from relay01-mors.netcup.net (localhost [127.0.0.1]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4QJZC24nLMz8wsN; Sat, 13 May 2023 20:38:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1684003102; bh=CvoiavQh9102L/AOjnnz/NYUe4PLYL7SxhnEHNMecRQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=HaAI+DYBkS0fFH600ZLzFPs1klYdo5w3k1mZ0dRG87qgxcHjlqdipuHVKnYh8bPaP 7gIolgrAeIy/z2guDVqb5napB2FcZ40XC292bJrejJRoNvu9fIoSA0h6YIsZG0HiRT ZGiTSOsBfzAFNEVmvQHwwU9h120++CtB8S8KlIsF8GGORIB5LWJmS/wLUxYW/Y/SSW pr/9mbHvm7S0nYUvKGEaKfvhPwmbKfXQtrYXshpaMtJSNskEzg/30ag3W21AXyL9gz zTy5fyBm4MuyZJSj+AaAYU2yrp0Jq3Q4HzKBH4/u5HH3/Gm9Q5/3A7yCo4XTGeLwhz QI4oGJU54KtiQ== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4QJZC2461Mz7vKG; Sat, 13 May 2023 20:38:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4QJZC1690rz8sYj; Sat, 13 May 2023 20:38:21 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 7A27780D40; Sat, 13 May 2023 20:38:14 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: Liliana Marie Prikler Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> Date: Sat, 13 May 2023 20:38:12 +0200 In-Reply-To: (Liliana Marie Prikler's message of "Sat, 13 May 2023 15:50:16 +0200") Message-ID: <87jzxccc17.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: 7A27780D40 X-Spamd-Result: default: False [-4.10 / 15.00]; BAYES_HAM(-5.50)[100.00%]; SUSPICIOUS_RECIPS(1.50)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; FREEMAIL_TO(0.00)[gmail.com]; HAS_ATTACHMENT(0.00)[]; TAGGED_RCPT(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,jpoiret.xyz,debbugs.gnu.org] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: jf84Y71ccypkEuBvsvyxIrvo+2Vnhp+dGzUvxnO1G5oKhyHh3xgjGdqW X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi Liliana and all. Until now the user could decide what image loaders to install alongside. Or so I thought. However, surprisingly I cannot get any other loader except gdk-pixbuf and librsvg to work anyway. That is, guix shell viewnior webp-pixbuf-loader surprisingly does not see webp files. I do not understand. If this changed patch looks fine, now with proper gexp use, I will push it. The patch continues to include gdk-pixbuf among the inputs even though gtk+@2 propagates gdk-pixbuf anyway, but better be explicit. Regards, Florian --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=viewnior-Support-image-formats-out-of-the-box.patch Content-Transfer-Encoding: quoted-printable >From 6acc7322695a13c326918c4b83a999e324406b21 Mon Sep 17 00:00:00 2001 Message-Id: <6acc7322695a13c326918c4b83a999e324406b21.1684001649.git.pelzfl= orian@pelzflorian.de> From: Florian Pelz Date: Sat, 13 May 2023 12:33:26 +0200 Subject: [PATCH] gnu: viewnior: Support image formats out of the box. * gnu/packages/image-viewers.scm (viewnior) [inputs]: Add 'librsvg-for-system'. [arguments]: Enable 'glib-or-gtk?' to make available GDK_PIXBUF_MODULE_FILE. Wrap viewnior to use it instead of the image loaders installed by the user. --- gnu/packages/image-viewers.scm | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index db7a44d4ff..798a8e50e8 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -27,6 +27,7 @@ ;;; Copyright =C2=A9 2022, 2023 Maxim Cournoyer ;;; Copyright =C2=A9 2022 Tomasz Jeneralczyk ;;; Copyright =C2=A9 2022 Cairn +;;; Copyright =C2=A9 2023 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -425,13 +426,24 @@ (define-public viewnior (base32 "14qvx1wajncd5ab0207274cwk32f4ipfnlaci6phmah0cwra2did")))) (build-system meson-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-source - (lambda _ - ;; Don't create 'icon-theme.cache' - (substitute* "meson.build" - (("meson.add_install_script*") ""))))) - #:tests? #f)) ;no tests + (list #:glib-or-gtk? #t + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; Don't create 'icon-theme.cache' + (substitute* "meson.build" + (("meson.add_install_script*") "")))) + (add-after 'glib-or-gtk-wrap 'wrap-pixbuf + (lambda* (#:key outputs #:allow-other-keys) + (let ((viewnior (string-append #$output "/bin/viewnior"= ))) + (wrap-program viewnior + ;; Wrap GDK_PIXBUF_MODULE_FILE so viewnior can be u= sed + ;; to view JPG, PNG and SVG, without the user needi= ng + ;; to install gdk-pixbuf or librsvg. + `("GDK_PIXBUF_MODULE_FILE" =3D + (,(getenv "GDK_PIXBUF_MODULE_FILE")))))))) + #:tests? #f)) ;no tests (native-inputs (list gettext-minimal `(,glib "bin") ;glib-genmarshal @@ -440,7 +452,8 @@ (define-public viewnior (inputs (list exiv2 gdk-pixbuf - gtk+-2)) + gtk+-2 + (librsvg-for-system))) (home-page "https://siyanpanayotov.com/project/viewnior") (synopsis "Simple, fast and elegant image viewer") (description "Viewnior is an image viewer program. Created to be simp= le, base-commit: e3e011a08141058598cc7631aeb52d620a3ccb8c --=20 2.39.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 15 01:19:06 2023 Received: (at 63427) by debbugs.gnu.org; 15 May 2023 05:19:07 +0000 Received: from localhost ([127.0.0.1]:42462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyQby-0007bl-JL for submit@debbugs.gnu.org; Mon, 15 May 2023 01:19:06 -0400 Received: from mail-ot1-f47.google.com ([209.85.210.47]:46323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyQbw-0007bG-Ac for 63427@debbugs.gnu.org; Mon, 15 May 2023 01:19:04 -0400 Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6ab0c70801dso3227860a34.0 for <63427@debbugs.gnu.org>; Sun, 14 May 2023 22:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684127938; x=1686719938; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZmwlGf/ITwH5mXzqbF/mTgcjVvwcAItqvKeCsLpRTJE=; b=ptTjHLkfz6GQ9ygO1U7/JFTJYHtHA6MRMlfJ40llW0MbqeroggTjBpcH3jHolyCPMC LD6xgGFHfMDtZNwWTZ7C7xgBp4skxWpYS6LYmGEUP62w5jpQ/5fyRXlGTiXswIMJoc3h OwPU3n4xZL9m4ZSOV7zlPnEnPGlnNH1SLvBGi8HpbhO7UWB1jnWzZSdojIVJUb8dN19p nXLdK3DJXtqj0VtlooyFbXKFL8CLYQDB56mGp4L3AyzoOKqPa2xrqs4tO4/Ee52PLexC JLae+igxFz3epSgEIaQXqfGuunKn015Ec9n1cA96cidse5xlFQbmOyV7FpneRf3zye9J 2tQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684127938; x=1686719938; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZmwlGf/ITwH5mXzqbF/mTgcjVvwcAItqvKeCsLpRTJE=; b=jnu8umpFhvAcnmvEjAXAP24xBsCG0VLD70jWP8/Cwz+v0VJrM1+xxgN10YtAE1Zlqj 9+KrUjy+o207r+PGSKPC87Fq7PVleLWufV6LcJLcQDWIBmiBx9zChbolVSAdKHmdr4mu fCSMbssWwsrR5A6X9rIb6/Og+xh43kZ9VkoHwCxAI9TAXmhR04lY0tS+iebaYzjNNxKb qqQi6vCOoW/O2t7sz04yO3kpYinxtGp3JHyka+BgHqKRIsugwwGbqEeECitsAcrLVAC8 gppzxQtT7zdip9nHX47KOdNI3R6U6OkV1SSodG1RnRe6rDY3hdZKLZVs5YsWZ/k/szol SqnQ== X-Gm-Message-State: AC+VfDzvuuq/yMVL7fWMbxefsuSQuQoXFgFdS6EQsnXPwjYrZ3ePgVG1 sSldum0qPtsEvPwy/X2F9TZprPFhFgBJE0vPJWw= X-Google-Smtp-Source: ACHHUZ7Q69oLGUDL+3Hcl6tvhxTEitJnlRPMs5EXYoydWjVFMokn9PEcUrqS0y0IgKj+MN8XG6BCvDjmhwBi2YQ11VY= X-Received: by 2002:a05:6870:768a:b0:196:2c06:2045 with SMTP id dx10-20020a056870768a00b001962c062045mr11360706oab.34.1684127938387; Sun, 14 May 2023 22:18:58 -0700 (PDT) MIME-Version: 1.0 References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> In-Reply-To: <87jzxccc17.fsf@pelzflorian.de> From: Nathan Dehnel Date: Mon, 15 May 2023 00:18:45 -0500 Message-ID: Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) To: "pelzflorian (Florian Pelz)" Content-Type: multipart/alternative; boundary="0000000000008625f905fbb49782" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Josselin Poiret , Liliana Marie Prikler , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000008625f905fbb49782 Content-Type: text/plain; charset="UTF-8" With another update, the errors went away. Thanks On Sat, May 13, 2023, 13:38 pelzflorian (Florian Pelz) < pelzflorian@pelzflorian.de> wrote: > Hi Liliana and all. Until now the user could decide what image loaders > to install alongside. Or so I thought. However, surprisingly I cannot > get any other loader except gdk-pixbuf and librsvg to work anyway. > > That is, > > guix shell viewnior webp-pixbuf-loader > > surprisingly does not see webp files. I do not understand. > > If this changed patch looks fine, now with proper gexp use, I will push > it. The patch continues to include gdk-pixbuf among the inputs even > though gtk+@2 propagates gdk-pixbuf anyway, but better be explicit. > > Regards, > Florian > --0000000000008625f905fbb49782 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With another update, the errors went away. Thanks
On Sat, = May 13, 2023, 13:38 pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote:
Hi Liliana and all.=C2=A0 Until now the user c= ould decide what image loaders
to install alongside.=C2=A0 Or so I thought.=C2=A0 However, surprisingly I = cannot
get any other loader except gdk-pixbuf and librsvg to work anyway.

That is,

guix shell viewnior webp-pixbuf-loader

surprisingly does not see webp files.=C2=A0 I do not understand.

If this changed patch looks fine, now with proper gexp use, I will push
it.=C2=A0 The patch continues to include gdk-pixbuf among the inputs even though gtk+@2 propagates gdk-pixbuf anyway, but better be explicit.

Regards,
Florian
--0000000000008625f905fbb49782-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 00:27:06 2025 Received: (at 63427) by debbugs.gnu.org; 15 Jan 2025 05:27:06 +0000 Received: from localhost ([127.0.0.1]:56637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXvvl-0008Ey-SW for submit@debbugs.gnu.org; Wed, 15 Jan 2025 00:27:06 -0500 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:53587) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tXvvi-0008EP-Mx for 63427@debbugs.gnu.org; Wed, 15 Jan 2025 00:27:03 -0500 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-21619108a6bso110293635ad.3 for <63427@debbugs.gnu.org>; Tue, 14 Jan 2025 21:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736918815; x=1737523615; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wL9NGZqOUe84c2jPHZgkgcjJBgWVQENeI3B3V0qDmGY=; b=mQXkjE2KTrRh0isvxcyUU+LCD2A/wwReGqhtAwpW7eGvxgbamcM8cAJ7CALpVpGB9g zAkCQIvsYwmGdeKdvs9NWH758F/9nnB1itfKxMToxAGEO0yu04OukGrlDV6HJhImrfmX CuogPfK9ky0jklT87glVf31gdoW7Bz2+5WnOYJpM9VFeVudoWlLL4pEiqp5UckQQJc1A d22vj5KsYGJ6yHuUVOndiLGoZdrOu5fyrrDGzAgiAf9puquT7I2GE40mTUiYt+PU5fYu i615EuSQ1oSu/uOxAh+mUQOvWx7MI41b1WrJRgIuSzVWDqy4Tsax+gZ6GkZoYOpP9mwv ETcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736918815; x=1737523615; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wL9NGZqOUe84c2jPHZgkgcjJBgWVQENeI3B3V0qDmGY=; b=aqX56ljsTbEpCpzSQ6Lm6RLZcuiKoi+mONHhQdLdc0H/CF4+wPLsoVci3CVu77Cqnn Eh0uXwZ4OeEgu7Csf+R90Yy6SrWUz6FBAfz3WmNYPwieSq1Ltzd3QsAKwbJLsu9T2S/p xdGfcJxx/JSlz5duGp3sTojQz6zGRG+qZCYaE/2kJBMffPKtqaBMk5iMWe4v2FA93yqR KfHeR1TUj5KTAR6c35Gyo1C68XphnafatSqM8L4NFNUunNy8+vKWE1KxZtT5jUUaCLvC iS068mr/g1N1Eh7z4zYbN7qVPXHbMCeMSConOx02QVckIaSnPJIJxdj/eCIVQFygu4GO Co4g== X-Forwarded-Encrypted: i=1; AJvYcCWqySNEk+afDLTziXYaeP6XqMT+CyUvSV0YCWfFDOfWOFb6dPa3u7Dm7cp5ER+iNdUak80ayg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyeNUvnzj+J27YVQxMBx+mFXjZXLYmGTXCf32EyH9MdcCtfo/66 t7fT2KwYG10iVxcruSu6fzYYmlCN5cOJ+Xk2PpZqiy1CsVYDggAQu/Lv1OQa X-Gm-Gg: ASbGncskxZZkfWthHtulgEY7d6tNyYCa/gDI+NiKg2Jj7zOCR+oiH95humutwYd2qNE qcguIKhcYuCLqSlmwE/MneE3eIdrJC0LZ7XmymU6ucdhdPDWEPwQTV98EWREoRwpBxeP7a8LbEE LMv18b2xwCtpuRG/hv7HTKeIrzP9wplUR/Bt/2z32FWkGmdRgQAqCGiDqXG2+X5sXRXnvrkU4kC ocWk65tQOGfJONNVCZ//L6Ne7aIkS3Ty88vXJj0DPLo6ai3ORDO3w== X-Google-Smtp-Source: AGHT+IHUmg2BGF1Yy+uHUr83UtY1UmbWYCskQc4QBgDJjplhzkH6/S76SAnMXoYV1qUxIY0NokzXqg== X-Received: by 2002:a05:6a00:1bca:b0:725:a78c:6c31 with SMTP id d2e1a72fcca58-72d21f107f1mr39110692b3a.3.1736918815490; Tue, 14 Jan 2025 21:26:55 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72d4067eeb5sm8656954b3a.137.2025.01.14.21.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2025 21:26:54 -0800 (PST) From: Maxim Cournoyer To: "pelzflorian (Florian Pelz)" Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) In-Reply-To: <87jzxccc17.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Sat, 13 May 2023 20:38:12 +0200") References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> Date: Wed, 15 Jan 2025 14:26:43 +0900 Message-ID: <87v7ugd4vg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , Liliana Marie Prikler , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, "pelzflorian (Florian Pelz)" writes: > Hi Liliana and all. Until now the user could decide what image loaders > to install alongside. Or so I thought. However, surprisingly I cannot > get any other loader except gdk-pixbuf and librsvg to work anyway. > > That is, > > guix shell viewnior webp-pixbuf-loader > > surprisingly does not see webp files. I do not understand. Try again with: --8<---------------cut here---------------start------------->8--- guix shell viewnior gdk-pixbuf webp-pixbuf-loader --8<---------------cut here---------------end--------------->8--- You need to add gdk-pixbuf as the GDK_PIXBUF_MODULE_FILE search path is defined on this package, and this currently gets computed per-profile. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 09:27:44 2025 Received: (at 63427) by debbugs.gnu.org; 15 Jan 2025 14:27:44 +0000 Received: from localhost ([127.0.0.1]:57332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tY4Mx-0003GP-VB for submit@debbugs.gnu.org; Wed, 15 Jan 2025 09:27:44 -0500 Received: from relay.yourmailgateway.de ([194.59.206.189]:44799) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tY4Ms-0003GB-P5 for 63427@debbugs.gnu.org; Wed, 15 Jan 2025 09:27:41 -0500 Received: from relay02-mors.netcup.net (localhost [127.0.0.1]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4YY7cm3hfpz47dd; Wed, 15 Jan 2025 15:27:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1736951256; bh=x8DrPkhxTVaKPF54IChcJhSpf1ZmmSs+PpbpzpZZcTE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mD701a5qOCkHT3h1ETHGZ2gD3AV7UjxB01G6aGgze6/+0i9QkeDcGc6RSha7OO8fu pgJQDG/CP5d8dnJyk92efg2wTPcJfbLvby3/7Ol7emn0mCRJz4yxb40nWlXTvJ1SkY 6Ob7Z3t+S6Z6SX3X7Wu/NMV+Sha1KXMu6Ay10Bio3IPzrktKKZGQqz0iGmFXvSiZX/ 2XVY9oLSNS6wPgtLBjA0nXb8qSHJXa7Uy/gTj6nTRDDR+nzkOvVFdz4AZ0YWP4ZddV 4qryoHLzHC4eXAQyaEqOol4Fzy93fJr+5KFIrZh3BZz/3XtZ/XsZK/S/KzqmSWmy0O IO3ZJTKg345RA== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4YY7cm3Htdz7y5d; Wed, 15 Jan 2025 15:27:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.897 X-Spam-Level: X-Spam-Status: No, score=-2.897 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4YY7cl0CXsz8sbd; Wed, 15 Jan 2025 15:27:34 +0100 (CET) Received: from florianhp (ipb21a5dbf.dynamic.kabel-deutschland.de [178.26.93.191]) by mxe217.netcup.net (Postfix) with ESMTPSA id 26A75843F3; Wed, 15 Jan 2025 15:27:25 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Maxim Cournoyer Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) In-Reply-To: <87v7ugd4vg.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 15 Jan 2025 14:26:43 +0900") References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> <87v7ugd4vg.fsf@gmail.com> Date: Wed, 15 Jan 2025 15:28:17 +0100 Message-ID: <87tta0noce.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Rspamd-Queue-Id: 26A75843F3 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: 1En/RJerFbM3Txt7n0ng5eZNLMRAzozNoZOUr0vQiHHzwwUSDvJneIPK X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , Liliana Marie Prikler , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you Maxim for waking up the bug and giving an essential hint, because I did not understand the bug anymore. Indeed, without wrapping GDK_PIXBUF_MODULE_FILE as in my patch guix shell --pure viewnior gdk-pixbuf webp-pixbuf-loader does open webp files fine. Wrapping it with the attached patch, guix shell --pure viewnior also opens webp files fine, but only after I have added webp-pixbuf-loader to viewnior=E2=80=99s inputs. But wrapping inhibits webp-pixbuf-loader when I don=E2=80=99t add it to inp= uts even with guix shell --pure viewnior gdk-pixbuf webp-pixbuf-loader So wrapping apparently hard-codes which input formats there are. Notably librsvg exceptionally does not need to be added explicitly. Is it better to wrap viewnior and hard-code the supported image formats, as I wanted, so installing only viewnior is enough? Or better drop the attached patch and users need to install gdk-pixbuf webp-pixbuf-loader as well? I tend to prefer to wrap viewnior. Regards, Florian --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=viewnior-Support-image-formats-out-of-the-box.patch Content-Transfer-Encoding: quoted-printable >From 54746d297c7e3de10001a270867beb031afca0df Mon Sep 17 00:00:00 2001 Message-ID: <54746d297c7e3de10001a270867beb031afca0df.1736950227.git.pelzfl= orian@pelzflorian.de> From: Florian Pelz Date: Sat, 13 May 2023 12:33:26 +0200 Subject: [PATCH] gnu: viewnior: Support image formats out of the box. * gnu/packages/image-viewers.scm (viewnior) [inputs]: TODO Add 'librsvg-for-system', 'webp-pixbuf-loader'. [arguments]: Enable 'glib-or-gtk?' to make available GDK_PIXBUF_MODULE_FILE. Wrap viewnior to use it instead of the image loaders installed by the user. Change-Id: I86b7c2845af2fc1d3fdf4032b2208493a6868546 --- gnu/packages/image-viewers.scm | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index cb4e903f39..8c679ac2fb 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -27,6 +27,7 @@ ;;; Copyright =C2=A9 2022, 2023 Maxim Cournoyer ;;; Copyright =C2=A9 2022 Tomasz Jeneralczyk ;;; Copyright =C2=A9 2022 Cairn +;;; Copyright =C2=A9 2023 Florian Pelz ;;; Copyright =C2=A9 2024 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. @@ -427,13 +428,24 @@ (define-public viewnior (base32 "14qvx1wajncd5ab0207274cwk32f4ipfnlaci6phmah0cwra2did")))) (build-system meson-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-source - (lambda _ - ;; Don't create 'icon-theme.cache' - (substitute* "meson.build" - (("meson.add_install_script*") ""))))) - #:tests? #f)) ;no tests + (list #:glib-or-gtk? #t + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + ;; Don't create 'icon-theme.cache' + (substitute* "meson.build" + (("meson.add_install_script*") "")))) + (add-after 'glib-or-gtk-wrap 'wrap-pixbuf + (lambda* (#:key outputs #:allow-other-keys) + (let ((viewnior (string-append #$output "/bin/viewnior"= ))) + (wrap-program viewnior + ;; Wrap GDK_PIXBUF_MODULE_FILE so viewnior can be u= sed + ;; to view JPG, PNG and SVG, without the user needi= ng + ;; to install gdk-pixbuf or librsvg. + `("GDK_PIXBUF_MODULE_FILE" =3D + (,(getenv "GDK_PIXBUF_MODULE_FILE")))))))) + #:tests? #f)) ;no tests (native-inputs (list gettext-minimal `(,glib "bin") ;glib-genmarshal @@ -442,7 +454,10 @@ (define-public viewnior (inputs (list exiv2 gdk-pixbuf - gtk+-2)) + gtk+-2 + ;; not needed, there is SVG support already: (librsvg-for-syste= m) + ;; uncomment for webp support: webp-pixbuf-loader + )) (home-page "https://siyanpanayotov.com/project/viewnior") (synopsis "Simple, fast and elegant image viewer") (description "Viewnior is an image viewer program. Created to be simp= le, base-commit: 15a41ec5a7f0629f78ede29bd7867cd8dc22c992 --=20 2.47.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 10:07:19 2025 Received: (at 63427) by debbugs.gnu.org; 15 Jan 2025 15:07:19 +0000 Received: from localhost ([127.0.0.1]:58301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tY4zH-0005Wg-GA for submit@debbugs.gnu.org; Wed, 15 Jan 2025 10:07:19 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:59496) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tY4zF-0005WI-Pc for 63427@debbugs.gnu.org; Wed, 15 Jan 2025 10:07:18 -0500 Received: by mail-wm1-x344.google.com with SMTP id 5b1f17b1804b1-436202dd730so49142265e9.2 for <63427@debbugs.gnu.org>; Wed, 15 Jan 2025 07:07:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736953631; x=1737558431; darn=debbugs.gnu.org; h=mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:from:to:cc:subject:date:message-id:reply-to; bh=3C0SBUQwDEqd4Dc0cdk6Xn8+p/SS5H1xjP/sK9ky3pk=; b=HX5xFe/TkIKy8BQePR/56ybIS6shwP0lqbkIuB3yVA/l0mTntZmlVTvPLHWxUAc0Mb lQWpLPAx76Y7cyfm5SYhp5yCA8ZJxCvC9zklM69t8TjKdRimwwajbrc89XLiotK4BHZg PWFz/rm0zmjZxG5mVY0EOlw5zgrN3ghXzYb8E4M9gzS2XNl244p5TffvjoeCFyi8SsUy Lah1/iPbzuPO3boV6VkrvDFqPJRA8KizumXrqtIeZA9okmSe9M23YH3hXT/mvT1e1j6Z m+a1yycGk13oHrx1+jljbIs/n/rjEmxxFC5oidTi4UsOI+qkbWp6Gf2E4DDmO6ap+Hyc q/cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736953631; x=1737558431; h=mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3C0SBUQwDEqd4Dc0cdk6Xn8+p/SS5H1xjP/sK9ky3pk=; b=P/2kV0QSy3zRwxtzzmQQb8AvfhX8oU+aM59/W3yRrGAHTa1+DeDHz4C9ZqlpxbbWQq NjPpm6m08L99rEbWxFBeUG/mKosUW9VDCdmB8R9lmMeCfmI7AMM5yuoJONjFXwSVBdt+ HtuOsBy/CTXZCkyd40m+OKv5yUmLpfwJPF2Xaf4ZOLdUXX63qx5332xO41XfIsr/2zr9 1jDFJJNHW/O0K+B3/voMeOoztTzQlrSe/6RQooI6EDQh1fB1cVOHwkhPER/QBhU55RrZ YSv72V7NNEt2KSvg8w7qE2b4HEINBlHloFrz/VjbJgYPhUvxrMr1d1DCovmANLwJWV0O rp3w== X-Forwarded-Encrypted: i=1; AJvYcCXw2YBBdjOVzb2F7oRawFjN6HNV4/2X3bubNbK/oeFb4tisWevg+46qHSj0g0n6mSWjke9S1Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwW9uDUuJ5uY1sE2MypiIdkNVMqpV3Pq1gDKh9AlTqBRyQJVsZI GtYlCanwOZK72S+E0wYeahpjb3/okbOt5QGB5Q/Ogf+ynWJB8KFc X-Gm-Gg: ASbGncuZOAcCQrUiFAADiZc/Zr6TspcfpLl7pzB/iPly+Bzg397pRVKP4iQVPKlWyIO bpQpCwVbKcuV4cxMDRGykvTCmNMVOx+XOC1GV7nJbmUGt/dzpOosjIZ4mu/qBUwrS/uWqBdZtjx zJND3kbM1AGiXxPdYeGZt8x13h3HwZ+oQ1s5+Ui7xfxq2jamYyEHtztRogPWS0QFb3HGss8JixB vQtig0npeabVQBlXLv76fm2dt5braGqXVZBBNvOfr4Nwdcc0wSzEz3IEc4xGKFr/EajFDsGA9R4 AxJtbSvH6/KW6AdHgUdKOuRgBktlcFTW X-Google-Smtp-Source: AGHT+IGYZ7UVcMcyLRzRY/Mq1k3ni8LiXLrFV2jFW5b+/6ENCblTID6YBPunca+ARsZQxyekAsttkg== X-Received: by 2002:a05:600c:314e:b0:434:a5bc:70fc with SMTP id 5b1f17b1804b1-436e269aad7mr264323975e9.8.1736953630581; Wed, 15 Jan 2025 07:07:10 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-437c749956fsm26386745e9.4.2025.01.15.07.07.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 07:07:09 -0800 (PST) Message-ID: Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) From: Liliana Marie Prikler To: "pelzflorian (Florian Pelz)" , Maxim Cournoyer Date: Wed, 15 Jan 2025 16:07:06 +0100 In-Reply-To: <87tta0noce.fsf@pelzflorian.de> References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> <87v7ugd4vg.fsf@gmail.com> <87tta0noce.fsf@pelzflorian.de> Content-Type: multipart/mixed; boundary="=-TNNhihP3NtZ9opQajfyA" User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-TNNhihP3NtZ9opQajfyA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, dem 15.01.2025 um 15:28 +0100 schrieb pelzflorian (Florian Pelz): > Is it better to wrap viewnior and hard-code the supported image > formats, as I wanted, so installing only viewnior is enough? >=20 > Or better drop the attached patch and users need to install gdk- > pixbuf [and] webp-pixbuf-loader as well? >=20 > I tend to prefer to wrap viewnior. I think wrapping is good, but I don't think we can anticipate all the formats a user might want. I've attached a patch that allows us to use "set if unspecified" semantics =E2=80=93 not really sure how meaningful tho= se are =E2=80=93 but perhaps we would need a GUIX_-prefixed environment variab= le once again. Barring an upstream change from GDK_PIXBUF_MODULE_FILE to GDK_PIXBUF_MODULE_PATH anyway. WDYT? --=-TNNhihP3NtZ9opQajfyA Content-Disposition: attachment; filename*0=0001-guix-wrap-program-Add-logic-for-setting-only-unset-varia; filename*1=bles.patch Content-Type: text/x-patch; name*0=0001-guix-wrap-program-Add-logic-for-setting-only-unset-variables; name*1=.patch; charset="UTF-8" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2d1aXgvYnVpbGQvdXRpbHMuc2NtIGIvZ3VpeC9idWlsZC91dGlscy5zY20K aW5kZXggOTQ3MTRiZjM5Ny4uZDQ4YjkxMTJiOCAxMDA2NDQKLS0tIGEvZ3VpeC9idWlsZC91dGls cy5zY20KKysrIGIvZ3VpeC9idWlsZC91dGlscy5zY20KQEAgLTEzOTMsNiArMTM5Myw5IEBAIChk ZWZpbmUqICh3cmFwLXByb2dyYW0gcHJvZyAjOmtleSAoc2ggKHdoaWNoICJiYXNoIikpICM6cmVz dCB2YXJzKQogICAgICAgKCh2YXIgc2VwICc9IHJlc3QpCiAgICAgICAgKGZvcm1hdCAjZiAiZXhw b3J0IH5hPVwifmFcIiIKICAgICAgICAgICAgICAgIHZhciAoc3RyaW5nLWpvaW4gcmVzdCBzZXAp KSkKKyAgICAgICgodmFyIHNlcCAnOi0gcmVzdCkKKyAgICAgICAoZm9ybWF0ICNmICJleHBvcnQg fmE9XCIke35hOi1+YX1cIiIKKyAgICAgICAgICAgICAgIHZhciB2YXIgKHN0cmluZy1qb2luIHJl c3Qgc2VwKSkpCiAgICAgICAoKHZhciBzZXAgJ3ByZWZpeCByZXN0KQogICAgICAgIChmb3JtYXQg I2YgImV4cG9ydCB+YT1cIn5hJHt+YTorfmF9JH5hXCIiCiAgICAgICAgICAgICAgICB2YXIgKHN0 cmluZy1qb2luIHJlc3Qgc2VwKSB2YXIgc2VwIHZhcikpCkBAIC0xNDAyLDYgKzE0MDUsOSBAQCAo ZGVmaW5lKiAod3JhcC1wcm9ncmFtIHByb2cgIzprZXkgKHNoICh3aGljaCAiYmFzaCIpKSAjOnJl c3QgdmFycykKICAgICAgICgodmFyICc9IHJlc3QpCiAgICAgICAgKGZvcm1hdCAjZiAiZXhwb3J0 IH5hPVwifmFcIiIKICAgICAgICAgICAgICAgIHZhciAoc3RyaW5nLWpvaW4gcmVzdCAiOiIpKSkK KyAgICAgICgodmFyICc6LSByZXN0KQorICAgICAgIChmb3JtYXQgI2YgImV4cG9ydCB+YT1cIiR7 fmE6LX5hfVwiIgorICAgICAgICAgICAgICAgdmFyIHZhciAoc3RyaW5nLWpvaW4gcmVzdCAiOiIp KSkKICAgICAgICgodmFyICdwcmVmaXggcmVzdCkKICAgICAgICAoZm9ybWF0ICNmICJleHBvcnQg fmE9XCJ+YSR7fmE6Kzp9JH5hXCIiCiAgICAgICAgICAgICAgICB2YXIgKHN0cmluZy1qb2luIHJl c3QgIjoiKSB2YXIgdmFyKSkKQEAgLTE0NzAsNiArMTQ3Niw4IEBAIChkZWZpbmUgd3JhcC1zY3Jp cHQKICAgICAgICAgKG1hdGNoLWxhbWJkYQogICAgICAgICAgICgodmFyIHNlcCAnPSByZXN0KQog ICAgICAgICAgICBgKHNldGVudiAsdmFyICwoc3RyaW5nLWpvaW4gcmVzdCBzZXApKSkKKyAgICAg ICAgICAoKHZhciBzZXAgJzotIHJlc3QpCisgICAgICAgICAgIGAodW5sZXNzIChnZXRlbnYgLHZh cikgKHNldGVudiAsdmFyICwoc3RyaW5nLWpvaW4gcmVzdCBzZXApKSkpCiAgICAgICAgICAgKCh2 YXIgc2VwICdwcmVmaXggcmVzdCkKICAgICAgICAgICAgYChsZXQgKChjdXJyZW50IChnZXRlbnYg LHZhcikpKQogICAgICAgICAgICAgICAoc2V0ZW52ICx2YXIgKGlmIGN1cnJlbnQKQEAgLTE0ODQs NiArMTQ5Miw4IEBAIChkZWZpbmUgd3JhcC1zY3JpcHQKICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAsKHN0cmluZy1qb2luIHJlc3Qgc2VwKSkpKSkKICAgICAgICAgICAoKHZhciAnPSBy ZXN0KQogICAgICAgICAgICBgKHNldGVudiAsdmFyICwoc3RyaW5nLWpvaW4gcmVzdCAiOiIpKSkK KyAgICAgICAgICAoKHZhciAnOi0gcmVzdCkKKyAgICAgICAgICAgYCh1bmxlc3MgKGdldGVudiAs dmFyKSAoc2V0ZW52ICx2YXIgLChzdHJpbmctam9pbiByZXN0ICI6IikpKSkKICAgICAgICAgICAo KHZhciAncHJlZml4IHJlc3QpCiAgICAgICAgICAgIGAobGV0ICgoY3VycmVudCAoZ2V0ZW52ICx2 YXIpKSkKICAgICAgICAgICAgICAgKHNldGVudiAsdmFyIChpZiBjdXJyZW50Cg== --=-TNNhihP3NtZ9opQajfyA-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 02:49:30 2025 Received: (at 63427) by debbugs.gnu.org; 16 Jan 2025 07:49:30 +0000 Received: from localhost ([127.0.0.1]:59838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYKd8-00051o-4z for submit@debbugs.gnu.org; Thu, 16 Jan 2025 02:49:30 -0500 Received: from relay.yourmailgateway.de ([188.68.63.170]:40621) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYKd5-00051c-Qh for 63427@debbugs.gnu.org; Thu, 16 Jan 2025 02:49:28 -0500 Received: from mors-relay8203.netcup.net (localhost [127.0.0.1]) by mors-relay8203.netcup.net (Postfix) with ESMTPS id 4YYZks4qbDz8dJS; Thu, 16 Jan 2025 07:49:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1737013765; bh=sX4FMViYVNlfg7QJilzfjdpUCKoQ/iaTLO2Su/KbXAM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jmuDPUlQz7cLBVWu3BSjyovp7G6GaJUuN5HHFpGuocbkBc1xSQxBvYtUWle6CjyOr PsYI36f44lH9B7+SCzd7ijoJB57s14bcpPFREEc2VY0TZ/uIm/ieQQMxENMEZ1531q cqHx6U84gFxFPTNGPWgbcz9Xar+bcKDeqHvPnb2huLO/REW4iNVydTAEKMYZka4iQv msC/KQi9pu0TvWf61Ooz5tleu6leRfUJg7xNgkzyKBQD60ql4DqrNkviwXlVxeIyfn J7m7HqnF6f75n29Sbs4V+3jSg4q4zLH9NP9mwAPketRGbX7HqMvvLV0Zc0iGMhBPa/ 8I8oG4csFxWpw== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay8203.netcup.net (Postfix) with ESMTPS id 4YYZks45YYz8dJG; Thu, 16 Jan 2025 07:49:25 +0000 (UTC) Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4YYZks1zqCz8scM; Thu, 16 Jan 2025 08:49:25 +0100 (CET) Received: from florianhp (ipb21a5dbf.dynamic.kabel-deutschland.de [178.26.93.191]) by mxe217.netcup.net (Postfix) with ESMTPSA id D34D584437; Thu, 16 Jan 2025 08:49:16 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: Liliana Marie Prikler Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) In-Reply-To: (Liliana Marie Prikler's message of "Wed, 15 Jan 2025 16:07:06 +0100") References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> <87v7ugd4vg.fsf@gmail.com> <87tta0noce.fsf@pelzflorian.de> Date: Thu, 16 Jan 2025 08:50:09 +0100 Message-ID: <87zfjrxkni.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: D34D584437 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: LuhNdvTyhspHV6oIWk4lM17EXAiz+fQUwK5/VlpjkCLJP18xJW6X2lbB X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , 63427@debbugs.gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Liliana=E2=80=99s new escape hatch is nice, and indeed GDK_PIXBUF_MODULE_FI= LE is unset in $ guix shell --pure viewnior webp-pixbuf-loader $ echo $GDK_PIXBUF_MODULE_FILE but it rebuilds the world. A security-relevant (?) upstream introduction of GDK_PIXBUF_MODULE_PATH also would have Guix rebuild the world. Could I, with your agreement, push the viewnior wrapper patch with (wrap-program viewnior `("GDK_PIXBUF_MODULE_FILE" =3D in the meantime? The majority of users will not know search paths anyway perhaps, and viewnior is just one image viewer. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 02:57:23 2025 Received: (at 63427) by debbugs.gnu.org; 16 Jan 2025 07:57:23 +0000 Received: from localhost ([127.0.0.1]:59861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYKkk-0005UK-SX for submit@debbugs.gnu.org; Thu, 16 Jan 2025 02:57:23 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:42195) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tYKkh-0005U5-Dt for 63427@debbugs.gnu.org; Thu, 16 Jan 2025 02:57:20 -0500 Received: by mail-wm1-x344.google.com with SMTP id 5b1f17b1804b1-43635796b48so3696645e9.0 for <63427@debbugs.gnu.org>; Wed, 15 Jan 2025 23:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737014233; x=1737619033; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=eTbhANuPgJqm2E2a2qpP4DFgm035RO8TLjHFdrVe5S8=; b=LPVrW5GeO7ic9PjaktQty/W+aYNvfXxUZt6RYOQS7pZFpaSyxm0jh++TUMl2qLUw/p CtWsolMSWWHVhQQvQHeKqWFdQ/mLSspdDesFFRBIzpDwngcvbLeSe1WwddgrFrcUYzI+ KseTi+RzCfcsbrgLD8eEQi05WvMgxUg3kimdftNK6ugjejdEafZy899Nt+T51zW/SvoV owGLm0bdPnNsAltwTm9GA+Oz5r5XTkibvD6Bst0h5JwqhOyAsXqQ7WIYasz7XndWVD3I mSoe3CY8LGdaY3uZNNBOWV1xn/Sivxq5bVkEbbgTSx/chMc4wL1hBosak/vmdtcWerTb ZR3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737014233; x=1737619033; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eTbhANuPgJqm2E2a2qpP4DFgm035RO8TLjHFdrVe5S8=; b=PmAs4UN3kedzHP8St+pFSgfknB6EgSzCBRzEKSBIAwN3Q3g9DH4tFcbgNyO8EoDzJ0 SeGs++Z+APbOKd5Wh4dNoxJ3T8Uf3BkdOTW3q6566fmwSPpLA4ca9nPrzhPG4bFrbnIa LQY6yQR/RekY7M7Cy3o2lG1/3o+hpoia6q+nlbOWQYWLBDDPVFhFd+qPUNDpC3+gtve1 /9CRXtnuhS8+kIH5FiE5xGok40P9oFq+TT6I6CXR+Xc60gq62FDXf5rqisub0VABVHom gSnw+G3//xFlEkVIbhlyfpEVxQPVD1hdVNCqn8qFuH50UfvS0k2Cg9x2+c7AtGExVZi2 Lv5A== X-Forwarded-Encrypted: i=1; AJvYcCW5WWr6G4zN4ew2ECYiUQN5V1P682/IYzkQPexKOxsK4u6KYj9tmrWDdWhpWpkMdRgVlTfomw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxLeKtIcoq2kjlOp7h5rd5J9DSzVcczwcGhvn7Q0ajWFzrebmO5 CPWUqB2kiI6j5JSd+Kfm7w38Xpeuh6yeYO0XZBEOsCSyK/M+uY7C X-Gm-Gg: ASbGncsF/qMEI9ogVorkjZCTsV+uwkI65yUBTq6IzwP9Dmxjz3w9h1fpRIpc/9c169x fdrsEh7Ma9oSfBJNKao0QDtRr5zqnrXSN96Q2w4g8VIRngDcVGSkvCncqldBc54MDIq69xuwhyx IMFHRu/RkyHZ4NVBjIiW6fH+e9BJVmoDhoxtuIBOkN46jn2+xQf44EZkXT2V0sXHCsf9RQVKpb0 WjlFJnM1I6ZtGzr7R15daI99fI4rPv662yx1fwJIpfqJZ2RrvzINoc7qjRk3tJFvJMlcMa3vSEs POfHiWAxDQwxE7qdLeqHyFWo53yFLia+ X-Google-Smtp-Source: AGHT+IGnLMm1ygB97L3YCJGdY2WpRWyfNp0t+LthOVpFihXk0iNdDQDC+MegTiWlmc0L8qj5AFm5+A== X-Received: by 2002:a05:600c:c06:b0:434:fe3c:c662 with SMTP id 5b1f17b1804b1-437c6b26e74mr45959405e9.12.1737014232890; Wed, 15 Jan 2025 23:57:12 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-437c7540ae7sm49317015e9.33.2025.01.15.23.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 23:57:12 -0800 (PST) Message-ID: <4ec55797a8be98c58f33d8396b35c65d0a6d2cd9.camel@gmail.com> Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) From: Liliana Marie Prikler To: "pelzflorian (Florian Pelz)" Date: Thu, 16 Jan 2025 08:57:09 +0100 In-Reply-To: <87zfjrxkni.fsf@pelzflorian.de> References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> <87v7ugd4vg.fsf@gmail.com> <87tta0noce.fsf@pelzflorian.de> <87zfjrxkni.fsf@pelzflorian.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , 63427@debbugs.gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Donnerstag, dem 16.01.2025 um 08:50 +0100 schrieb pelzflorian (Florian Pelz): > Liliana=E2=80=99s new escape hatch is nice, and indeed GDK_PIXBUF_MODULE_= FILE > is unset in >=20 > $ guix shell --pure viewnior webp-pixbuf-loader > $ echo $GDK_PIXBUF_MODULE_FILE >=20 > but it rebuilds the world.=C2=A0 A security-relevant (?) upstream > introduction of GDK_PIXBUF_MODULE_PATH also would have Guix rebuild > the world. >=20 > Could I, with your agreement, push the viewnior wrapper patch with > (wrap-program viewnior > =C2=A0`("GDK_PIXBUF_MODULE_FILE" =3D > in the meantime?=C2=A0 The majority of users will not know search paths > anyway perhaps, and viewnior is just one image viewer. Oh, yeah, for the time being that patch is absolutely fine and it mirrors what we do with inkscape etc. I was just adding that we can add escape hatches whenever we want to do a world rebuild. Cheers From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 09:36:06 2025 Received: (at 63427-done) by debbugs.gnu.org; 16 Jan 2025 14:36:06 +0000 Received: from localhost ([127.0.0.1]:60556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYQyb-00005D-L2 for submit@debbugs.gnu.org; Thu, 16 Jan 2025 09:36:05 -0500 Received: from relay.yourmailgateway.de ([188.68.61.107]:40089) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tYQyX-00004q-3Y for 63427-done@debbugs.gnu.org; Thu, 16 Jan 2025 09:36:03 -0500 Received: from mors-relay-8405.netcup.net (localhost [127.0.0.1]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4YYllz2Ch0z71Zd; Thu, 16 Jan 2025 15:35:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1737038159; bh=3kge19gChib8ZPOr4kkk9B8Z2QjCknX975HRhlplr6Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=lVtT2qSYIND2HoBn5K+kAPF8Ln8TUnOLfW823Os+H3XIoC8M6IRqYzp973vOHoA+G nx8ZgCazAQMrI68vZRsolcAxyprri4wgDymyXLDrgiIGE6fpifMJNA78WlfkyoJB/d TQxZPJiQtbzJ9PdQzRHjjov/HQ2utz27lFH6Wlr9H4c24Lsur56BGA0FH9noR/la5c IsXlC+SXf28QAvikvvy8g4VW9XYMRFKx7E5mfCIgJEJDEjsWkcI/1wBm230POIvaai 5dChuReaezav/W9ss3Uqn9TWffFijxuwLdSB5CJV2qBr6swhiLU/uFAkKYxsr4rBxT dZtSlpvV1u1zA== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8405.netcup.net (Postfix) with ESMTPS id 4YYllz1Wt8z71VZ; Thu, 16 Jan 2025 15:35:59 +0100 (CET) Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4YYlly6nJWz8sb7; Thu, 16 Jan 2025 15:35:57 +0100 (CET) Received: from florianhp (ipb21a5dbf.dynamic.kabel-deutschland.de [178.26.93.191]) by mxe217.netcup.net (Postfix) with ESMTPSA id 2DE898450C; Thu, 16 Jan 2025 15:35:49 +0100 (CET) From: "pelzflorian (Florian Pelz)" To: 63427-done@debbugs.gnu.org Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) In-Reply-To: <4ec55797a8be98c58f33d8396b35c65d0a6d2cd9.camel@gmail.com> (Liliana Marie Prikler's message of "Thu, 16 Jan 2025 08:57:09 +0100") References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> <87v7ugd4vg.fsf@gmail.com> <87tta0noce.fsf@pelzflorian.de> <87zfjrxkni.fsf@pelzflorian.de> <4ec55797a8be98c58f33d8396b35c65d0a6d2cd9.camel@gmail.com> Date: Thu, 16 Jan 2025 15:36:41 +0100 Message-ID: <87wmeun7uu.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 2DE898450C X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: nS4RXUeJxTHTGU074jIwOqOdQ4KAOUi6kSFhiDBvKNrY++vOYXF98QYI X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427-done Cc: Nathan Dehnel , Josselin Poiret , Liliana Marie Prikler , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pushed as 7aae0e2c159b1612b405a372b18f25fbb58f9d82. Ah yes inkscape=E2=80=99s wrap-program is similar. I see Maxim responded do this bug here because of related bug with foreign distros. Perhaps discussion will go on there. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 22:19:12 2025 Received: (at 63427) by debbugs.gnu.org; 17 Jan 2025 03:19:12 +0000 Received: from localhost ([127.0.0.1]:35475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYct5-0005St-U4 for submit@debbugs.gnu.org; Thu, 16 Jan 2025 22:19:12 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:61464) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tYct3-0005SZ-Nk for 63427@debbugs.gnu.org; Thu, 16 Jan 2025 22:19:10 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-2166022c5caso27430175ad.2 for <63427@debbugs.gnu.org>; Thu, 16 Jan 2025 19:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737083943; x=1737688743; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uDhMVPwss3zHCgQHttsKWVDujUCf77v/sPvU7Q1ulDQ=; b=b6A/krlUrmvgKEjotaWCvZIZy5yoXrySlW+iJrVmaQz0yftt59QVJQDmfENtFcwiv2 h1A170g4YDX4yEAQjfXK2Wrx/3Y4sg49IuKXlBwGG4I330Bccr8Jeae5IxBrZPfkE5WB wBRZhWqniHEEIhCfADWzuX16w4VYeMAp+fE9bJgzhHc8k15iEGj0LG1LNgBFuelms2Qn yxNT+4G2kzG15/S1+yRPKxuDyHJed8bhgFEnukL4xRREA5EkiF3FxWtQ+KtaFsvX2ZdR Dk+rpJwMFmT66WmsI203KRzm5QwDRf6EBIvenvjlkikHPRLqTrCnvLqDjKDQNgbUAjB8 K6OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737083943; x=1737688743; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uDhMVPwss3zHCgQHttsKWVDujUCf77v/sPvU7Q1ulDQ=; b=AI9TQlEaqSde14JDflZJyuuwHumxkQlM8NjAy+YPrjUAJqAgNkH9veNag2SiV+68sr VHYGJ9E2MGl6txuSksZjPZtjI+ZuHCV2j2sgOotTVC6b+xQcP180Jyawwf438+iu12ZA RUMBCGMaCC0kP/lxPOhB13ZlXAJi5DB+Y0JYnNhekw6t42UtuHqovac12t3n97Z//mbO DKJMvBVnyf08/gIVIO94/lLPg1HWiSy1eWOJxz0t5drAZl1EcmfkKB7tfS60Bkp/gKBT 3JwYcwoo6aZxdK8Z5Zb0cDlVHf4Jg8G46vGBFUh79jRxjsAZB1l2gackrmbKX9MtVE5X vh8Q== X-Forwarded-Encrypted: i=1; AJvYcCVw2SepWVlLT6tFof9Y+oTbEA6ASFPb1U+ZuOtkiTiR2mUPdNKJWZl7n2Xy3eRY8n++O+kVMA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyRhQLWNDgqs/1FHb8PxqQUkYqqbUV6tUiwX6Tx+urvwDycrZ5D iMfHM4igEKrEga8HxgEtCGu35P10vIwr2ht7hg6bTtHManr/iz3TVmZcW6UE X-Gm-Gg: ASbGncu78Fu2YdgwBRXVxSU+CdhKI5L6qgLMV6ZkmllN8p41vcTwEWwpsfjEpNcLiMy P5vOc8uQeizEntGeim4Dz9ZEsITUIhQMdmaz+O3PRQXA75fUt5ssdidmOAvt/0QQIejiTFoZ0ay Hm8fWNJWYU6iFkZ1fkkBoIjTEx5CkLYW2csncjnFfQhTBSYEgx1u5cUL7LRpmOH+FwPtNiRLg/E Mib9V74rbvUpQDZBFN9vCgkMmEQvB8kZ7y0MEG2wrrIDVSiV3Gj9A== X-Google-Smtp-Source: AGHT+IGPuGqci3PpHcHJJzHKqz1sBUAWUy8sY7HCtmtBApq2p7IlZGvO9DQAc5i7GhAhGdnmcM3iqQ== X-Received: by 2002:a17:902:d542:b0:215:9642:4d6d with SMTP id d9443c01a7336-21c3540c875mr17881885ad.17.1737083941680; Thu, 16 Jan 2025 19:19:01 -0800 (PST) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2cea0a59sm6829205ad.1.2025.01.16.19.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 19:19:00 -0800 (PST) From: Maxim Cournoyer To: Liliana Marie Prikler Subject: Re: bug#63427: gdk-pixbuf unable to recognize image formats (JPG, PNG, etc.) In-Reply-To: (Liliana Marie Prikler's message of "Wed, 15 Jan 2025 16:07:06 +0100") References: <874joje1ii.fsf@jpoiret.xyz> <5d2305c2acf0784713b7d32e6485a80e35171269.camel@gmail.com> <87bkipaovk.fsf@pelzflorian.de> <87cz34ecb7.fsf@pelzflorian.de> <87jzxccc17.fsf@pelzflorian.de> <87v7ugd4vg.fsf@gmail.com> <87tta0noce.fsf@pelzflorian.de> Date: Fri, 17 Jan 2025 12:18:50 +0900 Message-ID: <87bjw6celh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63427 Cc: Nathan Dehnel , Josselin Poiret , "pelzflorian \(Florian Pelz\)" , 63427@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi! Liliana Marie Prikler writes: [...] > I've attached a patch that allows us to use > "set if unspecified" semantics =E2=80=93 not really sure how meaningful t= hose > are =E2=80=93 but perhaps we would need a GUIX_-prefixed environment vari= able > once again. Barring an upstream change from GDK_PIXBUF_MODULE_FILE to > GDK_PIXBUF_MODULE_PATH anyway. > > WDYT? > > diff --git a/guix/build/utils.scm b/guix/build/utils.scm > index 94714bf397..d48b9112b8 100644 > --- a/guix/build/utils.scm > +++ b/guix/build/utils.scm > @@ -1393,6 +1393,9 @@ (define* (wrap-program prog #:key (sh (which "bash"= )) #:rest vars) > ((var sep '=3D rest) > (format #f "export ~a=3D\"~a\"" > var (string-join rest sep))) > + ((var sep ':- rest) > + (format #f "export ~a=3D\"${~a:-~a}\"" > + var var (string-join rest sep))) > ((var sep 'prefix rest) > (format #f "export ~a=3D\"~a${~a:+~a}$~a\"" > var (string-join rest sep) var sep var)) > @@ -1402,6 +1405,9 @@ (define* (wrap-program prog #:key (sh (which "bash"= )) #:rest vars) > ((var '=3D rest) > (format #f "export ~a=3D\"~a\"" > var (string-join rest ":"))) > + ((var ':- rest) > + (format #f "export ~a=3D\"${~a:-~a}\"" > + var var (string-join rest ":"))) > ((var 'prefix rest) > (format #f "export ~a=3D\"~a${~a:+:}$~a\"" > var (string-join rest ":") var var)) > @@ -1470,6 +1476,8 @@ (define wrap-script > (match-lambda > ((var sep '=3D rest) > `(setenv ,var ,(string-join rest sep))) > + ((var sep ':- rest) > + `(unless (getenv ,var) (setenv ,var ,(string-join rest sep)))) > ((var sep 'prefix rest) > `(let ((current (getenv ,var))) > (setenv ,var (if current > @@ -1484,6 +1492,8 @@ (define wrap-script > ,(string-join rest sep))))) > ((var '=3D rest) > `(setenv ,var ,(string-join rest ":"))) > + ((var ':- rest) > + `(unless (getenv ,var) (setenv ,var ,(string-join rest ":")))) > ((var 'prefix rest) > `(let ((current (getenv ,var))) > (setenv ,var (if current I like it! It's something I've wanted in the past. Perhaps you could submit it as its own thing, referencing this issue in the commit message perhaps. Longer term, we probably work on an upstream true PATH-like solution, but in the meantime this would be useful to have here, and probably useful for other single-entry environment variables. --=20 Thanks, Maxim From unknown Tue Jun 24 17:24:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Feb 2025 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator