From nobody Wed Feb 15 08:12:01 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PGrQk1r6sz3rTcC; Wed, 15 Feb 2023 08:12:14 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGrQk1Nhtz3s0W; Wed, 15 Feb 2023 08:12:14 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676448734; 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: in-reply-to:in-reply-to:references:references; bh=v/9S5Z6If/+ykwwPZmIrqy82zrYJvfWfauowo2qdK4g=; b=QKF9RvjMO4+dBIF84wtvqVwdLMcP4PszQN/IcHjvp6otNF1V8c66vAeWY21W78oZZ+HuOp wa7U+pQS6Pzjz8JIUJYgx0ITVcICgVDB/oIBUimCxF3CKLjlmMPWy7kCX9o2b3OnxnxH77 GrswlPvWVe2wLrOypAguOzsZpWu3XeVFvdExEWozu/hyUexnMhIthldiwcc1/OK8LYUngm ZuR+1+L1vYFYgui8ZPBk/RDo99dISfJSdmOm0enXFMYnpylWcKvPqLU+tLwz90clWVTre7 pdgAdprInm0/wF4C9wCDvdm9AlzZj7r06lMnrfHJWnN0pv9e+RNeg6c/1xWZUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676448734; 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: in-reply-to:in-reply-to:references:references; bh=v/9S5Z6If/+ykwwPZmIrqy82zrYJvfWfauowo2qdK4g=; b=Ri9X9/6rw1bSOaI2dxc1J380mArq3J+zt5/+ZVD54CTYvhUS3C0dZOPxqN1IK1YdiQzAZD botOyUgvcyGsAXfVmw4XOyecqQD9VoGL3Fe5GpQ1Ck8TCmIWwLL35rduQ0JqcI2/M9muPI OLt9GJHIMDF77iwMNu3ClGVKFECMeXh0wiKUjFCnvlr3PUslR5a5hgZ3tHiJzAW5s+DrVj Fx1Q/PNDtDqeFK0/0pGz7OsvchDSaVRfuaIl0oWDER/tHJuDKhKIg/ui5lnjWAGbcElZ04 iYUQa49lFmnpQB1XoU16YdP5xntmAEVnmdSty7mLCDg1M8ZYN0zF66cBcdPQBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676448734; a=rsa-sha256; cv=none; b=nslasT4K0sNKondjW4muQ1pkaxc5dLM9krlmotpvJiKM03Kqqmn5Lo/7qpI26gv2Fn/pkI Jib2H2RXXckxLDzkLF2Xca15xDIFMVaiPxFBxCJUP3fH7tsmhvLMu+egv23OqnuU71+wXC H7IINIvGyqjDJZkfJVdQfSuiPfjsRWzdvELZIYRFqgOGgCPeHLK1re6wdKnL2nl+MvhzGZ cEyMo0BSWM1jDGtro3Ue6NWZNnz3z0zaERqMiQz+Favf2v+LU6n1ArWI5TegTQFNiIykSx 0t9EOqRtwuNlaOFGeSIwdbCJgZyNcFGGpxEkSgj+eFJeFfmk3G3i8/6qg9W4Wg== Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PGrQk0Ldsz11JH; Wed, 15 Feb 2023 08:12:14 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vs1-f48.google.com with SMTP id g8so19070179vso.3; Wed, 15 Feb 2023 00:12:14 -0800 (PST) X-Gm-Message-State: AO0yUKW4hJuMEgsNu6mtlkP5eKQ4LxM/KxUHHewPoeWaMB16I52O2WgE kJlRnLZ/p4zFy+gNU2ZliyGJzwBq4x7IBBsT5MM= X-Google-Smtp-Source: AK7set/07rhamqqc2ILTw/fbmelEHowyJyr1BKwsf5gNn5R9xv5TJ5zLIVL6kMXBQQUCUDv90fL4TXIKahSkr+fVvow= X-Received: by 2002:a67:4346:0:b0:412:1972:e913 with SMTP id q67-20020a674346000000b004121972e913mr277072vsa.52.1676448733396; Wed, 15 Feb 2023 00:12:13 -0800 (PST) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202302142023.31EKNqYj059762@gitrepo.freebsd.org> In-Reply-To: <202302142023.31EKNqYj059762@gitrepo.freebsd.org> From: Nuno Teixeira Date: Wed, 15 Feb 2023 08:12:01 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: bb71c4161707 - main - games/kanatest: revive port To: Robert Clausecker Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org, Daniel Engberg Content-Type: multipart/alternative; boundary="0000000000003d067b05f4b8a30d" X-ThisMailContainsUnwantedMimeParts: N --0000000000003d067b05f4b8a30d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Robert, I missed to properly check this port: 1. --- LIB_DEPENDS+=3D USE_GNOME+=3D MAKE_ENV+=3D --- This vars should not contain '+'. 2. Category needs to be fixed acording to https://docs.freebsd.org/en/books/porters-handbook/book/#choosing-categorie= s : language comes first (japanese games) Cheers, Robert Clausecker escreveu no dia ter=C3=A7a, 14/02/2023 = =C3=A0(s) 20:23: > The branch main has been updated by fuz: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=3Dbb71c4161707a95f215dc5f241653= 10265cb6cf0 > > commit bb71c4161707a95f215dc5f24165310265cb6cf0 > Author: Clockwork6400 > AuthorDate: 2023-02-01 20:04:31 +0000 > Commit: Robert Clausecker > CommitDate: 2023-02-14 20:23:34 +0000 > > games/kanatest: revive port > > 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. > > Submitter becomes maintainer. > > Changelog: > https://sourceforge.net/p/kanatest/code/ci/master/tree/ChangeLog > > PR: 268895 > Approved by: eduardo (mentor) > Differential Revision: https://reviews.freebsd.org/D38519 > --- > MOVED | 1 - > games/Makefile | 1 + > games/kanatest/Makefile | 32 +++++++++++++++++++ > games/kanatest/distinfo | 3 ++ > games/kanatest/files/patch-po_Makefile.in | 11 +++++++ > games/kanatest/files/patch-src_gui.c | 51 > +++++++++++++++++++++++++++++++ > games/kanatest/pkg-descr | 7 +++++ > games/kanatest/pkg-plist | 21 +++++++++++++ > 8 files changed, 126 insertions(+), 1 deletion(-) > > diff --git a/MOVED b/MOVED > index b324f1908cf3..36232cf07ccb 100644 > --- a/MOVED > +++ b/MOVED > @@ -7907,7 +7907,6 @@ > math/p5-Math-Geometry-Planar-GPC-Polygon||2015-12-30|Has expired: Broken > for mor > www/eliom||2015-12-30|Has expired: Depends on broken and expiring > www/ocsigen > audio/py-fastaudio||2015-12-30|Has expired: Broken for more than 6 month= s > devel/jgoodies-common||2015-12-30|Has expired: Broken for more than 6 > months > -games/kanatest||2015-12-30|Has expired: Broken for more than 6 months > security/burpsuite||2015-12-30|Has expired: Broken for more than 6 month= s > dns/bind10|dns/bundy|2015-12-31|Has expired: Is not developed any more, > use dns/bundy > lang/perl5.16||2015-12-31|Has expired: Unsupported, please upgrade to a > more recent version of Perl > diff --git a/games/Makefile b/games/Makefile > index 6e99c9612207..033384ab7fba 100644 > --- a/games/Makefile > +++ b/games/Makefile > @@ -425,6 +425,7 @@ > SUBDIR +=3D jvgs > SUBDIR +=3D jzip > SUBDIR +=3D kanagram > + SUBDIR +=3D kanatest > SUBDIR +=3D kapman > SUBDIR +=3D kartofel > SUBDIR +=3D katomic > diff --git a/games/kanatest/Makefile b/games/kanatest/Makefile > new file mode 100644 > index 000000000000..0775ad30e53c > --- /dev/null > +++ b/games/kanatest/Makefile > @@ -0,0 +1,32 @@ > +PORTNAME=3D kanatest > +PORTVERSION=3D 0.4.10.g20200611 > +CATEGORIES=3D games japanese > + > +MAINTAINER=3D Clockwork6400@protonmail.com > +COMMENT=3D Japanese kana (Hiragana and Katakana) simple flashcard = tool > +WWW=3D https://kanatest.sourceforge.io/ > + > +LICENSE=3D GPLv2 > +LICENSE_FILE=3D ${WRKSRC}/COPYING > + > +FETCH_DEPENDS=3D git:devel/git > +LIB_DEPENDS+=3D libharfbuzz.so:print/harfbuzz > + > +USES=3D gettext gmake gnome pkgconfig tar:xz > +USE_GNOME+=3D atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango > +GNU_CONFIGURE=3D yes > +MAKE_ENV+=3D LIBINTL=3D"-lintl" > + > +OPTIONS_DEFINE=3D NLS > +OPTIONS_SUB=3D yes > + > +# this will break when upstream is updating, but unfortunately > +# SF won't let us fetch individual commits. > +do-fetch: > + @${MKDIR} ${_DISTDIR} > + @cd ${_DISTDIR} && [ -f ${DISTNAME}.tar.xz ] || \ > + git archive --format=3Dtar --prefix=3D${DISTNAME}/ \ > + --remote=3Dgit://git.code.sf.net/p/kanatest/code master | \ > + ${XZ_CMD} >${DISTNAME}.tar.xz > + > +.include > diff --git a/games/kanatest/distinfo b/games/kanatest/distinfo > new file mode 100644 > index 000000000000..45cf4a136f50 > --- /dev/null > +++ b/games/kanatest/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP =3D 1675987637 > +SHA256 (kanatest-0.4.10.g20200611.tar.xz) =3D > 477bbf1fa655eaf067efb829533f05c90597922eb0827128fd88b925cae5f534 > +SIZE (kanatest-0.4.10.g20200611.tar.xz) =3D 274228 > diff --git a/games/kanatest/files/patch-po_Makefile.in > b/games/kanatest/files/patch-po_Makefile.in > new file mode 100644 > index 000000000000..8d0ef5685886 > --- /dev/null > +++ b/games/kanatest/files/patch-po_Makefile.in > @@ -0,0 +1,11 @@ > +--- po/Makefile.in.orig 2020-06-11 10:29:04 UTC > ++++ po/Makefile.in > +@@ -445,7 +445,7 @@ all: $(MOFILES) > + update-po: $(DOMAIN).pot $(POFILES) $(MOFILES) > + > + %.mo: skip > +- @po=3D$(@:.mo=3D.po); if test $$po -nt $@ ; then $(MSGFMT) -c > --statistics $$po -o $@; echo "$@ updated."; fi > ++ @po=3D$(@:.mo=3D.po); if true; then $(MSGFMT) -c --statistics $$p= o -o > $@; echo "$@ updated."; fi > + > + %.po: $(DOMAIN).pot > + $(MSGMERGE) $@ $< -o $@.in && mv $@.in $@ > diff --git a/games/kanatest/files/patch-src_gui.c > b/games/kanatest/files/patch-src_gui.c > new file mode 100644 > index 000000000000..47289d5a7ac0 > --- /dev/null > +++ b/games/kanatest/files/patch-src_gui.c > @@ -0,0 +1,51 @@ > +--- src/gui.c.orig 2020-06-11 10:29:04 UTC > ++++ src/gui.c > +@@ -1129,40 +1129,40 @@ HildonGtkInputMode input_mode; > + #ifdef MAEMO > + gtk_container_add (GTK_CONTAINER (hbuttonbox), > appGUI->reverse_button); > + gtk_container_set_border_width (GTK_CONTAINER > (appGUI->reverse_button), 4); > +- GTK_WIDGET_SET_FLAGS (appGUI->reverse_button, GTK_CAN_DEFAULT); > ++ gtk_widget_set_can_default (appGUI->reverse_button, TRUE); > + > + gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI->stat_button= ); > + gtk_container_set_border_width (GTK_CONTAINER > (appGUI->stat_button), 4); > +- GTK_WIDGET_SET_FLAGS (appGUI->stat_button, GTK_CAN_DEFAULT); > ++ gtk_widget_set_can_default (appGUI->stat_button, TRUE); > + > + appGUI->chart_button =3D gui_stock_label_button(NULL, > KANATEST_STOCK_BUTTON_CHART); > +- GTK_WIDGET_UNSET_FLAGS (appGUI->chart_button, GTK_CAN_FOCUS); > ++ gtk_widget_set_can_focus (appGUI->chart_button, FALSE); > + g_signal_connect (G_OBJECT (appGUI->chart_button), "clicked", > + G_CALLBACK (show_chart_window_cb), appGUI); > + gtk_widget_show (appGUI->chart_button); > + gtk_container_add (GTK_CONTAINER (hbuttonbox), > appGUI->chart_button); > + gtk_container_set_border_width (GTK_CONTAINER > (appGUI->chart_button), 4); > +- GTK_WIDGET_SET_FLAGS (appGUI->chart_button, GTK_CAN_DEFAULT); > ++ gtk_widget_set_can_default (appGUI->chart_button, TRUE); > + gtk_widget_set_tooltip_text (appGUI->chart_button, _("Kana chart")= ); > + > + appGUI->prefs_button =3D gui_stock_label_button(NULL, > KANATEST_STOCK_BUTTON_OPTIONS); > +- GTK_WIDGET_UNSET_FLAGS (appGUI->prefs_button, GTK_CAN_FOCUS); > ++ gtk_widget_set_can_focus (appGUI->prefs_button, FALSE); > + g_signal_connect (G_OBJECT (appGUI->prefs_button), "clicked", > + G_CALLBACK (show_options_window_cb), appGUI); > + gtk_widget_show (appGUI->prefs_button); > + gtk_container_add (GTK_CONTAINER (hbuttonbox), > appGUI->prefs_button); > + gtk_container_set_border_width (GTK_CONTAINER > (appGUI->prefs_button), 4); > +- GTK_WIDGET_SET_FLAGS (appGUI->prefs_button, GTK_CAN_DEFAULT); > ++ gtk_widget_set_can_default (appGUI->prefs_button, TRUE); > + gtk_widget_set_tooltip_text (appGUI->prefs_button, _("Options")); > + > + appGUI->about_button =3D gui_stock_label_button(NULL, > KANATEST_STOCK_BUTTON_ABOUT); > +- GTK_WIDGET_UNSET_FLAGS (appGUI->about_button, GTK_CAN_FOCUS); > ++ gtk_widget_set_can_focus (appGUI->about_button, FALSE); > + g_signal_connect (G_OBJECT (appGUI->about_button), "clicked", > + G_CALLBACK (show_about_window_cb), appGUI); > + gtk_widget_show (appGUI->about_button); > + gtk_container_add (GTK_CONTAINER (hbuttonbox), > appGUI->about_button); > + gtk_container_set_border_width (GTK_CONTAINER > (appGUI->about_button), 4); > +- GTK_WIDGET_SET_FLAGS (appGUI->about_button, GTK_CAN_DEFAULT); > ++ gtk_widget_set_can_default (appGUI->about_button, TRUE); > + > + gtk_widget_set_tooltip_text (appGUI->about_button, _("About")); > + #endif > diff --git a/games/kanatest/pkg-descr b/games/kanatest/pkg-descr > new file mode 100644 > index 000000000000..e93803dd1a26 > --- /dev/null > +++ b/games/kanatest/pkg-descr > @@ -0,0 +1,7 @@ > +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. > diff --git a/games/kanatest/pkg-plist b/games/kanatest/pkg-plist > new file mode 100644 > index 000000000000..6c1a76feb5b8 > --- /dev/null > +++ b/games/kanatest/pkg-plist > @@ -0,0 +1,21 @@ > +bin/kanatest > +share/applications/kanatest.desktop > +share/icons/hicolor/16x16/apps/kanatest.png > +share/icons/hicolor/22x22/apps/kanatest.png > +share/icons/hicolor/24x24/apps/kanatest.png > +share/icons/hicolor/32x32/apps/kanatest.png > +share/icons/hicolor/48x48/apps/kanatest.png > +share/icons/hicolor/scalable/apps/kanatest.svg > +%%NLS%%share/locale/de/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/el/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/es/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/fi/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/fr/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/hr/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/hu/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/it/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/pl/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/pt/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/ru/LC_MESSAGES/kanatest.mo > +%%NLS%%share/locale/zh_CN/LC_MESSAGES/kanatest.mo > +share/pixmaps/kanatest.png > --=20 Nuno Teixeira FreeBSD Committer (ports) --0000000000003d067b05f4b8a30d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Robert,

