commit mrrescue for openSUSE:Factory

2019-06-14 Thread root
Hello community,

here is the log from the commit of package mrrescue for openSUSE:Factory 
checked in at 2019-06-14 20:42:59

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


Package is "mrrescue"

Fri Jun 14 20:42:59 2019 rev:5 rq:709941 version:1.02e

Changes:

--- /work/SRC/openSUSE:Factory/mrrescue/mrrescue.changes2019-05-20 
10:29:32.669893448 +0200
+++ /work/SRC/openSUSE:Factory/.mrrescue.new.4811/mrrescue.changes  
2019-06-14 20:43:00.558330895 +0200
@@ -1,0 +2,6 @@
+Tue Jun 11 02:15:24 UTC 2019 - Max Mitschke 
+
+- Cleaned up specfile
+- Added: support-love-11.patch to fix runtime error on Tumbleweed
+
+---

New:

  support-love-11.patch



Other differences:
--
++ mrrescue.spec ++
--- /var/tmp/diff_new_pack.DPirCl/_old  2019-06-14 20:43:02.510327585 +0200
+++ /var/tmp/diff_new_pack.DPirCl/_new  2019-06-14 20:43:02.546327524 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mrrescue
 #
-# Copyright (c) 2017 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
@@ -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/
 #
 
 
@@ -20,18 +20,22 @@
 Version:1.02e
 Release:0
 Summary:Arcade-style 2D firefighting action
-License:Zlib and MIT and CC-BY-SA-3.0
+License:Zlib AND MIT AND CC-BY-SA-3.0
 Group:  Amusements/Games/Action/Other
-Url:http://tangramgames.dk/games/mrrescue/
+URL:http://tangramgames.dk/games/mrrescue/
 Source: 
https://github.com/SimonLarsen/mrrescue/archive/%{version}.tar.gz
 # PATCH-FEATURE-UPSTREAM https://github.com/SimonLarsen/mrrescue/pull/14
 Patch1: appdata.patch
+# PATCH-FIX-OPENSUSE support-love-11.patch -- Fixes runtime error on Tumbleweed
+Patch2: support-love-11.patch
 BuildRequires:  ImageMagick
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  love >= 0.10.0
 BuildRequires:  update-desktop-files
 BuildRequires:  zip
 Requires:   love >= 0.10.0
+Requires(post): update-desktop-files
+Requires(postun): update-desktop-files
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -47,15 +51,21 @@
 %prep
 %setup -q
 %patch1 -p1
+%if 0%{?suse_version}
+%if 0%{?suse_version} > 1500
+%patch2 -p1
+%endif
+%endif
 
 %build
 zip -X %{name}_%{version}.love `find -type f | sort` -x LICENSE
 
 %install
-cat >"%{name}" <<-EOF
-   #!/bin/sh
-   exec love %{_datadir}/%{name}/%{name}_%{version}.love
+cat > %{name} <<-EOF
+#!/bin/sh
+exec love %{_datadir}/%{name}/%{name}_%{version}.love
 EOF
+
 install -D -m 0644 %{name}_%{version}.love 
%{buildroot}%{_datadir}/%{name}/%{name}_%{version}.love
 install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
 
@@ -64,25 +74,17 @@
 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps"
 convert -strip data/splash.png -resize "$size"x"$size" 
