commit xmoto for openSUSE:Factory

2020-08-25 Thread root
Hello community,

here is the log from the commit of package xmoto for openSUSE:Factory checked 
in at 2020-08-25 09:38:35

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


Package is "xmoto"

Tue Aug 25 09:38:35 2020 rev:4 rq:829003 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/xmoto/xmoto.changes  2017-08-28 
15:17:40.600414097 +0200
+++ /work/SRC/openSUSE:Factory/.xmoto.new.3399/xmoto.changes2020-08-25 
09:40:39.524263851 +0200
@@ -1,0 +2,30 @@
+Mon Aug 17 15:49:05 UTC 2020 - Dirk Mueller 
+
+- update to 0.6.1
+ * macOS and FreeBSD support is back!
+ * Automated release builds for Linux/macOS/Windows
+ * Added support for macOS Bundles
+ * Improved level load times
+ * Improved Russian translation
+ * Bug fixes:
+ * Fixed a locale bug where the game would crash with
+   locales using comma (,) as the decimal separator
+ * No more crashing on non-existent db entries
+   when migrating from an old version
+ * Build system changed from autotools to CMake
+ * Support for both cross-compilation and native builds for Win32
+ * Easy packaging for each supported platform
+ * FreeBSD and macOS support temporarily dropped
+ * Minor changes:
+ * Chat history is now shown when the chat box is opened
+ * Checkpoint color in ugly mode matches minimap
+ * Some code fixes
+ * glext.h dropped in favor of a proper GL loader
+ * Bug fixes:
+ * Favorite levels can be viewed again
+ * Safe mode now stays on after restarting a level
+ * remove several warnings (including replacing hash_map by unordered_map)
+- remove xmoto-0.5.11-pointer-comparison.patch xmoto-0.5.5-basedir.patch 
xmoto-nobuild_date.patch 
+ (upstream)
+
+---

Old:

  xmoto-0.5.11-pointer-comparison.patch
  xmoto-0.5.11-src.tar.gz
  xmoto-0.5.5-basedir.patch
  xmoto-nobuild_date.patch

New:

  0.6.1.tar.gz



Other differences:
--
++ xmoto.spec ++
--- /var/tmp/diff_new_pack.p5eM1i/_old  2020-08-25 09:40:43.192265514 +0200
+++ /var/tmp/diff_new_pack.p5eM1i/_new  2020-08-25 09:40:43.196265516 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xmoto
 #
-# Copyright (c) 2016 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,26 +12,20 @@
 # 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:   xmoto
-Version:0.5.11
+Version:0.6.1
 Release:0
 Summary:2D motocross platform game
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Amusements/Games/Action/Other
-Url:http://xmoto.tuxfamily.org/
-Source0:
http://download.tuxfamily.org/%{name}/%{name}/%{version}/%{name}-%{version}-src.tar.gz
+URL:https://xmoto.tuxfamily.org/
+Source0:
https://github.com/xmoto/xmoto/archive/%{version}/%{version}.tar.gz
 Source1:%{name}.appdata.xml
-# PATCH-FIX-UPSTREAM xmoto-0.5.5-basedir.patch a...@mizerski.pl -- Fix 
implicit declaration of function 'mkdir'
-Patch0: %{name}-0.5.5-basedir.patch
-# PATCH-FIX-OPENSUSE xmoto-0.5.11-pointer-comparison.patch boo#1041253 
wba...@tmo.at -- Fix build with GCC7
-Patch1: %{name}-0.5.11-pointer-comparison.patch
-# PATCH-FIX-OPENSUSE xmoto-nobuild_date.patch dims...@opensuse.org -- Do not 
add build time and date: it's useless information
-Patch100:   %{name}-nobuild_date.patch
-
+BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
@@ -45,15 +39,15 @@
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(ode)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(zlib)
+Requires:   %{name}-data = %{version}
 %if 0%{?suse_version} >= 1330
 BuildRequires:  pkgconfig(lua5.1)
 %else
 BuildRequires:  pkgconfig(lua)
 %endif
-BuildRequires:  pkgconfig(ode)
-BuildRequires:  pkgconfig(sqlite3)
-BuildRequires:  pkgconfig(zlib)
-Requires:   %{name}-data = %{version}
 
 %description
 X-Moto is a challenging 2D motocross platform game, where physics play
@@ -74,22 +68,17 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p0
-%patch100 -p1
 # Let's always use system's ode:
 rm -rf src/ode
 ln -s %{_includedir}/ode src/ode
 
 %build
-CXXFLAGS="%{optflags} -fno-strict-aliasing" \
-%configure \
-   

commit xmoto for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package xmoto for openSUSE:Factory checked 
in at 2017-08-28 15:16:11

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


Package is "xmoto"

Mon Aug 28 15:16:11 2017 rev:3 rq:518701 version:0.5.11

Changes:

--- /work/SRC/openSUSE:Factory/xmoto/xmoto.changes  2017-06-12 
15:35:38.949133547 +0200
+++ /work/SRC/openSUSE:Factory/.xmoto.new/xmoto.changes 2017-08-28 
15:17:40.600414097 +0200
@@ -1,0 +2,5 @@
+Fri Aug 25 09:44:47 UTC 2017 - wba...@tmo.at
+
+- Explicitly BuildRequire lua 5.1 on Tumbleweed to fix build
+
+---