I missed to pr= operly check this port:

1.
---
LIB_DEPENDS+=3D
USE_GNOME+=3D
MAKE_ENV+=3D
---
This vars should not contain '+'.
2.
language comes first (japanese games)

Cheers,

Robert Clausecker <fuz@freebsd.org> escreveu no dia ter=C3=A7a, 14/02/2= 023 =C3=A0(s) 20:23:
The branch main has been updated by fuz:

URL: https://cgi= t.FreeBSD.org/ports/commit/?id=3Dbb71c4161707a95f215dc5f24165310265cb6cf0

commit bb71c4161707a95f215dc5f24165310265cb6cf0
Author:=C2=A0 =C2=A0 =C2=A0Clockwork6400 <
Clockwork6400@protonmail.com> AuthorDate: 2023-02-01 20:04:31 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-14 20:23:34 +0000

=C2=A0 =C2=A0 games/kanatest: revive port

=C2=A0 =C2=A0 During test the Kanatest displays randomly selected kana char=
=C2=A0 =C2=A0 (respecting mode and lesson) and waits for user answer expect= ed as
=C2=A0 =C2=A0 romaji equivalent. This process continues until all questions= will be
=C2=A0 =C2=A0 answered or all questions will be answered correctly (depends= on
=C2=A0 =C2=A0 options). At the end of test a short info about drilling time= and
=C2=A0 =C2=A0 correctness ratio is displayed. The results are stored and us= er can
=C2=A0 =C2=A0 review his performance in any time.

