FreeBSD Bugzilla – Attachment 239846 Details for
Bug 268895
games/kanatest: Revive port: Japanese kana (Hiragana and Katakana) simple flashcard tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
kanatest-0.4.10_3v5.patch
kanatest-0.4.10_3v5.patch (text/plain), 4.13 KB, created by
Clockwork
on 2023-02-01 20:10:28 UTC
(
hide
)
Description:
kanatest-0.4.10_3v5.patch
Filename:
MIME Type:
Creator:
Clockwork
Created:
2023-02-01 20:10:28 UTC
Size:
4.13 KB
patch
obsolete
>From 20acd0c6e7866a905531fe172c7a867cac820612 Mon Sep 17 00:00:00 2001 >From: Clockwork6400 <Clockwork6400@protonmail.com> >Date: Wed, 1 Feb 2023 22:04:31 +0200 >Subject: [PATCH] add kanatest > >--- > games/kanatest/Makefile | 47 ++++++++++++++++++++++++++++++++++++++++ > games/kanatest/distinfo | 3 +++ > games/kanatest/pkg-descr | 7 ++++++ > games/kanatest/pkg-plist | 21 ++++++++++++++++++ > 4 files changed, 78 insertions(+) > create mode 100644 games/kanatest/Makefile > create mode 100644 games/kanatest/distinfo > create mode 100644 games/kanatest/pkg-descr > create mode 100644 games/kanatest/pkg-plist > >diff --git a/games/kanatest/Makefile b/games/kanatest/Makefile >new file mode 100644 >index 000000000000..aae1a94cf0c7 >--- /dev/null >+++ b/games/kanatest/Makefile >@@ -0,0 +1,47 @@ >+PORTNAME= kanatest >+PORTVERSION= 0.4.10 >+PORTREVISION= 3 >+CATEGORIES= games >+ >+MAINTAINER= Clockwork6400@protonmail.com >+COMMENT= Japanese kana (Hiragana and Katakana) simple flashcard tool >+WWW= https://github.com/Clockwork6400/kanatest >+ >+LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz >+USES= gmake gnome pkgconfig >+USE_GITHUB= yes >+GH_ACCOUNT= Clockwork6400 >+USE_GNOME+= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango >+GNU_CONFIGURE= yes >+MAKE_ENV+= LIBINTL="-lintl" >+ >+OPTIONS_DEFINE= NLS >+OPTIONS_SUB= yes >+ >+NLS_USES= gettext >+NLS_CONFIGURE_ENABLE= nls >+ >+pre-configure: >+ ${REINPLACE_CMD} '/LIBS/s|-lxml|-L${LOCALBASE}/lib &|' \ >+ ${WRKSRC}/configure >+ ${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \ >+ ${WRKSRC}/src/Makefile.in >+ ${REINPLACE_CMD} -e '/^%.mo:/,/^$$/s/test[^;]*/${TRUE}/' \ >+ -e '\|/usr/bin| { s||${LOCALBASE}/bin|; s|=|?=|; }' \ >+ ${WRKSRC}/po/Makefile.in >+ ${REINPLACE_CMD} -e '/GTK_WIDGET_SET_FLAGS/ { \ >+ s//gtk_widget_set_can_default/; \ >+ s/GTK_CAN_DEFAULT/TRUE/; }' \ >+ -e '/GTK_WIDGET_UNSET_FLAGS/ { \ >+ s//gtk_widget_set_can_focus/; \ >+ s/GTK_CAN_FOCUS/FALSE/; }' \ >+ ${WRKSRC}/src/about.c \ >+ ${WRKSRC}/src/chart.c \ >+ ${WRKSRC}/src/gui.c \ >+ ${WRKSRC}/src/options.c \ >+ ${WRKSRC}/src/stats.c >+ >+.include <bsd.port.mk> >diff --git a/games/kanatest/distinfo b/games/kanatest/distinfo >new file mode 100644 >index 000000000000..1725620f8a52 >--- /dev/null >+++ b/games/kanatest/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1673380381 >+SHA256 (Clockwork6400-kanatest-0.4.10_GH0.tar.gz) = 04b545bd85abe196de7f08d5e956ca4e2a8b82b584a7ef79c47d27f47e2def87 >+SIZE (Clockwork6400-kanatest-0.4.10_GH0.tar.gz) = 392664 >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..473fc68718dc >--- /dev/null >+++ b/games/kanatest/pkg-plist >@@ -0,0 +1,21 @@ >+%%NLS%%share/locale/de/LC_MESSAGES/kanatest.mo >+%%NLS%%share/locale/es/LC_MESSAGES/kanatest.mo >+%%NLS%%share/locale/fr/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/el/LC_MESSAGES/kanatest.mo >+%%NLS%%share/locale/fi/LC_MESSAGES/kanatest.mo >+%%NLS%%share/locale/hr/LC_MESSAGES/kanatest.mo >+%%NLS%%share/locale/zh_CN/LC_MESSAGES/kanatest.mo >+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 >+share/pixmaps/kanatest.png >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
Clockwork6400
:
maintainer-approval-
Actions:
View
|
Diff
Attachments on
bug 268895
:
239412
|
239416
|
239681
|
239816
|
239833
| 239846 |
240038