From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CVXpIZ8OIF/iVQAA0tVLHw (envelope-from ) for ; Tue, 28 Jul 2020 11:40:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SBSaHZ8OIF9lewAA1q6Kng (envelope-from ) for ; Tue, 28 Jul 2020 11:40:15 +0000 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 ECB9794062E for ; Tue, 28 Jul 2020 11:40:14 +0000 (UTC) Received: from localhost ([::1]:46430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0Nxt-0002t4-TO for larch@yhetil.org; Tue, 28 Jul 2020 07:40:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0Nup-0007aY-5A for guix-patches@gnu.org; Tue, 28 Jul 2020 07:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0Nuo-0002Ry-Qo for guix-patches@gnu.org; Tue, 28 Jul 2020 07:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0Nuo-0001hn-Ol for guix-patches@gnu.org; Tue, 28 Jul 2020 07:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42474] [PATCH v3 2/2] gnu: Add hunspell-dict-de. Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jul 2020 11:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42474@debbugs.gnu.org Cc: efraim@flashner.co.il, jonathan.brielmaier@web.de Received: via spool by 42474-submit@debbugs.gnu.org id=B42474.15959362166535 (code B ref 42474); Tue, 28 Jul 2020 11:37:02 +0000 Received: (at 42474) by debbugs.gnu.org; 28 Jul 2020 11:36:56 +0000 Received: from localhost ([127.0.0.1]:57466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0Nue-0001hI-8y for submit@debbugs.gnu.org; Tue, 28 Jul 2020 07:36:56 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:52114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0Nub-0001h9-JM for 42474@debbugs.gnu.org; Tue, 28 Jul 2020 07:36:50 -0400 Received: (qmail 24152 invoked by uid 1009); 28 Jul 2020 13:36:48 +0200 Received: from user-5-173-112-145.play-internet.pl (kuba@kadziolka.net@user-5-173-112-145.play-internet.pl) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25886. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(5.173.112.145):. Processed in 0.060543 secs); 28 Jul 2020 11:36:48 -0000 Received: from user-5-173-112-145.play-internet.pl (HELO localhost.localdomain) (kuba@kadziolka.net@5.173.112.145) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 28 Jul 2020 13:36:48 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Date: Tue, 28 Jul 2020 13:36:44 +0200 Message-Id: <20200728113644.28418-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200724223838.12444-3-jonathan.brielmaier@web.de> References: <20200724223838.12444-3-jonathan.brielmaier@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: ljsV3WugpklW From: Jonathan Brielmaier * gnu/packages/libreoffice.scm (hunspell-dict-de): New variable. --- gnu/packages/libreoffice.scm | 38 +++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index ebe4fd7246..98d81587c5 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -10,7 +10,7 @@ ;;; Copyright © 2017, 2018, 2019 Marius Bakke ;;; Copyright © 2017 Rutger Helling ;;; Copyright © 2018, 2019 Ricardo Wurmus -;;; Copyright © 2018 Jonathan Brielmaier +;;; Copyright © 2018, 2020 Jonathan Brielmaier ;;; Copyright © 2019 Chris Marusich ;;; Copyright © 2020 Marcin Karpezo ;;; @@ -42,6 +42,7 @@ #:use-module (ice-9 match) #:use-module (gnu packages) #:use-module (gnu packages aidc) + #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bison) @@ -971,6 +972,41 @@ library.") (license (list license:gpl2 license:mpl1.1 license:cc-by4.0 license:lgpl2.1 license:asl2.0)))) +(define-public hunspell-dict-de + (package + (name "hunspell-dict-de") + (version "20161207") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.j3e.de/ispell/igerman98/dict/" + "igerman98-" version ".tar.bz2")) + (sha256 (base32 + "1a3055hp2bc4q4nlg3gmg0147p3a1zlfnc65xiv2v9pyql1nya8p")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags '("hunspell/de_DE.dic") + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install ;no install target + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share/hunspell/"))) + (mkdir-p share) + (copy-file "hunspell/de_DE.aff" (string-append share "de_DE.aff")) + (copy-file "hunspell/de_DE.dic" (string-append share "de_DE.dic")))))) + #:tests? #f)) ;no tests + (native-inputs + `(("hunspell" ,hunspell) + ("ispell" ,ispell) + ("perl" ,perl))) + (synopsis "Hunspell dictionary for German (de_DE)") + (description "This package provides a dictionary for the Hunspell +spell-checking library.") + (home-page "https://www.j3e.de/ispell/igerman98/") + (license (list license:gpl2 license:gpl3)))) + (define-public hyphen (package (name "hyphen") -- 2.27.0