=C2=A0 =C2=A0 Submitter becomes maintainer.

=C2=A0 =C2=A0 Changelog: https://sou= rceforge.net/p/kanatest/code/ci/master/tree/ChangeLog

=C2=A0 =C2=A0 PR:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0268895
=C2=A0 =C2=A0 Approved by:=C2=A0 =C2=A0 eduardo (mentor)
=C2=A0 =C2=A0 Differential Revision: https://reviews.freebsd.org/D= 38519
---
=C2=A0MOVED=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 1 -
=C2=A0games/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 1 +
=C2=A0games/kanatest/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0| 32 +++++++++++++++++++
=C2=A0games/kanatest/distinfo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 3 ++
=C2=A0games/kanatest/files/patch-po_Makefile.in | 11 +++++++
=C2=A0games/kanatest/files/patch-src_gui.c=C2=A0 =C2=A0 =C2=A0 | 51 +++++++= ++++++++++++++++++++++++
=C2=A0games/kanatest/pkg-descr=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 |=C2=A0 7 +++++
=C2=A0games/kanatest/pkg-plist=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 | 21 +++++++++++++
=C2=A08 files changed, 126 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index b324f1908cf3..36232cf07ccb 100644
--- a/MOVED
+++ b/MOVED
@@ -7907,7 +7907,6 @@ math/p5-Math-Geometry-Planar-GPC-Polygon||2015-12-30|= Has expired: Broken for mor
=C2=A0www/eliom||2015-12-30|Has expired: Depends on broken and expiring www= /ocsigen
=C2=A0audio/py-fastaudio||2015-12-30|Has expired: Broken for more than 6 mo= nths
=C2=A0devel/jgoodies-common||2015-12-30|Has expired: Broken for more than 6= months
-games/kanatest||2015-12-30|Has expired: Broken for more than 6 months
=C2=A0security/burpsuite||2015-12-30|Has expired: Broken for more than 6 mo= nths
=C2=A0dns/bind10|dns/bundy|2015-12-31|Has expired: Is not developed any mor= e, use dns/bundy
=C2=A0lang/perl5.16||2015-12-31|Has expired: Unsupported, please upgrade to= a more recent version of Perl
diff --git a/games/Makefile b/games/Makefile
index 6e99c9612207..033384ab7fba 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -425,6 +425,7 @@
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D jvgs
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D jzip
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D kanagram
+=C2=A0 =C2=A0 SUBDIR +=3D kanatest
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D kapman
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D kartofel
=C2=A0 =C2=A0 =C2=A0SUBDIR +=3D katomic
diff --git a/games/kanatest/Makefile b/games/kanatest/Makefile
new file mode 100644
index 000000000000..0775ad30e53c
--- /dev/null
+++ b/games/kanatest/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 kanatest
+PORTVERSION=3D=C2=A0 =C2=A00.4.10.g20200611
+CATEGORIES=3D=C2=A0 =C2=A0 games japanese
+
+MAINTAINER=3D=C2=A0 =C2=A0 Clockwork6400@protonmail.com
+COMMENT=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0Japanese kana (Hiragana and Katakana)= simple flashcard tool
+WWW=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0https://kanatest.sou= rceforge.io/
+
+LICENSE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0GPLv2
+LICENSE_FILE=3D=C2=A0 ${WRKSRC}/COPYING
+
+FETCH_DEPENDS=3D git:devel/git
+LIB_DEPENDS+=3D=C2=A0 libharfbuzz.so:print/harfbuzz
+
+USES=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gettext gmake gnome pkgconfig ta= r:xz
+USE_GNOME+=3D=C2=A0 =C2=A0 atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango=
+GNU_CONFIGURE=3D yes
+MAKE_ENV+=3D=C2=A0 =C2=A0 =C2=A0LIBINTL=3D"-lintl"
+
+OPTIONS_DEFINE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 NLS
+OPTIONS_SUB=3D=C2=A0 =C2=A0yes
+
+# this will break when upstream is updating, but unfortunately
+# SF won't let us fetch individual commits.
+do-fetch:
+=C2=A0 =C2=A0 =C2=A0 =C2=A0@${MKDIR} ${_DISTDIR}
+=C2=A0 =C2=A0 =C2=A0 =C2=A0@cd ${_DISTDIR} && [ -f ${DISTNAME}.tar= .xz ] || \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0git archive --format=3Dtar --pref= ix=3D${DISTNAME}/ \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--remote=3Dgit://git= .code.sf.net/p/kanatest/code master | \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${XZ_CMD} >${DISTNAME}.tar.xz<= br> +
+.include <bsd.port.mk>
diff --git a/games/kanatest/distinfo b/games/kanatest/distinfo
new file mode 100644
index 000000000000..45cf4a136f50
--- /dev/null
+++ b/games/kanatest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP =3D 1675987637
+SHA256 (kanatest-0.4.10.g20200611.tar.xz) =3D 477bbf1fa655eaf067efb829533f= 05c90597922eb0827128fd88b925cae5f534
+SIZE (kanatest-0.4.10.g20200611.tar.xz) =3D 274228
diff --git a/games/kanatest/files/patch-po_Makefile.in b/games/kanatest/fil= es/patch-po_Makefile.in
new file mode 100644
index 000000000000..8d0ef5685886
--- /dev/null
+++ b/games/kanatest/files/patch-po_Makefile.in
@@ -0,0 +1,11 @@
+--- po/Makefile.in.orig=C2=A0 =C2=A0 =C2=A0 =C2=A0 2020-06-11 10:29:04 UTC=
++++ po/Makefile.in
+@@ -445,7 +445,7 @@ all: $(MOFILES)
+ update-po: $(DOMAIN).pot $(POFILES) $(MOFILES)
+
+ %.mo: skip
+-=C2=A0 =C2=A0 =C2=A0 @po=3D$(@:.mo=3D.po); if test $$po -nt $@ ; then $(M= SGFMT) -c --statistics $$po -o $@; echo "$@ updated."; fi
++=C2=A0 =C2=A0 =C2=A0 @po=3D$(@:.mo=3D.po); if true; then $(MSGFMT) -c --s= tatistics $$po -o $@; echo "$@ updated."; fi
+
+ %.po: $(DOMAIN).pot
+=C2=A0 =C2=A0 =C2=A0 =C2=A0$(MSGMERGE) $@ $< -o $@.in && mv $@.= in $@
diff --git a/games/kanatest/files/patch-src_gui.c b/games/kanatest/files/pa= tch-src_gui.c
new file mode 100644
index 000000000000..47289d5a7ac0
--- /dev/null
+++ b/games/kanatest/files/patch-src_gui.c
@@ -0,0 +1,51 @@
+--- src/gui.c.orig=C2=A0 =C2=A0 =C2=A02020-06-11 10:29:04 UTC
++++ src/gui.c
+@@ -1129,40 +1129,40 @@ HildonGtkInputMode input_mode;
+ #ifdef MAEMO
+=C2=A0 =C2=A0 =C2=A0 gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI= ->reverse_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_set_border_width (GTK_CONTAINER (appGUI= ->reverse_button), 4);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_SET_FLAGS (appGUI->reverse_button, GTK_= CAN_DEFAULT);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_default (appGUI->reverse_button= , TRUE);
+=C2=A0 =C2=A0 =C2=A0
+=C2=A0 =C2=A0 =C2=A0 gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI= ->stat_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_set_border_width (GTK_CONTAINER (appGUI= ->stat_button), 4);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_SET_FLAGS (appGUI->stat_button, GTK_CAN= _DEFAULT);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_default (appGUI->stat_button, T= RUE);
+
+=C2=A0 =C2=A0 =C2=A0 appGUI->chart_button =3D gui_stock_label_button(NU= LL, KANATEST_STOCK_BUTTON_CHART);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_UNSET_FLAGS (appGUI->chart_button, GTK_= CAN_FOCUS);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_focus (appGUI->chart_button, FA= LSE);
+=C2=A0 =C2=A0 =C2=A0 g_signal_connect (G_OBJECT (appGUI->chart_button),= "clicked",
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 G_CALLBACK (show_chart_window_cb), appGUI);
+=C2=A0 =C2=A0 =C2=A0 gtk_widget_show (appGUI->chart_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI= ->chart_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_set_border_width (GTK_CONTAINER (appGUI= ->chart_button), 4);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_SET_FLAGS (appGUI->chart_button, GTK_CA= N_DEFAULT);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_default (appGUI->chart_button, = TRUE);
+=C2=A0 =C2=A0 =C2=A0 gtk_widget_set_tooltip_text (appGUI->chart_button,= _("Kana chart"));
+
+=C2=A0 =C2=A0 =C2=A0 appGUI->prefs_button =3D gui_stock_label_button(NU= LL, KANATEST_STOCK_BUTTON_OPTIONS);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_UNSET_FLAGS (appGUI->prefs_button, GTK_= CAN_FOCUS);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_focus (appGUI->prefs_button, FA= LSE);
+=C2=A0 =C2=A0 =C2=A0 g_signal_connect (G_OBJECT (appGUI->prefs_button),= "clicked",
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 G_CALLBACK (show_options_window_cb), appGUI);
+=C2=A0 =C2=A0 =C2=A0 gtk_widget_show (appGUI->prefs_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI= ->prefs_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_set_border_width (GTK_CONTAINER (appGUI= ->prefs_button), 4);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_SET_FLAGS (appGUI->prefs_button, GTK_CA= N_DEFAULT);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_default (appGUI->prefs_button, = TRUE);
+=C2=A0 =C2=A0 =C2=A0 gtk_widget_set_tooltip_text (appGUI->prefs_button,= _("Options"));
+
+=C2=A0 =C2=A0 =C2=A0 appGUI->about_button =3D gui_stock_label_button(NU= LL, KANATEST_STOCK_BUTTON_ABOUT);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_UNSET_FLAGS (appGUI->about_button, GTK_= CAN_FOCUS);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_focus (appGUI->about_button, FA= LSE);
+=C2=A0 =C2=A0 =C2=A0 g_signal_connect (G_OBJECT (appGUI->about_button),= "clicked",
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 G_CALLBACK (show_about_window_cb), appGUI);
+=C2=A0 =C2=A0 =C2=A0 gtk_widget_show (appGUI->about_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI= ->about_button);
+=C2=A0 =C2=A0 =C2=A0 gtk_container_set_border_width (GTK_CONTAINER (appGUI= ->about_button), 4);
+-=C2=A0 =C2=A0 =C2=A0GTK_WIDGET_SET_FLAGS (appGUI->about_button, GTK_CA= N_DEFAULT);
++=C2=A0 =C2=A0 =C2=A0gtk_widget_set_can_default (appGUI->about_button, = TRUE);
+
+=C2=A0 =C2=A0 =C2=A0 gtk_widget_set_tooltip_text (appGUI->about_button,= _("About"));
+ #endif
diff --git a/games/kanatest/pkg-descr b/games/kanatest/pkg-descr
new file mode 100644
index 000000000000..e93803dd1a26
--- /dev/null
+++ b/games/kanatest/pkg-descr
@@ -0,0 +1,7 @@
+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.
diff --git a/games/kanatest/pkg-plist b/games/kanatest/pkg-plist
new file mode 100644
index 000000000000..6c1a76feb5b8
--- /dev/null
+++ b/games/kanatest/pkg-plist
@@ -0,0 +1,21 @@
+bin/kanatest
+share/applications/kanatest.desktop
+share/icons/hicolor/16x16/apps/kanatest.png
+share/icons/hicolor/22x22/apps/kanatest.png
+share/icons/hicolor/24x24/apps/kanatest.png
+share/icons/hicolor/32x32/apps/kanatest.png
+share/icons/hicolor/48x48/apps/kanatest.png
+share/icons/hicolor/scalable/apps/kanatest.svg
+%%NLS%%share/locale/de/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/el/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/es/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/it/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/kanatest.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/kanatest.mo
+share/pixmaps/kanatest.png


--
Nun= o Teixeira
FreeBSD Committer (ports)
--0000000000003d067b05f4b8a30d--