commit solarus for openSUSE:Factory

2020-04-13 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2020-04-13 12:53:50

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


Package is "solarus"

Mon Apr 13 12:53:50 2020 rev:9 rq:793418 version:1.6.4

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2020-04-11 
23:49:38.011230344 +0200
+++ /work/SRC/openSUSE:Factory/.solarus.new.3248/solarus.changes
2020-04-13 12:53:54.096664190 +0200
@@ -1,0 +2,7 @@
+Sun Apr 12 15:27:07 UTC 2020 - antoine.belv...@opensuse.org
+
+- Update to version 1.6.4:
+  * Fix desktop file validation warning.
+- Remove solarus-1.6.3-desktop-version.patch: Merged upstream.
+
+---

Old:

  solarus-1.6.3-desktop-version.patch
  solarus-1.6.3.tar.bz2

New:

  solarus-1.6.4.tar.bz2



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.qpv8as/_old  2020-04-13 12:53:55.384664752 +0200
+++ /var/tmp/diff_new_pack.qpv8as/_new  2020-04-13 12:53:55.384664752 +0200
@@ -17,15 +17,13 @@
 
 
 Name:   solarus
-Version:1.6.3
+Version:1.6.4
 Release:0
 Summary:Game engine for action RPGs
 License:GPL-3.0-or-later
 Group:  Amusements/Games/RPG
 URL:https://www.solarus-games.org/
 Source0:%{name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM solarus-1.6.3-desktop-version.patch -- fix version field
-Patch0: solarus-1.6.3-desktop-version.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme

++ _service ++
--- /var/tmp/diff_new_pack.qpv8as/_old  2020-04-13 12:53:55.420664767 +0200
+++ /var/tmp/diff_new_pack.qpv8as/_new  2020-04-13 12:53:55.420664767 +0200
@@ -1,7 +1,7 @@
 
   
 disable
-v1.6.3
+v1.6.4
 git
 https://gitlab.com/solarus-games/solarus.git
 @PARENT_TAG@

++ solarus-1.6.3.tar.bz2 -> solarus-1.6.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.6.3/CMakeLists.txt 
new/solarus-1.6.4/CMakeLists.txt
--- old/solarus-1.6.3/CMakeLists.txt2020-04-11 16:47:30.0 +0200
+++ new/solarus-1.6.4/CMakeLists.txt2020-04-12 16:31:23.0 +0200
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.1)
 
 # Android: version information must be updated manually in AndroidConfig.h
-project(solarus-engine VERSION 1.6.3)
+project(solarus-engine VERSION 1.6.4)
 
 include(cmake/AddGitRevision.cmake)
 include(cmake/AddDefines.cmake)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.6.3/changelog.txt 
new/solarus-1.6.4/changelog.txt
--- old/solarus-1.6.3/changelog.txt 2020-04-11 16:47:30.0 +0200
+++ new/solarus-1.6.4/changelog.txt 2020-04-12 16:31:23.0 +0200
@@ -1,5 +1,12 @@
 __
 
+Solarus 1.6.4 (2020-04-12)
+__
+
+No change in the engine package.
+
+__
+
 Solarus 1.6.3 (2020-04-11)
 __
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.6.3/gui/resources/solarus-launcher.desktop 
new/solarus-1.6.4/gui/resources/solarus-launcher.desktop
--- old/solarus-1.6.3/gui/resources/solarus-launcher.desktop2020-04-11 
16:47:30.0 +0200
+++ new/solarus-1.6.4/gui/resources/solarus-launcher.desktop2020-04-12 
16:31:23.0 +0200
@@ -1,5 +1,4 @@
 [Desktop Entry]
-Version=1.6.2
 Type=Application
 Name=Solarus Launcher
 GenericName[es]=Lanzador de videojuegos Solarus
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.6.3/include/solarus/core/AndroidConfig.h 
new/solarus-1.6.4/include/solarus/core/AndroidConfig.h
--- old/solarus-1.6.3/include/solarus/core/AndroidConfig.h  2020-04-11 
16:47:30.0 +0200
+++ new/solarus-1.6.4/include/solarus/core/AndroidConfig.h  2020-04-12 
16:31:23.0 +0200
@@ -1,6 +1,6 @@
 #define SOLARUS_MAJOR_VERSION 1
 #define SOLARUS_MINOR_VERSION 6
-#define SOLARUS_PATCH_VERSION 3
+#define SOLARUS_PATCH_VERSION 4
 
 #define SOLARUS_HAVE_OPENGL 1
 #define SOLARUS_HAVE_MKSTEMP 1




