From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 13:14:58 2020 Received: (at submit) by debbugs.gnu.org; 6 Jul 2020 17:14:58 +0000 Received: from localhost ([127.0.0.1]:34790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsUhl-0003tW-Oj for submit@debbugs.gnu.org; Mon, 06 Jul 2020 13:14:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:51162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsLjD-0004AF-3L for submit@debbugs.gnu.org; Mon, 06 Jul 2020 03:39:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsLjC-0004w0-Ry for guix-patches@gnu.org; Mon, 06 Jul 2020 03:39:50 -0400 Received: from a0.mail.mailgun.net ([198.61.254.59]:57357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsLjA-0006Tk-MV for guix-patches@gnu.org; Mon, 06 Jul 2020 03:39:50 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=pengmeiyu.com; q=dns/txt; s=pic; t=1594021187; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: Date: Subject: Cc: To: From: Sender; bh=oCQDnZ0vQ6wiUojNeqPJqXJCp1SndAU8mSndvB1QOgc=; b=ZuqwYQbab1dPKG01D5R54QlYfX9R0gu0CPfD90ZFMWLLKppiKemYsQFM8mgw5oB7VQZ579cN Y7J1Qus0QdUBQQJoQpsvGHSue7Ku2MWWBdPnTyS4ZmdNrlqnntKRw1mx3GDY/9CoGdsTmZEB k9kxSuwR19OS3MQftp+aF+gniVfyU+DrCXJfyD6e3GUoSlwIUyrgZoo+kwknW4laDuVcJMDs GXDPFtFBaSLFHIYoy8UdNYx1anptyBMG8xkxEUiG1s9a6oUB0PLaWT2BBySOWcx2gyaJZXYn LFMbuIntK2IwFEn92aYIkM7bItBwx4jKkdatdK5dQzGmPBQnWB/HNQ== X-Mailgun-Sending-Ip: 198.61.254.59 X-Mailgun-Sid: WyJiMDU3ZiIsICJndWl4LXBhdGNoZXNAZ251Lm9yZyIsICI0MWI2YTMiXQ== Received: from localhost ( [113.118.149.137]) by smtp-out-n03.prod.us-west-2.postgun.com with SMTP id 5f02d541fe1db4db897ac181 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 06 Jul 2020 07:39:45 GMT Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 55c849ad; Mon, 6 Jul 2020 07:39:35 +0000 (UTC) From: Peng Mei Yu To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-rime. Date: Mon, 6 Jul 2020 15:38:42 +0800 Message-Id: <20200706073842.656-1-i@pengmeiyu.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.61.254.59; envelope-from=bounce+3bbbca.41b6a3-guix-patches=gnu.org@pengmeiyu.com; helo=a0.mail.mailgun.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/06 03:39:46 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 06 Jul 2020 13:14:56 -0400 Cc: Peng Mei Yu 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 (--) * gnu/packages/emacs-xyz.scm (emacs-rime): New variable. --- gnu/packages/emacs-xyz.scm | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a67fe06610..76c9056603 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -77,6 +77,7 @@ ;;; Copyright © 2020 Ryan Desfosses ;;; Copyright © 2020 Eric Bavier ;;; Copyright © 2020 Morgan Smith +;;; Copyright © 2020 Peng Mei Yu ;;; ;;; This file is part of GNU Guix. ;;; @@ -122,6 +123,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) #:use-module (gnu packages haskell-apps) + #:use-module (gnu packages ibus) #:use-module (gnu packages ncurses) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -23526,3 +23528,50 @@ easily. Four pre-set options are: @samp{shell}, @samp{terminal}, @samp{ansi-term}, and @samp{eshell}. You can also set your custom shell if you use some other configuration.") (license license:gpl3+)))) + +(define-public emacs-rime + (package + (name "emacs-rime") + (version "1.0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DogLooksGood/emacs-rime.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08rzkiqwcl8j3i2yyibll5lcsj8720plzm9zfdgmxgkw7vhcyix5")))) + (build-system emacs-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-rime-data-path + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "rime.el") + (emacs-substitute-variables "rime.el" + ("rime-share-data-dir" + (string-append (assoc-ref inputs "rime-data") + "/share/rime-data"))) + #t)) + (add-before 'install 'build-emacs-module + (lambda _ + (invoke "make" "lib"))) + (add-after 'install 'install-emacs-module + (lambda* (#:key outputs #:allow-other-keys) + (install-file "librime-emacs.so" + (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp")) + #t))))) + (inputs + `(("librime" ,librime) + ("rime-data" ,rime-data))) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-popup" ,emacs-popup) + ("emacs-posframe" ,emacs-posframe))) + (home-page "https://github.com/DogLooksGood/emacs-rime") + (synopsis "Rime input method in Emacs") + (description "@dfn{emacs-rime} is an Emacs internal input method built +upon Rime input method engine.") + (license license:gpl3))) -- 2.27.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 07 08:20:14 2020 Received: (at submit) by debbugs.gnu.org; 7 Jul 2020 12:20:14 +0000 Received: from localhost ([127.0.0.1]:35658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsma6-0003TN-CR for submit@debbugs.gnu.org; Tue, 07 Jul 2020 08:20:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:34358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsma4-0003TG-TH for submit@debbugs.gnu.org; Tue, 07 Jul 2020 08:20:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsma4-0002Zw-OA for guix-patches@gnu.org; Tue, 07 Jul 2020 08:20:12 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsma2-0007Dh-GA for guix-patches@gnu.org; Tue, 07 Jul 2020 08:20:12 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 9D98560014; Tue, 7 Jul 2020 12:20:06 +0000 (UTC) From: Nicolas Goaziou To: Peng Mei Yu via Guix-patches via Subject: Re: [bug#42230] [PATCH] gnu: Add emacs-rime. References: <20200706073842.656-1-i@pengmeiyu.com> Date: Tue, 07 Jul 2020 14:20:05 +0200 In-Reply-To: <20200706073842.656-1-i@pengmeiyu.com> (Peng Mei Yu via Guix-patches via's message of "Mon, 6 Jul 2020 15:38:42 +0800") Message-ID: <87lfjv7c0a.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@nicolasgoaziou.fr; helo=relay3-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/07 08:20:07 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Peng Mei Yu , 42230-done@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.6 (--) Hello, Peng Mei Yu via Guix-patches via writes: > * gnu/packages/emacs-xyz.scm (emacs-rime): New variable. Thank you. I changed the licence to gpl3+, slightly reworded the description (the library itself is named "Rime", not "Emacs Rime"), and moved the package out of the end of the emacs-xyz.scm file, since this location is more likely to introduce merge conflicts. Eventually, I applied the patch. Regards, -- Nicolas Goaziou From unknown Sat Jun 21 03:24:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Aug 2020 11:24:04 +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