Hello community,

here is the log from the commit of package heroes-tron for openSUSE:Leap:15.2 
checked in at 2020-04-25 19:03:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/heroes-tron (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.heroes-tron.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "heroes-tron"

Sat Apr 25 19:03:28 2020 rev:1 rq:775421 version:0.21

Changes:
--------
New Changes file:

--- /dev/null   2020-04-14 14:47:33.391806949 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.heroes-tron.new.2738/heroes-tron.changes      
2020-04-25 19:03:29.627390548 +0200
@@ -0,0 +1,148 @@
+-------------------------------------------------------------------
+Wed Feb  8 17:16:06 CET 2017 - [email protected]
+
+- Move from /usr/games to /usr/bin as done with the rest 4 years ago
+
+-------------------------------------------------------------------
+Wed Oct 10 11:06:27 UTC 2012 - [email protected]
+
+- Use __swabX from linux/swab.h instead of __arch_swabX 
+
+-------------------------------------------------------------------
+Tue May 29 13:34:41 UTC 2012 - [email protected]
+
+- fix build with automake-1.12
+  - add: automake-1.12.patch
+
+-------------------------------------------------------------------
+Mon Dec 26 16:52:56 UTC 2011 - [email protected]
+
+- Remove redundant tags/sections
+- Parallel build with %_smp_mflags
+- Add missing make calls
+
+-------------------------------------------------------------------
+Fri Dec  2 15:47:46 UTC 2011 - [email protected]
+
+- add automake as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Sat Sep  3 20:03:41 UTC 2011 - [email protected]
+
+- Fix build with no-add-needed 
+
+-------------------------------------------------------------------
+Thu Sep 17 03:11:43 CEST 2009 - [email protected]
+
+- use find_lang macro 
+
+-------------------------------------------------------------------
+Wed Jan 25 21:36:27 CET 2006 - [email protected]
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Mon Sep 26 19:02:19 CEST 2005 - [email protected]
+
+- fixed no return value from function
+
+-------------------------------------------------------------------
+Wed Sep 21 14:31:05 CEST 2005 - [email protected]
+
+- fixed gcc warning
+
+-------------------------------------------------------------------
+Thu Apr 28 11:56:56 CEST 2005 - [email protected]
+
+- build with gcc4
+
+-------------------------------------------------------------------
+Sat Jan 10 15:45:10 CET 2004 - [email protected]
+
+- build as user
+
+-------------------------------------------------------------------
+Wed May 28 11:35:43 CEST 2003 - [email protected]
+
+- add heroeslvl and man-page to filelist 
+
+-------------------------------------------------------------------
+Thu Apr 24 12:20:23 CEST 2003 - [email protected]
+
+- fix install_info --delete call and move from preun to postun
+
+-------------------------------------------------------------------
+Mon Mar 17 20:08:08 CET 2003 - [email protected]
+
+- fixed a bug in a menu that caused segfaults
+  (patch menus)
+
+-------------------------------------------------------------------
+Fri Feb 14 13:58:28 CET 2003 - [email protected]
+
+- added install_info macros
+
+-------------------------------------------------------------------
+Sat Apr 20 19:01:42 CEST 2002 - [email protected]
+
+- fixed changelog 
+
+-------------------------------------------------------------------
+Fri Apr 19 14:27:16 CEST 2002 - [email protected]
+
+- fixed locales (bug #1576)
+
+-------------------------------------------------------------------
+Thu Mar 21 16:01:50 CET 2002 - [email protected]
+
+- fixed filelist:
+  moved locales to /usr/share/local
+  moved binary to /usr/games and renamed back to heroes
+  do own heroes' directories under /usr/share/games
+
+-------------------------------------------------------------------
+Tue Feb  5 15:23:31 CET 2002 - [email protected]
+
+- use SDL-devel-packages  and SDL_mixer-packages in neededforbuild
+
+-------------------------------------------------------------------
+Fri Feb  1 18:58:10 CET 2002 - [email protected]
+
+- update to version 0.17 and heroes-data to version 1.4
+
+-------------------------------------------------------------------
+Tue Jan 22 18:23:53 CET 2002 - [email protected]
+
+- changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
+
+-------------------------------------------------------------------
+Fri Sep 21 11:29:59 CEST 2001 - [email protected]
+
+- fix info pages in %file section
+
+-------------------------------------------------------------------
+Wed Aug  8 17:58:28 CEST 2001 - [email protected]
+
+- changed neededforbuild <kdelibs> to <kdelibs-artsd> 
+
+-------------------------------------------------------------------
+Wed Aug  8 16:55:46 CEST 2001 - [email protected]
+
+- changed neededforbuild <sdl> to <SDL>
+- changed neededforbuild <sdl-devel> to <SDL-devel>
+
+-------------------------------------------------------------------
+Mon Aug  6 11:26:53 CEST 2001 - [email protected]
+
+- update to version 0.12 
+
+-------------------------------------------------------------------
+Wed Jun 20 15:44:38 CEST 2001 - [email protected]
+
+- fix neededforbuild  
+
+-------------------------------------------------------------------
+Fri Jun  1 07:22:14 CEST 2001 - [email protected]
+
+- creation a new package 
+

New:
----
  automake-1.12.patch
  heroes-0.21-gcc4.diff
  heroes-0.21-gcc_warning.diff
  heroes-0.21-menus.diff
  heroes-0.21.diff
  heroes-0.21.tar.bz2
  heroes-bigendian.patch
  heroes-build-fixes.patch
  heroes-data-1.5.tar.bz2
  heroes-sound-effects-1.0.tar.bz2
  heroes-sound-tracks-1.0.tar.bz2
  heroes-tron.changes
  heroes-tron.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ heroes-tron.spec ++++++
#
# spec file for package heroes-tron
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:           heroes-tron
BuildRequires:  SDL_mixer-devel
BuildRequires:  autoconf >= 2.68
BuildRequires:  automake
BuildRequires:  xorg-x11
%define myname heroes
%define data_version 1.5
PreReq:         %install_info_prereq
Version:        0.21
Release:        0
Source0:        %{myname}-%{version}.tar.bz2
Source1:        %{myname}-data-%{data_version}.tar.bz2  
Source2:        %{myname}-sound-effects-1.0.tar.bz2  
Source3:        %{myname}-sound-tracks-1.0.tar.bz2
Patch:          %{myname}-%{version}.diff
Patch1:         %{myname}-%{version}-menus.diff
Patch2:         %{myname}-%{version}-gcc4.diff
Patch3:         %{myname}-%{version}-gcc_warning.diff 
Patch4:         heroes-build-fixes.patch 
Patch5:         automake-1.12.patch
Patch6:         heroes-bigendian.patch
Url:            http://heroes.sourceforge.net/download.html
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Game Like Tron and Nibbles Games
License:        GPL-2.0+
Group:          Amusements/Games/Action/Race

%description
Heroes is similar to the "Tron" and "Nibbles" games of yore, but
includes many graphical improvements and new game features.  In it, you
must maneuver a small vehicle around a world and collect powerups while
avoiding obstacles, your opponents' trails, and even your own trail.
Several modes of play are available, including "get-all-the-bonuses",
death match, and "squish-the-pedestrians".

%prep
%setup -q -n %{myname}-%{version} -b 1 -b 2 -b 3
%patch
%patch1
%patch2 -p1
%patch3
%patch4
%patch5 -p1
%patch6 -p1

%build 
%define sharedir %{_prefix}/share
%define datadir  %{sharedir}/games
autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS"
./configure \
                --datadir=%{datadir} \
                --prefix=%{_prefix} \
                --mandir=%{sharedir}/man \
                --infodir=%{sharedir}/info \
                --bindir=%{_bindir} \
                --without-ggi \
                --without-gii \
                --without-mikmod \
                --with-sdl \
                --with-sdl-mixer \
                --disable-joystick 
make %{?_smp_mflags}
cd ../%{myname}-data-%{data_version}
./configure \
                --prefix=%{_prefix} \
                --datadir=%{datadir} 
make %{?_smp_mflags}
cd ../%{myname}-sound-effects-1.0
./configure \
                --prefix=%{_prefix} \
                --datadir=%{datadir}
make %{?_smp_mflags}
cd ../%{myname}-sound-tracks-1.0
./configure \
                --prefix=%{_prefix} \
                --datadir=%{datadir}     
make %{?_smp_mflags}

%install
make DESTDIR=$RPM_BUILD_ROOT install
#mv $RPM_BUILD_ROOT%{datadir}/locale $RPM_BUILD_ROOT%{sharedir}/locale
pushd ../%{myname}-data-%{data_version}
make DESTDIR=$RPM_BUILD_ROOT install
popd
pushd ../%{myname}-sound-effects-1.0 
make DESTDIR=$RPM_BUILD_ROOT install
popd
pushd ../%{myname}-sound-tracks-1.0 
make DESTDIR=$RPM_BUILD_ROOT install
popd
%find_lang heroes

%post
%install_info --info-dir=%{_infodir} %{_infodir}/heroes.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/heroes.info.gz

%files -f heroes.lang 
%defattr(-, root, root)
%doc COPYING NEWS README THANKS TODO AUTHORS     
%{_bindir}/heroes
%{_bindir}/heroeslvl
%{sharedir}/info/heroes.info*
%{sharedir}/man/man6/heroes.6*
%{sharedir}/man/man6/heroeslvl.6*
#%{sharedir}/heroes
%{datadir}/heroes

%changelog
++++++ automake-1.12.patch ++++++
Index: heroes-0.21/configure.ac
===================================================================
--- heroes-0.21.orig/configure.ac
+++ heroes-0.21/configure.ac
@@ -102,7 +102,6 @@ AC_HEADER_STAT
 # Checks for typedefs, structures, and compiler characteristics.
 # ==============================================================
 
-AM_C_PROTOTYPES
 AC_C_CONST
 AC_TYPE_UID_T     dnl This checks for gid_t too.
 AC_CHECK_TYPES([ssize_t])
++++++ heroes-0.21-gcc4.diff ++++++
diff -ur heroes-orig/src/hedlite.c heroes-0.21/src/hedlite.c
--- heroes-orig/src/hedlite.c   2002-02-06 22:49:44.000000000 +0100
+++ heroes-0.21/src/hedlite.c   2005-04-28 11:54:09.059212313 +0200
@@ -45,7 +45,7 @@
 #include "dirname.h"
 
 static a_pcx_image heditrsc;
-static a_pcx_image tile_set_img;
+a_pcx_image tile_set_img;
 
 unsigned short int xdalles = 0;
 unsigned short int ydalles = 0;
++++++ heroes-0.21-gcc_warning.diff ++++++
--- lib/xstrduplwr.c
+++ lib/xstrduplwr.c
@@ -23,6 +23,7 @@
 # include <config.h>
 #endif
 
+#include <string.h>
 #include <sys/types.h>
 #include <ctype.h>
 
--- src/heroeslvl.c
+++ src/heroeslvl.c
@@ -435,6 +435,7 @@
     return _("pingpong");
   }
   assert (0);
+  return(0); /* added for to avoid gcc warning control reaches end of non-void 
function*/
 }
 
 static void
