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 ms0.migadu.com with LMTPS id WERJC96lrGDXMgAAgWs5BA (envelope-from ) for ; Tue, 25 May 2021 09:23:10 +0200 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 yPoIB96lrGA9dwAA1q6Kng (envelope-from ) for ; Tue, 25 May 2021 07:23:10 +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 AF014BDD8 for ; Tue, 25 May 2021 09:23:09 +0200 (CEST) Received: from localhost ([::1]:35438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llRPA-0004Xf-6p for larch@yhetil.org; Tue, 25 May 2021 03:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llRP4-0004Wp-ON for guix-patches@gnu.org; Tue, 25 May 2021 03:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llRP4-0000nn-0I for guix-patches@gnu.org; Tue, 25 May 2021 03:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llRP3-0000zV-Sy for guix-patches@gnu.org; Tue, 25 May 2021 03:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48642] [PATCH] Add kanatest Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 May 2021 07:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48642 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48642@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16219273393745 (code B ref -1); Tue, 25 May 2021 07:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2021 07:22:19 +0000 Received: from localhost ([127.0.0.1]:44545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llRON-0000yL-1B for submit@debbugs.gnu.org; Tue, 25 May 2021 03:22:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:50394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llROJ-0000yC-UK for submit@debbugs.gnu.org; Tue, 25 May 2021 03:22:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llROJ-0003zK-Mk for guix-patches@gnu.org; Tue, 25 May 2021 03:22:15 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:39794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llROH-0000N1-RT for guix-patches@gnu.org; Tue, 25 May 2021 03:22:15 -0400 Received: by mail-ed1-x52f.google.com with SMTP id h16so34871897edr.6 for ; Tue, 25 May 2021 00:22:13 -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=Bb5QTRYTOseuxeJIBTwy1C5RcjLwUWeUdoYrqdZiRQw=; b=rd/ie0tGSjsOgykNORmHvEzscvXG2Mo1k9f4bRR8NOsZqxxK0kLCffoC0QiilcHuRX RR0PimndYazUBaE2KwYdbHFRdpLYYZblZpXMu4EDPM38hEqShn4AM2/3i3YYBrmDd6SH YURE9yqgfj1yvNLWXIxVIjobtOgneDDq3QXtD/CcH8BQ9UUa+SUyVS56ReMxxSNnceIq RvgCjpjcXqOA0RdPdjSK3Nd7lVg97Gu/OwVNwbatoAk+wk0WxTqe9xJ4HXDdS5+9ponO pWQYvl39ycFntq8d87xXzn2qGGZwIVTXjk6TiQf+EdRntKiRN7MlqNdKR7YwQNaCrS62 yhQg== 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=Bb5QTRYTOseuxeJIBTwy1C5RcjLwUWeUdoYrqdZiRQw=; b=JztxeJ/mHB07i7j1EQgilHr5bNyAd7ncLF6S6D5gQqV1iQmTYd87Pg9ZN0YI9KckaG +RvRiilEc16l1TpNHA/qIzXi7/BFTdYezWPVag7sl7/E1Twm5gjBzDYImCRFbL5aQSAT OQ8UeLUKpt8vf87AHWQIFPhbt+AYkk9B6hBlzD3U2wU6KLR5sLG23n5aZzopN6cC3OBe DlJa76BV1spIyr+r+rmSwEuGix6XzsfHx/Hoqgd7jzxSp8oHMbs8TPou02x9FLlX55Rs 0IXTQPCQ9S+YaTAbjoSJa4KNOv3A0PXK1lqOeGguzmitRJPzCBFVt3Djsa1afAhUCQye 2z9A== X-Gm-Message-State: AOAM533nVYegW4HmD8h9FhZuBY3Eu1td196vP6B+LzhrjTj8tsj7qvmc WssJgyLbQBWFZ8GV93jJuWmT8+timLk= X-Google-Smtp-Source: ABdhPJw4kjss9Q/ri2MD/ScjXnBxYy2AapWvoy+IEaIle8f1cpTDfrP0KSmSvwJi+Tn1C8XxrQBVQA== X-Received: by 2002:a05:6402:2317:: with SMTP id l23mr30603225eda.265.1621927332296; Tue, 25 May 2021 00:22:12 -0700 (PDT) Received: from guixSD (host-79-17-142-89.retail.telecomitalia.it. [79.17.142.89]) by smtp.gmail.com with ESMTPSA id k14sm10467052eds.0.2021.05.25.00.22.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 00:22:11 -0700 (PDT) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Tue, 25 May 2021 09:22:10 +0200 Message-ID: <878s435lct.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=anothersms@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621927389; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Bb5QTRYTOseuxeJIBTwy1C5RcjLwUWeUdoYrqdZiRQw=; b=WHxyXwC7ZZJfVp3jRKatuxCtACeO0pjmHM6AaTecHLlKekASBJ5PEoRi665cZbyqEnW4/N svdByQytawmlIyREAai2zBC21DDFhPb2yaJnc7ONlOSEqHJxVOILLR9ZnEcDkG4yLP5q3a kmclLWjWZcKkbjc03wY/fxo1X2Fd9dvoH7JKe9ioJdAhVR1VskIVT5mNB6M8jTauuEL7r2 6DHe2kLacHzthIqWnIX+7yZCav0TU3FyqZ1C5OpGu0AddMHLfK26QM+Ea3NYkoPQVpgWZb Vx/Ow+i95KvjmAfsaeuoxidr2JBpQVqy8Aj6/p+MIEKU467b0XognYh4EAldcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621927389; a=rsa-sha256; cv=none; b=H9kWMEDB8e8EkyPdnivK1HSirivK1vi5Fwo7NKv5mQ5e13tlwj9KADmuVES3fjfW0HblHZ GaVr3WqJC572i9O4+rnsD0X4RRKgLeFCOkvOPkyX2MVZ+3cBNdsdago5zCXNmKzeb3zGdD P2JIXo/QrPNN1ssxwEnAvEJ+BlJqPFatYg1OY8KqqnCNdmsQRl7Y/SnIqnCrK+yLGzCglu PTC7dHlSs9YgInJCYKmJdbU84Tgjag462z8gVFvA9OPSf82MzzRX+L1M01k9XrKVrrpNlQ nAnVTCND0HwO+/Eq+OU1zZ8Tf/7oaA1P5ZAGPTZS0GFBXurKHXK79Y93SRp1lQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="rd/ie0tG"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="rd/ie0tG"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Migadu-Queue-Id: AF014BDD8 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y08dIpUT709r --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi guix! Here's a patch to add kanatest, a learning tool for japanese kana. guix lint complains about > URI https://git.code.sf.net/p/kanatest/code not reachable: 404 ("Not > Found") but cloning does work, so I don't know if I need to do something in order to fix it. I had to use git instead of the release tarball as that is really old (2009), works only with gtk2 and I could not get it to build. Thanks! Nicol=C3=B2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-kanatest.patch >From 7bf9dc833eacaf25a431ac59ff63ed54b87edafc Mon Sep 17 00:00:00 2001 From: nixo Date: Tue, 25 May 2021 09:02:41 +0200 Subject: [PATCH] gnu: Add kanatest. * gnu/packages/education.scm (kanatest): New variable. --- gnu/packages/education.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index cd28e35b78..9002187f1e 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -865,6 +865,42 @@ languages and keyboard layouts, and typing statistics are used to dynamically adjust the level of difficulty.") (license license:gpl2))) +(define-public kanatest + ;; Latest release tarball is 0.4.8, which is really old and does not build + ;; commit on sourceforge are not tagged, we take the latest + (let ((commit "860e790a35f547cc96669f805d371a5ba3d8daff")) + (package + (name "kanatest") + (version (string-append "0.4.10." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.code.sf.net/p/kanatest/code") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dz63m9p4ggzw0yb309qmgnl664qb5q268vaa3i9v0i8qsl66d78")))) + (build-system gnu-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) ; for msgfmt + ("pkg-config" ,pkg-config))) + (inputs + `(("libxml2" ,libxml2) + ("gtk+" ,gtk+))) + (synopsis "Hiragana and Katakana simple flashcard tool") + (description "Kanatest is a Japanese kana (Hiragana and Katakana) simple +flashcard tool. + +During test the Kanatest displays randomly selected kana char (respecting mode +and lesson) and waits for user answer expected as romaji equivalent. This +process continues until all questions will be answered or all questions will +be answered correctly (depends on options). At the end of test a short info +about drilling time and correctness ratio is displayed. The results are +stored and user can review his performance in any time.") + (home-page "https://kanatest.sourceforge.io/") + (license license:gpl2+)))) + (define-public anki (package (name "anki") -- 2.31.1 --=-=-=--