commit libadlmidi for openSUSE:Factory

2020-09-29 Thread root
Hello community,

here is the log from the commit of package libadlmidi for openSUSE:Factory 
checked in at 2020-09-29 19:04:28

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


Package is "libadlmidi"

Tue Sep 29 19:04:28 2020 rev:3 rq:838409 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/libadlmidi/libadlmidi.changes2020-06-10 
00:52:33.427593721 +0200
+++ /work/SRC/openSUSE:Factory/.libadlmidi.new.4249/libadlmidi.changes  
2020-09-29 19:04:30.825971035 +0200
@@ -1,0 +2,33 @@
+Mon Sep 28 17:18:29 UTC 2020 - Martin Hauke 
+
+- Update to version 1.5.0
+  * Drum note length expanding is now supported in real-time mode.
+  * Channels manager has been improved.
+  * Nuked OPL3 1.8 emulator got some optimizations ported from 1.7
+   where they are was applied previously.
+  * Reworked rhythm-mode percussions system, WOPL banks with
+rhythm-mode percussions
+  * Added Public Domain Opal OPL3 emulator made by Reality (a team
+who originally made the Reality Adlib Tracker).
+  * Added LGPL licensed JavaOPL3 emulator made by Robson Cozendey
+in Java and later rewritten into C++ for GZDoom.
+  * Fully rewritten an embedded bank database format, embedded
+banks now supports a wider set (more than 127:127 instruments
+in one bank).
+  * Improved accuracy of the DMX volume model, include the buggy
+AM interpretation.
+  * Improved accuracy of Apogee volume model, include the bug of
+AM instruments.
+  * Improved accuracy of the Win9X volume model.
+  * Removed C++ extras. C++-bounded instruments tester is useless
+since a real-time MIDI API can completely replace it.
+  * Added AIL volume model.
+  * Added Generic FM variant of Win9X volume model.
+  * Fixed an incorrect work of CC-121.
+  * Added HMI volume model.
+  * Added frequency models, assigned to every volume model: AIL,
+HMI, DMX, Apogee, 9X, and the Generic formula.
+- Drop patch:
+  * libadlmidi-fix-arm.patch (not longer needed)
+
+---

Old:

  libadlmidi-1.4.0.1.tar.gz
  libadlmidi-fix-arm.patch

New:

  libadlmidi-1.5.0.tar.gz



Other differences:
--
++ libadlmidi.spec ++
--- /var/tmp/diff_new_pack.h4D4CG/_old  2020-09-29 19:04:31.453971798 +0200
+++ /var/tmp/diff_new_pack.h4D4CG/_new  2020-09-29 19:04:31.457971803 +0200
@@ -2,7 +2,7 @@
 # spec file for package libadlmidi
 #
 # Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2019, Martin Hauke 
+# Copyright (c) 2019-2020, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,13 @@
 
 %define sover 1
 Name:   libadlmidi
-Version:1.4.0.1
+Version:1.5.0
 Release:0
 Summary:A software MIDI synthesizer library with OPL3 emulation
 License:GPL-3.0-only AND LGPL-3.0-only
 Group:  Development/Languages/C and C++
 URL:https://github.com/Wohlstand/libADLMIDI
-Source: 
https://github.com/Wohlstand/libADLMIDI/archive/v%{version}-1.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM - https://github.com/Wohlstand/libADLMIDI/issues/229
-Patch1: libadlmidi-fix-arm.patch
+Source: 
https://github.com/Wohlstand/libADLMIDI/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -64,8 +62,7 @@
 Development and header files for libADLMIDI.
 
 %prep
-%setup -q -n libADLMIDI-%{version}-1
-%patch1 -p1
+%setup -q -n libADLMIDI-%{version}
 
 %build
 %cmake \
@@ -79,12 +76,13 @@
 
 %install
 %cmake_install
+rm -r %{buildroot}%{_datadir}/doc/
 
 %post   -n libADLMIDI%{sover} -p /sbin/ldconfig
 %postun -n libADLMIDI%{sover} -p /sbin/ldconfig
 
 %files -n libADLMIDI%{sover}
