Hello community, here is the log from the commit of package galaxis for openSUSE:Factory checked in at 2020-08-25 09:38:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/galaxis (Old) and /work/SRC/openSUSE:Factory/.galaxis.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "galaxis" Tue Aug 25 09:38:59 2020 rev:2 rq:829008 version:1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/galaxis/galaxis.changes 2015-06-15 17:49:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.galaxis.new.3399/galaxis.changes 2020-08-25 09:40:55.896271273 +0200 @@ -1,0 +2,9 @@ +Sun Aug 16 15:38:32 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 10.0: + * Rehosted on GitLab + * Fully converted to new shipper-based packaging. + * C declaration cleanup. Passes cppcheck auditing. + * Project logo added. + +------------------------------------------------------------------- Old: ---- galaxis-1.9.tar.gz New: ---- galaxis-1.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ galaxis.spec ++++++ --- /var/tmp/diff_new_pack.1HAF29/_old 2020-08-25 09:40:58.776272578 +0200 +++ /var/tmp/diff_new_pack.1HAF29/_new 2020-08-25 09:40:58.780272580 +0200 @@ -1,7 +1,7 @@ # # spec file for package galaxis # -# Copyright (c) 2015 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 @@ -12,29 +12,28 @@ # 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/ # Name: galaxis -Version: 1.9 +Version: 1.10 Release: 0 Summary: Clone of the nifty little Macintosh game License: BSD-3-Clause Group: Amusements/Games/Strategy/Turn Based -Url: http://www.catb.org/~esr/galaxis/ +URL: http://www.catb.org/~esr/galaxis/ Source0: http://www.catb.org/~esr/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.desktop # PATCH-FIX-UPSTREAM - galaxis-Makefile.patch -- Fix paths and installation Patch0: %{name}-Makefile.patch # PATCH-FIX-UPSTREAM - galaxis-superhack.c.patch -- Fix bad C++ code Patch1: %{name}-galaxis.c.patch +BuildRequires: libncurses6 +BuildRequires: ncurses-devel %if 0%{?suse_version} BuildRequires: update-desktop-files %endif -BuildRequires: ncurses-devel -BuildRequires: libncurses6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GALAXIS for UNIX @@ -52,14 +51,14 @@ the game's simpler deductions. %prep -%setup -q -n %{name}- +%setup -q %patch0 %patch1 -cp -af %{S:1} . +cp -af %{SOURCE1} . %build -make %{?_smp_mflags} CFLAGS="%{optflags}" +%make_build CFLAGS="%{optflags}" %install %make_install @@ -69,10 +68,10 @@ %endif %files -%defattr(-,root,root,-) -%doc COPYING NEWS README +%license COPYING +%doc NEWS README %{_bindir}/%{name} -%{_mandir}/man6/%{name}.6%{ext_man} +%{_mandir}/man6/%{name}.6%{?ext_man} %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.xml %{_datadir}/applications/%{name}.desktop ++++++ galaxis-1.9.tar.gz -> galaxis-1.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/galaxis-/COPYING new/galaxis-1.10/COPYING --- old/galaxis-/COPYING 2010-10-19 15:39:31.000000000 +0200 +++ new/galaxis-1.10/COPYING 2015-10-17 19:21:09.000000000 +0200 @@ -1,28 +1,27 @@ BSD LICENSE +Copyright (c) 2015, Eric S. Raymond +All rights reserved. + Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: +modification, are permitted provided that the following conditions are +met: -Redistributions of source code must retain the above copyright +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -Redistributions in binary form must reproduce the above copyright +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -Neither name of the this project nor the names of its contributors -may be used to endorse or promote products derived from this software -without specific prior written permission. - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/galaxis-/Makefile new/galaxis-1.10/Makefile --- old/galaxis-/Makefile 2014-05-22 23:38:47.000000000 +0200 +++ new/galaxis-1.10/Makefile 2019-06-12 18:35:59.000000000 +0200 @@ -1,6 +1,6 @@ # Makefile for the galaxis game -VERS=$(shell sed <galaxis.spec -n -e '/Version: \(.*\)/s//\1/p') +VERS=1.10 # Flags for use with the Linux ncurses package (recommended) CFLAGS = -g -DNDEBUG # -I/usr/local/include -L/usr/local/lib @@ -32,6 +32,10 @@ clean: rm -f galaxis galaxis.6 galaxis-*.tar.gz *~ *.html +CPPCHECKOPTS = +cppcheck: + cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) galaxis.c + SOURCES = README COPYING NEWS control galaxis.c Makefile galaxis.xml galaxis.desktop galaxis.png galaxis-$(VERS).tar.gz: $(SOURCES) galaxis.6 @@ -41,3 +45,6 @@ release: galaxis-$(VERS).tar.gz galaxis.html shipper version=$(VERS) | sh -e -x + +refresh: galaxis.html + shipper -N -w version=$(VERS) | sh -e -x diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/galaxis-/NEWS new/galaxis-1.10/NEWS --- old/galaxis-/NEWS 2014-05-22 22:16:20.000000000 +0200 +++ new/galaxis-1.10/NEWS 2019-06-12 18:35:50.000000000 +0200 @@ -1,31 +1,34 @@ - galaxis project news += galaxis project news = -Repository head: +10.0: 2019-06-12:: + Rehosted on GitLab Fully converted to new shipper-based packaging. + C declaration cleanup. Passes cppcheck auditing. + Project logo added. -1.9: 2010-10-18 +1.9: 2010-10-18:: Add a desktop file. Port fix from the BSD maintainer -1.8: 2010-10-18 +1.8: 2010-10-18:: Full ANSIfication. License changed to BSD. -1.7: 2003-12-29 +1.7: 2003-12-29:: Mac OSX port fix. -1.6: 2003-12-26 +1.6: 2003-12-26:: Cleanup fixes to RPM packaging machinery. -1.5: 2003-12-15 +1.5: 2003-12-15:: Minor bug fix from James Hiller. -1.4: 2002-07-30 +1.4: 2002-07-30:: Moved documentation to XML. -1.3: 2002-04-20 +1.3: 2002-04-20:: Applied James Hiller's fix for multiple-reprobe bug. -1.2: 2000-07-28 +1.2: 2000-07-28:: Update to modern RPM tools. -1.1: 1994-10-23 +1.1: 1994-10-23:: Original release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/galaxis-/control new/galaxis-1.10/control --- old/galaxis-/control 2014-05-22 22:10:39.000000000 +0200 +++ new/galaxis-1.10/control 2019-06-12 18:33:50.000000000 +0200 @@ -6,16 +6,16 @@ Description: Find the lost lifeboats from an interstellar liner. A curses-based clone of the Macintosh freeware game Galaxis. -#XBS-Gitorious-URL: https://gitorious.org/galaxis - -XBS-Destinations: freecode - Homepage: http://www.catb.org/~esr/galaxis XBS-HTML-Target: index.html +XBS-Repository-URL: https://gitlab.com/esr/galaxis + +#XBS-Destinations: freshcode + XBS-Logo: galaxis.png -XBS-Freecode-Tags: game, card, solitaire +#XBS-Project-Tags: game, card, solitaire XBS-VC-Tag-Template: %(version)s diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/galaxis-/galaxis.6 new/galaxis-1.10/galaxis.6 --- old/galaxis-/galaxis.6 2014-05-21 14:19:01.000000000 +0200 +++ new/galaxis-1.10/galaxis.6 2019-06-12 18:36:34.000000000 +0200 @@ -1,13 +1,13 @@ '\" t .\" Title: galaxis .\" Author: [see the "AUTHORS" section] -.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> -.\" Date: 05/21/2014 +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> +.\" Date: 06/12/2019 .\" Manual: Games .\" Source: galaxis .\" Language: English .\" -.TH "GALAXIS" "6" "05/21/2014" "galaxis" "Games" +.TH "GALAXIS" "6" "06/12/2019" "galaxis" "Games" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/galaxis-/galaxis.c new/galaxis-1.10/galaxis.c --- old/galaxis-/galaxis.c 2014-05-21 14:13:01.000000000 +0200 +++ new/galaxis-1.10/galaxis.c 2017-03-16 14:18:02.000000000 +0100 @@ -1,9 +1,9 @@ /* * galaxis.c - a curses clone of the Macintosh game, Galaxis * - * version 1.0 by Eric S. Raymond <[email protected]> Sun Oct 23 1994 - * version 1.1 adds mouse support Wed Sep 20 1995 - * version 1.2 corrects buggy handling of multiple reprobes Sat Apr 20 2002 + * by Eric S. Raymond <[email protected]>, begun Sun Oct 23 1994 + * + * SPDX-License-Identifier: BSD-2-Clause */ #define _POSIX_SOURCE @@ -511,7 +511,7 @@ *visible = vis; } -static void auto_mark(cury, curx) +static void auto_mark(int cury, int curx) /* automatically place marks on all rays */ { int n;
