From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCvi1-00048R-PM for guix-patches@gnu.org; Thu, 09 Nov 2017 17:54:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCvhy-0004dj-NG for guix-patches@gnu.org; Thu, 09 Nov 2017 17:54:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCvhy-0004de-HQ for guix-patches@gnu.org; Thu, 09 Nov 2017 17:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCvhy-0000QT-AZ for guix-patches@gnu.org; Thu, 09 Nov 2017 17:54:02 -0500 Subject: [bug#29079] [PATCH] gnu: Add hunspell-en-US. Resent-Message-ID: From: Kei Kebreau References: <20171031144750.14587-1-kkebreau@posteo.net> <87shdsmobm.fsf@gnu.org> <87y3nivjjq.fsf@posteo.net> <877ev2cvnm.fsf@gnu.org> Date: Thu, 09 Nov 2017 17:53:24 -0500 In-Reply-To: <877ev2cvnm.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 07 Nov 2017 09:58:37 +0100") Message-ID: <87o9obysgr.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29079@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Kei, > > Kei Kebreau skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> Hi Kei, >>> >>> Kei Kebreau skribis: >>> >>>> * gnu/packages/dictionaries.scm (hunspell-en-US): New variable. >>> >>> On the same day I added this one and a couple of other dictionaries: >>> >>> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D085bcca313c38= 27f7c56e7c345d4606588db9085 >>> >>> The package I committed builds the Hunspell list =E2=80=9Cfrom source= =E2=80=9D. >>> >>> Let me know whether we should adjust things and what you think of it. >>> >>> Thanks! >>> >>> Ludo=E2=80=99. >> >> I definitely like the generality and flexibility of this patch >> better. To get the dictionary to work in LibreOffice I had to install >> the .dic file as well [0], but once I did that everything seemed to work >> as expected. >> >> [0]: >> (mkdir-p myspell) >> + (install-file ,(string-append "speller/" language ".dic") >> + hunspell) >> (install-file ,(string-append "speller/" language ".aff") >> hunspell) > > Nice (I thought Hunspell used exclusively the .aff files.) > OK for this patch! > > The hunspell-dict-fr* packages include both .aff and .dic, so that > should be fine. > > Thanks, > Ludo=E2=80=99. Is this log message okay? I'm not sure how we handle changes to package template functions. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-gnu-Fix-hunspell-dict-en-dictionary-installation.patch Content-Transfer-Encoding: quoted-printable From=20c143bad02ebcb7d94ad6e2582b6831c5d107e2a8 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Thu, 9 Nov 2017 17:49:02 -0500 Subject: [PATCH] gnu: Fix hunspell-dict-en-* dictionary installation. * gnu/packages/aspell.scm (aspell-word-list)[arguments]: Install the .dic f= ile for all hunspell dictionaries. =2D-- gnu/packages/aspell.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 3eeeee64f..86e059834 100644 =2D-- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -270,6 +270,8 @@ dictionaries, including personal ones.") (doc (string-append out "/share/doc/" ,name))) (mkdir-p myspell) + (install-file ,(string-append "speller/" language ".dic") + hunspell) (install-file ,(string-append "speller/" language ".aff") hunspell) (symlink hunspell (string-append myspell "/dicts")) =2D-=20 2.14.3 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAloE3GQACgkQ5qXuPBlG eg324A//QRDzb2HXlCh68DrN+M7hbC76DsIypdokRASrTsIaO/D4sE5TGJOIsBNu kRVm6DlBKxxFdyMKu0t2OvP4AwYQXYUU3wG2awQPV1gQTgYwQBNHpQ0T1VI1DVpW TS2Vah1McF7a21ipVtUeCsChydI+wzYVmffLcCsygW4NOVD6rfCepKniyk2OJ5CC ZlcBp2GD7mNOIXylEkgsJJCNY0DRcLElrjhkMR4AAUEkzXRrcBiiKcVfXVxDBxnv NcmfQgsN/Wq3bGtE7fcOkFt7Fxm6Y4Lqe3NmaBxRkUygRNUMV+yd7G0dFjc5wLKC 5+DXNYQ2TTIusEmCVMWCqwGnqh9TfwDBIJBFLVfl9RUCnVkkDf/8XvNmHx2UKV9T 3lAq58P+2gaC1QzastNyORrCgmXypJMd55U5gFvYl6AIYQ9vlog22TzInDAXt5zA vBhJVDpf0EEB92o7N4FSYlo9EMEj+56wpS++9UMRhrXXyRBvNzThfAxqReYSbbeN K+y94rFPqem6JNCZ186cBw2c0yEL+A1on7tKRKmwerG999Wxxor7vMiGbaOMMJNv AaO0mtXxIgPVyKdbkJ0XvYGKykNwtl3WYX6dGKiD1rzijLSbXEcXVMizFPqPtNHq /dSNurv5WCyTNexviNFngCGsnlFRE5dvQILjWIeBsRU3m9FH+HA= =G82N -----END PGP SIGNATURE----- --==-=-=--