commit nudoku for openSUSE:Factory

2020-02-06 Thread root
Hello community,

here is the log from the commit of package nudoku for openSUSE:Factory checked 
in at 2020-02-06 13:09:23

Comparing /work/SRC/openSUSE:Factory/nudoku (Old)
 and  /work/SRC/openSUSE:Factory/.nudoku.new.26092 (New)


Package is "nudoku"

Thu Feb  6 13:09:23 2020 rev:5 rq:770470 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/nudoku/nudoku.changes2019-07-31 
14:28:10.478160644 +0200
+++ /work/SRC/openSUSE:Factory/.nudoku.new.26092/nudoku.changes 2020-02-06 
13:09:34.864380406 +0100
@@ -1,0 +2,8 @@
+Thu Feb  6 07:47:24 UTC 2020 - Michael Vetter 
+
+- Add nudoku-2.0.0-unused-var.patch:
+  Remove unused variable. Fixes build on TW.
+- Add nudoku-2.0.0-gettext.patch:
+  Require gettext 0.20
+
+---

New:

  nudoku-2.0.0-gettext.patch
  nudoku-2.0.0-unused-var.patch



Other differences:
--
++ nudoku.spec ++
--- /var/tmp/diff_new_pack.UyN0Wg/_old  2020-02-06 13:09:36.616381359 +0100
+++ /var/tmp/diff_new_pack.UyN0Wg/_new  2020-02-06 13:09:36.620381362 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nudoku
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,6 +24,8 @@
 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
@@ -38,6 +40,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 autoreconf -fi

++ nudoku-2.0.0-gettext.patch ++
diff -urEbw nudoku-2.0.0/configure.ac nudoku-2.0.0.new/configure.ac
--- nudoku-2.0.0/configure.ac   2019-07-30 12:06:33.0 +0200
+++ nudoku-2.0.0.new/configure.ac   2020-02-06 09:55:11.862170640 +0100
@@ -52,7 +52,7 @@
 
 # Set gettext files
 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19])
+AM_GNU_GETTEXT_VERSION([0.20])
 
 # Checks for library functions.
 AC_FUNC_MALLOC
++ nudoku-2.0.0-unused-var.patch ++
>From a41e3535a9661bb56be6cda81731b691aed7c57e Mon Sep 17 00:00:00 2001
From: Michael Vetter 
Date: Thu, 6 Feb 2020 08:44:07 +0100
Subject: [PATCH] Remove unused variable

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index ec9cd45..dc84676 100644
--- a/src/main.c
+++ b/src/main.c
@@ -454,7 +454,7 @@ int main(int argc, char *argv[])
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);



commit nudoku for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package nudoku for openSUSE:Factory checked 
in at 2019-07-31 14:28:09

Comparing /work/SRC/openSUSE:Factory/nudoku (Old)
 and  /work/SRC/openSUSE:Factory/.nudoku.new.4126 (New)


Package is "nudoku"

