Message ID | df547c9baa43532359da24016b711e5f37d13dd0.1739898237.git.pelzflorian@pelzflorian.de |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 955FE27BBEA; Tue, 18 Feb 2025 17:18:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 34B2427BBE2 for <patchwork@mira.cbaines.net>; Tue, 18 Feb 2025 17:18:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tkRES-0001fj-BW; Tue, 18 Feb 2025 12:18:04 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tkREQ-0001fS-Bm for guix-patches@gnu.org; Tue, 18 Feb 2025 12:18:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tkREP-0007Ld-RQ for guix-patches@gnu.org; Tue, 18 Feb 2025 12:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ZKVy98S4juFG/7pfknAFnSV/hNrZgr0s1GcmDXHNJyI=; b=OaP/Dsq5N09eyaFiG3qRSDOq2Fm2Rz2GQElEPQV4cdxS+9SJ0+MACiZaovr3z+V6QJfKvoCMmA8PwfupOmacVpn8sJT/cHFMPjqqNiPK6PAlUYRaeZpsDl4RrGnj18efSapAFzbe/d8xxKWeTRTTQ9DbYeR3U8abJ4vKYTYk/JJSfKfc6f2qYIlSP1V0LqR4g9Ql1D4A3apsdrjW3wg7Q+CbqKzmwolVfkzRovOiVHJoFVdkLBfuSLttroNvkRimfL4u4yzo2ssj2354ve53IMTInlxLNc000D5n4wuwcuBNAL3X1hl9o+QdRmqQU+URgX6oZDF6lUY+NGOmDbcq4Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tkREP-0000Yu-Lu for guix-patches@gnu.org; Tue, 18 Feb 2025 12:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76246] [PATCH v5 6/6] gnu: g-golf: Redefine as a non-deprecated alias. Resent-From: Florian Pelz <pelzflorian@pelzflorian.de> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Feb 2025 17:18:01 +0000 Resent-Message-ID: <handler.76246.B76246.17398990712084@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76246 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76246@debbugs.gnu.org Cc: Florian Pelz <pelzflorian@pelzflorian.de> Received: via spool by 76246-submit@debbugs.gnu.org id=B76246.17398990712084 (code B ref 76246); Tue, 18 Feb 2025 17:18:01 +0000 Received: (at 76246) by debbugs.gnu.org; 18 Feb 2025 17:17:51 +0000 Received: from localhost ([127.0.0.1]:60370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tkREF-0000XX-7A for submit@debbugs.gnu.org; Tue, 18 Feb 2025 12:17:51 -0500 Received: from relay.yourmailgateway.de ([188.68.63.102]:45811) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <pelzflorian@pelzflorian.de>) id 1tkRED-0000XD-0R for 76246@debbugs.gnu.org; Tue, 18 Feb 2025 12:17:49 -0500 Received: from mors-relay-2502.netcup.net (localhost [127.0.0.1]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4Yy5nS0rktz65tC for <76246@debbugs.gnu.org>; Tue, 18 Feb 2025 18:17:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1739899068; bh=MB6OhT22GX8TrIXCVxm/5B0/mZSSfd8aTC3ePIAHZpQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JI/KyMN80cHnIfPrw/8Go4RpoqRAEOprOghkRasAFfNOhpPo4zT3QgRmrt0Y4azDD aKPj/F47x7abnKlNhh/IQMvOvzqXSLmh1baGRL4kgDxA3KqpgkLTKLDJMscaDOQ1EA tPdX28w4q3mW3Sn68N6MTSR00uYmKLtCKO0GSQM+ZKgZWEYGoXjRGwlRKBDkyKSIvR 2GIXDQtzQMLntCjY1EjZp7w0fGDiqUgyBqkEHHAMbrnDHtYEMI2VHijqrCstO/rFsp W1f7PjJGshh9cr/uV2DcqjxInCeNcLXItaPQANf7AbgrsMsHR5ohqt2SiBIBn9mx4u 0NOumnp5gTkmw== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2502.netcup.net (Postfix) with ESMTPS id 4Yy5nS08TLz4xM7 for <76246@debbugs.gnu.org>; Tue, 18 Feb 2025 18:17:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net 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 4Yy5nQ5TRrz8t4F for <76246@debbugs.gnu.org>; Tue, 18 Feb 2025 18:17:46 +0100 (CET) Received: from florianhp.fritz.box (ipb21a5dbf.dynamic.kabel-deutschland.de [178.26.93.191]) by mxe217.netcup.net (Postfix) with ESMTPSA id 68D9F845C9; Tue, 18 Feb 2025 18:17:41 +0100 (CET) From: Florian Pelz <pelzflorian@pelzflorian.de> Date: Tue, 18 Feb 2025 18:17:28 +0100 Message-ID: <df547c9baa43532359da24016b711e5f37d13dd0.1739898237.git.pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.48.1 In-Reply-To: <cover.1739898237.git.pelzflorian@pelzflorian.de> References: <cover.1739898237.git.pelzflorian@pelzflorian.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 68D9F845C9 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: 7Pa5vb4eVqck0d1NsrEDVbQmz9TIqYJ6x7Rm8kEOJavsjRiONiuNlrX2 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Add G-Golf's GTK-4 examples.
|
|
Commit Message
pelzflorian (Florian Pelz)
Feb. 18, 2025, 5:17 p.m. UTC
As proposed by Maxim Cournoyer <https://lists.gnu.org/archive/html/guix-devel/2025-02/msg00296.html>. * gnu/packages/guile-xyz.scm (g-golf: Redefine. Change-Id: I850e05d46c026d6a27c8765ff3753c1bbe555235 --- gnu/packages/guile-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Comments
Hi Florian, Thanks. If we do decide to do this (I don't think it's a good idea; just keep ‘guile-g-golf’), then add a comment like ;; Use ‘guile-g-golf’ above in package inputs and other code. This alias exists as a compromise, ;; see <https://lists.gnu.org/archive/html/guix-devel/2025-02/msg00296.html>. so later readers can know why we have two identical packages with different package names. Kind regards, T G-R Sent on the go. Excuse or enjoy my brevity.
Hi Tobias, Florian, Tobias Geerinckx-Rice <me@tobias.gr> writes: > Hi Florian, > > Thanks. If we do decide to do this (I don't think it's a good idea; > just keep ‘guile-g-golf’), then add a comment like > > ;; Use ‘guile-g-golf’ above in package inputs and other code. This alias exists as a compromise, > ;; see <https://lists.gnu.org/archive/html/guix-devel/2025-02/msg00296.html>. My 2 cents: prefixing a package with '$lang-' is a (somewhat loose, or at least sparsely documented *guideline*). I think given David is very sensitive about having their package exposed as 'g-golf' on the command line of Guix, it is not a big harm to do what is proposed by Florian above (and I second adding the comment you suggested). We'd loose more to not have 'g-golf' packaged anymore in Guix, which is the only library to do GTK with Guile, IIRC. Guix itself might use it at some point, for a GUI updater say that could make keeping Guix up-to-date easier on desktop systems.
Pushed as db172d1f64a514babc9a2e4fd11fe8fe248e306e. * Added Tobias’ comment on the alias g-golf compromise. I was at first inclined to drop the whole alias patch, since David Pirotte did not respond on it, but the alias is in Guix now. * Changed synopses and descriptions to be closer to what David Pirotte wrote. This means the synopsis no longer says “in Guile”, but surprisingly, it does not negatively affect its search score with “guix search guile gtk”. However, I wrote "G-Golf GTK 4 examples" instead of David’s "G-Golf Gtk-4 Examples". * In g-golf-adw-1-examples, I wrapped GDK_PIXBUF_MODULE_FILE rather than GUIX_GDK_PIXBUF_MODULE_FILES, so it builds on the master branch. The main demo adwaita-1-demo does not work on master yet, libadwaita is too old. I plan to rewrite the wrapping when GUIX_GDK_PIXBUF_MODULE_FILES is on master or rather 宋文武’s GCD [1] is accepted. I would much welcome if G-Golf, AFAIK the only currently maintained and comprehensive library to access GTK and perhaps better Libadwaita in Guile, were put to use in Guix itself, as Maxim writes, but I will not be of help. Regards, Florian [1] https://git.savannah.gnu.org/cgit/guix/guix-consensus-documents.git/plain/004-set-search-paths-without-program-wrappers.md?h=wip-set-search-paths-without-program-wrappers https://lists.gnu.org/archive/html/guix-devel/2025-02/msg00007.html
Hi Florian, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes: > Pushed as db172d1f64a514babc9a2e4fd11fe8fe248e306e. > > * Added Tobias’ comment on the alias g-golf compromise. > I was at first inclined to drop the whole alias patch, > since David Pirotte did not respond on it, but the alias > is in Guix now. > > * Changed synopses and descriptions to be closer to what David Pirotte > wrote. This means the synopsis no longer says “in Guile”, but > surprisingly, it does not negatively affect its search score with > “guix search guile gtk”. However, I wrote "G-Golf GTK 4 examples" > instead of David’s "G-Golf Gtk-4 Examples". > > * In g-golf-adw-1-examples, I wrapped GDK_PIXBUF_MODULE_FILE rather > than GUIX_GDK_PIXBUF_MODULE_FILES, so it builds on the master > branch. The main demo adwaita-1-demo does not work on master yet, > libadwaita is too old. I plan to rewrite the wrapping when > GUIX_GDK_PIXBUF_MODULE_FILES is on master or rather 宋文武’s GCD [1] > is accepted. > > I would much welcome if G-Golf, AFAIK the only currently maintained > and comprehensive library to access GTK and perhaps better Libadwaita > in Guile, were put to use in Guix itself, as Maxim writes, but I will > not be of help. Thanks for your efforts in packaging this library, and for David for having authored it in the first place!
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes: > Thanks for your efforts in packaging this library, and for David for > having authored it in the first place! :) Note that I packaged examples but never packaged the guile-g-golf library, which was done by other fans of G-Golf, namely commit dfe277a5ce60d487fe44840506206fea8507bc69 Author: Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com> Date: Wed Apr 15 07:15:59 2020 +0000 commit 85fcceeea146b2e2e84a063f042893a0c39e9e5f Author: Mike Rosset <mike.rosset@gmail.com> Date: Mon Jul 20 12:06:12 2020 -0700 commit 35c96e65a9ea638d5c544257e1917e320c2beca1 Author: Zhu Zihao <all_but_last@163.com> Date: Thu Feb 3 22:27:40 2022 +0800 Regards, Florian
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index bac21afc4f..0fc6123f1d 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2613,7 +2613,9 @@ (define-public guile-g-golf (license license:lgpl3+))) (define-public g-golf - (deprecated-package "g-golf" guile-g-golf)) + (package + (inherit guile-g-golf) + (name "g-golf"))) (define-public guile2.2-g-golf (package