++++++ heroes-0.21-menus.diff ++++++
--- src/menus.c 2002-01-14 23:13:59.000000000 +0100
+++ src/menus.c 2003-03-17 19:28:09.000000000 +0100
@@ -219,7 +219,8 @@
   { N_("NEW LEVEL"),   editor_menu },
   /* TRANS: Load an existing level for edition.  */
   { N_("LOAD LEVEL"),  editor_selector },
-  { N_("GO BACK"),     0 }
+  { N_("GO BACK"),     0 },
+  { 0,                  0 }
 };
 
 a_menu *editor_menu_data;
++++++ heroes-0.21.diff ++++++
--- po/Makefile.in.in   Sat Mar 30 16:43:48 2002
+++ po/Makefile.in.in   Mon Apr 15 11:33:44 2002
@@ -23,7 +23,7 @@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 datadir = @datadir@
-localedir = $(datadir)/locale
+localedir = $(prefix)/share/locale
 gettextsrcdir = $(datadir)/gettext/po
 
 INSTALL = @INSTALL@
--- intl/Makefile.in    Sat Mar 30 16:43:42 2002
+++ intl/Makefile.in    Mon Apr 15 11:35:04 2002
@@ -32,7 +32,7 @@
 libdir = @libdir@
 includedir = @includedir@
 datadir = @datadir@
