commit solarus-quest-editor for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2020-06-05 20:20:05

Comparing /work/SRC/openSUSE:Factory/solarus-quest-editor (Old)
 and  /work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3606 (New)


Package is "solarus-quest-editor"

Fri Jun  5 20:20:05 2020 rev:11 rq:811592 version:1.6.4

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2020-04-13 12:54:07.840670176 +0200
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3606/solarus-quest-editor.changes
  2020-06-05 20:26:20.224947332 +0200
@@ -1,0 +2,6 @@
+Thu Jun  4 17:58:13 UTC 2020 - Christophe Giboudeaux 
+
+- Add upstream patch to fix build with Qt 5.15:
+  * 0001-Add-missing-include-directive-for-QPainterPath.patch
+
+---

New:

  0001-Add-missing-include-directive-for-QPainterPath.patch



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.gYlUfq/_old  2020-06-05 20:26:22.740947809 +0200
+++ /var/tmp/diff_new_pack.gYlUfq/_new  2020-06-05 20:26:22.744947809 +0200
@@ -24,6 +24,8 @@
 Group:  Productivity/Graphics/Other
 URL:https://www.solarus-games.org/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-Add-missing-include-directive-for-QPainterPath.patch
 BuildRequires:  cmake >= 3.1
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -60,7 +62,7 @@
 %lang_package
 
 %prep
-%setup -q -n %{name}-v%{version}
+%autosetup -p1 -n %{name}-v%{version}
 
 %build
 %cmake

++ 0001-Add-missing-include-directive-for-QPainterPath.patch ++
>From 619a0a8e00f9e0b75df80721402bd87d6ea01692 Mon Sep 17 00:00:00 2001
From: Hugo Hromic 
Date: Mon, 1 Jun 2020 18:45:16 +0100
Subject: [PATCH] Add missing include directive for QPainterPath

* Not implicit anymore since Qt 5.15
---
 src/entities/jumper.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/entities/jumper.cpp b/src/entities/jumper.cpp
index 5d4b31e..edd38fa 100644
--- a/src/entities/jumper.cpp
+++ b/src/entities/jumper.cpp
@@ -17,6 +17,7 @@
 #include "entities/jumper.h"
 #include "map_model.h"
 #include 
