Message ID | 3fce33491942c6e738a0975b56635ee8ed8fff2b.1718436440.git.liliana.prikler@gmail.com |
---|---|
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 F3F5D27BBE9; Sat, 15 Jun 2024 08:30:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 8EBD727BBE2 for <patchwork@mira.cbaines.net>; Sat, 15 Jun 2024 08:30:14 +0100 (BST) 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 1sINrR-0005W3-6V; Sat, 15 Jun 2024 03:30:05 -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 <Debian-debbugs@debbugs.gnu.org>) id 1sINrP-0005VP-5w for guix-patches@gnu.org; Sat, 15 Jun 2024 03:30:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sINrO-0002Si-Pc for guix-patches@gnu.org; Sat, 15 Jun 2024 03:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sINrO-0001my-Qt; Sat, 15 Jun 2024 03:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71565] [PATCH] gnu: ibus-minimal: Graft to 1.5.29. Resent-From: Liliana Marie Prikler <liliana.prikler@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Sat, 15 Jun 2024 07:30:02 +0000 Resent-Message-ID: <handler.71565.B.17184365626755@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71565@debbugs.gnu.org Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu Received: via spool by submit@debbugs.gnu.org id=B.17184365626755 (code B ref -1); Sat, 15 Jun 2024 07:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2024 07:29:22 +0000 Received: from localhost ([127.0.0.1]:49838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1sINqj-0001kt-Mx for submit@debbugs.gnu.org; Sat, 15 Jun 2024 03:29:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:59110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <liliana.prikler@gmail.com>) id 1sINqi-0001kk-Dg for submit@debbugs.gnu.org; Sat, 15 Jun 2024 03:29:21 -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 <liliana.prikler@gmail.com>) id 1sINqh-0005Q2-Fu for guix-patches@gnu.org; Sat, 15 Jun 2024 03:29:19 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <liliana.prikler@gmail.com>) id 1sINqf-0002PA-Py for guix-patches@gnu.org; Sat, 15 Jun 2024 03:29:19 -0400 Received: by mail-ed1-x542.google.com with SMTP id 4fb4d7f45d1cf-57a1fe6392eso3751065a12.0 for <guix-patches@gnu.org>; Sat, 15 Jun 2024 00:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718436556; x=1719041356; darn=gnu.org; h=mime-version:to:subject:date:from:message-id:from:to:cc:subject :date:message-id:reply-to; bh=hWCNT64lS8POIRox63/W/BuwJSRRfVnoptMXFFQ0S3E=; b=m5UzQixOCOy+Ot/KrgGXPrw+6RUodqXnoquavGAQhTIliHiMj3ZNVSWrvTr6K5W1zW sC5XR6dQmBno7swzJf2Dm/GtQUGg0xvqM4xT/3dCURUxTIcSPwG1HFIWZcHrDuHEPf8l cDATobbTHN4f7nSCe+wyV9NA4Gz8ibSymbT0kbcrALDzhAdTGsJhhidqY5VVqLHrI7YA YL7ANPxp0EpdICyf61VNmNuiEapjHP6z2ZrmzvffUnYeZHlrUoXvnGEDIFocyrTgXAjR xZF1hh9odquPEWl+DuCHV74z6P4QO/+BNTMkROT3NXdgi9IcSzpXSA8hapTfe5SsUEd1 5LkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718436556; x=1719041356; h=mime-version:to:subject:date:from:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hWCNT64lS8POIRox63/W/BuwJSRRfVnoptMXFFQ0S3E=; b=rjUTbq4sdVKJ0wEo7D6S7MwCgtLc9utQNEjU9t/a+9nd3tgt4TmbH30viIBQUgpLg2 Zoe3wgiYF6pTPZtfnJ7CwhNgYswOEBgTZXVGPC0gWSPzg1m5hczR3B6K7MeqrUdES/zK 1KgV9ij/tkv4aBE1AiPE9AG4MCdalCBGNvnB/So0RRPcDFTeZac3b+9IkLJb05AXcB3/ 6kqxFW9Qgt1UYxRUbrmOILJJz97fdQmh/86TcHCSHdXE/bcZeX2fc95fYkV7vUx2C5dJ ZKp21cefp86TC7QM0vS+RB+yKv+/rEzfR7jgCkFJtRlljc3PjkhSS8IWSv7Xk1ue8pTE W7Lg== X-Gm-Message-State: AOJu0Yx273oXQWk3kdd4c626WU7LMX88HN6iUhikNg+huoAjGl3WUb6a /v/D8mS8Hh1Q+5ETw8lyVHb9MO3EYtWH9lHf9c8VIEKrFZIcNFlT7I+qYX6N X-Google-Smtp-Source: AGHT+IGrqcnoJsyWU+hSbAUkndchF8fn4pcWGtL6uuM2kJXMeze4gFQqN7tAvigmz9DibDEB45GWhA== X-Received: by 2002:a50:8d54:0:b0:57c:5996:cfc7 with SMTP id 4fb4d7f45d1cf-57cbd8f2a16mr3093117a12.30.1718436555279; Sat, 15 Jun 2024 00:29:15 -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 4fb4d7f45d1cf-57cb72da824sm3273397a12.29.2024.06.15.00.29.14 for <guix-patches@gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 00:29:14 -0700 (PDT) Message-ID: <3fce33491942c6e738a0975b56635ee8ed8fff2b.1718436440.git.liliana.prikler@gmail.com> From: Liliana Marie Prikler <liliana.prikler@gmail.com> Date: Sat, 15 Jun 2024 09:18:20 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::542; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x542.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 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, MALFORMED_FREEMAIL=2.686, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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 |
[bug#71565] gnu: ibus-minimal: Graft to 1.5.29.
|
|
Commit Message
Liliana Marie Prikler
June 15, 2024, 7:18 a.m. UTC
This fixes an issue, where IBus was not able to query emoji lists. See also <https://github.com/ibus/ibus/issues/2476>. * gnu/packages/ibus.scm (ibus-minimal/fixed): New variable. (ibus-minimal): Add ibus-minimal/fixed as replacement. --- gnu/packages/ibus.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) base-commit: 7770e4140cddd5dc9c9879cb2bfcbd6cd4de59a0
Comments
Hi Liliana, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > This fixes an issue, where IBus was not able to query emoji lists. > See also <https://github.com/ibus/ibus/issues/2476>. > > * gnu/packages/ibus.scm (ibus-minimal/fixed): New variable. > (ibus-minimal): Add ibus-minimal/fixed as replacement. > --- > gnu/packages/ibus.scm | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm > index c821279bd3..a2775b2f84 100644 > --- a/gnu/packages/ibus.scm > +++ b/gnu/packages/ibus.scm > @@ -81,6 +81,7 @@ (define-module (gnu packages ibus) > (define-public ibus-minimal > (package > (name "ibus") > + (replacement ibus-minimal/fixed) > (version "1.5.27") > (source (origin > (method url-fetch) > @@ -279,6 +280,23 @@ (define-public ibus > (package-native-search-paths ibus-minimal))) > (properties (alist-delete 'hidden? (package-properties ibus-minimal))))) > > +(define-public ibus-minimal/fixed Is it useful to have the package 'public' at al here? I think there are considerations so that the package gets built by the CI, but I'm not sure whether this applies to graft package (I guess it does). Perhaps we should document these gotchas, as I can never remember myself.
Am Montag, dem 17.06.2024 um 15:55 -0400 schrieb Maxim Cournoyer: > Hi Liliana, > > Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > > > This fixes an issue, where IBus was not able to query emoji lists. > > See also <https://github.com/ibus/ibus/issues/2476>. > > > > * gnu/packages/ibus.scm (ibus-minimal/fixed): New variable. > > (ibus-minimal): Add ibus-minimal/fixed as replacement. > > --- > > gnu/packages/ibus.scm | 18 ++++++++++++++++++ > > 1 file changed, 18 insertions(+) > > > > diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm > > index c821279bd3..a2775b2f84 100644 > > --- a/gnu/packages/ibus.scm > > +++ b/gnu/packages/ibus.scm > > @@ -81,6 +81,7 @@ (define-module (gnu packages ibus) > > (define-public ibus-minimal > > (package > > (name "ibus") > > + (replacement ibus-minimal/fixed) > > (version "1.5.27") > > (source (origin > > (method url-fetch) > > @@ -279,6 +280,23 @@ (define-public ibus > > (package-native-search-paths ibus-minimal))) > > (properties (alist-delete 'hidden? (package-properties ibus- > > minimal))))) > > > > +(define-public ibus-minimal/fixed > > Is it useful to have the package 'public' at al here? I think there > are considerations so that the package gets built by the CI, but I'm > not sure whether this applies to graft package (I guess it does). > Perhaps we should document these gotchas, as I can never remember > myself. I might have been cargo-culting the -public part from other definitions. Are grafts typically not exported? Cheers
Hi Liliana, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > Am Montag, dem 17.06.2024 um 15:55 -0400 schrieb Maxim Cournoyer: >> Hi Liliana, >> >> Liliana Marie Prikler <liliana.prikler@gmail.com> writes: >> >> > This fixes an issue, where IBus was not able to query emoji lists. >> > See also <https://github.com/ibus/ibus/issues/2476>. >> > >> > * gnu/packages/ibus.scm (ibus-minimal/fixed): New variable. >> > (ibus-minimal): Add ibus-minimal/fixed as replacement. >> > --- >> > gnu/packages/ibus.scm | 18 ++++++++++++++++++ >> > 1 file changed, 18 insertions(+) >> > >> > diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm >> > index c821279bd3..a2775b2f84 100644 >> > --- a/gnu/packages/ibus.scm >> > +++ b/gnu/packages/ibus.scm >> > @@ -81,6 +81,7 @@ (define-module (gnu packages ibus) >> > (define-public ibus-minimal >> > (package >> > (name "ibus") >> > + (replacement ibus-minimal/fixed) >> > (version "1.5.27") >> > (source (origin >> > (method url-fetch) >> > @@ -279,6 +280,23 @@ (define-public ibus >> > (package-native-search-paths ibus-minimal))) >> > (properties (alist-delete 'hidden? (package-properties ibus- >> > minimal))))) >> > >> > +(define-public ibus-minimal/fixed >> >> Is it useful to have the package 'public' at al here? I think there >> are considerations so that the package gets built by the CI, but I'm >> not sure whether this applies to graft package (I guess it does). >> Perhaps we should document these gotchas, as I can never remember >> myself. > I might have been cargo-culting the -public part from other > definitions. Are grafts typically not exported? Not thinking about CI shenanigans, I think it's more logical that they be private, since we want the users to use the grafted package, not the graft itself (although in the end the result should be the same).
Hi Maxim, Am Sonntag, dem 23.06.2024 um 22:13 -0400 schrieb Maxim Cournoyer: > > […] I might have been cargo-culting the -public part from other > > definitions. Are grafts typically not exported? > > Not thinking about CI shenanigans, I think it's more logical that > they be private, since we want the users to use the grafted package, > not the graft itself (although in the end the result should be the > same). You mean that users end up accidentally discovering and using the wrong ibus through CLI? I don't think that's an issue for ibus-minimal, though, since it's hidden anyway, and I do trust users who write the files to be sensible here. On that note, I think I remember a graft which had to be public to also fix issues in certain dependent packages. (I might have committed that one myself and IIRC, it was meson). Feel free to drop the -public part from the ibus graft though; I had pushed it without resolving this conversation. Cheers
Hi Liliana, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > Hi Maxim, > > Am Sonntag, dem 23.06.2024 um 22:13 -0400 schrieb Maxim Cournoyer: >> > […] I might have been cargo-culting the -public part from other >> > definitions. Are grafts typically not exported? >> >> Not thinking about CI shenanigans, I think it's more logical that >> they be private, since we want the users to use the grafted package, >> not the graft itself (although in the end the result should be the >> same). > > You mean that users end up accidentally discovering and using the wrong > ibus through CLI? I don't think that's an issue for ibus-minimal, > though, since it's hidden anyway, and I do trust users who write the > files to be sensible here. > > On that note, I think I remember a graft which had to be public to also > fix issues in certain dependent packages. (I might have committed that > one myself and IIRC, it was meson). Feel free to drop the -public part > from the ibus graft though; I had pushed it without resolving this > conversation. No big deal, but a reminder that we should add some proper grafting guidelines to our doc.
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index c821279bd3..a2775b2f84 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -81,6 +81,7 @@ (define-module (gnu packages ibus) (define-public ibus-minimal (package (name "ibus") + (replacement ibus-minimal/fixed) (version "1.5.27") (source (origin (method url-fetch) @@ -279,6 +280,23 @@ (define-public ibus (package-native-search-paths ibus-minimal))) (properties (alist-delete 'hidden? (package-properties ibus-minimal))))) +(define-public ibus-minimal/fixed + ;; Fixes <https://github.com/ibus/ibus/issues/2476>. + ;; Ungraft on gnome-team, core-updates or a dedicated ungrafing branch. + (package + (inherit ibus-minimal) + (version "1.5.29") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ibus/ibus/" + "releases/download/" + version "/ibus-" version ".tar.gz")) + (sha256 + (base32 + "0vjybn3xq5sz616fdy21f5c4b4ajrj4wmfnbjqz6584xw887yiaa")))) + (inputs (modify-inputs (package-inputs ibus-minimal) + (prepend libdbusmenu))))) + (define-public ibus-libpinyin (package (name "ibus-libpinyin")