From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AE4JJh24wGNgagEAbAwnHQ (envelope-from ) for ; Fri, 13 Jan 2023 02:47:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2N0AJh24wGMpYgEA9RJhRA (envelope-from ) for ; Fri, 13 Jan 2023 02:47:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C2079B453 for ; Fri, 13 Jan 2023 02:47:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pG99s-0004RJ-Ie; Thu, 12 Jan 2023 20:47: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 ) id 1pG99q-0004Qs-S0 for guix-patches@gnu.org; Thu, 12 Jan 2023 20:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pG99q-0008KB-JZ for guix-patches@gnu.org; Thu, 12 Jan 2023 20:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pG99q-00040T-F4 for guix-patches@gnu.org; Thu, 12 Jan 2023 20:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60767] [PATCH] gnu: Add emacs-liberime. Resent-From: Feng Shu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Jan 2023 01:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60767@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167357439515361 (code B ref -1); Fri, 13 Jan 2023 01:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jan 2023 01:46:35 +0000 Received: from localhost ([127.0.0.1]:48984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG99P-0003zh-2G for submit@debbugs.gnu.org; Thu, 12 Jan 2023 20:46:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:60144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pG99K-0003zX-U9 for submit@debbugs.gnu.org; Thu, 12 Jan 2023 20:46:33 -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 ) id 1pG99K-0004DC-Gh for guix-patches@gnu.org; Thu, 12 Jan 2023 20:46:30 -0500 Received: from m12.mail.163.com ([123.126.96.234]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pG99G-000838-Oc for guix-patches@gnu.org; Thu, 12 Jan 2023 20:46:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=I+OXYeTJoAcBomzeDnB3nrn3OaokjFo3vxASzAeK6Fc=; b=i0zh54NnBI3NW//PGc6ekptcB78IY3OCjkOyDjLo+z7WMLQTPUlrnTyF7RTCVv 9QJb/5db6dZBP1T3WW2JokfuAoNiwHpBdRXWd1f1lFncDSs70tttW+uM5WHZMVo+ svG31lfQ3cHfZbgt4a2DsAHGwQBiMMXuBcxL4zL5umst8= Received: from Tumashu (unknown [218.92.14.78]) by smtp20 (Coremail) with SMTP id H91pCgD3esjlt8BjTw_5AA--.31066S2; Fri, 13 Jan 2023 09:46:13 +0800 (CST) From: Feng Shu Date: Fri, 13 Jan 2023 08:39:04 +0800 Message-ID: <87ilhbcil6.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-CM-TRANSID: H91pCgD3esjlt8BjTw_5AA--.31066S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7WFW3Ww48Xw1fWryfuF48Zwb_yoW8Zw1Dpa 1rKry5Ka15Z3WxJ393CF1xZ34aqw4kCr13Z39xAw4Y9w4UXr4v9ryayFWrAr9rZr4xCayx ua18JrW5GFWrGrJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UPpndUUUUU= X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbBEQX11FaEMWpdlwAAs2 Received-SPF: pass client-ip=123.126.96.234; envelope-from=tumashu@163.com; helo=m12.mail.163.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673574429; a=rsa-sha256; cv=none; b=f2ZnQCJ4jYJwQUoyp8OAe3ZoMRu1QndoqCP5thTGpzM7xOVgYnoJwKwWSfw2p9AFl/t6zp HjuajxPeg9ouL1ddItW6830kPUmYVZ9BeJ4V00JSF9i13qF9/tx6oTCOgqogJjeNXB8Kex q+P9s7chEUGJOR0YKugc++ACyRWnARsAc0jpwKaZGj7gAYNMWeE+9vYvbfR3C0UX+o4RwI CR6z0SHXj7TYv/DrX1hCkSo8WiDFN1f7i1cH0gqNNxLaRBbGh7l47z3mloKeovmRKmIKX3 EGOLzvLSqZdSAC48+r3QSnKfqri6aceGafq0IXvKiTWD0sVpCFOy2FN3Dv4ovg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=i0zh54Nn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673574429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=I+OXYeTJoAcBomzeDnB3nrn3OaokjFo3vxASzAeK6Fc=; b=pxJS+AJK9DmGTNo42DwSWk/7SgRf+IEvWoOsUDDPd5WLI6UbvdA4ohN+1PjEo9zyAwPpc/ v/ed6eTzQroDBX+zPuVIMWShoI1Xeu5Naz2qv688FV3kYV0OMatvC8ZE5NCtd51Ygj/p/4 NYPTHh44LJ2/v6yYp3jnX4deIpFN2fSP/x763P+JJsw4C/At5NcdHJFGoj6ciebe2IZqW1 G0llJ3fiU5oaplSz4G9A5TCOnGhzQQB2wdZaCHOD9Woa7qXJ1qWEZ3Hz2SXvjGPy54MqL3 By+eJS0nb2w6xPI2cFmDsv1BtdnsvNYl7/p0Q13hDij7ziebVw5tNBZGjcBYjA== X-Migadu-Spam-Score: -0.70 X-Spam-Score: -0.70 X-Migadu-Queue-Id: C2079B453 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=i0zh54Nn; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none) X-TUID: dXDgmM4U5Ysk * gnu/packages/emacs-xyz.scm (emacs-liberime): New variable. --- gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index bd8675f63a..9ebbbca366 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31362,6 +31362,46 @@ REPL appropriate to the current major mode.") "Rime is an Emacs input method built upon Rime input method engine.") (license license:gpl3+))) +(define-public emacs-liberime + (let ((commit "70ad2e6e1f0ff74fc8b9b5177b9aba645a18e546") + (revision "0")) + (package + (name "emacs-liberime") + (version (git-version "v0.0.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/merrickluo/liberime") + (commit commit))) + (sha256 + (base32 + "1y9a1khfyz262yarn7rd0hg5vxaz8j80mhad7mh01m6685nfw39b")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (arguments + (list + #:include #~(cons "^src/liberime-core.so$" %default-include) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'delete-files-and-patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (delete-file-recursively "emacs-module") + (emacs-substitute-variables "liberime.el" + ("liberime-module-file" + (string-append #$output "/src/liberime-core.so")) + ("liberime-shared-data-dir" + (search-input-directory inputs "share/rime-data"))))) + (add-before 'install 'build-emacs-module + (lambda _ + (invoke "make")))))) + (inputs (list librime rime-data)) + (home-page "https://github.com/merrickluo/liberime") + (synopsis "Librime Emacs Lisp Binding") + (description + "Liberime is an Emacs dynamic module provide librime bindings.") + (license license:gpl3+)))) + (define-public emacs-bison-mode (package (name "emacs-bison-mode") -- 2.30.2 --