+#include 
 
 namespace SolarusEditor {
 
-- 
2.26.2




commit solarus-quest-editor for openSUSE:Factory

2020-04-13 Thread root
Hello community,

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

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


Package is "solarus-quest-editor"

Mon Apr 13 12:54:04 2020 rev:10 rq:793423 version:1.6.4

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2020-04-11 23:49:44.695235438 +0200
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3248/solarus-quest-editor.changes
  2020-04-13 12:54:07.840670176 +0200
@@ -1,0 +2,7 @@
+Sun Apr 12 15:36:36 UTC 2020 - Antoine Belvire 
+
+- Update to version 1.6.4:
+ * Fix spin boxes breaking the UI on Windows
+   (gl#solarus-games/solarus-quest-editor#486).
+
+---

Old:

  solarus-quest-editor-v1.6.3.tar.bz2

New:

  solarus-quest-editor-v1.6.4.tar.bz2



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.1MhIWB/_old  2020-04-13 12:54:10.300671247 +0200
+++ /var/tmp/diff_new_pack.1MhIWB/_new  2020-04-13 12:54:10.304671250 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   solarus-quest-editor
-Version:1.6.3
+Version:1.6.4
 Release:0
 Summary:GUI to edit quests for the Solarus engine
 License:GPL-3.0-or-later AND CC-BY-SA-3.0

++ solarus-quest-editor-v1.6.3.tar.bz2 -> 
solarus-quest-editor-v1.6.4.tar.bz2 ++
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor-v1.6.3.tar.bz2
 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3248/solarus-quest-editor-v1.6.4.tar.bz2
 differ: char 11, line 1




commit solarus-quest-editor for openSUSE:Factory

2020-04-11 Thread root
Hello community,

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

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


Package is "solarus-quest-editor"

Sat Apr 11 23:48:10 2020 rev:9 rq:793224 version:1.6.3

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2020-03-24 22:39:13.853290277 +0100
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3248/solarus-quest-editor.changes
  2020-04-11 23:49:44.695235438 +0200
@@ -1,0 +2,22 @@
+Sat Apr 11 16:21:12 UTC 2020 - Antoine Belvire 
+
+- Update to version 1.6.3:
+  * Add Ocean Set tilesets to the initial quest
+(gl#solarus-games/solarus-quest-editor#478).
+  * Map editor: fix contours generated tileset specific
+(gl#solarus-games/solarus-quest-editor#485).
+  * Map editor: fix a crash when undoing changing the layer of
+entities (gl#solarus-games/solarus-quest-editor#471).
+  * Tileset editor: save the update maps option when renaming
+patterns (gl#solarus-games/solarus-quest-editor#483).
+  * Tileset editor: fix moving patterns to an overlapping position
+(gl#solarus-games/solarus-quest-editor#477).
+  * Tileset editor: fix crash when a tileset file changes while
+dragging (gl#solarus-games/solarus-quest-editor#476).
+  * Fix possible crash when closing the window.
+  * Fix tiles getting unwanted enabled_at_start field in map data
+files.
+- Remove merged 0001-Use-pkg-config-to-get-more-search-paths.patch.
+- Set minimal CMake version to 3.1 as indicated in CMakeLists.txt.
+
+---

Old:

  0001-Use-pkg-config-to-get-more-search-paths.patch
  solarus-quest-editor-v1.6.2.tar.bz2

New:

  solarus-quest-editor-v1.6.3.tar.bz2



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.LVt9kq/_old  2020-04-11 23:49:45.931236380 +0200
+++ /var/tmp/diff_new_pack.LVt9kq/_new  2020-04-11 23:49:45.935236383 +0200
@@ -17,16 +17,14 @@
 
 
 Name:   solarus-quest-editor
-Version:1.6.2
+Version:1.6.3
 Release:0
 Summary:GUI to edit quests for the Solarus engine
 License:GPL-3.0-or-later AND CC-BY-SA-3.0
 Group:  Productivity/Graphics/Other
 URL:https://www.solarus-games.org/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM
-Patch0: 0001-Use-pkg-config-to-get-more-search-paths.patch
-BuildRequires:  cmake >= 2.8.11
+BuildRequires:  cmake >= 3.1
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  glm-devel
@@ -63,7 +61,6 @@
 
 %prep
 %setup -q -n %{name}-v%{version}
-%patch0 -p1
 
 %build
 %cmake

++ solarus-quest-editor-v1.6.2.tar.bz2 -> 
solarus-quest-editor-v1.6.3.tar.bz2 ++
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor-v1.6.2.tar.bz2
 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3248/solarus-quest-editor-v1.6.3.tar.bz2
 differ: char 11, line 1




commit solarus-quest-editor for openSUSE:Factory

2020-03-24 Thread root
Hello community,

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

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


Package is "solarus-quest-editor"

Tue Mar 24 22:37:48 2020 rev:8 rq:787922 version:1.6.2

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2019-08-19 21:39:59.724306867 +0200
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.3160/solarus-quest-editor.changes
  2020-03-24 22:39:13.853290277 +0100
@@ -1,0 +2,6 @@
+Tue Mar 24 19:42:56 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-quest-editor.spec ++
--- /var/tmp/diff_new_pack.CB4aTF/_old  2020-03-24 22:39:15.345291001 +0100
+++ /var/tmp/diff_new_pack.CB4aTF/_new  2020-03-24 22:39:15.349291003 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package solarus-quest-editor
 #
-# 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
@@ -24,6 +24,8 @@
 Group:  Productivity/Graphics/Other
 URL:https://www.solarus-games.org/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-Use-pkg-config-to-get-more-search-paths.patch
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -61,6 +63,7 @@
 
 %prep
 %setup -q -n %{name}-v%{version}
+%patch0 -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 206bfec..91f5f2d 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
   HINTS
   $ENV{LUA_DIR}
+  ${PKG_LUAJIT_LIBRARY_DIRS}
   PATH_SUFFIXES lib64 lib
   PATHS
   ~/Library/Frameworks
-- 
2.25.1




commit solarus-quest-editor for openSUSE:Factory

2019-08-19 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2019-08-19 21:39:31

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


Package is "solarus-quest-editor"

Mon Aug 19 21:39:31 2019 rev:7 rq:724270 version:1.6.2

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2019-08-15 12:28:37.554535472 +0200
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.22127/solarus-quest-editor.changes
 2019-08-19 21:39:59.724306867 +0200
@@ -1,0 +2,11 @@
+Sat Aug 17 15:49:47 UTC 2019 - Antoine Belvire 
+
+- Update to version 1.6.2:
+  * Fix crash when closing tileset views (#467).
+  * Fix broken enemies in the initial quest (#466).
+  * Automatically install translation files.
+  * Update French translation.
+- Remove solarus-quest-editor-v1.6.1-install-translations.patch:
+  Merged upstream.
+
+---

Old:

  solarus-quest-editor-v1.6.1-install-translations.patch
  solarus-quest-editor-v1.6.1.tar.bz2

New:

  solarus-quest-editor-v1.6.2.tar.bz2



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.MtVFkw/_old  2019-08-19 21:40:02.120306397 +0200
+++ /var/tmp/diff_new_pack.MtVFkw/_new  2019-08-19 21:40:02.128306396 +0200
@@ -17,15 +17,13 @@
 
 
 Name:   solarus-quest-editor
-Version:1.6.1
+Version:1.6.2
 Release:0
 Summary:GUI to edit quests for the Solarus engine
 License:GPL-3.0-or-later AND CC-BY-SA-3.0
 Group:  Productivity/Graphics/Other
 URL:https://www.solarus-games.org/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
-# PATCH-FEATURE-UPSTREAM 
https://gitlab.com/solarus-games/solarus-quest-editor/merge_requests/402
-Patch0: %{name}-v1.6.1-install-translations.patch
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -63,7 +61,6 @@
 
 %prep
 %setup -q -n %{name}-v%{version}
-%patch0 -p1
 
 %build
 %cmake

++ solarus-quest-editor-v1.6.1.tar.bz2 -> 
solarus-quest-editor-v1.6.2.tar.bz2 ++
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor-v1.6.1.tar.bz2
 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.22127/solarus-quest-editor-v1.6.2.tar.bz2
 differ: char 11, line 1




commit solarus-quest-editor for openSUSE:Factory

2019-08-15 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2019-08-15 12:28:31

Comparing /work/SRC/openSUSE:Factory/solarus-quest-editor (Old)
 and  /work/SRC/openSUSE:Factory/.solarus-quest-editor.new.9556 (New)


Package is "solarus-quest-editor"

Thu Aug 15 12:28:31 2019 rev:6 rq:723258 version:1.6.1

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2019-08-13 13:22:17.481402170 +0200
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.9556/solarus-quest-editor.changes
  2019-08-15 12:28:37.554535472 +0200
@@ -1,0 +2,10 @@
+Mon Aug 12 08:13:44 UTC 2019 - antoine.belv...@opensuse.org
+
+- Install translations:
+  * Add solarus-quest-editor-v1.6.1-install-translations.patch
+which allows installation of translation files with CMake.
+  * Add lang subpackage.
+- Split assets into a noarch subpackage.
+- Drop obsolete build dependency on update-desktop-files.
+
+---

New:

  solarus-quest-editor-v1.6.1-install-translations.patch



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.EgxVga/_old  2019-08-15 12:28:40.342532886 +0200
+++ /var/tmp/diff_new_pack.EgxVga/_new  2019-08-15 12:28:40.386532846 +0200
@@ -24,6 +24,8 @@
 Group:  Productivity/Graphics/Other
 URL:https://www.solarus-games.org/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# PATCH-FEATURE-UPSTREAM 
https://gitlab.com/solarus-games/solarus-quest-editor/merge_requests/402
+Patch0: %{name}-v1.6.1-install-translations.patch
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -31,7 +33,6 @@
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  physfs-devel
 BuildRequires:  solarus-devel >= 1.6.0
-BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Concurrent)
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Gui)
@@ -44,13 +45,25 @@
 BuildRequires:  pkgconfig(openal)
 BuildRequires:  pkgconfig(sdl2)
 BuildRequires:  pkgconfig(vorbis)
+Requires:   %{name}-assets = %{version}
 
 %description
 Solarus Quest Editor is a graphical user interface to create and
 modify quests for the Solarus engine.
 
+%package assets
+Summary:Assets for the Solarus Quest Editor
+Group:  Productivity/Graphics/Other
+BuildArch:  noarch
+
+%description assets
+This package contains assets for the Solarus Quest Editor.
+
+%lang_package
+
 %prep
 %setup -q -n %{name}-v%{version}
+%patch0 -p1
 
 %build
 %cmake
@@ -59,12 +72,13 @@
 %install
 %cmake_install
 %fdupes %{buildroot}%{_prefix}
+%find_lang solarus_editor --with-qt
 
 %files
 %license license.txt license_gpl.txt
 %doc readme.md changelog.txt
-%{_bindir}/solarus-quest-editor
-%{_datadir}/solarus-quest-editor
+%{_bindir}/%{name}
+%dir %{_datadir}/%{name}
 %dir %{_datadir}/icons/hicolor/20x20
 %dir %{_datadir}/icons/hicolor/20x20/apps
 %dir %{_datadir}/icons/hicolor/40x40
@@ -73,4 +87,10 @@
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
 
+%files assets
+%{_datadir}/%{name}/assets
+
+%files lang -f solarus_editor.lang
+%dir %{_datadir}/%{name}/translations
+
 %changelog

++ solarus-quest-editor-v1.6.1-install-translations.patch ++
>From e0898a84ca755ad0e68905198a19023750140d67 Mon Sep 17 00:00:00 2001
From: Antoine Belvire 
Date: Sun, 11 Aug 2019 16:02:51 +0200
Subject: [PATCH] Add install target for translations

This adds a CMake install target for qm files and allows the application to
load them from installation path.
---
 cmake/AddInstallTargets.cmake | 3 +++
 src/main.cpp  | 6 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/cmake/AddInstallTargets.cmake b/cmake/AddInstallTargets.cmake
index eaa54e17..3dee926e 100644
--- a/cmake/AddInstallTargets.cmake
+++ b/cmake/AddInstallTargets.cmake
@@ -5,3 +5,6 @@ install(TARGETS solarus-quest-editor
 install(DIRECTORY "${CMAKE_SOURCE_DIR}/assets/"
   DESTINATION "${SOLARUS_INSTALL_DATADIR}/assets"
 )
+install(FILES ${solarus_quest_editor_TRANSLATIONS_QM}
+  DESTINATION "${SOLARUS_INSTALL_DATADIR}/translations"
+)
diff --git a/src/main.cpp b/src/main.cpp
index 45b7e922..66a09439 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -65,7 +65,11 @@ int run_editor_gui(int argc, char* argv[]) {
   application.installTranslator(_translator);
 
   QTranslator translator;
-  translator.load("solarus_editor_" + QLocale::system().name());
+  QString filename = "solarus_editor_" + QLocale::system().name();
+  bool translation_loaded = translator.load(filename);
+ 

commit solarus-quest-editor for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2019-08-13 13:21:05

Comparing /work/SRC/openSUSE:Factory/solarus-quest-editor (Old)
 and  /work/SRC/openSUSE:Factory/.solarus-quest-editor.new.9556 (New)


Package is "solarus-quest-editor"

Tue Aug 13 13:21:05 2019 rev:5 rq:722325 version:1.6.1

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2019-01-21 10:30:48.289392191 +0100
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.9556/solarus-quest-editor.changes
  2019-08-13 13:22:17.481402170 +0200
@@ -1,0 +2,18 @@
+Sat Aug 10 16:43:35 UTC 2019 - antoine.belv...@opensuse.org
+
+- Update to version 1.6.1:
+  * Allow to build a quest package (#431).
+  * Map editor: allow teletransporters to have any size multiple of
+8 pixels.
+  * Map editor: improve performance of deleting multiple entities.
+  * Map editor: fix performance of changing entities layer (#454).
+  * Map editor: fix wrong selections after undoing changing layers.
+  * Tileset editor: fix performance of removing multiple patterns
+(#456).
+  * Sprite editor: fix persisting error message about missing
+source image (#451).
+  * Dialogs editor: fix line wrapping.
+  * Initial quest: remove proprietary file added by mistake.
+  * Add Force Software Rendering option to 'Running' section.
+
+---

Old:

  solarus-quest-editor-v1.6.0.tar.bz2

New:

  solarus-quest-editor-v1.6.1.tar.bz2



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.atJhUN/_old  2019-08-13 13:22:18.581401881 +0200
+++ /var/tmp/diff_new_pack.atJhUN/_new  2019-08-13 13:22:18.585401880 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package solarus-quest-editor
 #
-# 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,12 +17,12 @@
 
 
 Name:   solarus-quest-editor
-Version:1.6.0
+Version:1.6.1
 Release:0
 Summary:GUI to edit quests for the Solarus engine
 License:GPL-3.0-or-later AND CC-BY-SA-3.0
 Group:  Productivity/Graphics/Other
-Url:http://www.solarus-games.org/engine/solarus-quest-editor/
+URL:https://www.solarus-games.org/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
@@ -54,32 +54,22 @@
 
 %build
 %cmake
-make %{?_smp_mflags}
+%cmake_build
 
 %install
 %cmake_install
 %fdupes %{buildroot}%{_prefix}
 
-%if 0%{?suse_version} < 1330
-%post
-%icon_theme_cache_post
-%desktop_database_post
-
-%postun
-%icon_theme_cache_postun
-%desktop_database_postun
-%endif
-
 %files
 %license license.txt license_gpl.txt
 %doc readme.md changelog.txt
 %{_bindir}/solarus-quest-editor
 %{_datadir}/solarus-quest-editor
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%dir %{_datadir}/icons/hicolor/1024x1024/
-%dir %{_datadir}/icons/hicolor/1024x1024/apps/
-%dir %{_datadir}/icons/hicolor/768x768/
-%dir %{_datadir}/icons/hicolor/768x768/apps/
+%dir %{_datadir}/icons/hicolor/20x20
+%dir %{_datadir}/icons/hicolor/20x20/apps
+%dir %{_datadir}/icons/hicolor/40x40
+%dir %{_datadir}/icons/hicolor/40x40/apps
+%{_datadir}/icons/hicolor/*/apps/%{name}*
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
 

++ solarus-quest-editor-v1.6.0.tar.bz2 -> 
solarus-quest-editor-v1.6.1.tar.bz2 ++
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor-v1.6.0.tar.bz2
 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.9556/solarus-quest-editor-v1.6.1.tar.bz2
 differ: char 11, line 1




commit solarus-quest-editor for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2019-01-21 10:28:44

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


Package is "solarus-quest-editor"

Mon Jan 21 10:28:44 2019 rev:4 rq:661477 version:1.6.0

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2018-11-12 09:44:54.880874282 +0100
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new.28833/solarus-quest-editor.changes
 2019-01-21 10:30:48.289392191 +0100
@@ -1,0 +2,61 @@
+Mon Dec 24 11:32:53 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to version 1.6.0:
+  * Allow to import files from other quests.
+  * Quest tree:
++ Show all .png and .dat files.
++ Show all language files, map files and tileset files.
++ Allow to set the author and license information of files.
++ Automatically select the currently open file.
++ Allow to update sprites when renaming a .png file.
++ Allow to open folders with the system explorer.
++ Allow to select multiple files.
++ Allow to delete multiple files and directories.
+  * Allow to view PNG files.
+  * Map/tileset editor: allow to generate borders automatically
+(autotiles).
+  * Map editor:
++ Add support of custom properties for entities by Maxs.
++ Allow to use multiple tilesets in the same map.
++ Allow to change the pattern of existing tiles.
++ Allow to change the pattern of all similar tiles at once.
++ Allow to change the origin of custom entities.
++ Allow to initially enable or disable any entity.
++ Allow to export the view as a PNG file.
++ Allow to lock layers.
++ Show the layer under the cursor in the status bar.
++ Add shortcuts to show/hide negative layers too.
++ Keep the selection after adding entities with ctrl or shift.
++ Add a shortcut to open the tileset by Akadream.
++ Don't reload the tileset if it is already open elsewhere.
++ Automatically reload the tileset when it has changed.
+  * Tileset editor:
++ Allow to change the frame number and delay of patterns.
++ Allow to duplicate tile patterns.
++ Allow to move several patterns at once.
+  * Sprite editor:
++ Allow to reorder directions by Maxs.
++ Allow to change the frame number graphically by Maxs.
++ The default origin is now 8,13 as usual in Solarus.
++ Fix precision issues when creating or moving directions.
++ Fix scrollbars reset when adding directions by Maxs.
++ Show the line and column number.
++ Allow a replace option to the find dialog by Akadream.
+  * Allow to select map/tileset/sprite/etc. ids to copy-paste them.
+  * Lua console: provide variables game, map, entities and function
+tp.
+  * Clear the console when a quest is started.
+  * Fix resource declaration not updated when renaming a directory.
+  * Fix crash when opening quest in non-UTF8 filesystems.
+  * Fix error message when opening a read-only quest.
+  * Fix memory not released when closing an editor.
+  * Initial quest: add some shaders.
+  * Text editor: allow to set an external editor to be used instead
+of the built-in one.
+- Update build dependencies:
+  * Add glm-devel: Was previously embedded in upstream tarball.
+  * Add pkgconfig(Qt5Concurrent): New dependency.
+- Remove solarus-quest-editor-1.5.3-fix-compilation.patch: Fixed
+  upstream.
+
+---

Old:

  solarus-quest-editor-1.5.3-fix-compilation.patch
  solarus-quest-editor-v1.5.3.tar.bz2

New:

  solarus-quest-editor-v1.6.0.tar.bz2



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.8HdsVu/_old  2019-01-21 10:30:50.069390246 +0100
+++ /var/tmp/diff_new_pack.8HdsVu/_new  2019-01-21 10:30:50.069390246 +0100
@@ -17,22 +17,22 @@
 
 
 Name:   solarus-quest-editor
-Version:1.5.3
+Version:1.6.0
 Release:0
 Summary:GUI to edit quests for the Solarus engine
 License:GPL-3.0-or-later AND CC-BY-SA-3.0
 Group:  Productivity/Graphics/Other
 Url:http://www.solarus-games.org/engine/solarus-quest-editor/
 Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM solarus-quest-editor-1.5.3-fix-compilation.patch -- 
boo#1115055
-Patch0: solarus-quest-editor-1.5.3-fix-compilation.patch
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  glm-devel
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  

commit solarus-quest-editor for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2018-11-12 09:43:41

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


Package is "solarus-quest-editor"

Mon Nov 12 09:43:41 2018 rev:3 rq:647697 version:1.5.3

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2018-04-20 17:28:42.440198531 +0200
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new/solarus-quest-editor.changes
   2018-11-12 09:44:54.880874282 +0100
@@ -1,0 +2,8 @@
+Thu Nov  8 20:05:52 UTC 2018 - antoine.belv...@opensuse.org
+
+- Add solarus-quest-editor-1.5.3-fix-compilation.patch: Fix build
+  on Tumbleweed (boo#1115055).
+- Update source URL: Project has migrated to GitLab.
+- Minor spec file cleanup.
+
+---

Old:

  solarus-quest-editor-1.5.3.tar.gz

New:

  solarus-quest-editor-1.5.3-fix-compilation.patch
  solarus-quest-editor-v1.5.3.tar.bz2



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.eTWdVX/_old  2018-11-12 09:44:56.356872036 +0100
+++ /var/tmp/diff_new_pack.eTWdVX/_new  2018-11-12 09:44:56.360872030 +0100
@@ -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/
 #
 
 
@@ -23,7 +23,9 @@
 License:GPL-3.0-or-later AND CC-BY-SA-3.0
 Group:  Productivity/Graphics/Other
 Url:http://www.solarus-games.org/engine/solarus-quest-editor/
-Source: 
https://github.com/solarus-games/solarus-quest-editor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source: 
https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM solarus-quest-editor-1.5.3-fix-compilation.patch -- 
boo#1115055
+Patch0: solarus-quest-editor-1.5.3-fix-compilation.patch
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -44,10 +46,11 @@
 BuildRequires:  pkgconfig(vorbis)
 
 %description
-A game editor for the Solarus engine.
+Solarus Quest Editor is a graphical user interface to create and
+modify quests for the Solarus engine.
 
 %prep
-%setup -q
+%autosetup -p1 -n %{name}-v%{version}
 
 %build
 %cmake
@@ -57,6 +60,7 @@
 %cmake_install
 %fdupes %{buildroot}%{_prefix}
 
+%if 0%{?suse_version} < 1330
 %post
 %icon_theme_cache_post
 %desktop_database_post
@@ -64,14 +68,13 @@
 %postun
 %icon_theme_cache_postun
 %desktop_database_postun
+%endif
 
 %files
-%defattr(-,root,root,-)
 %license license.txt license_gpl.txt
 %doc README.md changelog.txt
 %{_bindir}/solarus-quest-editor
 %{_datadir}/solarus-quest-editor
-%{_datadir}/solarus-quest-editor/assets
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %dir %{_datadir}/icons/hicolor/1024x1024/
 %dir %{_datadir}/icons/hicolor/1024x1024/apps/

++ solarus-quest-editor-1.5.3-fix-compilation.patch ++
>From 8f308463030c18cd4f7c8a6052028fff3b7ca35a Mon Sep 17 00:00:00 2001
From: Christopho 
Date: Tue, 5 Jun 2018 21:22:33 +0200
Subject: [PATCH] Fix compilation error

---
 include/widgets/map_view.h | 2 ++
 src/widgets/map_view.cpp   | 1 +
 2 files changed, 3 insertions(+)

diff --git a/include/widgets/map_view.h b/include/widgets/map_view.h
index 730ec98..6a27ab7 100644
--- a/include/widgets/map_view.h
+++ b/include/widgets/map_view.h
@@ -21,6 +21,8 @@
 #include 
 #include 
 
+class QActionGroup;
+
 namespace SolarusEditor {
 
 class MapModel;
diff --git a/src/widgets/map_view.cpp b/src/widgets/map_view.cpp
index 20cc75b..860cf60 100644
--- a/src/widgets/map_view.cpp
+++ b/src/widgets/map_view.cpp
@@ -30,6 +30,7 @@
 #include "tileset_model.h"
 #include "view_settings.h"
 #include 
+#include 
 #include 
 #include 
 #include 
-- 
2.18.1

diff -up solarus-quest-editor-1.5.3/src/widgets/text_editor.cpp.orig 
solarus-quest-editor-1.5.3/src/widgets/text_editor.cpp
--- solarus-quest-editor-1.5.3/src/widgets/text_editor.cpp.orig 2018-11-08 
21:59:02.591128574 +0100
+++ solarus-quest-editor-1.5.3/src/widgets/text_editor.cpp  2018-11-08 
21:59:18.515129235 +0100
@@ -21,6 +21,7 @@
 #include "editor_exception.h"
 #include "editor_settings.h"
 #include "quest.h"
+#include 
 #include 
 #include 
 #include 



commit solarus-quest-editor for openSUSE:Factory

2018-04-20 Thread root
Hello community,

here is the log from the commit of package solarus-quest-editor for 
openSUSE:Factory checked in at 2018-04-20 17:27:47

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


Package is "solarus-quest-editor"

Fri Apr 20 17:27:47 2018 rev:2 rq:596748 version:1.5.3

Changes:

--- 
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor.changes
2017-03-24 02:06:49.230011768 +0100
+++ 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new/solarus-quest-editor.changes
   2018-04-20 17:28:42.440198531 +0200
@@ -1,0 +2,16 @@
+Wed Apr 11 19:16:11 UTC 2018 - antoine.belv...@opensuse.org
+
+- Update to version 1.5.3:
+  * Initial quest: add enemy killed animation from Diarandor.
+  * Initial quest: fix the source image of the bomb sprite.
+  * Initial quest: make musics loop without separate file for their
+intro.
+  * Initial quest: add sounds from the Solarus Free Resource Pack.
+  * Initial quest: play a sound with the Solarus logo.
+  * Fix error message when converting from older formats to 1.5.2.
+- Remove upstreamed patch:
+  * desktop-icons.patch.
+  * luajit-5_1-2.1.patch.
+- Use %license instead of %doc for license files (boo#1082318).
+
+---

Old:

  desktop-icons.patch
  luajit-5_1-2.1.patch
  solarus-quest-editor-1.5.2.tar.gz

New:

  solarus-quest-editor-1.5.3.tar.gz



Other differences:
--
++ solarus-quest-editor.spec ++
--- /var/tmp/diff_new_pack.gtXs83/_old  2018-04-20 17:28:45.092102360 +0200
+++ /var/tmp/diff_new_pack.gtXs83/_new  2018-04-20 17:28:45.096102215 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package solarus-quest-editor
 #
-# 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
@@ -17,23 +17,19 @@
 
 
 Name:   solarus-quest-editor
-Version:1.5.2
+Version:1.5.3
 Release:0
 Summary:GUI to edit quests for the Solarus engine
-License:GPL-3.0+ and CC-BY-SA-3.0
+License:GPL-3.0-or-later AND CC-BY-SA-3.0
 Group:  Productivity/Graphics/Other
 Url:http://www.solarus-games.org/engine/solarus-quest-editor/
 Source: 
https://github.com/solarus-games/solarus-quest-editor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 
https://github.com/solarus-games/solarus-quest-editor/pull/261
-Patch1: luajit-5_1-2.1.patch
-# PATCH-FIX-UPSTREAM 
https://github.com/solarus-games/solarus-quest-editor/pull/263
-Patch2: desktop-icons.patch
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  hicolor-icon-theme
 BuildRequires:  physfs-devel
 BuildRequires:  solarus-devel
-BuildRequires:  hicolor-icon-theme
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Gui)
@@ -52,8 +48,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
 
 %build
 %cmake
@@ -73,7 +67,8 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README.md license.txt license_gpl.txt changelog.txt
+%license license.txt license_gpl.txt
+%doc README.md changelog.txt
 %{_bindir}/solarus-quest-editor
 %{_datadir}/solarus-quest-editor
 %{_datadir}/solarus-quest-editor/assets

++ solarus-quest-editor-1.5.2.tar.gz -> solarus-quest-editor-1.5.3.tar.gz 
++
/work/SRC/openSUSE:Factory/solarus-quest-editor/solarus-quest-editor-1.5.2.tar.gz
 
/work/SRC/openSUSE:Factory/.solarus-quest-editor.new/solarus-quest-editor-1.5.3.tar.gz
 differ: char 12, line 1