Hello community, here is the log from the commit of package nudoku for openSUSE:Factory checked in at 2020-11-21 12:42:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nudoku (Old) and /work/SRC/openSUSE:Factory/.nudoku.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nudoku" Sat Nov 21 12:42:27 2020 rev:6 rq:849601 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nudoku/nudoku.changes 2020-02-06 13:09:34.864380406 +0100 +++ /work/SRC/openSUSE:Factory/.nudoku.new.5913/nudoku.changes 2020-11-23 10:36:51.969780598 +0100 @@ -1,0 +2,13 @@ +Fri Nov 20 09:53:01 UTC 2020 - Michael Vetter <[email protected]> + +- Update to 2.1.0: + * Use actual terminal background color (instead of black) as + background color (pr #31) + * Define minimum gettext version instead of exact one (pr #32) + * Require gettext 0.20 + * Add Japanese translation (pr #40) + * Minor code change +- Drop nudoku-2.0.0-unused-var.patch: upstreamed +- Drop nudoku-2.0.0-gettext.patch: upstreamed + +------------------------------------------------------------------- Old: ---- nudoku-2.0.0-gettext.patch nudoku-2.0.0-unused-var.patch nudoku-2.0.0.tar.gz New: ---- nudoku-2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nudoku.spec ++++++ --- /var/tmp/diff_new_pack.8SOQYs/_old 2020-11-23 10:36:52.393781063 +0100 +++ /var/tmp/diff_new_pack.8SOQYs/_new 2020-11-23 10:36:52.397781067 +0100 @@ -1,7 +1,7 @@ # # spec file for package nudoku # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,13 @@ Name: nudoku -Version: 2.0.0 +Version: 2.1.0 Release: 0 Summary: Ncurses based sudoku game License: GPL-3.0-only Group: Amusements/Games/Board/Puzzle URL: https://github.com/jubalh/%{name} Source: https://github.com/jubalh/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: nudoku-2.0.0-unused-var.patch -Patch1: nudoku-2.0.0-gettext.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: cairo-devel @@ -40,8 +38,6 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build autoreconf -fi ++++++ nudoku-2.0.0.tar.gz -> nudoku-2.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/AUTHORS new/nudoku-2.1.0/AUTHORS --- old/nudoku-2.0.0/AUTHORS 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/AUTHORS 2020-11-20 10:47:40.000000000 +0100 @@ -10,3 +10,4 @@ 'equal-l2': [email protected] Scott Michaud: [email protected] 'lhiguer1': no mail provided +'strafe': no mail provided diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/ChangeLog new/nudoku-2.1.0/ChangeLog --- old/nudoku-2.0.0/ChangeLog 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/ChangeLog 2020-11-20 10:47:40.000000000 +0100 @@ -1,3 +1,11 @@ +2.0.0 to 2.1.0 (2020-11-20) + * Use actual terminal background color (instead of black) as background + color (pr #31) + * Define minimum gettext version instead of exact one (pr #32) + * Require gettext 0.20 + * Add Japanese translation (pr #40) + * Minor code change + 1.0.0 to 2.0.0 (2019-07-30) * Translation support * Added translations for: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/README.md new/nudoku-2.1.0/README.md --- old/nudoku-2.0.0/README.md 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/README.md 2020-11-20 10:47:40.000000000 +0100 @@ -37,16 +37,31 @@ emerge nudoku -a ``` +### NixOS ### +nudoku is [available](https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/nudoku) in the Nix package manager. + +### NetBSD ### +nudoku is [available](https://pkgsrc.se/games/nudoku) in the Nix package manager. + ### openSUSE ### Since openSUSE Leap 42.1 (and Tumbleweed) you can find nudoku in the official repository. -For others you need to add the `games` repo. ``` -zypper ar obs://games games zypper in nudoku ``` +### VoidLinux ### +nudoku is [available](https://github.com/void-linux/void-packages/tree/master/srcpkgs/nudoku) on Void. + +### macOS ### + +There is a [formula](https://formulae.brew.sh/formula/nudoku) for [Homebrew](https://brew.sh/) + +``` +brew install nudoku +``` + ### From Source ### #### Dependency #### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/configure.ac new/nudoku-2.1.0/configure.ac --- old/nudoku-2.0.0/configure.ac 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/configure.ac 2020-11-20 10:47:40.000000000 +0100 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([nudoku], [2.0.0], [[email protected]]) +AC_INIT([nudoku], [2.1.0], [[email protected]]) AC_CONFIG_SRCDIR([src/main.c]) AM_INIT_AUTOMAKE([foreign]) @@ -51,8 +51,9 @@ AC_CHECK_HEADER_STDBOOL # Set gettext files +AM_GNU_GETTEXT_VERSION([0.20.0]) +AM_GNU_GETTEXT_REQUIRE_VERSION([0.20.0]) AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.19]) # Checks for library functions. AC_FUNC_MALLOC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/man/nudoku.6 new/nudoku-2.1.0/man/nudoku.6 --- old/nudoku-2.0.0/man/nudoku.6 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/man/nudoku.6 2020-11-20 10:47:40.000000000 +0100 @@ -1,5 +1,5 @@ .\" Manpage for nudoku. -.TH man 6 "11 April 2019" "2.0.0" "nudoku man page" +.TH man 6 "20 November 2020" "2.1.0" "nudoku man page" .SH NAME nudoku \- ncurses based sudoku game .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/po/LINGUAS new/nudoku-2.1.0/po/LINGUAS --- old/nudoku-2.0.0/po/LINGUAS 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/po/LINGUAS 2020-11-20 10:47:40.000000000 +0100 @@ -2,3 +2,4 @@ de ru fr +ja diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/po/ja.po new/nudoku-2.1.0/po/ja.po --- old/nudoku-2.0.0/po/ja.po 1970-01-01 01:00:00.000000000 +0100 +++ new/nudoku-2.1.0/po/ja.po 2020-11-20 10:47:40.000000000 +0100 @@ -0,0 +1,189 @@ +# Japanese translations for nudoku package. +# This file is put in the public domain. +# cmplstofB <[email protected]>, 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: nudoku\n" +"Report-Msgid-Bugs-To: [email protected]\n" +"POT-Creation-Date: 2018-04-27 19:00-0300\n" +"PO-Revision-Date: 2020-09-01 21:19+0900\n" +"Last-Translator: cmplstofB <[email protected]>\n" +"Language-Team: Japanese\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: src/main.c:84 +#, c-format +msgid "" +"nudoku [option]\n" +"\n" +msgstr "" +"nudoku [オプション]\n" +"\n" + +#: src/main.c:85 +#, c-format +msgid "Options:\n" +msgstr "オプション:\n" + +#: src/main.c:86 +#, c-format +msgid "-h help:\t\tPrint this help\n" +msgstr "-h:\t\tこの手引きを表示\n" + +#: src/main.c:87 +#, c-format +msgid "-v version:\t\tPrint version\n" +msgstr "-v:\t\t版を表示\n" + +#: src/main.c:88 +#, c-format +msgid "-c nocolor:\t\tDo not use colors\n" +msgstr "-c:\t\t着色しない\n" + +#: src/main.c:89 +#, c-format +msgid "-d difficulty:\t\tChoose between: easy, normal, hard\n" +msgstr "-d 難易度:\t\t難易度を選択: easy, normal, hard\n" + +#: src/main.c:90 +#, c-format +msgid "-s stream:\t\tUser provided sudoku stream\n" +msgstr "-s 版面:\t\t数独の盤面を指定する\n" + +#: src/main.c:104 +#, c-format +msgid "Character %c at position %d is not allowed.\n" +msgstr "文字%cは位置%dにあってはなりません。\n" + +#: src/main.c:112 +#, c-format +msgid "Stream has to be %d characters long.\n" +msgstr "版面は%d文字以上なくてはなりません。\n" + +#: src/main.c:118 +#, c-format +msgid "Stream does not represent a valid sudoku puzzle.\n" +msgstr "指定された版面は妥当な数独の問題を表わせません。\n" + +#: src/main.c:147 +msgid "easy" +msgstr "易" + +#: src/main.c:149 +msgid "normal" +msgstr "中" + +#: src/main.c:151 +msgid "hard" +msgstr "難" + +#: src/main.c:195 +msgid "" +"Your terminal doesn't support colors.\n" +"Try the nocolor (-c) option.\n" +msgstr "" +"お使いの端末は着色に対応していません。\n" +"無着色 (-c) オプションをお試しください。\n" + +#: src/main.c:266 +#, c-format +msgid "" +"level: %s\n" +"\n" +msgstr "" +"難易度: %s\n" +"\n" + +#: src/main.c:275 +msgid "Movement\n" +msgstr "移 動\n" + +#: src/main.c:276 +msgid " h - Move left\n" +msgstr " h - 左に移動\n" + +#: src/main.c:277 +msgid " j - Move down\n" +msgstr " j - 下に移動\n" + +#: src/main.c:278 +msgid " k - Move up\n" +msgstr " k - 上に移動\n" + +#: src/main.c:279 +msgid "" +" l - Move right\n" +"\n" +msgstr "" +" l - 右に移動\n" +"\n" + +#: src/main.c:280 +msgid "Commands\n" +msgstr "命 令\n" + +#: src/main.c:281 +msgid " c - Check solution\n" +msgstr " c - 解答を確かめる\n" + +#: src/main.c:282 +msgid " H - Give a hint\n" +msgstr " H - 手掛かりを見る\n" + +#: src/main.c:285 +msgid " m - Toggle marks\n" +msgstr " m - 印を付ける/外す\n" + +#: src/main.c:287 +msgid " N - New puzzle\n" +msgstr " N - 新しい問題\n" + +#: src/main.c:288 +msgid " Q - Quit\n" +msgstr " Q - 終了\n" + +#: src/main.c:289 +msgid " r - Redraw\n" +msgstr " r - 再描画\n" + +#: src/main.c:290 +msgid " S - Solve puzzle\n" +msgstr " S - 問題を解く\n" + +#: src/main.c:291 +msgid " x - Delete number\n" +msgstr " x - 数字を消す\n" + +#: src/main.c:500 +msgid "Solving puzzle..." +msgstr "問題を解いています..." + +#: src/main.c:506 src/main.c:547 +msgid "Solved" +msgstr "正解です" + +#: src/main.c:515 +msgid "Generating puzzle..." +msgstr "問題を生成しています..." + +#: src/main.c:541 +msgid "Not correct" +msgstr "不正解です" + +#: src/main.c:552 +#, c-format +msgid " with the help of %d hints" +msgstr "(手掛かりを%d回見ました)" + +#: src/main.c:560 +msgid "Correct so far" +msgstr "現時点では正解です" + +#: src/main.c:588 +msgid "Provided hint" +msgstr "手掛りを得ました" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/src/main.c new/nudoku-2.1.0/src/main.c --- old/nudoku-2.0.0/src/main.c 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/src/main.c 2020-11-20 10:47:40.000000000 +0100 @@ -3,7 +3,7 @@ nudoku -Copyright (C) 2014 - 2019 Michael "jubalh" Vetter - jubalh _a-t_ iodoru.org +Copyright (C) 2014 - 2020 Michael "jubalh" Vetter - jubalh _a-t_ iodoru.org LICENCE: This program is free software: you can redistribute it and/or modify @@ -77,7 +77,7 @@ static void print_version(void) { printf("nudoku version " VERSION "\n\n\ -Copyright (C) Michael Vetter 2014 - 2019\n\ +Copyright (C) Michael Vetter 2014 - 2020\n\ License GPLv3+: GNU GPL version 3 or later.\n\ This is free software, you are free to modify and redistribute it.\n"); #ifdef DEBUG @@ -194,6 +194,7 @@ static void init_curses(void) { initscr(); + use_default_colors(); clear(); atexit(cleanup); cbreak(); @@ -204,10 +205,10 @@ if(has_colors()) { start_color(); - init_pair(1, COLOR_GREEN, COLOR_BLACK); - init_pair(2, COLOR_BLUE, COLOR_BLACK); + init_pair(1, COLOR_GREEN, -1); + init_pair(2, COLOR_BLUE, -1); // user input color - init_pair(3, COLOR_CYAN, COLOR_BLACK); + init_pair(3, COLOR_CYAN, -1); // Highlight color init_pair(COLOR_HIGHLIGHT, COLOR_BLACK, COLOR_WHITE); // Cursor highlight color @@ -453,7 +454,7 @@ bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); #endif - bool run = true, enable_highlights=false; + bool run = true; int key, x, y, posx, posy; parse_arguments(argc, argv); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/src/outp.c new/nudoku-2.1.0/src/outp.c --- old/nudoku-2.0.0/src/outp.c 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/src/outp.c 2020-11-20 10:47:40.000000000 +0100 @@ -3,7 +3,7 @@ nudoku -Copyright (C) 2014 - 2019 Michael "jubalh" Vetter - jubalh _a-t_ iodoru.org +Copyright (C) 2014 - 2020 Michael "jubalh" Vetter - jubalh _a-t_ iodoru.org LICENCE: This program is free software: you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nudoku-2.0.0/src/sudoku.c new/nudoku-2.1.0/src/sudoku.c --- old/nudoku-2.0.0/src/sudoku.c 2019-07-30 12:06:33.000000000 +0200 +++ new/nudoku-2.1.0/src/sudoku.c 2020-11-20 10:47:40.000000000 +0100 @@ -3,7 +3,7 @@ nudoku -Copyright (C) 2014 - 2019 Michael "jubalh" Vetter - jubalh _a-t_ iodoru.org +Copyright (C) 2014 - 2020 Michael "jubalh" Vetter - jubalh _a-t_ iodoru.org LICENCE: This program is free software: you can redistribute it and/or modify _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