-localedir = $(datadir)/locale
+localedir = $(prefix)/share/locale
 gettextsrcdir = $(datadir)/gettext/intl
 aliaspath = $(localedir)
 subdir = intl
--- configure   Sat Mar 30 18:36:16 2002
+++ configure   Mon Apr 15 11:46:15 2002
@@ -13484,7 +13484,7 @@
 # ==========================
 
 
-localedir='${datadir}'/locale
+localedir='${prefix}'/share/locale
 
 pkgdatadir="$datadir/heroes"
 for _lcl_i in bindir:prefix:backward_relative_bindir 
prefix:pkgdatadir:forward_relative_pkgdatadir 
prefix:localedir:forward_relative_localedir ; do
++++++ heroes-bigendian.patch ++++++
Index: heroes-0.21/src/bytesex.h
===================================================================
--- heroes-0.21.orig/src/bytesex.h
+++ heroes-0.21/src/bytesex.h
@@ -27,9 +27,9 @@
 
 #ifdef linux
 
-#include <asm/byteorder.h>
-#define BSWAP16(x) __arch__swab16(x)
-#define BSWAP32(x) __arch__swab32(x)
+#include <linux/swab.h>
+#define BSWAP16(x) __swab16(x)
+#define BSWAP32(x) __swab32(x)
 
 #else /* ! linux */
 