%{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps/%{name}.png"
 done
+
 %suse_update_desktop_file -c %{name} "Mr. Rescue" "Arcade 2D Actiongame" 
%{name} %{name} Game ArcadeGame
 install -D -m 0644 %{name}.appdata.xml 
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
 
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-
 %files
-%defattr(-,root,root)
-%doc LICENSE
+%license LICENSE
+%dir %{_datadir}/appdata/
 %{_bindir}/*
 %{_datadir}/%{name}
-%{_datadir}/applications/%{name}.desktop
-%dir %{_datadir}/appdata/
 %{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 
 %changelog

++ support-love-11.patch ++
diff --git a/conf.lua b/conf.lua
index db46228..41d3cbf 100644
--- a/conf.lua
+++ b/conf.lua
@@ -1,33 +1,14 @@
 function love.conf(t)
 t.identity = "mrrescue"
-t.version = "0.10.0"
-t.console = false
-
-t.window.title = "Mr. Rescue"
-t.window.icon = nil
-t.window.width = 256*3
-t.window.height = 200*3
-t.window.borderless = false
-t.window.resizable = false
-t.window.fullscreen = false
-t.window.fullscreentype = "exclusive"
-t.window.vsync = true
-t.window.fsaa = 0
-t.window.display = 1
-t.window.highdpi = false
-t.window.srgb = false
-
-

commit mrrescue for openSUSE:Factory

2019-05-20 Thread root
Hello community,

here is the log from the commit of package mrrescue for openSUSE:Factory 
checked in at 2019-05-20 10:29:17

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


Package is "mrrescue"

Mon May 20 10:29:17 2019 rev:4 rq:703960 version:1.02e

Changes:

--- /work/SRC/openSUSE:Factory/mrrescue/mrrescue.changes2017-05-22 
10:46:24.673981720 +0200
+++ /work/SRC/openSUSE:Factory/.mrrescue.new.5148/mrrescue.changes  
2019-05-20 10:29:32.669893448 +0200
@@ -1,0 +2,5 @@
+Thu May  9 08:57:35 UTC 2019 - Bernhard Wiedemann 
+
+- Use zip -X to make build reproducible (boo#1134568)
+
+---



Other differences:
--
++ mrrescue.spec ++
--- /var/tmp/diff_new_pack.L1K0lp/_old  2019-05-20 10:29:33.357893220 +0200
+++ /var/tmp/diff_new_pack.L1K0lp/_new  2019-05-20 10:29:33.361893218 +0200
@@ -49,7 +49,7 @@
 %patch1 -p1
 
 %build
-zip %{name}_%{version}.love `find -type f | sort` -x LICENSE
+zip -X %{name}_%{version}.love `find -type f | sort` -x LICENSE
 
 %install
 cat >"%{name}" <<-EOF




commit mrrescue for openSUSE:Factory

2017-05-22 Thread root
Hello community,

here is the log from the commit of package mrrescue for openSUSE:Factory 
checked in at 2017-05-22 10:46:24

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


Package is "mrrescue"

Mon May 22 10:46:24 2017 rev:3 rq:492886 version:1.02e

Changes:

--- /work/SRC/openSUSE:Factory/mrrescue/mrrescue.changes2017-02-16 
17:07:45.296891280 +0100
+++ /work/SRC/openSUSE:Factory/.mrrescue.new/mrrescue.changes   2017-05-22 
10:46:24.673981720 +0200
@@ -1,0 +2,7 @@
+Tue May  2 11:38:03 UTC 2017 - bwiedem...@suse.com
+
+- Sort zip input files to make build more reproducible
+- Use convert -strip to not have timestamps in png files
+  to make build more reproducible
+
+---



Other differences:
--
++ mrrescue.spec ++
--- /var/tmp/diff_new_pack.5qLdvQ/_old  2017-05-22 10:46:25.849815993 +0200
+++ /var/tmp/diff_new_pack.5qLdvQ/_new  2017-05-22 10:46:25.849815993 +0200
@@ -49,7 +49,7 @@
 %patch1 -p1
 
 %build
-zip -r %{name}_%{version}.love * -x LICENSE
+zip %{name}_%{version}.love `find -type f | sort` -x LICENSE
 
 %install
 cat >"%{name}" <<-EOF
@@ -62,7 +62,7 @@
 # Install icons and desktop
 for size in 256 128 96 64 48 32 16; do
 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps"
-convert data/splash.png -resize "$size"x"$size" 
%{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps/%{name}.png"
+convert -strip data/splash.png -resize "$size"x"$size" 
%{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps/%{name}.png"
 done
 %suse_update_desktop_file -c %{name} "Mr. Rescue" "Arcade 2D Actiongame" 
%{name} %{name} Game ArcadeGame
 install -D -m 0644 %{name}.appdata.xml 
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml




commit mrrescue for openSUSE:Factory

2017-02-16 Thread root
Hello community,

here is the log from the commit of package mrrescue for openSUSE:Factory 
checked in at 2017-02-16 17:07:44

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


Package is "mrrescue"

Changes:

--- /work/SRC/openSUSE:Factory/mrrescue/mrrescue.changes2017-02-03 
17:50:50.925169526 +0100
+++ /work/SRC/openSUSE:Factory/.mrrescue.new/mrrescue.changes   2017-02-16 
17:07:45.296891280 +0100
@@ -1,0 +2,5 @@
+Mon Feb  6 20:50:52 UTC 2017 - mailaen...@opensuse.org
+
+- add appdata.patch for https://en.opensuse.org/openSUSE:AppStore
+
+---

New:

  appdata.patch



Other differences:
--
++ mrrescue.spec ++
--- /var/tmp/diff_new_pack.exu5LO/_old  2017-02-16 17:07:45.936800734 +0100
+++ /var/tmp/diff_new_pack.exu5LO/_new  2017-02-16 17:07:45.936800734 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mrrescue
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -24,6 +24,8 @@
 Group:  Amusements/Games/Action/Other
 Url:http://tangramgames.dk/games/mrrescue/
 Source: 
https://github.com/SimonLarsen/mrrescue/archive/%{version}.tar.gz
+# PATCH-FEATURE-UPSTREAM https://github.com/SimonLarsen/mrrescue/pull/14
+Patch1: appdata.patch
 BuildRequires:  ImageMagick
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  love >= 0.10.0
@@ -44,6 +46,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 zip -r %{name}_%{version}.love * -x LICENSE
@@ -62,6 +65,7 @@
 convert data/splash.png -resize "$size"x"$size" 
%{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps/%{name}.png"
 done
 %suse_update_desktop_file -c %{name} "Mr. Rescue" "Arcade 2D Actiongame" 
%{name} %{name} Game ArcadeGame
+install -D -m 0644 %{name}.appdata.xml 
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
 
 %post
 %desktop_database_post
@@ -77,6 +81,8 @@
 %{_bindir}/*
 %{_datadir}/%{name}
 %{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/appdata/
+%{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 
 %changelog

++ appdata.patch ++
>From 0b378941ffbb6082b8eccabbf3981a2fa6292094 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
 
Date: Mon, 6 Feb 2017 21:39:31 +0100
Subject: [PATCH] Create mrrescue.appdata.xml

---
 mrrescue.appdata.xml | 35 +++
 1 file changed, 35 insertions(+)
 create mode 100644 mrrescue.appdata.xml

diff --git a/mrrescue.appdata.xml b/mrrescue.appdata.xml
new file mode 100644
index 000..299c936
--- /dev/null
+++ b/mrrescue.appdata.xml
@@ -0,0 +1,35 @@
+
+
+ mrrescue.desktop
+ CC-BY-SA-3.0
+ Zlib
+ Mr Rescue
+ Arcade-style fire fighting game
+ 
+  
+   Mr. Rescue is an arcade styled 2d action game centered around evacuating
+   civilians from burning buildings. The game features fast paced fire
+   extinguishing action, intense boss battles, a catchy soundtrack and lots of
+   throwing people around in pseudo-randomly generated buildings.
+  
+ 
+ 
+  
+   http://tangramgames.dk/games/mrrescue/images/1.png
+  
+  
+   http://tangramgames.dk/games/mrrescue/images/2.png
+  
+  
+   http://tangramgames.dk/games/mrrescue/images/3.png
+  
+  
+   http://tangramgames.dk/games/mrrescue/images/4.png
+  
+  
+   http://tangramgames.dk/games/mrrescue/images/5.png
+  
+ 
+ http://tangramgames.dk/games/mrrescue/
+ https://github.com/SimonLarsen/mrrescue/issues
+