From unknown Fri Aug 15 15:26:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41550 <41550@debbugs.gnu.org> To: bug#41550 <41550@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add Polish hunspell dictionary. Reply-To: bug#41550 <41550@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:26:40 +0000 retitle 41550 [PATCH] gnu: Add Polish hunspell dictionary. reassign 41550 guix-patches submitter 41550 Marcin Karpezo severity 41550 normal tag 41550 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 26 19:36:12 2020 Received: (at submit) by debbugs.gnu.org; 26 May 2020 23:36:12 +0000 Received: from localhost ([127.0.0.1]:47408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdj7A-0000TI-CJ for submit@debbugs.gnu.org; Tue, 26 May 2020 19:36:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:54098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdj78-0000TA-1d for submit@debbugs.gnu.org; Tue, 26 May 2020 19:36:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdj77-0002iu-Qz for guix-patches@gnu.org; Tue, 26 May 2020 19:36:05 -0400 Received: from mail.freearts.agency ([51.68.137.137]:43228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdj73-0001nm-1u for guix-patches@gnu.org; Tue, 26 May 2020 19:36:05 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 449BA40F75; Wed, 27 May 2020 01:35:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wioo.waw.pl; s=dkim; t=1590536135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+DXbFPLapk0GzFid9M29nXamURF5oYhmXG26DByLoKA=; b=VGm5ETOH5tpO5W8bpdNY5Oc1JDYmOUcu8Y8BGXO9chczYOShEcQax0cN42F0j++W1eKmp7 Y+1Ws3j7xiUvozfHy084J32uNMwaPhySZ7BB61Z5jLJdp/x9SKHLx6pjU8fSLA8DC66hQ4 2TAC63x3gQKawPKHRMcep8fDy6KHMuZ9c15EQPWnKrZ2d8zVCrJqr8bbOU4fS2A9YzHSiB qrv63qYEpMUHBLJy68vG3GoEhJ+i8gZyChqq9nhZZfBLyfMVvPQxr3tPJbwHbFhaCplKgo zhEIHJvdtYgr3s4jFYcZe8v1LYv0ep/S2pYpyCP5liN+GplTtG220WWYRe4mIQ== From: Marcin Karpezo To: guix-patches@gnu.org Subject: [PATCH] gnu: Add Polish hunspell dictionary. Date: Wed, 27 May 2020 01:35:03 +0200 Message-Id: <20200526233502.4557-1-sirmacik@wioo.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Received-SPF: pass client-ip=51.68.137.137; envelope-from=sirmacik@wioo.waw.pl; helo=mail.freearts.agency X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/26 19:35:45 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 Cc: Marcin Karpezo 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/libreoffice.scm (hunspell-dict-pl): New variable. --- gnu/packages/libreoffice.scm | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index a3a6ea5d1a..6c1ce2a0f9 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Jonathan Brielmaier ;;; Copyright © 2019 Chris Marusich +;;; Copyright © 2020 Marcin Karpezo ;;; ;;; This file is part of GNU Guix. ;;; @@ -920,6 +921,52 @@ library.") "toutesvariantes" (synopsis "Hunspell dictionary for all variants of French")) +(define-public hunspell-dict-pl + (package + (name "hunspell-dict-pl") + (version "20200526") + (source + (origin + (method url-fetch) + (uri (string-append "https://sjp.pl/slownik/ort/sjp-myspell-pl-" + version ".zip")) + (sha256 (base32 + "1v8fc9ka18hs5vl7d515kgd0r4lcxl3pyk5075c5pg8ix9krzs4j")))) + + (build-system trivial-build-system) + (native-inputs `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils) + (srfi srfi-26)) + + (let* ((out (assoc-ref %outputs "out")) + (hunspell (string-append out "/share/hunspell")) + (myspell (string-append out "/share/myspell")) + (doc (string-append out "/share/doc/" + ,name)) + (unzip (string-append (assoc-ref %build-inputs "unzip") + "/bin/unzip"))) + (invoke unzip "-j" "-o" (assoc-ref %build-inputs "source")) + (invoke unzip "-j" "-o" "pl_PL.zip") + (for-each (cut install-file <> hunspell) + (find-files "." + ,(string-append "pl_PL" + "\\.(dic|aff)$"))) + (mkdir-p myspell) + (symlink hunspell (string-append myspell "/dicts")) + (for-each (cut install-file <> doc) + (find-files "." "\\.(txt|org|md)$")) + #t)))) + (synopsis "Hunspell dictionary for Polish") + (description + "This package provides a dictionary for the Hunspell spell-checking +library.") + (home-page "https://qsjp.pl/slownik/ort/") + (license + (list license:gpl2 license:mpl1.1 license:cc-by4.0 license:lgpl2.1 license:asl2.0)))) + (define-public hyphen (package (name "hyphen") -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Tue May 26 19:44:43 2020 Received: (at 41550) by debbugs.gnu.org; 26 May 2020 23:44:43 +0000 Received: from localhost ([127.0.0.1]:47419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdjFH-0000fT-SZ for submit@debbugs.gnu.org; Tue, 26 May 2020 19:44:43 -0400 Received: from mail.freearts.agency ([51.68.137.137]:42374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdjFF-0000fJ-EX for 41550@debbugs.gnu.org; Tue, 26 May 2020 19:44:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E54D740FCB; Wed, 27 May 2020 01:44:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wioo.waw.pl; s=dkim; t=1590536666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iwXBPrM8ooyNn80haBftJ7AVp6KIgGLcKdUe7ygWikY=; b=hCDAkWuebRLVk0jUreXnIdC7vc2Z6AD/DX10/qLNp2QaOSnChhgxH6bwfgJVkkbu1Fvn8Z R+mDo7niOV8Kcl9sJmvuk30Tb9W+9mvlRuSOr3Fd9m0FU0m2/eTtMUyDH64Zs7t/SrzNZw C4uw7/r+PFLakdmYb5mU9J8giQxrrNUvU1YnDaUfc2RTOTso8qnv4GDIXMmVwouvIwfvOy zYHeba9wX6KIx0+aOQ19qcoo8udRHMeym5UNMzXhQM9okMzCjUaHaIS4Lr4KH5dyuM1nQm ZdW5YQEWZvsUztLzGO+IDnhhNV6GCzlXEnR/EulrXz5i7PByPZIFfj4frbmqIQ== From: Marcin Karpezo To: 41550@debbugs.gnu.org Subject: [PATCH v2] gnu: Add Polish hunspell dictionary. Date: Wed, 27 May 2020 01:44:23 +0200 Message-Id: <20200526234423.5568-1-sirmacik@wioo.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41550 Cc: Marcin Karpezo 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: -1.0 (-) * gnu/packages/libreoffice.scm (hunspell-dict-pl): New variable. --- gnu/packages/libreoffice.scm | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index a3a6ea5d1a..0f824bd29e 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Jonathan Brielmaier ;;; Copyright © 2019 Chris Marusich +;;; Copyright © 2020 Marcin Karpezo ;;; ;;; This file is part of GNU Guix. ;;; @@ -920,6 +921,52 @@ library.") "toutesvariantes" (synopsis "Hunspell dictionary for all variants of French")) +(define-public hunspell-dict-pl + (package + (name "hunspell-dict-pl") + (version "20200526") + (source + (origin + (method url-fetch) + (uri (string-append "https://sjp.pl/slownik/ort/sjp-myspell-pl-" + version ".zip")) + (sha256 (base32 + "1v8fc9ka18hs5vl7d515kgd0r4lcxl3pyk5075c5pg8ix9krzs4j")))) + + (build-system trivial-build-system) + (native-inputs `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils) + (srfi srfi-26)) + + (let* ((out (assoc-ref %outputs "out")) + (hunspell (string-append out "/share/hunspell")) + (myspell (string-append out "/share/myspell")) + (doc (string-append out "/share/doc/" + ,name)) + (unzip (string-append (assoc-ref %build-inputs "unzip") + "/bin/unzip"))) + (invoke unzip "-j" "-o" (assoc-ref %build-inputs "source")) + (invoke unzip "-j" "-o" "pl_PL.zip") + (for-each (cut install-file <> hunspell) + (find-files "." + ,(string-append "pl_PL" + "\\.(dic|aff)$"))) + (mkdir-p myspell) + (symlink hunspell (string-append myspell "/dicts")) + (for-each (cut install-file <> doc) + (find-files "." "\\.(txt|org|md)$")) + #t)))) + (synopsis "Hunspell dictionary for Polish") + (description + "This package provides a dictionary for the Hunspell spell-checking +library.") + (home-page "https://qsjp.pl/slownik/ort/") + (license + (list license:gpl2 license:mpl1.1 license:cc-by4.0 license:lgpl2.1 license:asl2.0)))) + (define-public hyphen (package (name "hyphen") -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Tue May 26 19:50:33 2020 Received: (at 41550) by debbugs.gnu.org; 26 May 2020 23:50:33 +0000 Received: from localhost ([127.0.0.1]:47424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdjL6-0000oa-VQ for submit@debbugs.gnu.org; Tue, 26 May 2020 19:50:33 -0400 Received: from mail.freearts.agency ([51.68.137.137]:43486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdjL5-0000oP-BB for 41550@debbugs.gnu.org; Tue, 26 May 2020 19:50:32 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 646E040FCA; Wed, 27 May 2020 01:50:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wioo.waw.pl; s=dkim; t=1590537028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cObHtO/FsBpbL/GsUkbeA2APNferMfpFSsB5z8I/zFs=; b=mgwKyhhHzwPD+gztw8v0QyAUdPMxwP8UZcaO/MY7KyPhWWwehCEaeWhDL08o9z7OhHl86F iD2KKbVYQgnnz8QiJ1AM9kXCDo6LGHSKCWmSSw+ChKCerhj03nzunz4pM6h7WiXCklkId9 M3eQjlTfWrjGnD0IF3d8O2qOf1Z/ZjPNYsWkXRs+3NkqbheOaGtB44T71yDbCWz04bHLtp OWKuzEgBXGKLoLCF2Tk0Ny4yf8sndBmnC9iFS4kWVW7L+/d2in2TmWAseNcWxhC4LZoaFG YUabHfh/1DdmxxGywW8a7Hg0+1iJ6KObXT8Ug/GLgfdZbGg/G8z9J2NU5Rjklw== From: Marcin Karpezo To: 41550@debbugs.gnu.org Subject: [PATCH v3] gnu: Add Polish hunspell dictionary. Date: Wed, 27 May 2020 01:50:20 +0200 Message-Id: <20200526235019.5971-1-sirmacik@wioo.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41550 Cc: Marcin Karpezo 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: -1.0 (-) * gnu/packages/libreoffice.scm (hunspell-dict-pl): New variable. --- Fixing another typo, sorry for that. Will pay more attention next time. gnu/packages/libreoffice.scm | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index a3a6ea5d1a..995ab410ea 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Jonathan Brielmaier ;;; Copyright © 2019 Chris Marusich +;;; Copyright © 2020 Marcin Karpezo ;;; ;;; This file is part of GNU Guix. ;;; @@ -920,6 +921,52 @@ library.") "toutesvariantes" (synopsis "Hunspell dictionary for all variants of French")) +(define-public hunspell-dict-pl + (package + (name "hunspell-dict-pl") + (version "20200526") + (source + (origin + (method url-fetch) + (uri (string-append "https://sjp.pl/slownik/ort/sjp-myspell-pl-" + version ".zip")) + (sha256 (base32 + "1v8fc9ka18hs5vl7d515kgd0r4lcxl3pyk5075c5pg8ix9krzs4j")))) + + (build-system trivial-build-system) + (native-inputs `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils) + (srfi srfi-26)) + + (let* ((out (assoc-ref %outputs "out")) + (hunspell (string-append out "/share/hunspell")) + (myspell (string-append out "/share/myspell")) + (doc (string-append out "/share/doc/" + ,name)) + (unzip (string-append (assoc-ref %build-inputs "unzip") + "/bin/unzip"))) + (invoke unzip "-j" "-o" (assoc-ref %build-inputs "source")) + (invoke unzip "-j" "-o" "pl_PL.zip") + (for-each (cut install-file <> hunspell) + (find-files "." + ,(string-append "pl_PL" + "\\.(dic|aff)$"))) + (mkdir-p myspell) + (symlink hunspell (string-append myspell "/dicts")) + (for-each (cut install-file <> doc) + (find-files "." "\\.(txt|org|md)$")) + #t)))) + (synopsis "Hunspell dictionary for Polish") + (description + "This package provides a dictionary for the Hunspell spell-checking +library.") + (home-page "https://sjp.pl/slownik/ort/") + (license + (list license:gpl2 license:mpl1.1 license:cc-by4.0 license:lgpl2.1 license:asl2.0)))) + (define-public hyphen (package (name "hyphen") -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 12:07:30 2020 Received: (at 41550) by debbugs.gnu.org; 29 May 2020 16:07:30 +0000 Received: from localhost ([127.0.0.1]:55898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jehXd-0001NH-OA for submit@debbugs.gnu.org; Fri, 29 May 2020 12:07:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jehXc-0001N2-BJ for 41550@debbugs.gnu.org; Fri, 29 May 2020 12:07:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41727) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jehXV-0000AZ-Fi; Fri, 29 May 2020 12:07:21 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44456 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jehXU-0006ao-7L; Fri, 29 May 2020 12:07:21 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marcin Karpezo Subject: Re: [bug#41550] [PATCH v3] gnu: Add Polish hunspell dictionary. References: <20200526233502.4557-1-sirmacik@wioo.waw.pl> <20200526235019.5971-1-sirmacik@wioo.waw.pl> Date: Fri, 29 May 2020 18:07:12 +0200 In-Reply-To: <20200526235019.5971-1-sirmacik@wioo.waw.pl> (Marcin Karpezo's message of "Wed, 27 May 2020 01:50:20 +0200") Message-ID: <87h7vy209b.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41550 Cc: 41550@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: -3.3 (---) Hello! Marcin Karpezo skribis: > * gnu/packages/libreoffice.scm (hunspell-dict-pl): New variable. Looks like the URL is incorrect: gnu/packages/libreoffice.scm:929:5: hunspell-dict-pl@20200526: all the so= urce URIs are unreachable: gnu/packages/libreoffice.scm:929:5: hunspell-dict-pl@20200526: URI https:= //sjp.pl/slownik/ort/sjp-myspell-pl-20200526.zip not reachable: 404 ("Not F= ound") Could you take a look? Thanks in advance! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 12:13:36 2020 Received: (at 41550) by debbugs.gnu.org; 29 May 2020 16:13:36 +0000 Received: from localhost ([127.0.0.1]:55920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jehdY-0001YG-7M for submit@debbugs.gnu.org; Fri, 29 May 2020 12:13:36 -0400 Received: from mail.freearts.agency ([51.68.137.137]:53130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jehdV-0001Y3-HF for 41550@debbugs.gnu.org; Fri, 29 May 2020 12:13:34 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BE19440FA1; Fri, 29 May 2020 18:13:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wioo.waw.pl; s=dkim; t=1590768808; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f/s/Ng9G6iEYvLooII1767YQgWHO+k3VEdSsbxADxSU=; b=sVYD1JEV3tw0H/Osrf4bY1YaTE3emTLOKUvZKo6hpLmjEp8trc8Oo+enpGQq4YQlXAnycg FSwsR/8hVl8IInDFw5h9e6vCAb/udVf9Oi9EHMH0HJOc/zxImrAs4MLYHj9XvMqFQWVseY 0N2Ywv5G6keJyYKbqD3ZEmkbHEiaZyup+etJ31inHt6qZuxETj/qrOu1RL8LwllCv4QdCZ i8+s407g57NKJDSC65s8eFfyUDcYZbErL135verFT68peT1O5vynDg7ThsYZzBF9NpKH1a VPDUHKGMmoPjORI6mjUs+HVUcBwBZvj6QKnxUkNkr1BnnKFIAFThktGf/Iqg1w== From: sirmacik To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#41550] [PATCH v3] gnu: Add Polish hunspell dictionary. References: <20200526233502.4557-1-sirmacik@wioo.waw.pl> <20200526235019.5971-1-sirmacik@wioo.waw.pl> <87h7vy209b.fsf@gnu.org> X-PGP-Key: https://sirmacik.net/dl/sirmacik_wioo.asc Date: Fri, 29 May 2020 18:13:24 +0200 In-Reply-To: <87h7vy209b.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 29 May 2020 18:07:12 +0200") Message-ID: <878shaiusb.fsf@wioo.waw.pl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41550 Cc: 41550@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: -1.0 (-) Ludovic Court=C3=A8s writes: > Hello! > > Marcin Karpezo skribis: > >> * gnu/packages/libreoffice.scm (hunspell-dict-pl): New variable. > > Looks like the URL is incorrect: > > gnu/packages/libreoffice.scm:929:5: hunspell-dict-pl@20200526: all > the source URIs are unreachable: > gnu/packages/libreoffice.scm:929:5: hunspell-dict-pl@20200526: URI > https://sjp.pl/slownik/ort/sjp-myspell-pl-20200526.zip not reachable: > 404 ("Not Found") > > Could you take a look? That'd explain why archlinux is mirroring source for each release. Looks like they're hosting only last release (which happens daily). Do we in Guix have such capabilities or a way to mitigate that? --=20 sirmacik PGP: 0xE0DC81D523891771 From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 12:53:56 2020 Received: (at 41550) by debbugs.gnu.org; 29 May 2020 16:53:56 +0000 Received: from localhost ([127.0.0.1]:56012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeiGa-0004n7-Eb for submit@debbugs.gnu.org; Fri, 29 May 2020 12:53:56 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:44287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeiGY-0004mo-3j for 41550@debbugs.gnu.org; Fri, 29 May 2020 12:53:54 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 25EABD52; Fri, 29 May 2020 12:53:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 29 May 2020 12:53:48 -0400 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=Cw742JE1hAky8uF0LUPqhSWb FV2DKDsKjwrbx6hxSJ0=; b=1jp/eaug9GH7+yBcXMEqU5ymRbuuIHF153cqQ0hc E/ljuljzrVbX66nQjsqAZ0lzPXHSk0hqzGhVlBolxGtoxzwWWs1Knwko7LyCJLaa FwlxWv148GNqbF7MeF/bMWnSN4dMb+/0VaVeSxBhCosCM25dMZSLgOCcAqft9FR/ 9Tg= 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=Cw742J E1hAky8uF0LUPqhSWbFV2DKDsKjwrbx6hxSJ0=; b=D+PuDhSzfduPHuBonOMOCd c+ZcOZqQc6vUa8fHXvS7gJ5vvkSTImXE8fXA6RP3e3wIXBFtxO4d8af9XqTM35MG KSCWTk77mBzkGDP3H1KQdE2hJhfjlTVF3zBi7uHcExFFcukuW6XAKLlH+m4h1jtJ dcjgOIh7mQJxgPcCOw8DsrBSObXV+mW/gcA7fB0UGTVl4yqod4+0rSJQ1gM2ofyY +k/iEF/7tMqPHJ6fyCKKqhF+ConClxxYk724p7KmLR1db/j34K6J6f3zAYTvIVDN gkbZmu+STir3u1y31Fk2lO8k3G30MaqQ709WOuVSST0l4c8ZfCrF3tzGp5m1kdzA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvkedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepjeeirdduvdegrddufeekrdeifeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id D72A03061CB6; Fri, 29 May 2020 12:53:46 -0400 (EDT) Date: Fri, 29 May 2020 12:53:44 -0400 From: Leo Famulari To: sirmacik Subject: Re: [bug#41550] [PATCH v3] gnu: Add Polish hunspell dictionary. Message-ID: <20200529165344.GA27027@jasmine.lan> References: <20200526233502.4557-1-sirmacik@wioo.waw.pl> <20200526235019.5971-1-sirmacik@wioo.waw.pl> <87h7vy209b.fsf@gnu.org> <878shaiusb.fsf@wioo.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878shaiusb.fsf@wioo.waw.pl> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41550 Cc: Ludovic =?iso-8859-1?Q?Court=E8s?= , 41550@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: -1.7 (-) On Fri, May 29, 2020 at 06:13:24PM +0200, sirmacik wrote: > That'd explain why archlinux is mirroring source for each release. Looks > like they're hosting only last release (which happens daily). Do we in > Guix have such capabilities or a way to mitigate that? We could download it from Arch or another distro that mirrors things. From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 13:31:57 2020 Received: (at 41550) by debbugs.gnu.org; 29 May 2020 17:31:57 +0000 Received: from localhost ([127.0.0.1]:56146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeirM-0001gC-NF for submit@debbugs.gnu.org; Fri, 29 May 2020 13:31:57 -0400 Received: from mail.freearts.agency ([51.68.137.137]:38484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeirK-0001g2-1m for 41550@debbugs.gnu.org; Fri, 29 May 2020 13:31:55 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 4732340F93; Fri, 29 May 2020 19:31:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wioo.waw.pl; s=dkim; t=1590773500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CpWPjXqjIoJ1rXA7p+aACR/Q0dPM2QIcSRnnuG2JgZ0=; b=C8o3hLVW4Ukg92H9RPalconNatqyJpZOfeXc7KjRoJHuNVcqKzF1hnOnFqZLFftGkbYNbq lukvuIIhNhb5jGcXOqPO6OkzX3ghvl48RK6Jpwh4sxwTJb4csBkdAULaQ1h+KIVdG8vh8d yZkE94PuNtqkLG7T0Ha3lFI9IkbSMyoPawqqI9zvCqqjnCQ62NvplJMvdxv/pQVWdXak0+ 89iLaWcOPqWl7hWlo09DzO69xN3qgfpR2KIxGjB0uw5U3nANtCbidi2Y7rAl4Earqpbek+ eFF/FaHhMaJ42hHhkzEmOnvlKNm9HkEkW12rkADStX2UisuZb6F5aOI/vVdVjg== From: Marcin Karpezo To: 41550@debbugs.gnu.org Subject: [PATCH v4] gnu: Add Polish hunspell dictionary. Date: Fri, 29 May 2020 19:30:12 +0200 Message-Id: <20200529173011.7946-1-sirmacik@wioo.waw.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41550 Cc: Marcin Karpezo 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: -1.0 (-) * gnu/packages/libreoffice.scm (hunspell-dict-pl): New variable. --- Based on Leo's suggestion I've changed source to last version mirrored by Arch Linux and version number accordingly. gnu/packages/libreoffice.scm | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index a3a6ea5d1a..0873072a64 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Jonathan Brielmaier ;;; Copyright © 2019 Chris Marusich +;;; Copyright © 2020 Marcin Karpezo ;;; ;;; This file is part of GNU Guix. ;;; @@ -920,6 +921,56 @@ library.") "toutesvariantes" (synopsis "Hunspell dictionary for all variants of French")) +(define-public hunspell-dict-pl + (package + (name "hunspell-dict-pl") + (version "20200327") + (source + (origin + (method url-fetch) + ;; Since creators of dictionary host only the latest daily release, + ;; we're using version mirrored by Arch Linux, which seems good + ;; enough. They're mirroring hunspell-pl releases since 2011. + (uri (string-append "https://sources.archlinux.org/other/community/" + "hunspell-pl/sjp-myspell-pl-" + version ".zip")) + (sha256 (base32 + "14mzf8glxkp2775dcqisb1zv6r8ncm3bvzl46q352rwyl2dg1c59")))) + + (build-system trivial-build-system) + (native-inputs `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder (begin + (use-modules (guix build utils) + (srfi srfi-26)) + + (let* ((out (assoc-ref %outputs "out")) + (hunspell (string-append out "/share/hunspell")) + (myspell (string-append out "/share/myspell")) + (doc (string-append out "/share/doc/" + ,name)) + (unzip (string-append (assoc-ref %build-inputs "unzip") + "/bin/unzip"))) + (invoke unzip "-j" "-o" (assoc-ref %build-inputs "source")) + (invoke unzip "-j" "-o" "pl_PL.zip") + (for-each (cut install-file <> hunspell) + (find-files "." + ,(string-append "pl_PL" + "\\.(dic|aff)$"))) + (mkdir-p myspell) + (symlink hunspell (string-append myspell "/dicts")) + (for-each (cut install-file <> doc) + (find-files "." "\\.(txt|org|md)$")) + #t)))) + (synopsis "Hunspell dictionary for Polish") + (description + "This package provides a dictionary for the Hunspell spell-checking +library.") + (home-page "https://sjp.pl/slownik/ort/") + (license + (list license:gpl2 license:mpl1.1 license:cc-by4.0 license:lgpl2.1 license:asl2.0)))) + (define-public hyphen (package (name "hyphen") -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 03 11:57:22 2020 Received: (at 41550-done) by debbugs.gnu.org; 3 Jun 2020 15:57:22 +0000 Received: from localhost ([127.0.0.1]:44436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgVlZ-0001Kz-US for submit@debbugs.gnu.org; Wed, 03 Jun 2020 11:57:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgVlY-0001Kk-CW for 41550-done@debbugs.gnu.org; Wed, 03 Jun 2020 11:57:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43846) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgVlS-0007he-4q; Wed, 03 Jun 2020 11:57:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41742 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgVlQ-0005Jk-L7; Wed, 03 Jun 2020 11:57:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Marcin Karpezo Subject: Re: [bug#41550] [PATCH v4] gnu: Add Polish hunspell dictionary. References: <20200526233502.4557-1-sirmacik@wioo.waw.pl> <20200529173011.7946-1-sirmacik@wioo.waw.pl> Date: Wed, 03 Jun 2020 17:57:11 +0200 In-Reply-To: <20200529173011.7946-1-sirmacik@wioo.waw.pl> (Marcin Karpezo's message of "Fri, 29 May 2020 19:30:12 +0200") Message-ID: <878sh4kuqw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41550-done Cc: 41550-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: -3.3 (---) Hi, Marcin Karpezo skribis: > * gnu/packages/libreoffice.scm (hunspell-dict-pl): New variable. > --- > Based on Leo's suggestion I've changed source to last version mirrored > by Arch Linux and version number accordingly. Perfect. Applied, thanks! Ludo=E2=80=99. From unknown Fri Aug 15 15:26:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 02 Jul 2020 11:24:06 +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