++++++ heroes-build-fixes.patch ++++++
--- configure.ac.orig
+++ configure.ac
@@ -16,9 +16,9 @@ dnl with this program; if not, write to
 dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 dnl
 
-AC_PREREQ(2.50)
+AC_PREREQ([2.68])
 
-AC_INIT([heroes], [0.21], [[email protected]])
+AC_INIT([heroes],[0.21],[[email protected]])
 AC_CONFIG_AUX_DIR(tools)
 AC_CONFIG_SRCDIR([src/heroes.c])
 AM_INIT_AUTOMAKE([heroes], [0.21])
@@ -30,17 +30,13 @@ heroes_CHECK_OBSOLETE_OPTIONS
 AC_CANONICAL_HOST
 AC_DEFINE_UNQUOTED([HOST],["$host"],[The canonical host])
 
-# If the user didn't supplied a CFLAGS value,
-# set an empty one to prevent autoconf to stick -O2 -g here.
-test -z "$CFLAGS" && CFLAGS=""
-
 # ===================
 # Check for programs.
 # ===================
 
-AC_PROG_CC
-AC_ISC_POSIX
 AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
 AM_PROG_CC_C_O
 AC_PROG_CPP
 AC_PROG_AWK
@@ -57,16 +53,10 @@ AM_CONDITIONAL(HAVE_GPERF, [test \! -z "
 
 AC_CACHE_SAVE
 
-# Set _GNU_SOURCE before any other tests.
-AC__GNU_SOURCE
-
 # =====================
 # Checks for libraries.
 # =====================
 
-dnl pass a third argument to AC_CHECK_LIB to
-dnl prevent HAVE_LIBM from being defined (we don't need it).
-AC_CHECK_LIB([m], [sin], [LIBS="-lm $LIBS"])
 heroes_MEDIALIB_SELECTION
 
 # ================================
@@ -200,7 +190,7 @@ heroes_DEBUG
 # as clean as possible.
 dnl Don't quote the following argument, it is parsed by automake.
 AM_CONFIG_HEADER(config.h:src/config.h.in)
-
+AC_SEARCH_LIBS(sin, m)
 AC_CONFIG_FILES([
  Makefile
  doc/Makefile

Reply via email to