X-Loop: help-debbugs@HIDDEN Subject: [bug#48570] [WIP] [PATCH] Add Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Fri, 21 May 2021 16:30:01 +0000 Resent-Message-ID: <handler.48570.B.16216145681019 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 48570 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48570 <at> debbugs.gnu.org X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16216145681019 (code B ref -1); Fri, 21 May 2021 16:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2021 16:29:28 +0000 Received: from localhost ([127.0.0.1]:37451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lk81Y-0000GD-7B for submit <at> debbugs.gnu.org; Fri, 21 May 2021 12:29:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:42710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <anothersms@HIDDEN>) id 1lk81V-0000G4-Uz for submit <at> debbugs.gnu.org; Fri, 21 May 2021 12:29:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <anothersms@HIDDEN>) id 1lk81V-0005ts-M1 for guix-patches@HIDDEN; Fri, 21 May 2021 12:29:17 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:40924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <anothersms@HIDDEN>) id 1lk81T-0001YR-0w for guix-patches@HIDDEN; Fri, 21 May 2021 12:29:17 -0400 Received: by mail-ej1-x634.google.com with SMTP id n2so31341843ejy.7 for <guix-patches@HIDDEN>; Fri, 21 May 2021 09:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=vU76GKTvWT4oIcRBTRwOOBKPlfJqT3UUM6zSevG4V6I=; b=cxPN83vu1doqa9iYu2QNLHAl0U9ZTmbJeD36Y94wA5UtxvZUxWfp49x9qYxf6P3+Ic jQ/R8tghiiVMztMzc2bRLdWPdV7fnXC+iUI6FV6Skva3io2pXF1WzxEFxo4dy0PfvkAx tH6QczuJ9Xs/65SNYWRDlDpP3RXAKnjs+3P0Ywp/qbKoenhFuqglWt9Ke+JNJy5uQgrt mZA/ZLKxWm8It1tCbIdtyNaZyJsihJ3vjjzcLAMdR5ymrfBIyQ91ax5HOHgv7xj23BEs Ns/1Tou6PXHG2p/nMiJjoVqjaL25cIx5l4i6lvouGgTD8mq/eg1GH6HozG14jL+BYVWD btvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=vU76GKTvWT4oIcRBTRwOOBKPlfJqT3UUM6zSevG4V6I=; b=e4sE0XTSzMefrWa+RkdKzytIokVsj3iQGp3v7F2ieMob3sJkrdRvxoH/CVu1/TBIrN 8FxjsrgzWgtDkyMs1hTLHtU6d5QEEvFPj12JjBxZWPBGNz/y3Cu9ySnGIwdn1TXaTnsc Pcbmgq9owJgW2mXRo5LJifMKwx9yezutrKWRhic8bDKGen5zV9dYw32TZLCtA8Wg0C5L o6xgtb0kJQ0D69GYtZ9I18ay5qEW8d7RXElfNVUsVj6rl1USeK3MSHRouLq0UWgQiAjS E6QGJdOPEa9W9oQdeKlP/PXPQCaPwYZuTKRn6E89f20YCdVObAcMIwcDE913jTTcp7a7 e/ng== X-Gm-Message-State: AOAM531Vf0HjjZgajY44neVYT/gizgTbHIh79HGkipad8FH+ac8VhIlm +nByhJAHqv4IN1Zw1LBKARV85uAmJ/Y= X-Google-Smtp-Source: ABdhPJyEla7GmjrbMC9r8bglpSDrCTaWSOxGsLT37FzBMNuCmiTfSqDn8JEvnVGXq/gz8gzVk1MioQ== X-Received: by 2002:a17:906:c1ca:: with SMTP id bw10mr11329375ejb.512.1621614551113; Fri, 21 May 2021 09:29:11 -0700 (PDT) Received: from guixSD (host-79-17-142-89.retail.telecomitalia.it. [79.17.142.89]) by smtp.gmail.com with ESMTPSA id cn21sm4280845edb.36.2021.05.21.09.29.10 for <guix-patches@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 09:29:10 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN> Date: Fri, 21 May 2021 18:29:09 +0200 Message-ID: <87v97ct5ii.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=anothersms@HIDDEN; helo=mail-ej1-x634.google.com 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, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi! I created a package for tagainijisho and its dependency (kanjivg). I marked this as WIP because I have a few doubts: - kanjivg distributes an xml file generated by joining xml files stored in the repo. I'm not sure where this xml should be installed (under /share/som [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (anothersms[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: kanjivg.tagaini.net] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: kanjivg.tagaini.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi! I created a package for tagainijisho and its dependency (kanjivg). I marked this as WIP because I have a few doubts: - kanjivg distributes an xml file generated by joining xml files stored in the repo. I'm not sure where this xml should be installed (under /share/som [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: kanjivg.tagaini.net] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: kanjivg.tagaini.net] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: nixo.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (anothersms[at]gmail.com) 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! I created a package for tagainijisho and its dependency (kanjivg). I marked this as WIP because I have a few doubts: - kanjivg distributes an xml file generated by joining xml files stored in the repo. I'm not sure where this xml should be installed (under /share/something?) - kanjivg: guix lint fails with: updater 'github' failed to find upstream releases, but I don't know why - two other xml required by tagainijisho use non-versioned urls, is there something we can do about this? It's the first time I use this program but it seems to be working ok. Thanks, Nicol=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-kanjivg.patch From fa44401753d5c70f0e177270072b8eb70d166dd6 Mon Sep 17 00:00:00 2001 From: nixo <nicolo@HIDDEN> Date: Fri, 21 May 2021 18:15:04 +0200 Subject: [PATCH 1/2] gnu: Add kanjivg. * gnu/packages/education.scm (kanjivg): New variable. --- gnu/packages/education.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 0986d2a19e..043933abe0 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -405,6 +405,50 @@ specialized device.") (home-page "https://bipede.fr/contrib/") (license license:gpl3))) +(define-public kanjivg + (package + (name "kanjivg") + (version "20160426") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KanjiVG/kanjivg") + (commit (string-append "r" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "10pkcay9zixr0nwwcm4z360w7pkcr1v91kp7889qbsfj8123mywh")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no check target + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "python" "kvg.py" "release"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (fname "kanjivg.xml")) + (mkdir-p out) + ;; FIXME: No idea in which path it should be copied (and if + ;; other files are needed) + (copy-file fname (string-append out "/" fname)))))))) + (native-inputs + ;; Does not work with python3 + `(("python2" ,python-2))) + (synopsis "Kanji description and vectorial data in correct stroke order") + (description "KanjiVG is a description of the sinographs (or kanji) used +by the Japanese language. For each character, it provides a SVG file that +gives the shape, direction and of each of its strokes. This file is also +enriched with exhaustive information about the components of the character, +the type of stroke employed, etc. + +Using KanjiVG, it is possible to create stroke order diagrams or animations +and kanji dictionaries.") + (home-page "https://kanjivg.tagaini.net") + (license license:cc-by-sa3.0))) (define-public childsplay (package (name "childsplay") -- 2.31.1 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-tagainijisho.patch From aff1c570b2885f5c36810f5faddedd801ad55f0e Mon Sep 17 00:00:00 2001 From: nixo <nicolo@HIDDEN> Date: Fri, 21 May 2021 18:15:38 +0200 Subject: [PATCH 2/2] gnu: Add tagainijisho. * gnu/packages/education.scm (tagainijisho): New variable. --- gnu/packages/education.scm | 94 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 043933abe0..cd28e35b78 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -449,6 +449,100 @@ Using KanjiVG, it is possible to create stroke order diagrams or animations and kanji dictionaries.") (home-page "https://kanjivg.tagaini.net") (license license:cc-by-sa3.0))) + +(define-public tagainijisho + ;; latest release (1.0.3) requires qt4, using latest commit + (let ((commit "18078719be75b6b49cffb2f8a22978c635c6b617")) + (package + (name "tagainijisho") + (version (string-append "1.0.3." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Gnurou/tagainijisho") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1i6vcj30q0427ggdjqrsyqb9dg8b8kd0vzmjdzrxabn9wv05vnz4")))) + (build-system qt-build-system) + (arguments + `(#:tests? #f ; no test target + #:configure-flags + `("-DEMBED_SQLITE=OFF" + ,(string-append "-DCMAKE_PREFIX_PATH=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (add-before 'build 'make-output-bin + (lambda* (#:key outputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref outputs "out") "/bin")))) + (add-after 'unpack 'add-extra-src + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((jmdict (assoc-ref inputs "jmdict")) + (gunzip (which "gunzip")) + (out "3rdparty/JMdict.gz")) + (mkdir-p "3rdparty") + (copy-file jmdict out) + (invoke gunzip out)))) + (add-after 'unpack 'add-kanjidic2 + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((kanjidic2 (assoc-ref inputs "kanjidic2")) + (gunzip (which "gunzip")) + (out "3rdparty/kanjidic2.xml.gz")) + (mkdir-p "3rdparty") + (copy-file kanjidic2 out) + (invoke gunzip out)))) + (add-after 'unpack 'add-kanjivg + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((fname "kanjivg.xml") + (kanjivg + (string-append (assoc-ref inputs "kanjivg") "/" fname)) + (out (string-append "3rdparty/" fname))) + (mkdir-p "3rdparty") + (copy-file kanjivg out)))) + (add-after 'unpack 'make-source-writable + ;; build requires to modify a .cc file + (lambda _ + (chmod "src/core/kanjidic2/DictionaryDescriptions.cc" #o600)))))) + (inputs + `(("jmdict" + ;; URL is not versioned! + ;; https://github.com/Gnurou/tagainijisho/blob/master/src/core/jmdict/CMakeLists.txt#L5 + ,(origin + (method url-fetch) + (uri + '("http://ftp.edrdg.org/pub/Nihongo/JMdict.gz" + "http://www.bcit-broadcast.com/monash/JMdict.gz" + "ftp://ftp.net.usf.edu/pub/ftp.monash.edu.au/pub/nihongo/JMdict.gz")) + (sha256 + (base32 + "0nw39gg2i485b85zx7a5isiims83dpmdchcks9974ryb3z0zackm")))) + ("kanjidic2" + ;; URL is not versioned! + ;; https://github.com/Gnurou/tagainijisho/blob/master/src/core/kanjidic2/CMakeLists.txt#L4 + ,(origin + (method url-fetch) + (uri "http://www.edrdg.org/kanjidic/kanjidic2.xml.gz") + (sha256 + (base32 + "0l2n3bqcfz2x6xns7w02dv01xz3cssbfvbjhlymd88sqsdbfn456")))) + ("kanjivg" ,kanjivg) + ("qtbase" ,qtbase) + ("qttools" ,qttools) + ("sqlite" ,sqlite))) + (synopsis "Japanese dictionary and learning assistant") + (description "Tagaini Jisho is a Japanese dictionary and learning +assistant. It is designed to help you remember Japanese vocabulary and +kanji (later referred as 'entries') by presenting them in a way that makes it +easy to create connections between them. It does so by keeping track of all +the entries you already know and want to study, and letting you tag and annote +them, in addition to providing easy navigation between related entries. A +powerful search engine also allows you to search for entries very precisely. +Finally, Tagaini let you produce printed material (including a handy foldable +pocket book) so let you study anywhere.") + (home-page "https://www.tagaini.net/") + (license license:gpl3+)))) + (define-public childsplay (package (name "childsplay") -- 2.31.1 --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN> Subject: bug#48570: Acknowledgement ([WIP] [PATCH] Add ) Message-ID: <handler.48570.B.16216145681019.ack <at> debbugs.gnu.org> References: <87v97ct5ii.fsf@HIDDEN> X-Gnu-PR-Message: ack 48570 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48570 <at> debbugs.gnu.org Date: Fri, 21 May 2021 16:30:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 48570 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 48570: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48570 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 7 Aug 2021 06:49:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 07 02:49:23 2021 Received: from localhost ([127.0.0.1]:51840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mCG95-0000hY-0U for submit <at> debbugs.gnu.org; Sat, 07 Aug 2021 02:49:23 -0400 Received: from out0.migadu.com ([94.23.1.103]:13128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <iskarian@HIDDEN>) id 1mCG93-0000hP-MK for control <at> debbugs.gnu.org; Sat, 07 Aug 2021 02:49:22 -0400 Date: Fri, 06 Aug 2021 23:49:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628318961; h=from:from:reply-to:subject:subject:date:date:to:to:cc; bh=tcIa1Pzqn98I7rIOvGQQFceE1pvk7AHpxgsDXasBXqE=; b=A5D3s/Cyv4ETHrdlZc8rtHveeeHj+5++rNq7x6/3/O8CUBcLQySjw2cwCo00mKYD0nm+jg Kr68vxQm338UEWxua/7q4z1t0HlGp1HsVyTpcf1gYYNna2nz+GWMkG202b859SDh8b+Xbk OZWtiGtPhxbifGDMD2oHg898ZdXg+VM= To: control <at> debbugs.gnu.org X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Sarah Morgensen <iskarian@HIDDEN> Subject: control message for bug #48570 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@HIDDEN X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Message-Id: <E1mCG95-0000hY-0U <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) retitle 48570 [PATCH WIP] gnu: Add tagainijisho. quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.