commit solarus for openSUSE:Factory

2020-04-11 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2020-04-11 23:48:07

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


Package is "solarus"

Sat Apr 11 23:48:07 2020 rev:8 rq:793223 version:1.6.3

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2020-03-24 
22:39:12.613289674 +0100
+++ /work/SRC/openSUSE:Factory/.solarus.new.3248/solarus.changes
2020-04-11 23:49:38.011230344 +0200
@@ -1,0 +2,53 @@
+Sat Apr 11 15:40:26 UTC 2020 - antoine.belv...@opensuse.org
+
+- Update to version 1.6.3:
+  * Engine changes:
++ Fix macOS port not working since 1.6.1 due to OpenGL.
++ Fix shaders compilation in some OpenGL ES 3.0 platforms
+  (gl#solarus-games/solarus#1437).
++ Fix UTF-8 quest path encoding handling
+  (gl#solarus-games/solarus#1429).
++ Fix UTF-8 file names in Lua Open File API for Windows
+  (gl#solarus-games/solarus#1413).
++ Fix memory usage when visiting very large maps
+  (gl#solarus-games/solarus#1395).
++ Fix crash when removing the shadow of a carried object
+  (gl#solarus-games/solarus#1423).
++ Fix crash when stopping the movement of a thrown object
+  (gl#solarus-games/solarus#1452).
++ Fix carried object shadow still displayed after removing it
+  (gl#solarus-games/solarus#1436).
++ Fix animating hero sprites dynamically created
+  (gl#solarus-games/solarus#1348).
++ Fix hero speed when going from deep water to shallow water
+  (gl#solarus-games/solarus#1186).
++ Fix trail sprite not taking the hero's direction
+  (gl#solarus-games/solarus#1464).
++ Fix ground sprite still displayed while jumping
+  (gl#solarus-games/solarus#1458).
++ Fix custom states wrongly affected by ground speeds
+  (gl#solarus-games/solarus#1416).
++ Fix custom states not activating side teletransporters
+  (gl#solarus-games/solarus#1448).
++ Fix streams continuing to act when the layer has changed.
++ Fix enemy:on_dying() not called when setting enemies life to
+  zero (gl#solarus-games/solarus#1440).
++ Fix talking to NPCs while swimming
+  (gl#solarus-games/solarus#1043).
++ Fix creating dynamic sprite with tileset anims
+  (gl#solarus-games/solarus#1461).
+  * GUI changes:
++ Fix UTF-8 quest path encoding handling
+  (gl#solarus-games/solarus#1429).
++ Add drag and drop functionality to add new quests
+  (gl#solarus-games/solarus#1420).
+- Remove merged patches:
+  * solarus-1.6.2-install-gui-translations.patch.
+  * 0001-Use-pkg-config-to-get-more-search-paths.patch.
+- Add solarus-1.6.3-desktop-version.patch: Fix desktop file
+  validation warning.
+- Add system's glm as build dependency: It's not bundled anymore.
+- Enable test 1269: It's back to stable.
+- Handle some file name changes.
+
+---

Old:

  0001-Use-pkg-config-to-get-more-search-paths.patch
  solarus-1.6.2-install-gui-translations.patch
  solarus-1.6.2.tar.bz2

New:

  solarus-1.6.3-desktop-version.patch
  solarus-1.6.3.tar.bz2



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.H5CKI1/_old  2020-04-11 23:49:38.619230808 +0200
+++ /var/tmp/diff_new_pack.H5CKI1/_new  2020-04-11 23:49:38.619230808 +0200
@@ -17,17 +17,15 @@
 
 
 Name:   solarus
-Version:1.6.2
+Version:1.6.3
 Release:0
 Summary:Game engine for action RPGs
 License:GPL-3.0-or-later
 Group:  Amusements/Games/RPG
 URL:https://www.solarus-games.org/
 Source0:%{name}-%{version}.tar.bz2
-# PATCH-FEATURE-UPSTREAM -- 
https://gitlab.com/solarus-games/solarus/merge_requests/1311
-Patch0: solarus-1.6.2-install-gui-translations.patch
-# PATCH-FIX-UPSTREAM
-Patch1: 0001-Use-pkg-config-to-get-more-search-paths.patch
+# PATCH-FIX-UPSTREAM solarus-1.6.3-desktop-version.patch -- fix version field
+Patch0: solarus-1.6.3-desktop-version.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -39,6 +37,7 @@
 BuildRequires:  pkgconfig(SDL2_image)
 BuildRequires:  pkgconfig(SDL2_ttf)
 BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(glm)
 BuildRequires:  pkgconfig(libmodplug)
 BuildRequires:  pkgconfig(luajit)
 BuildRequires:  pkgconfig(openal)
@@ -56,10 +55,10 @@
 
 %package gui
 Summary:Graphical user interface to launch Solarus games
-Group:  Amusements/Games/RPG
 # Package "gui" was split from main package on 1.6.1
 # Make sure upgrade of main package from version < 1.6.1
 # installs "gui" as well with a specific Provides
+

commit solarus for openSUSE:Factory

2020-03-24 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2020-03-24 22:37:45

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


Package is "solarus"

Tue Mar 24 22:37:45 2020 rev:7 rq:787919 version:1.6.2

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2019-09-02 
13:26:45.465296527 +0200
+++ /work/SRC/openSUSE:Factory/.solarus.new.3160/solarus.changes
2020-03-24 22:39:12.613289674 +0100
@@ -1,0 +2,6 @@
+Tue Mar 24 18:38:22 UTC 2020 - Christophe Giboudeaux 
+
+- Add patch to find moonjit:
+  * 0001-Use-pkg-config-to-get-more-search-paths.patch
+
+---

New:

  0001-Use-pkg-config-to-get-more-search-paths.patch



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.3NTtNL/_old  2020-03-24 22:39:13.533290121 +0100
+++ /var/tmp/diff_new_pack.3NTtNL/_new  2020-03-24 22:39:13.537290122 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package solarus
 #
-# Copyright (c) 2019 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
@@ -26,6 +26,8 @@
 Source0:%{name}-%{version}.tar.bz2
 # PATCH-FEATURE-UPSTREAM -- 
https://gitlab.com/solarus-games/solarus/merge_requests/1311
 Patch0: solarus-1.6.2-install-gui-translations.patch
+# PATCH-FIX-UPSTREAM
+Patch1: 0001-Use-pkg-config-to-get-more-search-paths.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -92,8 +94,7 @@
 %lang_package -n solarus-gui
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %cmake

++ 0001-Use-pkg-config-to-get-more-search-paths.patch ++
>From c50c1938588b6f11e081744a8658135141c41948 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux 
Date: Tue, 24 Mar 2020 19:37:32 +0100
Subject: [PATCH] Use pkg-config to get more search paths.

Solarus can be built using moonjit. If a pkgconfig file is available,
we'll use the known include and library dirs.
---
 cmake/modules/FindLuaJit.cmake | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/cmake/modules/FindLuaJit.cmake b/cmake/modules/FindLuaJit.cmake
index 4edb6e3..25712d0 100644
--- a/cmake/modules/FindLuaJit.cmake
+++ b/cmake/modules/FindLuaJit.cmake
@@ -7,9 +7,14 @@
 #
 # This module is similar to FindLua51.cmake except that it finds LuaJit 
instead.
 
+FIND_PACKAGE(PkgConfig QUIET)
+
+PKG_CHECK_MODULES(PKG_LUAJIT QUIET luajit)
+
 FIND_PATH(LUA_INCLUDE_DIR luajit.h
   HINTS
   $ENV{LUA_DIR}
+  ${PKG_LUAJIT_INCLUDE_DIRS}
   PATH_SUFFIXES include/luajit-2.1 include/luajit-2.0 include/luajit-5_1-2.0 
include/luajit-5_1-2.1 include
   PATHS
   ~/Library/Frameworks
@@ -24,6 +29,7 @@ FIND_LIBRARY(LUA_LIBRARY
   NAMES luajit-5.1 luajit-2.0 luajit-2.1
   HINTS
   $ENV{LUA_DIR}
+  ${PKG_LUAJIT_LIBRARY_DIRS}
   PATH_SUFFIXES lib64 lib
   PATHS
   ~/Library/Frameworks
-- 
2.25.1




commit solarus for openSUSE:Factory

2019-09-02 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2019-09-02 13:26:44

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


Package is "solarus"

Mon Sep  2 13:26:44 2019 rev:6 rq:727602 version:1.6.2

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2019-08-22 
10:54:41.993681145 +0200
+++ /work/SRC/openSUSE:Factory/.solarus.new.7948/solarus.changes
2019-09-02 13:26:45.465296527 +0200
@@ -1,0 +2,7 @@
+Sun Sep  1 10:01:01 UTC 2019 - antoine.belv...@opensuse.org
+
+- Fix translation loading:
+  * Update solarus-1.6.2-install-gui-translations.patch with
+final version pushed to upstream.
+
+---



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.a8lKQQ/_old  2019-09-02 13:26:45.977296430 +0200
+++ /var/tmp/diff_new_pack.a8lKQQ/_new  2019-09-02 13:26:45.981296430 +0200
@@ -24,7 +24,7 @@
 Group:  Amusements/Games/RPG
 URL:https://www.solarus-games.org/
 Source0:%{name}-%{version}.tar.bz2
-# PATCH-FEATURE-UPSTREAM -- install gui translations
+# PATCH-FEATURE-UPSTREAM -- 
https://gitlab.com/solarus-games/solarus/merge_requests/1311
 Patch0: solarus-1.6.2-install-gui-translations.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++

++ solarus-1.6.2-install-gui-translations.patch ++
--- /var/tmp/diff_new_pack.a8lKQQ/_old  2019-09-02 13:26:46.001296426 +0200
+++ /var/tmp/diff_new_pack.a8lKQQ/_new  2019-09-02 13:26:46.001296426 +0200
@@ -1,32 +1,54 @@
-From c9b890dfcc20c2d74039d8cd0bfe225562450da1 Mon Sep 17 00:00:00 2001
+From 640b293046ed7eec41d5034a5c45c9c707d89347 Mon Sep 17 00:00:00 2001
 From: Antoine Belvire 
-Date: Sun, 11 Aug 2019 14:45:00 +0200
-Subject: [PATCH] Install translations
+Date: Sat, 24 Aug 2019 14:14:07 +0200
+Subject: [PATCH] Install translations for GUI
 
+This adds a CMake install target for GUI qm files and allows the application to
+load them from installation path.
 ---
- cmake/AddInstallTargets.cmake | 4 
+ cmake/AddInstallTargets.cmake | 1 +
+ gui/CMakeLists.txt| 1 +
+ gui/cmake/AddDefines.cmake| 3 +++
  gui/cmake/AddInstallTargets.cmake | 4 
- gui/src/{main.cpp => main.cpp.in} | 5 -
- 3 files changed, 12 insertions(+), 1 deletion(-)
- rename gui/src/{main.cpp => main.cpp.in} (96%)
+ gui/src/main.cpp  | 6 +-
+ 5 files changed, 14 insertions(+), 1 deletion(-)
+ create mode 100644 gui/cmake/AddDefines.cmake
 
 diff --git a/cmake/AddInstallTargets.cmake b/cmake/AddInstallTargets.cmake
-index 953497449..8e50ed48e 100644
+index 953497449..73710c4ae 100644
 --- a/cmake/AddInstallTargets.cmake
 +++ b/cmake/AddInstallTargets.cmake
-@@ -15,6 +15,10 @@ else()
+@@ -15,6 +15,7 @@ else()
  endif()
  set(SOLARUS_MANUAL_INSTALL_DESTINATION "share/man" CACHE PATH "Manual install 
destination")
  set(SOLARUS_HEADERS_INSTALL_DESTINATION "include" CACHE PATH "Headers install 
destination")
-+set(SOLARUS_GUI_TRANSLATIONS_INSTALL_DESTINATION 
"share/solarus-gui/translations" CACHE PATH "GUI translations install 
destination")
-+
-+# Set translation path to load .qm file from
-+configure_file("${CMAKE_SOURCE_DIR}/gui/src/main.cpp.in" 
"${CMAKE_SOURCE_DIR}/gui/src/main.cpp")
++set(SOLARUSGUI_INSTALL_DATADIR "share/solarus-gui" CACHE PATH "GUI data 
install destination")
  
  # Files to install with make install.
  # Install the shared library and the solarus-run executable.
+diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
+index 7e3d80f3f..505ea1dfd 100644
+--- a/gui/CMakeLists.txt
 b/gui/CMakeLists.txt
+@@ -5,6 +5,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+ # Tell CMake to run moc automatically when needed
+ set(CMAKE_AUTOMOC ON)
+ 
++include(cmake/AddDefines.cmake)
+ include(cmake/AddDependencies.cmake)
+ include(cmake/AddIncludeDirectories.cmake)
+ include(cmake/AddSolarusGuiLibrary.cmake)
+diff --git a/gui/cmake/AddDefines.cmake b/gui/cmake/AddDefines.cmake
+new file mode 100644
+index 0..0d1aaa725
+--- /dev/null
 b/gui/cmake/AddDefines.cmake
+@@ -0,0 +1,3 @@
++# Add defines for the install path and the build path to help guess the assets
++# location at runtime
++add_definitions(-DSOLARUSGUI_TRANSLATION_PATH="${CMAKE_INSTALL_PREFIX}/${SOLARUSGUI_INSTALL_DATADIR}/translations")
 diff --git a/gui/cmake/AddInstallTargets.cmake 
b/gui/cmake/AddInstallTargets.cmake
-index 460032827..1ac9b65f7 100644
+index d99f75a43..a229e6e36 100644
 --- a/gui/cmake/AddInstallTargets.cmake
 +++ b/gui/cmake/AddInstallTargets.cmake
 @@ -12,6 +12,10 @@ install(FILES
@@ -35,26 +57,24 @@
  )
 +install(FILES
 +  ${solarus-gui_TRANSLATIONS

commit solarus for openSUSE:Factory

2019-08-22 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2019-08-22 10:54:30

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


Package is "solarus"

Thu Aug 22 10:54:30 2019 rev:5 rq:725031 version:1.6.2

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2019-01-21 
10:48:12.656176327 +0100
+++ /work/SRC/openSUSE:Factory/.solarus.new.22127/solarus.changes   
2019-08-22 10:54:41.993681145 +0200
@@ -1,0 +2,57 @@
+Wed Aug 21 07:46:41 UTC 2019 - Jan Engelhardt 
+
+- Package description updates.
+
+---
+Fri Aug 16 16:48:12 UTC 2019 - antoine.belv...@opensuse.org
+
+- Update to version 1.6.2:
+  * Fix scrolling teletransporters with a square size (#1412).
+  * Fix hero displayed above stairs walls.
+- Install translations for solarus-gui:
+  * Add solarus-1.6.2-install-gui-translations.patch.
+  * Create solarus-gui-lang subpackage.
+- Add _service file to create a tarball without the big
+  'libraries' folder which is relevant only for Windows/Mac builds.
+- Disable check section on Leap <= 15.1 to fix build.
+- Disable test "lua/bugs/1269_coroutines" as it is unstable.
+- Remove obsolete build dependency on update-desktop-files.
+
+---
+Sat Aug 10 16:04:10 UTC 2019 - antoine.belv...@opensuse.org
+
+- Update to 1.6.1:
+  * Engine changes:
++ Add `-force-software-rendering` switch to solarus-run.
++ Add argument to set mouse cursor visibility on start (#1263).
++ Add simple performance counters to the engine (#1280).
++ Add argument to set fullscreen mode on start (#1281).
++ Add joypad buttons combo for quitting the engine (#1283).
++ Add git revision information to build and main loop startup
+  (#1292).
++ Add argument to set the joypad axis deadzone (#1293).
++ Add debug warning if a surface is larger than 2048 x 2048
+  (#1294).
++ Add support of carried object sprites with multiple
+  directions (#1392).
++ Improve CMake build (#1270, #1276, #1277, #1288, #1320).
++ Fix several crashes (#1354, #1371, #1353, #1366, #1374,
+  #1361).
++ Other bugfixes. See installed changelog.txt for more details.
+  * Lua API changes:
++ This release adds new features but does not introduce any
+  incompatibility.
++ Add methods game:get/set_transition_style() (#1368).
++ Add methods state:get/set_can_use_teletransporter/switch/
+  stream() (#1363).
++ Make surface, text_surface and timer userdata types indexable
+  (#1394).
+- Remove solarus-1.6.0-fix-desktop-exec.patch: Fixed upstream.
+- Update spec file:
+  * Split GUI and GUI library from main package.
+  * Update URL, Source and Description fields.
+  * Remove obsolete desktop_database_post(un) macros.
+  * Use cmake_build macro.
+  * Add check section.
+
+---

Old:

  solarus-1.6.0-fix-desktop-exec.patch
  solarus-1.6.0-src.tar.gz

New:

  _service
  solarus-1.6.2-install-gui-translations.patch
  solarus-1.6.2.tar.bz2



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.hLFbl5/_old  2019-08-22 10:54:42.749681043 +0200
+++ /var/tmp/diff_new_pack.hLFbl5/_new  2019-08-22 10:54:42.753681043 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package solarus
 #
-# 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,20 +17,19 @@
 
 
 Name:   solarus
-Version:1.6.0
+Version:1.6.2
 Release:0
-Summary:Zelda-like game engine
+Summary:Game engine for action RPGs
 License:GPL-3.0-or-later
 Group:  Amusements/Games/RPG
-Url:http://www.solarus-engine.org/
-Source: 
http://www.solarus-games.org/downloads/solarus/%{name}-%{version}-src.tar.gz
-# PATCH-FIX-UPSTREAM solarus-1.6.0-fix-desktop-exec.patch -- wrong Exec field 
in desktop file
-Patch0: solarus-1.6.0-fix-desktop-exec.patch
+URL:https://www.solarus-games.org/
+Source0:%{name}-%{version}.tar.bz2
+# PATCH-FEATURE-UPSTREAM -- install gui translations
+Patch0: solarus-1.6.2-install-gui-translations.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  physfs-devel
-BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Gui)

commit solarus for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2019-01-21 10:47:40

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


Package is "solarus"

Mon Jan 21 10:47:40 2019 rev:4 rq:663824 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2017-08-24 
18:52:35.595778581 +0200
+++ /work/SRC/openSUSE:Factory/.solarus.new.28833/solarus.changes   
2019-01-21 10:48:12.656176327 +0100
@@ -1,0 +2,40 @@
+Sat Dec 22 20:21:07 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to 1.6.0:
+  * Engine changes:
++ Solarus 1.5 quests are still supported by Solarus 1.6.
++ Add support of OpenGL shaders.
++ Replaced SDL renderer by a custom GL backend.
++ Improve the performance of loading images.
++ Maps can now use multiple tilesets.
++ Animated tile patterns can now have any frame number and
+  delay.
++ Treasure dialogs are now optional.
++ Allow entities to have a non-multiple of 8 size.
++ Don't center the hero on non-blocking streams.
++ Allow pickables to follow streams.
++ Blocks can now be moved multiple times.
++ Add support of .otf fonts.
++ Improve Lua error messages.
++ CLI can accept an archive's path as argument.
++ Bug fixes.
+  * Solarus launcher GUI changes:
++ Show the path and the compatibility format of each quest.
++ Lua console: provide variables game, map, entities and tp
+  function.
++ Clear the console when a quest is started.
++ FileDialog now expects a file, either quest.dat or an
+  archive (.solarus, .zip).
+  * Lua API changes:
++ This release adds new features and deprecates a few ones but
+  does not introduce any incompatibility.
++ See installed changelog.txt for full changelog.
+- Update build dependencies:
+  * Add pkgconfig(gl): Was already pulled by other dependencies
+but now it's actually used.
+- Update patches:
+  * Drop appdata.patch: Fixed upstream.
+  * Add solarus-1.6.0-fix-desktop-exec.patch: Fix executable name
+in desktop file.
+
+---

Old:

  appdata.patch
  solarus-1.5.3-src.tar.gz

New:

  solarus-1.6.0-fix-desktop-exec.patch
  solarus-1.6.0-src.tar.gz



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.1fGstZ/_old  2019-01-21 10:48:13.228175627 +0100
+++ /var/tmp/diff_new_pack.1fGstZ/_new  2019-01-21 10:48:13.228175627 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package solarus
 #
-# Copyright (c) 2017 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
@@ -12,20 +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:   solarus
-Version:1.5.3
+Version:1.6.0
 Release:0
 Summary:Zelda-like game engine
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Amusements/Games/RPG
 Url:http://www.solarus-engine.org/
 Source: 
http://www.solarus-games.org/downloads/solarus/%{name}-%{version}-src.tar.gz
-# PATCH-FEATURE-UPSTREAM https://github.com/solarus-games/solarus/pull/1031
-Patch3: appdata.patch
+# PATCH-FIX-UPSTREAM solarus-1.6.0-fix-desktop-exec.patch -- wrong Exec field 
in desktop file
+Patch0: solarus-1.6.0-fix-desktop-exec.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -37,6 +37,7 @@
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(SDL2_image)
 BuildRequires:  pkgconfig(SDL2_ttf)
+BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(libmodplug)
 BuildRequires:  pkgconfig(luajit)
 BuildRequires:  pkgconfig(openal)
@@ -63,7 +64,7 @@
 
 %prep
 %setup -q
-%patch3 -p1
+%patch0 -p1
 
 %build
 %cmake
@@ -72,6 +73,7 @@
 %install
 %cmake_install
 
+%if 0%{?suse_version} < 1330
 %post
 %icon_theme_cache_post
 %desktop_database_post
@@ -79,28 +81,27 @@
 %postun
 %icon_theme_cache_postun
 %desktop_database_postun
+%endif
 
 %post   -n libsolarus1 -p /sbin/ldconfig
 %postun -n libsolarus1 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc changelog.txt license.txt README.md
-%{_bindir}/solarus
-%{_libdir}/libsolarus-gui.so
+%doc changelog.txt readme.md
+%license license.txt
+%{_bindir}/solarus-launcher
 %{_bindir}/so

commit solarus for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2017-08-24 18:52:33

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


Package is "solarus"

Thu Aug 24 18:52:33 2017 rev:3 rq:516818 version:1.5.3

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2017-02-21 
13:50:24.307891327 +0100
+++ /work/SRC/openSUSE:Factory/.solarus.new/solarus.changes 2017-08-24 
18:52:35.595778581 +0200
@@ -1,0 +2,15 @@
+Mon Aug 14 10:39:41 UTC 2017 - aloi...@gmx.com
+
+- Update to 1.5.3
+  * Speed up loading maps by keeping tilesets in a cache (#1019).
+  * Fix text_surface:set_horizontal/vertical_alignment() not
+working.
+  * Fix parallax dynamic tiles still displayed when disabled or
+invisible.
+  * Improve error message of non-square tile patterns with diagonal
+obstacles.
+
+- Dropped luajit-5_1-2.1.patch and icons-desktop-man.patch
+  (merged upstream)
+
+---

Old:

  icons-desktop-man.patch
  luajit-5_1-2.1.patch
  solarus-1.5.1-src.tar.gz

New:

  solarus-1.5.3-src.tar.gz



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.hRb86N/_old  2017-08-24 18:52:36.655629349 +0200
+++ /var/tmp/diff_new_pack.hRb86N/_new  2017-08-24 18:52:36.675626533 +0200
@@ -17,17 +17,13 @@
 
 
 Name:   solarus
-Version:1.5.1
+Version:1.5.3
 Release:0
 Summary:Zelda-like game engine
 License:GPL-3.0+
 Group:  Amusements/Games/RPG
 Url:http://www.solarus-engine.org/
 Source: 
http://www.solarus-games.org/downloads/solarus/%{name}-%{version}-src.tar.gz
-# PATCH-FIX-UPSTREAM https://github.com/solarus-games/solarus/pull/1020
-Patch1: luajit-5_1-2.1.patch
-# PATCH-FIX-UPSTREAM https://github.com/solarus-games/solarus/pull/1021
-Patch2: icons-desktop-man.patch
 # PATCH-FEATURE-UPSTREAM https://github.com/solarus-games/solarus/pull/1031
 Patch3: appdata.patch
 BuildRequires:  cmake
@@ -67,8 +63,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
 %patch3 -p1
 
 %build
@@ -97,7 +91,7 @@
 %{_bindir}/solarus-run
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/applications/%{name}.desktop
-%{_mandir}/man6/solarus.*
+%{_mandir}/man6/solarus*
 %dir %{_datadir}/appdata/
 %{_datadir}/appdata/%{name}.appdata.xml
 

++ solarus-1.5.1-src.tar.gz -> solarus-1.5.3-src.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.5.1/changelog.txt 
new/solarus-1.5.3/changelog.txt
--- old/solarus-1.5.1/changelog.txt 2016-11-29 21:39:30.0 +0100
+++ new/solarus-1.5.3/changelog.txt 2017-04-03 11:49:35.0 +0200
@@ -1,5 +1,15 @@
 __
 
+Solarus 1.5.3 (2016-04-01)
+__
+
+* Speed up loading maps by keeping tilesets in a cache (#1019).
+* Fix text_surface:set_horizontal/vertical_alignment() not working.
+* Fix parallax dynamic tiles still displayed when disabled or invisible.
+* Improve error message of non-square tile patterns with diagonal obstacles.
+
+__
+
 Solarus 1.5.1 (2016-11-29)
 __
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.5.1/cmake/AddSolarusLibrary.cmake 
new/solarus-1.5.3/cmake/AddSolarusLibrary.cmake
--- old/solarus-1.5.1/cmake/AddSolarusLibrary.cmake 2016-11-29 
21:39:30.0 +0100
+++ new/solarus-1.5.3/cmake/AddSolarusLibrary.cmake 2017-04-03 
11:49:35.0 +0200
@@ -201,6 +201,7 @@
   include/solarus/MapData.h
   include/solarus/QuestProperties.h
   include/solarus/QuestResources.h
+  include/solarus/ResourceProvider.h
   include/solarus/ResourceType.h
   include/solarus/SavegameConverterV1.h
   include/solarus/Savegame.h
@@ -393,6 +394,7 @@
   src/MapData.cpp
   src/QuestProperties.cpp
   src/QuestResources.cpp
+  src/ResourceProvider.cpp
   src/SavegameConverterV1.cpp
   src/Savegame.cpp
   src/Settings.cpp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/solarus-1.5.1/cmake/AddSolarusVersion.cmake 
new/solarus-1.5.3/cmake/AddSolarusVersion.cmake
--- old/solarus-1.5.1/cmake/AddSolarusVersion.cmake 2016-11-29 
21:39:30.0 +0100
+++ new/solarus-1.5.3/cmake/AddSolarusVersion.cmake 2017-04-03 
11:49:35.0 +0200
@@ -1,5 +1,5 @@
 set(SOLARUS_MAJOR_VERSION 1)
 set(SOLARUS_MINOR_VERSION 5)
-set(SOLARUS_PATCH_VERSION 1)
+set(SOLARUS_PATCH_VERSION 3)
 set(SOLARUS_VERSION_STRING 
${SOLARUS_MAJOR_VERSION}.${SOLARUS_MINOR_VERSION}.${SOLARUS_PATCH_VERSION})
 
diff -

commit solarus for openSUSE:Factory

2017-02-21 Thread root
Hello community,

here is the log from the commit of package solarus for openSUSE:Factory checked 
in at 2017-02-21 13:50:23

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


Package is "solarus"

Changes:

--- /work/SRC/openSUSE:Factory/solarus/solarus.changes  2017-02-07 
11:59:19.620801772 +0100
+++ /work/SRC/openSUSE:Factory/.solarus.new/solarus.changes 2017-02-21 
13:50:24.307891327 +0100
@@ -1,0 +2,5 @@
+Sat Feb 18 08:45:46 UTC 2017 - mailaen...@opensuse.org
+
+- Add appdata.patch for https://en.opensuse.org/openSUSE:AppStore
+
+---

New:

  appdata.patch



Other differences:
--
++ solarus.spec ++
--- /var/tmp/diff_new_pack.RGWOat/_old  2017-02-21 13:50:24.987795637 +0100
+++ /var/tmp/diff_new_pack.RGWOat/_new  2017-02-21 13:50:24.987795637 +0100
@@ -28,6 +28,8 @@
 Patch1: luajit-5_1-2.1.patch
 # PATCH-FIX-UPSTREAM https://github.com/solarus-games/solarus/pull/1021
 Patch2: icons-desktop-man.patch
+# PATCH-FEATURE-UPSTREAM https://github.com/solarus-games/solarus/pull/1031
+Patch3: appdata.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -67,6 +69,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %cmake
@@ -95,6 +98,8 @@
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/applications/%{name}.desktop
 %{_mandir}/man6/solarus.*
+%dir %{_datadir}/appdata/
+%{_datadir}/appdata/%{name}.appdata.xml
 
 %files -n libsolarus1
 %defattr(-,root,root)

++ appdata.patch ++
>From 6c709ed75cec52e5de4aa2851fb975f0e89e57d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Sat, 18 Feb 2017 09:37:25 +0100
Subject: [PATCH] Add and install an appdata.xml file.

---
 gui/CMakeLists.txt|  6 ++
 gui/resources/solarus.appdata.xml | 20 
 2 files changed, 26 insertions(+)
 create mode 100644 gui/resources/solarus.appdata.xml

diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 092bf35..7c1eb12 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -185,6 +185,12 @@ if(UNIX AND NOT APPLE)
 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
 endif(UNIX AND NOT APPLE)
 
+# AppStream compatible software gallery metadata
+if(UNIX AND NOT APPLE)
+  install (FILES 
${CMAKE_CURRENT_SOURCE_DIR}/../gui/resources/solarus.appdata.xml
+DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata)
+endif(UNIX AND NOT APPLE)
+
 # Linux Manpage
 if(UNIX AND NOT APPLE)
   install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/../solarus.6
diff --git a/gui/resources/solarus.appdata.xml 
b/gui/resources/solarus.appdata.xml
new file mode 100644
index 000..9c95908
--- /dev/null
+++ b/gui/resources/solarus.appdata.xml
@@ -0,0 +1,20 @@
+
+
+  solarus.desktop
+  CC0-1.0
+  GPL-3.0
+  Solarus
+  ARPG 2D game engine
+  
+
+  Solarus is an open-source Zelda-like 2D game engine.
+
+  
+  
+
+  
http://www.solarus-games.org/wp-content/uploads/2016/07/solarus-launcher.png
+
+  
+  http://www.solarus-games.org/
+  christo...@solarus-games.org
+