Other differences:
--
++ xmoto.spec ++
--- /var/tmp/diff_new_pack.Y2xT6l/_old  2017-08-28 15:17:42.75679 +0200
+++ /var/tmp/diff_new_pack.Y2xT6l/_new  2017-08-28 15:17:42.772108932 +0200
@@ -45,7 +45,11 @@
 BuildRequires:  pkgconfig(libcurl)
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libxml-2.0)
+%if 0%{?suse_version} >= 1330
+BuildRequires:  pkgconfig(lua5.1)
+%else
 BuildRequires:  pkgconfig(lua)
+%endif
 BuildRequires:  pkgconfig(ode)
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(zlib)




commit xmoto for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package xmoto for openSUSE:Factory checked 
in at 2017-06-12 15:35:00

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


Package is "xmoto"

Mon Jun 12 15:35:00 2017 rev:2 rq:502909 version:0.5.11

Changes:

--- /work/SRC/openSUSE:Factory/xmoto/xmoto.changes  2016-06-13 
21:56:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.xmoto.new/xmoto.changes 2017-06-12 
15:35:38.949133547 +0200
@@ -1,0 +2,6 @@
+Sun Jun 11 15:31:57 UTC 2017 - wba...@tmo.at
+
+- Add xmoto-0.5.11-pointer-comparison.patch to fix build with GCC7,
+  patch taken from Fedora (boo#1041253)
+
+---

New:

  xmoto-0.5.11-pointer-comparison.patch



Other differences:
--
++ xmoto.spec ++
--- /var/tmp/diff_new_pack.BU5Ke6/_old  2017-06-12 15:35:41.844725144 +0200
+++ /var/tmp/diff_new_pack.BU5Ke6/_new  2017-06-12 15:35:41.844725144 +0200
@@ -27,6 +27,8 @@
 Source1:%{name}.appdata.xml
 # PATCH-FIX-UPSTREAM xmoto-0.5.5-basedir.patch a...@mizerski.pl -- Fix 
implicit declaration of function 'mkdir'
 Patch0: %{name}-0.5.5-basedir.patch
+# PATCH-FIX-OPENSUSE xmoto-0.5.11-pointer-comparison.patch boo#1041253 
wba...@tmo.at -- Fix build with GCC7
+Patch1: %{name}-0.5.11-pointer-comparison.patch
 # PATCH-FIX-OPENSUSE xmoto-nobuild_date.patch dims...@opensuse.org -- Do not 
add build time and date: it's useless information
 Patch100:   %{name}-nobuild_date.patch
 
@@ -69,6 +71,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 %patch100 -p1
 # Let's always use system's ode:
 rm -rf src/ode

++ xmoto-0.5.11-pointer-comparison.patch ++
--- src/WWW.cpp.orig2011-05-06 14:53:22.0 -0500
+++ src/WWW.cpp 2017-02-22 08:43:46.797335810 -0600
@@ -206,7 +206,7 @@
   std::string v_www_agent = WWW_AGENT;
 
   /* open the file */
-  if( (v_destinationFile = fopen(v_local_file_tmp.c_str(), "wb")) == false) {
+  if ( (v_destinationFile = fopen(v_local_file_tmp.c_str(), "wb")) == NULL) {
 throw Exception("error : unable to open output file " 
 + v_local_file_tmp);
   }
@@ -320,7 +320,7 @@
   LogInfo(std::string("Uploading replay " + p_replayFilename).c_str());
 
   /* open the file */
-  if( (v_destinationFile = fopen(v_local_file.c_str(), "wb")) == false) {
+  if( (v_destinationFile = fopen(v_local_file.c_str(), "wb")) == NULL) {
 throw Exception("error : unable to open output file " 
DEFAULT_WWW_MSGFILE("UR"));
   }
   
@@ -478,7 +478,7 @@
   LogInfo("Sending vote");
 
   /* open the file */
-  if( (v_destinationFile = fopen(v_local_file.c_str(), "wb")) == false) {
+  if( (v_destinationFile = fopen(v_local_file.c_str(), "wb")) == NULL) {
 throw Exception("error : unable to open output file " 
DEFAULT_WWW_MSGFILE("SV"));
   }
   
@@ -562,7 +562,7 @@
   LogInfo("Sending report");
 
   /* open the file */
-  if( (v_destinationFile = fopen(v_local_file.c_str(), "wb")) == false) {
+  if( (v_destinationFile = fopen(v_local_file.c_str(), "wb")) == NULL) {
 throw Exception("error : unable to open output file " 
DEFAULT_WWW_MSGFILE("SR"));
   }
   
@@ -677,7 +677,7 @@
   LogInfo(std::string("Uploading dbsync " + p_dbSyncFilename + " to " + 
p_url_to_transfert).c_str());
 
   /* open the file */
-  if( (v_destinationFile = fopen(p_answerFile.c_str(), "wb")) == false) {
+  if( (v_destinationFile = fopen(p_answerFile.c_str(), "wb")) == NULL) {
 throw Exception("error : unable to open output file " + p_answerFile);
   }