debian/0000755000000000000000000000000012163245763007177 5ustar debian/source/0000755000000000000000000000000012163245763010477 5ustar debian/source/format0000644000000000000000000000001412163245763011705 0ustar 3.0 (quilt) debian/kanatest.10000644000000000000000000000160012163245763011070 0ustar .TH KANATEST 1 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME kanatest \- a beginner's drill game to learn Japanese kana characters .SH SYNOPSIS .B kanatest .SH "DESCRIPTION" .B kanatest is a simple hiragana and katakana drill game. It checks your knowledge of Japanese kana characters. .PP There are three drill modes: hiragana mode (hiragana charset only), katakana mode (katakana charset only) and mixed mode (both charsets). The tester shows random kana characters and waits until you enter the romaji equivalent in an entry field. At the end, statistics are provided. .PP kanatest uses GTK 2. .SH OPTIONS There are no options for kanatest. .SH AUTHOR This manual page was written by Sam Hocevar for the Debian GNU/Linux distribution because the original program did not have a manual page. debian/copyright0000644000000000000000000000127012163245763011132 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=420 Upstream-Name: kanatest Upstream-Maintainer: Tomasz Mąka Upstream-Source: http://clay.ll.pl/kanatest/ Files: * Copyright: © 2001-2009 Tomasz Mąka Copyright: © 2001-2008 Maja Kocoń Copyright: © 2001-2008 Piotr Mąka License: GPL-2+ Files: debian/* Copyright: © 2003-2008 Sam Hocevar Copyright: © 2008-2009 Evgeni Golov License: GPL-2+ License: GPL-2+ On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/README.source0000644000000000000000000000021112163245763011350 0ustar This package uses quilt for patch management, for more information see the file /usr/share/doc/quilt/README.source in the quilt package. debian/menu0000644000000000000000000000034012163245763010063 0ustar ?package(kanatest):command="/usr/bin/kanatest" needs="X11" \ section="Applications/Education" title="Kana test" \ icon="/usr/share/pixmaps/kanatest.xpm" \ longtitle="Drill game to learn Japanese kana characters" debian/kanatest.xpm0000644000000000000000000001035012163245763011536 0ustar /* XPM */ static char * kanatest_xpm[] = { "32 32 131 2", " c None", ". c #6C655C", "+ c #AEA090", "@ c #D7C8B9", "# c #9D9183", "$ c #A09386", "% c #A6998A", "& c #A89B8B", "* c #4A4948", "= c #1B1A19", "- c #E9D6C1", "; c #EEDCC8", "> c #F1E2D4", ", c #FBE7D0", "' c #FCE8D1", ") c #79726A", "! c #363636", "~ c #121212", "{ c #48443D", "] c #E3D8CA", "^ c #F1DEC9", "/ c #2C2622", "( c #958B80", "_ c #EDE5D8", ": c #DDD8CB", "< c #35312D", "[ c #B4AA9E", "} c #CAC4BA", "| c #DECDBA", "1 c #645C53", "2 c #BEB1A1", "3 c #D8C7B3", "4 c #E4D2BD", "5 c #F9E5CE", "6 c #F5E2CC", "7 c #766F69", "8 c #796F64", "9 c #3D3632", "0 c #CCBCA9", "a c #5B544C", "b c #C0B09F", "c c #95897C", "d c #B5A797", "e c #8F8477", "f c #3A322C", "g c #7B7166", "h c #857A6E", "i c #CAB9A7", "j c #DBCAB6", "k c #70665D", "l c #BAAC9C", "m c #74695E", "n c #EAD5BB", "o c #827970", "p c #D2C1AE", "q c #6A5A4E", "r c #5C5B5B", "s c #6B6B6B", "t c #818180", "u c #BEBDBD", "v c #D1D1D1", "w c #666565", "x c #E0CEBA", "y c #C2B3A2", "z c #F0DDC5", "A c #EBEAEA", "B c #E4E4E4", "C c #444444", "D c #F1D9BB", "E c #F8D7AA", "F c #D5B287", "G c #C6AE91", "H c #DAD9D9", "I c #453E38", "J c #F5C794", "K c #DEB081", "L c #A47958", "M c #765844", "N c #E1C7A5", "O c #EDCA9E", "P c #E2AB7B", "Q c #BD8761", "R c #896146", "S c #6B5343", "T c #3C3C3C", "U c #F3D5AB", "V c #F5CF9B", "W c #F0BD89", "X c #DDA778", "Y c #BA865F", "Z c #94674A", "` c #70533F", " . c #887E72", ".. c #2B2B2B", "+. c #242424", "@. c #AD9A86", "#. c #FAD4A0", "$. c #F2C28E", "%. c #C28E65", "&. c #96684B", "*. c #66615B", "=. c #ECD4B6", "-. c #F5D2A3", ";. c #F9D19C", ">. c #DDA475", ",. c #996C4E", "'. c #7C5741", "). c #A19588", "!. c #755541", "~. c #695649", "{. c #D5C5B2", "]. c #EDDAC4", "^. c #F0CFA4", "/. c #EEBD8B", "(. c #CB9268", "_. c #AB7B58", ":. c #886F58", "<. c #BB8E68", "[. c #BF8D66", "}. c #664C39", "|. c #8D857B", "1. c #825B42", "2. c #684C39", "3. c #4A3B32", "4. c #484643", "5. c #746C63", "6. c #322C27", "7. c #533E31", "8. c #42342B", "9. c #0C0C0C", "0. c #211E1D", " ", " . + @ # $ % & & & & & & % & & & * = ", " - ; > > , ' ' ' ' ' ' ' ' ' ' ' ' ) ! ~ ", " { @ ] ] ^ ' ' ' ' ' ' ' ' ' ' ' ' ' ) ! ~ ", " / ( _ : ; ' ' ' ' ' ' ' ' ' ' ' ' ' ' ) ! ~ ", " < ) [ } | ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ) ! ~ ", " 1 2 | 3 4 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ) ! ~ ", " ) ; ' 5 6 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' 7 ! ~ ", " 2 ' , , , , ' ' ' ' 5 , , , , ' , , ' ' ) ! ~ ", " 2 , , , , , , 5 5 5 ' , , , , , , , ' ' ) ! ~ ", " % ' , , , , , & 8 - 5 , , 5 5 , , , , ' ) ! ~ ", " & ' , , , , , | 9 4 ' , , 4 0 6 , , ' ' 7 ! ~ ", " & ' , , ; 5 5 4 a 4 & b 5 6 b 1 c , ' ' ) ! ~ ", " & ' ' , 4 c d e f g h i 5 , j k = j ' ' ) ! ~ ", " l ' , , , l # d m ' 5 , , , 6 , - 6 ' ' ) ! ~ ", " l ' , , 5 5 ' j g ' ' n l % + - , 5 ' ' 7 ! ~ ", " l ' 5 , , , , j o b c $ 3 6 p q + 5 ' ' g ! r s * ", " l ' ' , , , , p { c j , , , , l 1 5 5 ' ) t u v + w ", " l ' ' , x 6 y a q ' 4 i , , , 0 { 6 z 3 y A B u 7 C ", " l ' 5 5 g g { l ) 5 5 h p , 5 h . D E F G H } r * * ", " l 5 ' 5 c e i 1 I 5 5 4 h . 1 e J J K L M w * C C C ", " + ' 5 5 5 5 , & a 5 5 6 n N O J P Q R S I ! ! T C ", " & , , , , , , 5 5 z D U V W X Y Z ` 1 .* ..+.+. ", " @.' , , , , 5 ; n U #.$.P %.&.` q g # y *.! +. ", " & ' ' ' 5 z =.-.;.W >.Y ,.'.1 o ).y | ^ 7 ! ~ ", " & 5 5 ; n U ;.W P Q ,.!.~.8 ( 2 {.].6 , ) ! ~ ", " d ].=.-.V J X Y ,.` ~.) # 2 3 ].6 ' ' , 7 ! ~ ", " @.^.V /.X (._.` S m e d {.- 6 ' ' ' ' ' ) ! ~ ", " I :.<.[._.,.` }.w |.d p ].6 5 ' ' ' ' ' ' ) ! ~ ", " f }.R 1.2.3.9 ! 4.a . 5.) ) ) ) ) 7 ) ) ) * ! ~ ", " / 6.7.8.< ......! ! ! ! ! ! ! ! ! ! ! ! ! ..+.9. ", " 0./ 9.9.9.9.9.~ 9.~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 9. "}; debian/changelog0000644000000000000000000002070312163245763011053 0ustar kanatest (0.4.8-3) unstable; urgency=low * Add patch to drop GTK_DISABLE_DEPRECATED. (Closes: #634350). + Thanks to Colin Watson for the patch. * Update 003_gtk_ftbfs_fix.patch to fix string format error. * Move to source format 3.0 (quilt). + Drop build-dep on quilt. * Update to dh style rules. + Bump debhelper build-dep and compat to 9. * Update VCS tags. * Bump Standards Version to 3.9.4. -- Barry deFreese Wed, 26 Jun 2013 18:48:56 -0400 kanatest (0.4.8-2.1) unstable; urgency=low * Non-maintainer upload. * debian/control - Update to use appropriate Japanese font (Closes: #642941) -- Hideki Yamane Wed, 12 Sep 2012 07:49:02 +0900 kanatest (0.4.8-2) unstable; urgency=low * debian/control: + Update my email address. + Update the homepage link. + Standards-Version: 3.9.1 * debian/watch: + Upstream homepage has moved, update watchfile. * Add 002_updated_emails_and_links.patch to fix old links and emails. LP: #462599 * Add 003_gtk_ftbfs_fix.patch to fix FTBFS with GTK+ >= 2.22. * Set 1.0 in debian/source/format. -- Evgeni Golov Mon, 28 Mar 2011 13:35:04 +0200 kanatest (0.4.8-1) unstable; urgency=low * New upstream release. * debian/patches/004_ru_po.diff: + Drop the patch, upstream has updated the translation. * debian/copyright: + Update copyright years. * debian/control: + Bump Standards-Version to 3.8.1, no changes. -- Evgeni Golov Fri, 17 Apr 2009 08:52:58 +0200 kanatest (0.4.6-2) unstable; urgency=low [ Barry deFreese ] * Update my e-mail address. [ Evgeni Golov ] * Upload to unstable again. * debian/patches/004_ru_po.diff: + Update russian translation. * debian/patches/{003_de_po,002_kfreebsd_fix}.diff: + Really drop patches, not only not apply them. -- Evgeni Golov Mon, 16 Feb 2009 21:16:37 +0100 kanatest (0.4.6-1) experimental; urgency=low * New upstream release, upload to experimental. * debian/patches/003_de_po.diff: + Applied upstream, thus droped. * debian/patches/002_kfreebsd_fix.diff + upstream has cleaned up the includes, patch droped. * debian/kanatest.6: + Set section to 1, not 6 + Rename to kanatest.1 * debian/rules: + Install binary to /usr/bin, data to /usr/share. + Set LDFLAGS="-Wl,-z,defs -Wl,--as-needed" to tighten deps. + dh_installchangelogs only takes one argument, install the README correctly with dh_installdocs and not install AUTHORS at all. + Remove the comment header. + Only pass --host= to configure when cross-building. + Clean up the clean target. * debian/copyright: + Use the machine-readable format. * debian/control: + Add ${misc:Depends} to Depends. * debian/patches/001_PATH_MAX_fix.diff: + Hurd does not have PATH_MAX, fix FTBFS by defining it. -- Evgeni Golov Thu, 18 Dec 2008 22:32:47 +0100 kanatest (0.4.4-2) unstable; urgency=low [ Barry deFreese ] * Bump Standars Version to 3.7.3 (No changes needed) [ Ansgar Burchardt ] * debian/menu: + Change section to Applications/Education instead of Games * debian/kanatest.desktop: + Change categories to Education, Languages instead of Game * debian/control: + Change section to text instead of games [ Evgeni Golov ] * debian/rules: + let config.stamp depend on $(QUILT_STAMPFN) instead of patch so configure isn't run twice + wrap the configure options for better reading + don't set CFLAGS, let dpkg handle them * debian/patches/003_de_po.diff: + Add German translation, thanks Mathias Brodala ! Closes: #500064 * debian/control: + Bump Standars-Version to 3.8.0 + Add myself to Uploaders * debian/README.source: + Add README.source with information about quilt-usage, as recommended by Policy -- Sam Hocevar (Debian packages) Thu, 25 Sep 2008 11:58:15 +0000 kanatest (0.4.4-1) unstable; urgency=low [ Eddy Petrișor ] * Gtk should be written as GTK in the desktop file * added a Romanian translation of the comment in the desktop file [ Cyril Brulebois ] * Adjusted XS-Vcs-Svn and XS-Vcs-Browser fields in the control file. [ Barry deFreese ] * New upstream release (Closes: #451414) * Add watch file (Closes: #451416) * Add Homepage field in control * Make distclean not ignore errors * Remove XS- from VCS fields in control * Fix up clean target * Revert 000_config_sub_guess.diff - Improved upstream build system * 002_kfreebsd_fix.diff (Closes: #416873) + Conditionally include limits.h on linux - Fixes FTBFS on kfreebsd + Thanks to Cyril Brulebois for the patch * Add myself to uploaders * Remove deprecated Encoding field from desktop and fix categories * Include quilt.make and fix rules to patch/unpatch [ Mike O'Connor ] * make sure docs/*.pmo are built (Closes: #441711) * add missing build-depends on gettext [ Paul Wise ] * Move non-free ttf-mikachan from Recommends to Suggests * Add a descriptive longtitle to the menu file * Support noopt and nostrip properly -- Sam Hocevar (Debian packages) Mon, 19 Nov 2007 14:12:32 +0930 kanatest (0.4.2-2) unstable; urgency=low * debian/control: + Build-depend against libxml2-dev. -- Sam Hocevar (Debian packages) Sat, 07 Apr 2007 14:21:36 +0200 kanatest (0.4.2-1) unstable; urgency=low [ Gonéri Le Bouder ] * add French comment in desktop file * remove the Applications category from the desktop file since it's not an official category http://standards.freedesktop.org/menu-spec/latest/apa.html * call dh_desktop to run update-desktop-database [ Sam Hocevar ] * New upstream release (Closes: #416493). * debian/control: + Added Vcs fields. + Recommend ttf-kochi-mincho | ttf-mikachan | ttf-kochi-gothic because the software now uses the system fonts to display kanas. * debian/compat: + Set level to 5. * debian/kanatest.6: + Upstream's manpage disappeared. Readded mine. -- Sam Hocevar (Debian packages) Fri, 30 Mar 2007 12:39:45 +0200 kanatest (0.3.6-3) unstable; urgency=low * Moved packaging to the Debian Games Team. * Use quilt for patch management. * debian/control: + Set policy to 3.7.2. + Build-depend on quilt. * debian/copyright: + Fixed the FSF address. * debian/kanatest.6: + Removed this file, upstream's manpage is all right. * debian/patches/000_config_sub_guess.diff: + New patch from old diff.gz -- update config.sub and config.guess files. * debian/patches/020_data_path.diff: + New patch from old diff.gz -- disable data path overriding. * debian/patches/030_de_po.diff: + New patch by Jens Seidel: fix the de.po file's charset (Closes: #314023). * debian/patches/030_manpage.diff: + New patch -- substitute ${prefix} (Closes: #282528) and fix the project's webpage. -- Sam Hocevar (Debian packages) Wed, 17 May 2006 03:28:01 +0200 kanatest (0.3.6-2) unstable; urgency=low * debian/copyright: + Converted this file to UTF-8. * debian/control: + Set policy to 3.6.1.1. * debian/menu debian/kanatest.desktop: + Added a GNOME menu entry and pixmap thanks to Dan Korostelev. + Added a pixmap for the Debian menu entry thanks to Dan Korostelev. (Closes: #257433). -- Sam Hocevar (Debian packages) Tue, 10 Aug 2004 12:01:34 +0200 kanatest (0.3.6-1) unstable; urgency=low * New upstream release (Closes: #245780). -- Sam Hocevar (Debian packages) Sun, 25 Apr 2004 20:35:59 +0200 kanatest (0.3.4-1) unstable; urgency=low * New upstream release. -- Sam Hocevar (Debian packages) Mon, 15 Sep 2003 12:58:49 +0200 kanatest (0.3.3-1) unstable; urgency=low * New upstream release. * debian/control: + Set policy to 3.6.1.0. -- Sam Hocevar (Debian packages) Sat, 30 Aug 2003 22:53:41 +0200 kanatest (0.3.1-2) unstable; urgency=low * Fixed a bug on fresh installs that prevented kanatest to load its graphic files (Closes: #198835). -- Sam Hocevar (Debian packages) Thu, 26 Jun 2003 10:39:13 +0200 kanatest (0.3.1-1) unstable; urgency=low * Initial Release (Closes: #197466). * Wrote a manpage for kanatest(6). * Disabled the data path overriding in src/prefs.c. -- Sam Hocevar (Debian packages) Mon, 16 Jun 2003 02:38:18 +0200 debian/compat0000644000000000000000000000000212163245763010375 0ustar 9 debian/kanatest.manpages0000644000000000000000000000002212163245763012520 0ustar debian/kanatest.1 debian/watch0000644000000000000000000000010112163245763010220 0ustar version=3 http://clayo.org/kanatest/ kanatest-([\d.]+)\.tar\.gz debian/rules0000755000000000000000000000126512163245763010263 0ustar #!/usr/bin/make -f # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) configure_flags += --build=$(DEB_BUILD_GNU_TYPE) ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) configure_flags += --host=$(DEB_HOST_GNU_TYPE) endif %: dh $@ override_dh_auto_configure: ./configure $(configure_flags) --prefix=/usr \ --bindir=\$${prefix}/bin --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info --datadir=\$${prefix}/share debian/control0000644000000000000000000000223412163245763010603 0ustar Source: kanatest Section: text Priority: optional Maintainer: Debian Games Team Uploaders: Sam Hocevar , Barry deFreese , Evgeni Golov Build-Depends: debhelper (>= 9), libgtk2.0-dev (>= 2.0), libxml2-dev, gettext, autotools-dev Standards-Version: 3.9.4 Homepage: http://clayo.org/kanatest/ Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/kanatest/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/kanatest/?op=log Package: kanatest Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: fonts-ipafont-mincho | fonts-japanese-mincho Suggests: fonts-mikachan Description: beginner's drill game to learn Japanese kana characters Kanatest is a simple hiragana and katakana drill game. It checks your knowledge of Japanese kana characters. . There are three drill modes: hiragana mode (hiragana charset only), katakana mode (katakana charset only) and mixed mode (both charsets). The tester shows random kana characters and waits until you enter the romaji equivalent in an entry field. At the end, statistics are provided. debian/patches/0000755000000000000000000000000012163245763010626 5ustar debian/patches/001_PATH_MAX_fix.diff0000644000000000000000000000247212163245763014154 0ustar From: Evgeni Golov Date: 2008-12-15 20:14:24 +0100 Subject: Hurd does not have PATH_MAX License: GPL-2+ There is no PATH_MAX on Hurd (see [1]), thus define it to something sane. [1] http://www.debian.org/ports/hurd/hurd-devel-debian Index: kanatest-0.4.6/src/gui_utils.h =================================================================== --- kanatest-0.4.6.orig/src/gui_utils.h 2008-12-15 19:13:45.000000000 +0000 +++ kanatest-0.4.6/src/gui_utils.h 2008-12-15 19:14:24.000000000 +0000 @@ -37,5 +37,9 @@ void gui_url_insert_link (GSList *links_list, gint *link_index, GtkWidget *textview, GtkTextIter *iter, gchar *color, gint font_size, gchar *text, gboolean center, GUI *appGUI); void gui_url_remove_links (GSList *links_list, gint *link_index); +#ifndef PATH_MAX + #define PATH_MAX 4096 +#endif + #endif /* _GUI_UTILS_H */ Index: kanatest-0.4.6/src/prefs.h =================================================================== --- kanatest-0.4.6.orig/src/prefs.h 2008-12-15 19:19:53.000000000 +0000 +++ kanatest-0.4.6/src/prefs.h 2008-12-15 19:20:30.000000000 +0000 @@ -34,6 +34,10 @@ #define MAX_COLORNAME_LEN 64 #define MAX_BUFFER_SIZE 1024 +#ifndef PATH_MAX + #define PATH_MAX 4096 +#endif + struct kanatest_prefs { gint window_x; debian/patches/series0000644000000000000000000000015512163245763012044 0ustar 001_PATH_MAX_fix.diff 002_updated_emails_and_links.patch 003_gtk_ftbfs_fix.patch 004_enable_deprecated.patch debian/patches/003_gtk_ftbfs_fix.patch0000644000000000000000000005115212163245763015054 0ustar From: Tomasz Maka Subject: Compilation fixes (based on patch by Miyako Miyamura) Origin: upstream, http://svn.gna.org/viewcvs/kanatest?view=rev&revision=60 Slightly modified to apply on 0.4.8 Updated: 2013-06-28 Index: kanatest-0.4.8/src/about.c =================================================================== --- kanatest-0.4.8.orig/src/about.c 2013-06-27 18:16:59.000000000 -0400 +++ kanatest-0.4.8/src/about.c 2013-06-27 18:16:59.000000000 -0400 @@ -430,7 +430,12 @@ g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (about_close_button_cb), appGUI); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); + +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (close_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); +#endif gtk_widget_grab_default (close_button); Index: kanatest-0.4.8/src/chart.c =================================================================== --- kanatest-0.4.8.orig/src/chart.c 2013-06-27 18:16:50.000000000 -0400 +++ kanatest-0.4.8/src/chart.c 2013-06-27 18:16:59.000000000 -0400 @@ -260,7 +260,12 @@ g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (chart_close_button_cb), appGUI); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); + +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (close_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); +#endif chart_display_kanas(HIRAGANA, appGUI); Index: kanatest-0.4.8/src/gui.c =================================================================== --- kanatest-0.4.8.orig/src/gui.c 2013-06-27 18:16:50.000000000 -0400 +++ kanatest-0.4.8/src/gui.c 2013-06-27 18:16:59.000000000 -0400 @@ -121,7 +121,7 @@ GUI *appGUI = (GUI *)user_data; appGUI->tst->test_state = TRUE; - g_timeout_add (1000, (GtkFunction) time_handler, appGUI); + g_timeout_add (1000, time_handler, appGUI); gtk_widget_show (appGUI->char_label); gtk_widget_hide (appGUI->logo_area); @@ -561,7 +561,11 @@ gtk_box_pack_start (GTK_BOX (hbox2), appGUI->timer_label, TRUE, TRUE, 0); appGUI->stat_button = gui_stock_label_button(NULL, KANATEST_STOCK_BUTTON_STATISTICS); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->stat_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->stat_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->stat_button), "clicked", G_CALLBACK (show_statistics_window_cb), appGUI); gtk_widget_show (appGUI->stat_button); @@ -570,7 +574,11 @@ gtk_widget_set_tooltip_text (appGUI->stat_button, _("Statistics")); appGUI->chart_button = gui_stock_label_button(NULL, KANATEST_STOCK_BUTTON_CHART); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->chart_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->chart_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->chart_button), "clicked", G_CALLBACK (show_chart_window_cb), appGUI); gtk_widget_show (appGUI->chart_button); @@ -579,7 +587,11 @@ gtk_widget_set_tooltip_text (appGUI->chart_button, _("Kana chart")); appGUI->prefs_button = gui_stock_label_button(NULL, KANATEST_STOCK_BUTTON_OPTIONS); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->prefs_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->prefs_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->prefs_button), "clicked", G_CALLBACK (show_options_window_cb), appGUI); gtk_widget_show (appGUI->prefs_button); @@ -588,7 +600,11 @@ gtk_widget_set_tooltip_text (appGUI->prefs_button, _("Options")); appGUI->about_button = gui_stock_label_button(NULL, KANATEST_STOCK_BUTTON_ABOUT); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->about_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->about_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->about_button), "clicked", G_CALLBACK (show_about_window_cb), appGUI); gtk_widget_show (appGUI->about_button); @@ -660,33 +676,57 @@ gtk_box_set_spacing (GTK_BOX (hbuttonbox), 5); appGUI->start_button = gui_stock_label_button(_("Start"), GTK_STOCK_EXECUTE); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->start_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->start_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->start_button), "clicked", G_CALLBACK (start_test_cb), appGUI); gtk_widget_show (appGUI->start_button); gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI->start_button); gtk_container_set_border_width (GTK_CONTAINER (appGUI->start_button), 4); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (appGUI->start_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (appGUI->start_button, GTK_CAN_DEFAULT); +#endif gtk_widget_set_tooltip_text (appGUI->start_button, _("Press to begin testing...")); appGUI->stop_button = gui_stock_label_button(_("Stop"), GTK_STOCK_STOP); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->stop_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->stop_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->stop_button), "clicked", G_CALLBACK (stop_test_cb), appGUI); gtk_widget_show (appGUI->stop_button); gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI->stop_button); gtk_container_set_border_width (GTK_CONTAINER (appGUI->stop_button), 4); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (appGUI->stop_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (appGUI->stop_button, GTK_CAN_DEFAULT); +#endif gtk_widget_set_tooltip_text (appGUI->stop_button, _("Press to stop testing...")); appGUI->quit_button = gui_stock_label_button(_("Quit"), GTK_STOCK_QUIT); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->quit_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->quit_button, GTK_CAN_FOCUS); +#endif g_signal_connect (G_OBJECT (appGUI->quit_button), "clicked", G_CALLBACK (gui_close_window_cb), appGUI); gtk_widget_show (appGUI->quit_button); gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI->quit_button); gtk_container_set_border_width (GTK_CONTAINER (appGUI->quit_button), 4); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (appGUI->quit_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (appGUI->quit_button, GTK_CAN_DEFAULT); +#endif gtk_widget_set_tooltip_text (appGUI->quit_button, _("Exit!")); gui_disable_test (appGUI); Index: kanatest-0.4.8/src/gui_utils.c =================================================================== --- kanatest-0.4.8.orig/src/gui_utils.c 2013-06-27 18:16:50.000000000 -0400 +++ kanatest-0.4.8/src/gui_utils.c 2013-06-27 18:16:59.000000000 -0400 @@ -294,7 +294,7 @@ GSList *tags = NULL, *tagp = NULL; GtkTextTag *tag; gchar *link; -gint slink; +size_t slink; if (ev->type != GDK_BUTTON_RELEASE) { return FALSE; @@ -322,7 +322,7 @@ for (tagp = tags; tagp != NULL; tagp = tagp->next) { tag = tagp->data; - slink = (gint) g_object_get_data (G_OBJECT (tag), "link"); + slink = (size_t)g_object_get_data (G_OBJECT (tag), "link"); if (slink != 0) { link = g_slist_nth_data (links_list, slink); Index: kanatest-0.4.8/src/options.c =================================================================== --- kanatest-0.4.8.orig/src/options.c 2013-06-27 18:16:50.000000000 -0400 +++ kanatest-0.4.8/src/options.c 2013-06-27 18:16:59.000000000 -0400 @@ -105,13 +105,13 @@ void kana_selected_cb (GtkToggleButton *button, gpointer user_data) { -gint pos; +size_t pos; MESSAGE *msg = (MESSAGE *)user_data; if (msg->appGUI->opt->disable_toggles == FALSE) { - pos = (int) msg->data; + pos = (size_t) msg->data; if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(button)) == TRUE) { config.user_defined_lesson[pos] = '+'; @@ -315,7 +315,7 @@ row_button_select_cb (GtkWidget *widget, gpointer user_data) { MESSAGE *msg = (MESSAGE *)user_data; - select_deselect_row ((gint) msg->data, TRUE, msg->appGUI); + select_deselect_row ((size_t) msg->data, TRUE, msg->appGUI); } /*--------------------------------------------------------------------*/ @@ -324,7 +324,7 @@ row_button_deselect_cb (GtkWidget *widget, gpointer user_data) { MESSAGE *msg = (MESSAGE *)user_data; - select_deselect_row ((gint) msg->data, FALSE, msg->appGUI); + select_deselect_row ((size_t) msg->data, FALSE, msg->appGUI); } /*--------------------------------------------------------------------*/ @@ -521,7 +521,11 @@ appGUI->opt->hiragana_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Hiragana")); gtk_widget_show (appGUI->opt->hiragana_radiobutton); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->opt->hiragana_radiobutton, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->opt->hiragana_radiobutton, GTK_CAN_FOCUS); +#endif gtk_box_pack_start (GTK_BOX (hbox1), appGUI->opt->hiragana_radiobutton, FALSE, FALSE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (appGUI->opt->hiragana_radiobutton), radiobutton_group); radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (appGUI->opt->hiragana_radiobutton)); @@ -530,7 +534,11 @@ katakana_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Katakana")); gtk_widget_show (katakana_radiobutton); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (katakana_radiobutton, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (katakana_radiobutton, GTK_CAN_FOCUS); +#endif gtk_box_pack_start (GTK_BOX (hbox1), katakana_radiobutton, FALSE, FALSE, 0); gtk_radio_button_set_group (GTK_RADIO_BUTTON (katakana_radiobutton), radiobutton_group); radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (katakana_radiobutton)); @@ -669,14 +677,22 @@ g_signal_connect (G_OBJECT (cancel_button), "clicked", G_CALLBACK (auto_select_close_button_cb), appGUI); gtk_container_add (GTK_CONTAINER (hbuttonbox), cancel_button); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (cancel_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT); +#endif appGUI->opt->select_button = gui_stock_label_button(_("Select"), GTK_STOCK_INDEX); gtk_widget_show (appGUI->opt->select_button); g_signal_connect (G_OBJECT (appGUI->opt->select_button), "clicked", G_CALLBACK (auto_select_select_button_cb), appGUI); gtk_container_add (GTK_CONTAINER (hbuttonbox), appGUI->opt->select_button); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default(appGUI->opt->select_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (appGUI->opt->select_button, GTK_CAN_DEFAULT); +#endif if (config.hiragana_mode == TRUE) { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(appGUI->opt->hiragana_radiobutton), TRUE); @@ -746,7 +762,11 @@ gtk_container_add (GTK_CONTAINER (appGUI->opt->options_window), vbox1); appGUI->opt->notebook = gtk_notebook_new(); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->opt->notebook, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->opt->notebook, GTK_CAN_FOCUS); +#endif gtk_widget_show (appGUI->opt->notebook); gtk_notebook_set_tab_pos (GTK_NOTEBOOK(appGUI->opt->notebook), GTK_POS_TOP); gtk_box_pack_start (GTK_BOX (vbox1), appGUI->opt->notebook, TRUE, TRUE, 0); @@ -823,7 +843,11 @@ (GtkAttachOptions) (0), 0, 0); combobox_ca_timeout = gtk_combo_box_new_text (); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (combobox_ca_timeout, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (combobox_ca_timeout, GTK_CAN_FOCUS); +#endif gtk_widget_show (combobox_ca_timeout); g_signal_connect (G_OBJECT (combobox_ca_timeout), "changed", G_CALLBACK (options_combobox_ca_timeout_handler_cb), NULL); @@ -959,12 +983,16 @@ gtk_widget_show (appGUI->opt->check_buttons[pos]); - msg[pos].data = (gpointer) pos; + msg[pos].data = (gpointer)((size_t)pos); msg[pos].appGUI = appGUI; g_signal_connect (G_OBJECT (appGUI->opt->check_buttons[pos]), "toggled", G_CALLBACK (kana_selected_cb), &msg[pos]); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->opt->check_buttons[pos], FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->opt->check_buttons[pos], GTK_CAN_FOCUS); +#endif gtk_container_add (GTK_CONTAINER (frames[pos]), appGUI->opt->check_buttons[pos]); if(config.user_defined_lesson[pos] == '+') { @@ -980,14 +1008,18 @@ appGUI->opt->row_button_s[j] = gui_stock_label_button (NULL, GTK_STOCK_APPLY); gtk_button_set_relief (GTK_BUTTON (appGUI->opt->row_button_s[j]), GTK_RELIEF_NONE); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->opt->row_button_s[j], FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->opt->row_button_s[j], GTK_CAN_FOCUS); +#endif gtk_widget_set_tooltip_text (appGUI->opt->row_button_s[j], _("Select all kanas in row")); gtk_widget_show (appGUI->opt->row_button_s[j]); gtk_table_attach (GTK_TABLE (table), appGUI->opt->row_button_s[j], i, i+1, j, j+1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_FILL), 0, 0); - msg2[j].data = (gpointer) j; + msg2[j].data = (gpointer)((size_t)j); msg2[j].appGUI = appGUI; g_signal_connect (G_OBJECT (appGUI->opt->row_button_s[j]), "clicked", G_CALLBACK (row_button_select_cb), &msg2[j]); @@ -996,7 +1028,11 @@ appGUI->opt->row_button_c[j] = gui_stock_label_button (NULL, GTK_STOCK_CLEAR); gtk_button_set_relief (GTK_BUTTON (appGUI->opt->row_button_c[j]), GTK_RELIEF_NONE); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (appGUI->opt->row_button_c[j], FALSE); +#else GTK_WIDGET_UNSET_FLAGS (appGUI->opt->row_button_c[j], GTK_CAN_FOCUS); +#endif gtk_widget_set_tooltip_text (appGUI->opt->row_button_c[j], _("Deselect all kanas in row")); gtk_widget_show (appGUI->opt->row_button_c[j]); gtk_table_attach (GTK_TABLE (table), appGUI->opt->row_button_c[j], i, i+1, j, j+1, @@ -1026,7 +1062,11 @@ gtk_misc_set_padding (GTK_MISC (appGUI->opt->number_of_kanas_label), 4, 0); auto_select_button = gtk_button_new_with_label (_("Statistics based selection")); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (auto_select_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (auto_select_button, GTK_CAN_FOCUS); +#endif gtk_widget_show (auto_select_button); gtk_box_pack_end (GTK_BOX (hbox), auto_select_button, FALSE, FALSE, 0); g_signal_connect (G_OBJECT (auto_select_button), "clicked", @@ -1044,7 +1084,11 @@ gtk_misc_set_padding (GTK_MISC (label), 4, 0); combobox_dtf = gtk_combo_box_new_text (); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (combobox_dtf, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (combobox_dtf, GTK_CAN_FOCUS); +#endif gtk_widget_show (combobox_dtf); gtk_box_pack_start (GTK_BOX (hbox), combobox_dtf, FALSE, FALSE, 0); g_signal_connect (G_OBJECT (combobox_dtf), "changed", @@ -1068,21 +1112,33 @@ gtk_misc_set_padding (GTK_MISC (label), 4, 0); select_all_button = gtk_button_new_with_label (_("All")); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (select_all_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (select_all_button, GTK_CAN_FOCUS); +#endif gtk_widget_show (select_all_button); gtk_container_add (GTK_CONTAINER (hbuttonbox_s), select_all_button); g_signal_connect (G_OBJECT (select_all_button), "clicked", G_CALLBACK (select_all_action_cb), appGUI); select_none_button = gtk_button_new_with_label (_("None")); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (select_none_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (select_none_button, GTK_CAN_FOCUS); +#endif gtk_widget_show (select_none_button); gtk_container_add (GTK_CONTAINER (hbuttonbox_s), select_none_button); g_signal_connect (G_OBJECT (select_none_button), "clicked", G_CALLBACK (select_none_action_cb), appGUI); invert_selection_button = gtk_button_new_with_label (_("Invert")); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus (invert_selection_button, FALSE); +#else GTK_WIDGET_UNSET_FLAGS (invert_selection_button, GTK_CAN_FOCUS); +#endif gtk_widget_show (select_none_button); gtk_widget_show (invert_selection_button); gtk_container_add (GTK_CONTAINER (hbuttonbox_s), invert_selection_button); @@ -1103,7 +1159,11 @@ g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (options_close_button_cb), appGUI); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (close_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); +#endif switch(config.repeat_mode) { case REPEAT_ALL: Index: kanatest-0.4.8/src/stats.c =================================================================== --- kanatest-0.4.8.orig/src/stats.c 2013-06-27 18:16:50.000000000 -0400 +++ kanatest-0.4.8/src/stats.c 2013-06-27 18:16:59.000000000 -0400 @@ -84,7 +84,7 @@ info_dialog = gtk_message_dialog_new (GTK_WINDOW(appGUI->sts->stat_window), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, - GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, buffer); + GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", buffer); gtk_window_set_title(GTK_WINDOW(info_dialog), _("Question")); gtk_widget_show (info_dialog); @@ -148,7 +148,7 @@ MESSAGE *msg = (MESSAGE *)user_data; msg->appGUI->sts->old_column = config.stats_sort_column; - config.stats_sort_column = (gint) msg->data; + config.stats_sort_column = (size_t) msg->data; if (msg->appGUI->sts->disable_dir == FALSE) { @@ -405,7 +405,11 @@ gtk_container_add (GTK_CONTAINER (appGUI->sts->stat_window), vbox1); appGUI->sts->notebook = gtk_notebook_new (); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_focus(appGUI->sts->notebook, FALSE); +#else GTK_WIDGET_UNSET_FLAGS(appGUI->sts->notebook, GTK_CAN_FOCUS); +#endif gtk_widget_show (appGUI->sts->notebook); gtk_box_pack_start (GTK_BOX (vbox1), appGUI->sts->notebook, TRUE, TRUE, 4); @@ -449,7 +453,7 @@ stats_renderer, "text", i, NULL); gtk_tree_view_column_set_sort_column_id (stats_column[i], i); gtk_tree_view_append_column (GTK_TREE_VIEW(stats_treeview), stats_column[i]); - msg[i].data = (gpointer)i; + msg[i].data = (gpointer)((size_t)i); msg[i].appGUI = appGUI; g_signal_connect (G_OBJECT(stats_column[i]), "clicked", G_CALLBACK(stats_column_clicked_cb), &msg[i]); @@ -638,8 +642,11 @@ g_signal_connect (G_OBJECT (close_button), "clicked", G_CALLBACK (stats_window_close_cb), appGUI); gtk_container_add (GTK_CONTAINER (hbuttonbox), close_button); +#if (GTK_MINOR_VERSION >= 22) + gtk_widget_set_can_default (close_button, TRUE); +#else GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT); - +#endif if (appGUI->sts->active_tab != -1) { gtk_notebook_set_current_page (GTK_NOTEBOOK (appGUI->sts->notebook), appGUI->sts->active_tab); } Index: kanatest-0.4.8/src/test.c =================================================================== --- kanatest-0.4.8.orig/src/test.c 2009-04-12 15:10:45.000000000 -0400 +++ kanatest-0.4.8/src/test.c 2013-06-27 18:17:55.000000000 -0400 @@ -538,7 +538,7 @@ info_dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW(appGUI->main_window), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL, - GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message); + GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message); gtk_window_set_title (GTK_WINDOW(info_dialog), _("Information")); gtk_widget_show (info_dialog); debian/patches/004_enable_deprecated.patch0000644000000000000000000000314312163245763015641 0ustar Description: Drop -DGTK_DISABLE_DEPRECATED for now Author: Colin Watson Bug-Debian: http://bugs.debian.org/632604 Bug-Ubuntu: https://bugs.launchpad.net/bugs/770736 Forwarded: no Last-Update: 2011-09-12 Index: kanatest-0.4.8/src/Makefile.am =================================================================== --- kanatest-0.4.8.orig/src/Makefile.am 2009-04-12 15:10:45.000000000 -0400 +++ kanatest-0.4.8/src/Makefile.am 2013-06-27 12:20:22.000000000 -0400 @@ -1,6 +1,6 @@ REVISION := $(shell if test -e .svn; then echo -DREV=\"`LC_ALL=C svn info | sed -n '/^Rev/p'| sed -e 's/^Revision:\ //'`\"; fi;) AM_CPPFLAGS = -Wall -DLOCALEDIR=\"$(datadir)/locale\" $(REVISION) \ - -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED + -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED bin_PROGRAMS = kanatest kanatest_SOURCES = about.c about.h \ chart.c chart.h \ Index: kanatest-0.4.8/src/Makefile.in =================================================================== --- kanatest-0.4.8.orig/src/Makefile.in 2009-04-12 15:10:50.000000000 -0400 +++ kanatest-0.4.8/src/Makefile.in 2013-06-27 12:20:51.000000000 -0400 @@ -149,7 +149,7 @@ var = @var@ REVISION := $(shell if test -e .svn; then echo -DREV=\"`LC_ALL=C svn info | sed -n '/^Rev/p'| sed -e 's/^Revision:\ //'`\"; fi;) AM_CPPFLAGS = -Wall -DLOCALEDIR=\"$(datadir)/locale\" $(REVISION) \ - -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED + -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED kanatest_SOURCES = about.c about.h \ chart.c chart.h \ debian/patches/002_updated_emails_and_links.patch0000644000000000000000000000756712163245763017251 0ustar From: Tomasz Maka Subject: Updated emails and links Origin: upstream, http://svn.gna.org/viewcvs/kanatest?view=rev&revision=51 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kanatest/+bug/462599 Index: AUTHORS =================================================================== --- kanatest/AUTHORS (revision 50) +++ kanatest/AUTHORS (revision 51) @@ -4,8 +4,8 @@ Tomasz Maka -Maja Kocon -Piotr Maka +Maja Kocon +Piotr Maka Contributors Index: src/about.c =================================================================== --- kanatest/src/about.c (revision 50) +++ kanatest/src/about.c (revision 51) @@ -148,7 +148,7 @@ "fr", "Adrian Courrèges", "a.courreges@gmail.com", "hu", "Szigetvári Csaba", "csaba.szigetvari@informedia.hu", "it", "Jacopo Farina", "jacopo.farina@email.it", - "pl", "Piotr Mąka", "sill@ll.pl", + "pl", "Piotr Mąka", "silloz@users.sourceforge.net", "pt", "Bruno Ramos", "ladrilho@gmail.com", "ru", "Taci Taclipoka", "taclipoka@gmail.com" }; @@ -235,7 +235,7 @@ gtk_text_buffer_insert (entry_buffer, &iter, "\n", -1); gui_url_insert_link(&appGUI->about_links_list, &appGUI->about_link_index, appGUI->about_textview, - &iter, NULL, 0, "http://clay.ll.pl/kanatest", TRUE, appGUI); + &iter, NULL, 0, "http://clayo.org/kanatest", TRUE, appGUI); gtk_text_buffer_insert (entry_buffer, &iter, "\n", -1); g_snprintf (buffer, BUFFER_SIZE, "\n(%s %s, %s)\n\n", _("compiled on"), __DATE__, __TIME__); gtk_text_buffer_insert_with_tags_by_name (entry_buffer, &iter, buffer, -1, "center", "italic", NULL); @@ -244,18 +244,18 @@ gtk_text_buffer_insert_with_tags_by_name (entry_buffer, &iter, buffer, -1, "bold", NULL); gtk_text_buffer_insert (entry_buffer, &iter, " Tomasz Mąka <", -1); gui_url_insert_link (&appGUI->about_links_list, &appGUI->about_link_index, appGUI->about_textview, - &iter, NULL, 0, "pasp@ll.pl", TRUE, appGUI); + &iter, NULL, 0, "pasp@users.sourceforge.net", TRUE, appGUI); gtk_text_buffer_insert (entry_buffer, &iter, ">\n", -1); g_snprintf (buffer, BUFFER_SIZE, "\n%s:\n", _("Graphics")); gtk_text_buffer_insert_with_tags_by_name (entry_buffer, &iter, buffer, -1, "bold", NULL); gtk_text_buffer_insert (entry_buffer, &iter, " Maja Kocoń (", -1); gui_url_insert_link (&appGUI->about_links_list, &appGUI->about_link_index, appGUI->about_textview, - &iter, NULL, 0, "http://ironya.ll.pl", TRUE, appGUI); + &iter, NULL, 0, "http://pinky-babble.org", TRUE, appGUI); gtk_text_buffer_insert (entry_buffer, &iter, ")\n", -1); gtk_text_buffer_insert (entry_buffer, &iter, " Piotr Mąka <", -1); gui_url_insert_link (&appGUI->about_links_list, &appGUI->about_link_index, appGUI->about_textview, - &iter, NULL, 0, "sill@ll.pl", TRUE, appGUI); + &iter, NULL, 0, "silloz@users.sourceforge.net", TRUE, appGUI); gtk_text_buffer_insert (entry_buffer, &iter, ">\n", -1); g_snprintf (buffer, BUFFER_SIZE, "\n%s:\n", _("Translators")); Index: README =================================================================== --- kanatest/README (revision 50) +++ kanatest/README (revision 51) @@ -61,7 +61,7 @@ -----> WHERE ? -Homepage: http://clay.ll.pl/kanatest +Homepage: http://clayo.org/kanatest -----> WHO ? @@ -70,8 +70,8 @@ Tomasz Maka Graphics: - Maja Kocon (http://ironya.ll.pl) - current logo, icons - Piotr Maka - logo used in previous versions + Maja Kocon (http://pinky-babble.org) - current logo, icons + Piotr Maka - logo used in previous versions Any suggestions, patches, criticism are kindly welcome. debian/kanatest.install0000644000000000000000000000012512163245763012377 0ustar debian/kanatest.xpm usr/share/pixmaps debian/kanatest.desktop usr/share/applications debian/kanatest.desktop0000644000000000000000000000067012163245763012407 0ustar [Desktop Entry] Name=Kana test GenericName=kanatest Comment=Drill game to learn Japanese kana characters Comment[fr]=Jeu pour apprendre les kana Japonnais Comment[ro]=Joc pentru învățarea caracterelor kana japoneze Comment[ru]=Тренировочная игра для изучения знаков японской каны Exec=kanatest Terminal=false Type=Application Icon=kanatest Categories=Education;Languages; StartupNotify=true debian/kanatest.docs0000644000000000000000000000000712163245763011660 0ustar README