Wed Jul 31 14:28:09 2019 rev:4 rq:719806 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/nudoku/nudoku.changes2018-04-19 
15:33:29.373187256 +0200
+++ /work/SRC/openSUSE:Factory/.nudoku.new.4126/nudoku.changes  2019-07-31 
14:28:10.478160644 +0200
@@ -1,0 +2,18 @@
+Tue Jul 30 10:21:51 UTC 2019 - mvet...@suse.com
+
+- Add cairo dependency: enable PDF and PNG creation
+
+---
+Tue Jul 30 10:17:52 UTC 2019 - mvet...@suse.com
+
+- Update to 2.0.0:
+  * Translation support
+  * Added translations for: Spanish, German, Russian
+  * Refactoring and code cleanup
+  * Add color difference between provided numbers and the ones
+entered by the user
+  * Output sudoku PDFs (-p/-n option)
+  * Output sudoku PNG (-i option)
+  * Fix duplicate fields in sudoku generation (pr #28)
+
+---

Old:

  nudoku-1.0.0.tar.gz

New:

  nudoku-2.0.0.tar.gz



Other differences:
--
++ nudoku.spec ++
--- /var/tmp/diff_new_pack.bLUaAc/_old  2019-07-31 14:28:11.454158844 +0200
+++ /var/tmp/diff_new_pack.bLUaAc/_new  2019-07-31 14:28:11.454158844 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nudoku
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,37 +17,43 @@
 
 
 Name:   nudoku
-Version:1.0.0
+Version:2.0.0
 Release:0
 Summary:Ncurses based sudoku game
-License:GPL-3.0
+License:GPL-3.0-only
 Group:  Amusements/Games/Board/Puzzle
-Url:https://github.com/jubalh/%{name}
+URL:https://github.com/jubalh/%{name}
 Source: 
https://github.com/jubalh/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  cairo-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Recommends: %{name}-lang
 
 %description
 nudoku is a ncurses based sudoku game.
 
+%lang_package
+
 %prep
 %setup -q
 
 %build
 autoreconf -fi
-%configure
+%configure --enable-cairo
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
+
+%find_lang %{name}
 
 %files
-%defattr(-,root,root)
 %{_bindir}/nudoku
-%defattr(-,root,root)
 %{_mandir}/man?/nudoku.*
 
+%files lang -f %{name}.lang
+%{_datadir}/locale/??/LC_MESSAGES/nudoku.mo
+
 %changelog

++ nudoku-1.0.0.tar.gz -> nudoku-2.0.0.tar.gz ++
 2302 lines of diff (skipped)




commit nudoku for openSUSE:Factory

2018-04-19 Thread root
Hello community,

here is the log from the commit of package nudoku for openSUSE:Factory checked 
in at 2018-04-19 15:33:27

Comparing /work/SRC/openSUSE:Factory/nudoku (Old)
 and  /work/SRC/openSUSE:Factory/.nudoku.new (New)


Package is "nudoku"

Thu Apr 19 15:33:27 2018 rev:3 rq:598488 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/nudoku/nudoku.changes2016-07-16 
22:13:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.nudoku.new/nudoku.changes   2018-04-19 
15:33:29.373187256 +0200
@@ -1,0 +2,11 @@
+Thu Apr 19 10:16:32 UTC 2018 - mvet...@suse.com
+
+- Update to 1.0.0:
+  * Add 'mark' command to highlight the currently selected number
+in all other cells. Thanks to James Warnock.
+  * Redesign commands display.
+  * Display how many hints a person used when the puzzle is solved.
+  * Update maintainer email and man page.
+  * Code cleanup
+
+---

Old:

  nudoku-0.2.5.tar.gz

New:

  nudoku-1.0.0.tar.gz



Other differences:
--
++ nudoku.spec ++
--- /var/tmp/diff_new_pack.rqy43w/_old  2018-04-19 15:33:29.917164809 +0200
+++ /var/tmp/diff_new_pack.rqy43w/_new  2018-04-19 15:33:29.917164809 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nudoku
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   nudoku
-Version:0.2.5
+Version:1.0.0
 Release:0
 Summary:Ncurses based sudoku game
 License:GPL-3.0

++ nudoku-0.2.5.tar.gz -> nudoku-1.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.5/AUTHORS new/nudoku-1.0.0/AUTHORS
--- old/nudoku-0.2.5/AUTHORS2016-06-07 17:46:02.0 +0200
+++ new/nudoku-1.0.0/AUTHORS2018-04-19 12:09:58.0 +0200
@@ -1,5 +1,6 @@
 AUTHOR:
 
-Michael 'jubalh' Vetter: jub...@openmailbox.org
+Michael 'jubalh' Vetter: jub...@iodoru.org
 Jacobo 'clinchergt' Del Vale
 Natalie 'flackbash' Prange: flack2b...@gmail.com
+James 'FamousJameous' Warnock: james.warnock@gmail.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.5/ChangeLog new/nudoku-1.0.0/ChangeLog
--- old/nudoku-0.2.5/ChangeLog  1970-01-01 01:00:00.0 +0100
+++ new/nudoku-1.0.0/ChangeLog  2018-04-19 12:09:58.0 +0200
@@ -0,0 +1,7 @@
+0.2.5 to 1.0.0
+  * Add 'mark' command to highlight the currently selected number in all othre
+cells. Thanks to James Warnock.
+  * Redesign commands display.
+  * Display how many hints a person used when the puzzle is solved.
+  * Update maintainer email and man page.
+  * Code cleanup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.5/Makefile.am new/nudoku-1.0.0/Makefile.am
--- old/nudoku-0.2.5/Makefile.am2016-06-07 17:46:02.0 +0200
+++ new/nudoku-1.0.0/Makefile.am2018-04-19 12:09:58.0 +0200
@@ -1,2 +1,3 @@
 SUBDIRS = src
 dist_man_MANS = man/nudoku.6
+EXTRA_DIST = ChangeLog LICENSE README.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.5/README.md new/nudoku-1.0.0/README.md
--- old/nudoku-0.2.5/README.md  2016-06-07 17:46:02.0 +0200
+++ new/nudoku-1.0.0/README.md  2018-04-19 12:09:58.0 +0200
@@ -9,13 +9,31 @@
  Arch Linux 
 I heard rumors of nudoku being in the 
[AUR](https://aur.archlinux.org/packages/nudoku-git/).
 
- Funtoo/Gentoo 
-Add [strangeland-overlay](https://github.com/jubalh/strangeland-overlay).
+ Debian and derivates 
+Contained in official stable repositories since Debian Stretch.
 
-Then run:
+```
+apt-get install nudoku
+```
+
+ EL 7 (CentOS/Oracle Linux/Scientific Linux/RedHat 
+You need to enable the EPEL repository and run:
+
+```
+yum install nudoku
+```
+  
+ Fedora 
+nudoku is in the official Fedora repository since June 2016:
+
+```
+dnf install nudoku
+```
+
+ Funtoo/Gentoo 
+Contained in official repo since 2018-02-16. Before that you had to use 
[strangeland-overlay](https://github.com/jubalh/strangeland-overlay).
 
 ```
-emerge --sync
 emerge nudoku -a
 ```
 
@@ -23,10 +41,9 @@
 
 Since openSUSE Leap 42.1 (and Tumbleweed) you can find nudoku in the official 
repository.
 For others you need to add the `games` repo.
-On openSUSE 13.2 for example, you can do it like this:
 
 ```
-zypper ar http://download.opensuse.org/repositories/games/openSUSE_13.2/ games

commit nudoku for openSUSE:Factory

2016-07-16 Thread h_root
Hello community,

here is the log from the commit of package nudoku for openSUSE:Factory checked 
in at 2016-07-16 22:13:14

Comparing /work/SRC/openSUSE:Factory/nudoku (Old)
 and  /work/SRC/openSUSE:Factory/.nudoku.new (New)


Package is "nudoku"

Changes:

--- /work/SRC/openSUSE:Factory/nudoku/nudoku.changes2015-10-06 
13:24:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.nudoku.new/nudoku.changes   2016-07-16 
22:13:15.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 13 17:08:10 UTC 2016 - mvet...@suse.com
+
+- Update to version 0.2.5
+  * manpage fixes
+
+---

Old:

  nudoku-0.2.4.tar.gz

New:

  nudoku-0.2.5.tar.gz



Other differences:
--
++ nudoku.spec ++
--- /var/tmp/diff_new_pack.6KK8VQ/_old  2016-07-16 22:13:16.0 +0200
+++ /var/tmp/diff_new_pack.6KK8VQ/_new  2016-07-16 22:13:16.0 +0200
@@ -1,8 +1,7 @@
 #
 # spec file for package nudoku
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2015 Michael Vetter 
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +17,7 @@
 
 
 Name:   nudoku
-Version:0.2.4
+Version:0.2.5
 Release:0
 Summary:Ncurses based sudoku game
 License:GPL-3.0
@@ -49,6 +48,6 @@
 %defattr(-,root,root)
 %{_bindir}/nudoku
 %defattr(-,root,root)
-%{_mandir}/man1/nudoku.1.*
+%{_mandir}/man?/nudoku.*
 
 %changelog

++ nudoku-0.2.4.tar.gz -> nudoku-0.2.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.4/Makefile.am new/nudoku-0.2.5/Makefile.am
--- old/nudoku-0.2.4/Makefile.am2015-08-26 11:40:28.0 +0200
+++ new/nudoku-0.2.5/Makefile.am2016-06-07 17:46:02.0 +0200
@@ -1,2 +1,2 @@
 SUBDIRS = src
-dist_man_MANS = man/nudoku.1
+dist_man_MANS = man/nudoku.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.4/README.md new/nudoku-0.2.5/README.md
--- old/nudoku-0.2.4/README.md  2015-08-26 11:40:28.0 +0200
+++ new/nudoku-0.2.5/README.md  2016-06-07 17:46:02.0 +0200
@@ -6,6 +6,9 @@
 
 ### Using package manager ###
 
+ Arch Linux 
+I heard rumors of nudoku being in the 
[AUR](https://aur.archlinux.org/packages/nudoku-git/).
+
  Funtoo/Gentoo 
 Add [strangeland-overlay](https://github.com/jubalh/strangeland-overlay).
 
@@ -18,7 +21,9 @@
 
 ### openSUSE ###
 
-Add the games repository and install nudoku via zypper. For 13.2 this can be 
done via:
+Since openSUSE Leap 42.1 (and Tumbleweed) you can find nudoku in the official 
repository.
+For others you need to add the `games` repo.
+On openSUSE 13.2 for example, you can do it like this:
 
 ```
 zypper ar http://download.opensuse.org/repositories/games/openSUSE_13.2/ games
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.4/configure.ac 
new/nudoku-0.2.5/configure.ac
--- old/nudoku-0.2.4/configure.ac   2015-08-26 11:40:28.0 +0200
+++ new/nudoku-0.2.5/configure.ac   2016-06-07 17:46:02.0 +0200
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
-AC_INIT([nudoku], [0.2.4], [jub...@openmailbox.org])
+AC_INIT([nudoku], [0.2.5], [jub...@openmailbox.org])
 AC_CONFIG_SRCDIR([src/main.c])
 AM_INIT_AUTOMAKE([foreign])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nudoku-0.2.4/man/nudoku.1 
new/nudoku-0.2.5/man/nudoku.1
--- old/nudoku-0.2.4/man/nudoku.1   2015-08-26 11:40:28.0 +0200
+++ new/nudoku-0.2.5/man/nudoku.1   1970-01-01 01:00:00.0 +0100
@@ -1,60 +0,0 @@
-.\" Manpage for nudoku.
-.TH man  "08 August 2015" "0.2.2" "nudoku man page"
-.SH NAME
-nudoku \- ncurses based sudoku game
-.SH SYNOPSIS
-nudoku [OPTIONS]
-.SH DESCRIPTION
-nudoku is a ncurses based sudoku game. Perfect to relax a little or just waste 
some time when you are on the console.
-
-.SH Keybindings
-
-For navigation use vi-keybindings (hjkl) or arrow keys.
-Pressing a number will put it in a field. Pressing delete, backspace or x will 
delete it.
-
-Some keys need to be typed uppercase to prevent pressing them accidentally.
-
-.BR Q
-Quit nudoku.
-
-.BR r
-Redraw screen. In case you resized your terminal this will come handy.
-
-.BR c
-Gives feedback whether your solution is right. If you think you finished your 
sudoku press this key to make sure it is. You can also use this during the game 
to check