From patchwork Tue Feb 26 04:17:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Famulari X-Patchwork-Id: 1244 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CFAC916C43; Tue, 26 Feb 2019 04:18:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6F6D616C20 for ; Tue, 26 Feb 2019 04:18:13 +0000 (GMT) Received: from localhost ([127.0.0.1]:48212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyUC5-0000Jd-1a for patchwork@mira.cbaines.net; Mon, 25 Feb 2019 23:18:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyUBz-0000IT-1Y for guix-patches@gnu.org; Mon, 25 Feb 2019 23:18:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyUBy-0003m8-1H for guix-patches@gnu.org; Mon, 25 Feb 2019 23:18:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38589) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyUBu-0003kj-A8 for guix-patches@gnu.org; Mon, 25 Feb 2019 23:18:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gyUBu-00021u-3e for guix-patches@gnu.org; Mon, 25 Feb 2019 23:18:02 -0500 Subject: bug#34262: [PATCH]Add: nkf Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 26 Feb 2019 04:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 34262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Yoshinori Arai Mail-Followup-To: 34262@debbugs.gnu.org, leo@famulari.name, kumagusu08@gmail.com Received: via spool by 34262-done@debbugs.gnu.org id=D34262.15511546807788 (code D ref 34262); Tue, 26 Feb 2019 04:18:01 +0000 Received: (at 34262-done) by debbugs.gnu.org; 26 Feb 2019 04:18:00 +0000 Received: from localhost ([127.0.0.1]:52131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyUBr-00021Y-Lw for submit@debbugs.gnu.org; Mon, 25 Feb 2019 23:17:59 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyUBq-00021I-GB for 34262-done@debbugs.gnu.org; Mon, 25 Feb 2019 23:17:59 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 37215204B9; Mon, 25 Feb 2019 23:17:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 25 Feb 2019 23:17:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=NiWhWo68/JJfkaZnZ29eUR9J krNiiVubBp4hgwj01rM=; b=lDtUucAWcV7au5Vx87mbh9gPXeTcP9F7DcaS38Il mtZQn/XNFBT2QUb5UixRfDwogfK5jCywaz66F306MKW9x1QMVGglIEi80XAdG+m2 F9QbQzwTM9zPiFb7GgbI5baOOQl3z/BW0hk8+YfS1OlizLBB+06qe6BEzWtndx+p Rb0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=NiWhWo 68/JJfkaZnZ29eUR9JkrNiiVubBp4hgwj01rM=; b=D8cWLEEiiEkoKwHOYj3XRv y3ckV0sOpAspQv5AT4YFrcAZmij2CBfkA8G+ShBDQzWnakDi5pF2bs3a6iQ9h2VM 9Rpet96+jqtcbMWE4lHlyd96WHjUWKPWqftNDPMxupF6BpMss8l1jujPDGw1JMsU iky4dSEqLokfcX6svVZzQqpotOerRvzgSW5o80xZ/K7J06GA0kPQ4097Pkllaojz dxw57e0vZru8tiayGBkBDOyOqH/M7qPOLr26JmRXikmvljm+fkOyr+gO3VJWLfHG +6kz0hm4DUFjKniFIOT2Hvu3kPZ7VhbQ5ecNWplnj1+FNI/A11iktGDbmmPO//IA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrudekgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujggfsehgtderredtredvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucffohhmrghinh epghhithhhuhgsrdgtohhmpdhoshgunhdrnhgvthenucfkphepjeeirdduvdegrddvtddv rddufeejnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnh grmhgvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 20600E425A; Mon, 25 Feb 2019 23:17:52 -0500 (EST) Date: Mon, 25 Feb 2019 23:17:51 -0500 From: Leo Famulari Message-ID: <20190226041751.GA15689@jasmine.lan> References: <20190131064326.ndndwqf23yirdoup@WaraToNora> <20190131085519.23d47ee2@centurylink.net> <20190201040305.luu56jkwndye2zrv@WaraToNora> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190201040305.luu56jkwndye2zrv@WaraToNora> User-Agent: Mutt/1.11.3 (2019-02-01) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Bavier , 34262-done@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches > From aab08237d2ece4a1f190522d1357b5b9e872ce57 Mon Sep 17 00:00:00 2001 > From: Yoshinori Arai > Date: Fri, 1 Feb 2019 12:55:46 +0900 > Subject: [PATCH] Add nkf > > --- > gnu/packages/textutils.scm | 42 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) Thank you! I made the changes shown below and pushed as 933ac939d6d2de64c43e068e7c0ebfaaaf2dcdd8 diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 2d3a090056..71f03b7568 100644 1 gnu: Add nkf. --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -800,14 +800,16 @@ Mainland China, Taiwan, and Hong-Kong.") (revision "1")) (package (name "nkf") - ;;look at https://ja.osdn.net/projects/nkf/scm/git/nkf/ + ;; The commits corresponding to specific versions are published + ;; here: + ;; https://ja.osdn.net/projects/nkf/scm/git/nkf/ (version "2.1.5") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/nurse/nkf.git") (commit commit))) - (file-name (string-append name version)) + (file-name (git-file-name name version)) (sha256 (base32 "0anw0knr1iy4p9w3d3b3pbwzh1c43p1i2q4c28kw9zviw8kx2rly")))) @@ -815,21 +817,11 @@ Mainland China, Taiwan, and Hong-Kong.") (arguments `(#:tests? #f ; test for perl module #:make-flags (list "CC=gcc" "CFLAGS=-O2 -Wall -pedantic" - (string-append "prefix=" %output)) + (string-append "prefix=" %output) + "MKDIR=mkdir -p") #:phases (modify-phases %standard-phases - (delete 'configure) - ;; mkdir can't create directory - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (man1 (string-append out "/share/man/man1")) - (man1j (string-append out "/share/man/ja/man1"))) - (install-file "nkf" bin) - (install-file "nkf.1" man1) - (install-file "nkf.1j" man1j) - #t)))))) + (delete 'configure)))) ; No ./configure script (home-page "https://ja.osdn.net/projects/nkf/") (synopsis "Network Kanji Filter") (description "Nkf is yet another kanji code converter among networks,