-%license LICENSE.GPL-3.txt LICENSE.LGPL-3.txt LICENSE.txt
+%license LICENSE LICENSE.GPL-3.txt LICENSE.LGPL-2.1.txt
 %doc AUTHORS README.md
 %{_libdir}/libADLMIDI.so.%{sover}*
 
@@ -94,7 +92,7 @@
 
 %files devel
 %{_includedir}/adlmidi.h
-%{_includedir}/adlmidi.hpp
 %{_libdir}/libADLMIDI.so
+%{_libdir}/pkgconfig/libADLMIDI.pc
 
 %changelog

++ libadlmidi-1.4.0.1.tar.gz -> libadlmidi-1.5.0.tar.gz ++
/work/SRC/openSUSE:Factory/libadlmidi/libadlmidi-1.4.0.1.tar.gz 
/work/SRC/openSUSE:Factory/.libadlmidi.new.4249/libadlmidi-1.5.0.tar.gz differ: 
char 12, line 1




commit libadlmidi for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package libadlmidi for openSUSE:Factory 
checked in at 2020-06-10 00:52:25

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


Package is "libadlmidi"

Wed Jun 10 00:52:25 2020 rev:2 rq:812963 version:1.4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/libadlmidi/libadlmidi.changes2019-03-26 
15:42:36.412237601 +0100
+++ /work/SRC/openSUSE:Factory/.libadlmidi.new.3606/libadlmidi.changes  
2020-06-10 00:52:33.427593721 +0200
@@ -1,0 +2,6 @@
+Tue Jun  9 13:42:12 UTC 2020 - Guillaume GARDET 
+
+- Fix build on Arm with upstream patch:
+  * libadlmidi-fix-arm.patch
+
+---

New:

  libadlmidi-fix-arm.patch



Other differences:
--
++ libadlmidi.spec ++
--- /var/tmp/diff_new_pack.GUAr2J/_old  2020-06-10 00:52:34.343596091 +0200
+++ /var/tmp/diff_new_pack.GUAr2J/_new  2020-06-10 00:52:34.347596102 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package libadlmidi
 #
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2019, Martin Hauke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,7 +13,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/
 #
 
 
@@ -21,10 +22,12 @@
 Version:1.4.0.1
 Release:0
 Summary:A software MIDI synthesizer library with OPL3 emulation
-License:GPL-3.0-only AND LGPL-3.0
+License:GPL-3.0-only AND LGPL-3.0-only
 Group:  Development/Languages/C and C++
 URL:https://github.com/Wohlstand/libADLMIDI
 Source: 
https://github.com/Wohlstand/libADLMIDI/archive/v%{version}-1.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM - https://github.com/Wohlstand/libADLMIDI/issues/229
+Patch1: libadlmidi-fix-arm.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -62,6 +65,7 @@
 
 %prep
 %setup -q -n libADLMIDI-%{version}-1
+%patch1 -p1
 
 %build
 %cmake \

++ libadlmidi-fix-arm.patch ++
>From bbf12fed4d9cd6381a605d2655b6ac587a2cb5ef Mon Sep 17 00:00:00 2001
From: Wohlstand 
Date: Tue, 9 Jun 2020 16:11:48 +0300
Subject: [PATCH] Attempt to fix a build on ARM #229

---
 utils/adlmidi-2/puzzlegame.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils/adlmidi-2/puzzlegame.cc b/utils/adlmidi-2/puzzlegame.cc
index e7b9890..6a0c982 100644
--- a/utils/adlmidi-2/puzzlegame.cc
+++ b/utils/adlmidi-2/puzzlegame.cc
@@ -310,7 +310,8 @@ int ADLMIDI_PuzzleGame::TetrisAIengine::AI_Run(const 
decltype(Area)_area, con
 
 // Find out the extents of this piece, and how many
 // cells of the piece contribute into full (completed) rows.
-char full[4] = { -1, -1, -1, -1};
+const char nfull = static_cast(-1);
+char full[4] = {nfull, nfull, nfull, nfull};
 int miny = n.y + 9, maxy = n.y - 9, minx = n.x + 9, maxx = n.x 
- 9, num_eroded = 0;
 (void)(n > [&](int x, int y) -> bool
 {