commit SDL2 for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2020-04-18 00:28:30

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


Package is "SDL2"

Sat Apr 18 00:28:30 2020 rev:31 rq:794506 version:2.0.12

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2020-03-14 
09:54:15.627062572 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new.2738/SDL2.changes  2020-04-18 
00:29:09.593894460 +0200
@@ -1,0 +2,5 @@
+Thu Apr 16 08:32:06 UTC 2020 - Jan Engelhardt 
+
+- Restore libSDL2main.a, patching it out was not easily possible.
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.HFPukT/_old  2020-04-18 00:29:10.513896365 +0200
+++ /var/tmp/diff_new_pack.HFPukT/_new  2020-04-18 00:29:10.517896373 +0200
@@ -137,9 +137,11 @@
 %install
 %make_install
 rm -f "%buildroot/%_libdir"/*.la
-# We do not want static libs, but using --disable-static leads to make aborting
-# halfway through %%build. Now it can be removed though.
-rm -f "%buildroot/%_libdir/"*.a
+rm -fv "%buildroot/%_libdir/libSDL2.a" "%buildroot/%_libdir/libSDL2_test.a"
+# Need to keep libSDL2main.a (empty lib), because it is referenced by
+# sdl2-config.cmake, and it seems like that .cmake file cannot be edited to
+# make SDL2::SDL2main a phony target with no file (just leads to more Makefile
+# errors down the road).
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig
@@ -157,5 +159,6 @@
 %_datadir/aclocal/sdl2.m4
 %_libdir/pkgconfig/sdl2.pc
 %_libdir/cmake/SDL2/
+%_libdir/libSDL2main.a
 
 %changelog





commit SDL2 for openSUSE:Factory

2020-03-14 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2020-03-14 09:54:14

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


Package is "SDL2"

Sat Mar 14 09:54:14 2020 rev:30 rq:783748 version:2.0.12

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2020-01-16 
18:17:40.344853701 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new.3160/SDL2.changes  2020-03-14 
09:54:15.627062572 +0100
@@ -1,0 +2,10 @@
+Wed Mar 11 10:23:44 UTC 2020 - Jan Engelhardt 
+
+- Update to release 2.0.12
+  * Support for the Google Stadia controller and other game
+controllers
+  * A new video driver for offscreen rendering
+  * ARM NEON optimizations
+- Drop CVE-2019-13616.patch (merged upstream)
+
+---

Old:

  CVE-2019-13616.patch
  SDL2-2.0.10.tar.gz
  SDL2-2.0.10.tar.gz.sig

New:

  SDL2-2.0.12.tar.gz
  SDL2-2.0.12.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.O3Xmoa/_old  2020-03-14 09:54:16.871063485 +0100
+++ /var/tmp/diff_new_pack.O3Xmoa/_new  2020-03-14 09:54:16.875063489 +0100
@@ -19,7 +19,7 @@
 %define sle_version 0
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.10
+Version:2.0.12
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -33,8 +33,7 @@
 Source4:baselibs.conf
 Patch1: sdl2-symvers.patch
 Patch2: SDL2-endian.patch
-Patch3: CVE-2019-13616.patch
-Patch4: sdl2-khronos.patch
+Patch3: sdl2-khronos.patch
 BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++

++ SDL2-2.0.10.tar.gz -> SDL2-2.0.12.tar.gz ++
 70062 lines of diff (skipped)

++ SDL2-endian.patch ++
--- /var/tmp/diff_new_pack.O3Xmoa/_old  2020-03-14 09:54:18.311064543 +0100
+++ /var/tmp/diff_new_pack.O3Xmoa/_new  2020-03-14 09:54:18.311064543 +0100
@@ -1,8 +1,12 @@
-Index: SDL2-2.0.8/include/SDL_endian.h
+---
+ include/SDL_endian.h |  155 
++-
+ 1 file changed, 7 insertions(+), 148 deletions(-)
+
+Index: SDL2-2.0.12/include/SDL_endian.h
 ===
 SDL2-2.0.8.orig/include/SDL_endian.h
-+++ SDL2-2.0.8/include/SDL_endian.h
-@@ -34,29 +34,17 @@
+--- SDL2-2.0.12.orig/include/SDL_endian.h
 SDL2-2.0.12/include/SDL_endian.h
+@@ -34,32 +34,17 @@
   *  \name The two types of endianness
   */
  /* @{ */
@@ -16,10 +20,13 @@
 -#ifdef __linux__
 -#include 
 -#define SDL_BYTEORDER  __BYTE_ORDER
--#else /* __linux__ */
+-#elif defined(__OpenBSD__)
+-#include 
+-#define SDL_BYTEORDER  BYTE_ORDER
+-#else
 -#if defined(__hppa__) || \
 -defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
--(defined(__MIPS__) && defined(__MISPEB__)) || \
+-(defined(__MIPS__) && defined(__MIPSEB__)) || \
 -defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
 -defined(__sparc__)
 -#define SDL_BYTEORDER   SDL_BIG_ENDIAN
@@ -36,7 +43,7 @@
  /* Set up for C function definitions, even when using C++ */
  #ifdef __cplusplus
  extern "C" {
-@@ -65,149 +53,23 @@ extern "C" {
+@@ -68,149 +53,23 @@ extern "C" {
  /**
   *  \file SDL_endian.h
   */




commit SDL2 for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2020-01-16 18:17:35

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


Package is "SDL2"

Thu Jan 16 18:17:35 2020 rev:29 rq:763728 version:2.0.10

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2019-12-09 
21:35:41.650087028 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new.26092/SDL2.changes 2020-01-16 
18:17:40.344853701 +0100
@@ -1,0 +2,5 @@
+Sun Jan 12 22:53:50 UTC 2020 - Jan Engelhardt 
+
+- Temporarily work around -fno-common build failure [boo#1160382].
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.2Ofu92/_old  2020-01-16 18:17:41.136854150 +0100
+++ /var/tmp/diff_new_pack.2Ofu92/_new  2020-01-16 18:17:41.140854152 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# 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
@@ -131,7 +131,8 @@
 %ifarch ix86
--enable-sse2=no \
 %endif
-   --enable-sse3=no --disable-rpath --disable-3dnow
+   --enable-sse3=no --disable-rpath --disable-3dnow \
+   CFLAGS="%optflags -fcommon"
 make %{?_smp_mflags} V=1
 
 %install





commit SDL2 for openSUSE:Factory

2019-12-09 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2019-12-09 21:35:26

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


Package is "SDL2"

Mon Dec  9 21:35:26 2019 rev:28 rq:755046 version:2.0.10

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2019-10-24 
23:00:21.439908077 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new.4691/SDL2.changes  2019-12-09 
21:35:41.650087028 +0100
@@ -65,0 +66,2 @@
+  * Security fixes: CVE-2019-7635 (boo#1124827), CVE-2019-7636
+(boo#1124826), CVE-2019-7638 (boo#1124824).



Other differences:
--




commit SDL2 for openSUSE:Factory

2019-10-24 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2019-10-24 23:00:15

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


Package is "SDL2"

Thu Oct 24 23:00:15 2019 rev:27 rq:736700 version:2.0.10

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2019-09-05 
12:33:13.455586174 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new.2990/SDL2.changes  2019-10-24 
23:00:21.439908077 +0200
@@ -1,0 +2,6 @@
+Wed Oct  9 13:34:31 UTC 2019 - Stefan Dirsch 
+
+- sdl2-khronos.patch
+  * fixes build on i586 (boo#1153455)
+
+---

New:

  sdl2-khronos.patch



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.UpblAa/_old  2019-10-24 23:00:25.123912311 +0200
+++ /var/tmp/diff_new_pack.UpblAa/_new  2019-10-24 23:00:25.127912316 +0200
@@ -34,6 +34,7 @@
 Patch1: sdl2-symvers.patch
 Patch2: SDL2-endian.patch
 Patch3: CVE-2019-13616.patch
+Patch4: sdl2-khronos.patch
 BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++


++ sdl2-khronos.patch ++
From: sndir...@suse.com
Date: 2019-10-09 14:00:03+
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1153455

diff -u -r SDL2-2.0.10.orig/include/SDL_opengl_glext.h 
SDL2-2.0.10/include/SDL_opengl_glext.h
--- SDL2-2.0.10.orig/include/SDL_opengl_glext.h 2019-10-09 15:30:46.237981000 
+0200
+++ SDL2-2.0.10/include/SDL_opengl_glext.h  2019-10-09 15:31:37.78394 
+0200
@@ -469,8 +469,9 @@
 typedef long GLsizeiptr;
 typedef long GLintptr;
 #else
-typedef ptrdiff_t GLsizeiptr;
-typedef ptrdiff_t GLintptr;
+#include 
+typedef khronos_ssize_t GLsizeiptr;
+typedef khronos_intptr_t GLintptr;
 #endif
 #define GL_BUFFER_SIZE0x8764
 #define GL_BUFFER_USAGE   0x8765



commit SDL2 for openSUSE:Factory

2019-09-05 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2019-09-05 12:33:11

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


Package is "SDL2"

Thu Sep  5 12:33:11 2019 rev:26 rq:725546 version:2.0.10

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2018-11-12 
09:48:53.580512695 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new.7948/SDL2.changes  2019-09-05 
12:33:13.455586174 +0200
@@ -1,0 +2,62 @@
+Fri Aug 23 11:19:59 UTC 2019 - Jan Engelhardt 
+
+- Update sdl2-symvers.patch for SDL 2.0.9/2.0.10.
+
+---
+Thu Aug 22 16:43:13 UTC 2019 - Michael Gorse 
+
+- Add CVE-2019-13616.patch: fix heap buffer overflow when reading
+  a crafted bmp file (boo#1141844 CVE-2019-13616).
+
+---
+Sun Aug 11 04:29:55 UTC 2019 - Jan Engelhardt 
+
+- Drop libSDL2main.a from libSDL-2_0-devel. It is only used
+  during build.
+
+---
+Wed Jul 31 08:47:44 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library.
+
+---
+Fri Jul 26 07:44:39 UTC 2019 - Luigi Baldoni 
+
+- Update to version 2.0.10
+  * The SDL_RW* macros have been turned into functions that are
+available only in 2.0.10 and onward
+  * Added SDL_SIMDGetAlignment(), SDL_SIMDAlloc(), and
+SDL_SIMDFree(), to allocate memory aligned for SIMD
+operations for the current CPU
+  * Added SDL_RenderDrawPointF(), SDL_RenderDrawPointsF(),
+SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(),
+SDL_RenderDrawRectF(), SDL_RenderDrawRectsF(),
+SDL_RenderFillRectF(), SDL_RenderFillRectsF(),
+SDL_RenderCopyF(), SDL_RenderCopyExF(), to allow floating
+point precision in the SDL rendering API.
+  * Added SDL_GetTouchDeviceType() to get the type of a touch
+device, which can be a touch screen or a trackpad in relative
+or absolute coordinate mode.
+  * The SDL rendering API now uses batched rendering by default,
+for improved performance
+  * Added SDL_RenderFlush() to force batched render commands to
+execute, if you're going to mix SDL rendering with native
+rendering
+  * Added the hint SDL_HINT_RENDER_BATCHING to control whether
+batching should be used for the rendering API. This defaults
+to "1" if you don't specify what rendering driver to use when
+creating the renderer.
+  * Added the hint SDL_HINT_EVENT_LOGGING to enable logging of
+SDL events for debugging purposes
+  * Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify
+a file that will be loaded at joystick initialization with
+game controller bindings
+  * Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control
+whether SDL will synthesize touch events from mouse events
+  * Improved handling of malformed WAVE and BMP files, fixing
+potential security exploits (boo#1142031 CVE-2019-13626)
+  * Removed the Mir video driver in favor of Wayland
+
+- Refreshed sdl2-symvers.patch
+
+---

Old:

  SDL2-2.0.9.tar.gz
  SDL2-2.0.9.tar.gz.sig

New:

  CVE-2019-13616.patch
  SDL2-2.0.10.tar.gz
  SDL2-2.0.10.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.xI5TiJ/_old  2019-09-05 12:33:14.155586037 +0200
+++ /var/tmp/diff_new_pack.xI5TiJ/_new  2019-09-05 12:33:14.155586037 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# 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
@@ -16,9 +16,10 @@
 #
 
 
+%define sle_version 0
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.9
+Version:2.0.10
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -32,6 +33,7 @@
 Source4:baselibs.conf
 Patch1: sdl2-symvers.patch
 Patch2: SDL2-endian.patch
+Patch3: CVE-2019-13616.patch
 BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
@@ -108,8 +110,7 @@
 library.
 
 %prep
-%setup -q
-%patch -P 1 -P 2 -p1
+%autosetup -p1
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt
@@ -119,6 +120,7 @@
 dos2unix COPYING.txt
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 # In this instance, we do want --with-pic because of libSDL2main.a.
 %configure --with-pic 

commit SDL2 for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2018-11-12 09:48:50

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


Package is "SDL2"

Mon Nov 12 09:48:50 2018 rev:25 rq:646277 version:2.0.9

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2018-07-04 
23:53:28.868001374 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2018-11-12 
09:48:53.580512695 +0100
@@ -1,0 +2,44 @@
+Sun Nov  4 14:10:15 UTC 2018 - Luigi Baldoni 
+
+- Update to version 2.0.9
+  * Added a new sensor API, initialized by passing
+SDL_INIT_SENSOR to SDL_Init(), and defined in SDL_sensor.h
+  * Added an event SDL_SENSORUPDATE which is sent when a sensor
+is updated
+  * Added SDL_GetDisplayOrientation() to return the current
+display orientation
+  * Added an event SDL_DISPLAYEVENT which is sent when the
+display orientation changes
+  * Added HIDAPI joystick drivers for more consistent support
+for Xbox, PS4 and Nintendo Switch Pro controller support
+across platforms. (Thanks to Valve for contributing the PS4
+and Nintendo Switch Pro controller support)
+  * Added support for many other popular game controllers
+  * Added SDL_JoystickGetDevicePlayerIndex(),
+SDL_JoystickGetPlayerIndex(), and
+SDL_GameControllerGetPlayerIndex() to get the player index for
+a controller. For XInput controllers this returns the XInput
+index for the controller.
+  * Added SDL_GameControllerRumble() and SDL_JoystickRumble()
+which allow simple rumble without using the haptics API
+  * Added SDL_GameControllerMappingForDeviceIndex() to get the
+mapping for a controller before it's opened
+  * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control
+the mouse double-click time
+  * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to control
+the mouse double-click radius, in pixels
+  * Added SDL_HasColorKey() to return whether a surface has a
+colorkey active
+  * Added SDL_HasAVX512F() to return whether the CPU has
+AVX-512F features
+  * Added SDL_IsTablet() to return whether the application is
+running on a tablet
+  * Added SDL_THREAD_PRIORITY_TIME_CRITICAL for threads that
+must run at the highest priority
+  * Added SDL_LinuxSetThreadPriority() to allow adjusting the
+thread priority of native threads using RealtimeKit if
+available.
+
+- Dropped 7babfecee045.patch (merged upstream)
+
+---

Old:

  7babfecee045.patch
  SDL2-2.0.8.tar.gz
  SDL2-2.0.8.tar.gz.sig

New:

  SDL2-2.0.9.tar.gz
  SDL2-2.0.9.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.3wss4p/_old  2018-11-12 09:48:54.076511948 +0100
+++ /var/tmp/diff_new_pack.3wss4p/_new  2018-11-12 09:48:54.080511941 +0100
@@ -12,18 +12,18 @@
 # 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:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.8
+Version:2.0.9
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
 Group:  Development/Libraries/X11
-Url:http://libsdl.org/
+URL:http://libsdl.org/
 
 #DL-URL:http://libsdl.org/download-2.0.php
 Source: http://libsdl.org/release/%name-%version.tar.gz
@@ -32,8 +32,6 @@
 Source4:baselibs.conf
 Patch1: sdl2-symvers.patch
 Patch2: SDL2-endian.patch
-Patch3: 7babfecee045.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
@@ -111,7 +109,7 @@
 
 %prep
 %setup -q
-%patch -P 1 -P 2 -p1 -P 3
+%patch -P 1 -P 2 -p1
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt
@@ -146,12 +144,11 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %files -n %lname
-%defattr(-,root,root)
-%doc BUGS.txt COPYING.txt CREDITS.txt README.txt README-SDL.txt
+%license COPYING.txt
+%doc BUGS.txt CREDITS.txt README.txt README-SDL.txt
 %_libdir/libSDL2-2*.so.*
 
 %files -n libSDL2-devel
-%defattr(-,root,root)
 %doc TODO.txt WhatsNew.txt
 %_bindir/sdl2-config
 %_libdir/libSDL2.so

++ SDL2-2.0.8.tar.gz -> SDL2-2.0.9.tar.gz ++
 59343 lines of diff (skipped)




commit SDL2 for openSUSE:Factory

2018-07-04 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2018-07-04 23:52:12

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


Package is "SDL2"

Wed Jul  4 23:52:12 2018 rev:24 rq:619462 version:2.0.8

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2018-03-26 
11:56:23.713250136 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2018-07-04 
23:53:28.868001374 +0200
@@ -1,0 +2,13 @@
+Sun Jun 24 22:40:23 UTC 2018 - robert.munte...@gmail.com
+
+- Add 7babfecee045.patch, fixes launching Firewatch 
+
+---
+Fri May 11 11:08:39 UTC 2018 - crrodrig...@opensuse.org
+
+- SDL2-endian.patch: bring up patch from SDL1, use optimized 
+  byteswap routines from the C library.
+- build with --disable-3dnow, do not pass -m3dnow to the compiler
+  modern cpus do not support this instructions at all.
+
+---

New:

  7babfecee045.patch
  SDL2-endian.patch



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.RBbjKl/_old  2018-07-04 23:53:29.32875 +0200
+++ /var/tmp/diff_new_pack.RBbjKl/_new  2018-07-04 23:53:29.324000870 +0200
@@ -31,6 +31,8 @@
 Source3:%name.keyring
 Source4:baselibs.conf
 Patch1: sdl2-symvers.patch
+Patch2: SDL2-endian.patch
+Patch3: 7babfecee045.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -109,7 +111,7 @@
 
 %prep
 %setup -q
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1 -P 3
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt
@@ -129,7 +131,8 @@
--enable-sse2=no \
 %endif
--enable-sse3=no \
-   --disable-rpath
+   --disable-rpath \
+--disable-3dnow
 make %{?_smp_mflags} V=1
 
 %install

++ 7babfecee045.patch ++

# HG changeset patch
# User Ryan C. Gordon 
# Date 1526575846 14400
# Node ID 7babfecee045fac18d95e5936fede534ca54ed24
# Parent  9e46f3dd75fd2e85e0e3ebb8a77329bc74a16e70
dynapi: don't let system loader resolve the initializer to the wrong version.

Fixes problems launching Firewatch on Linux (which statically links SDL but
also dynamically loads a system-wide copy from a plugin shared library) with
a newer SDL build.

diff -r 9e46f3dd75fd -r 7babfecee045 src/dynapi/SDL_dynapi.c
--- a/src/dynapi/SDL_dynapi.c   Fri May 11 09:37:00 2018 +0300
+++ b/src/dynapi/SDL_dynapi.c   Thu May 17 12:50:46 2018 -0400
@@ -167,15 +167,10 @@
 #error Write me.
 #endif
 
-
-
-/* Here's the exported entry point that fills in the jump table. */
-/*  Use specific types when an "int" might suffice to keep this sane. */
-typedef Sint32 (SDLCALL *SDL_DYNAPI_ENTRYFN)(Uint32 apiver, void *table, 
Uint32 tablesize);
-extern DECLSPEC Sint32 SDLCALL SDL_DYNAPI_entry(Uint32, void *, Uint32);
-
-Sint32
-SDL_DYNAPI_entry(Uint32 apiver, void *table, Uint32 tablesize)
+/* we make this a static function so we can call the correct one without the
+   system's dynamic linker resolving to the wrong version of this. */
+static Sint32
+initialize_jumptable(Uint32 apiver, void *table, Uint32 tablesize)
 {
 SDL_DYNAPI_jump_table *output_jump_table = (SDL_DYNAPI_jump_table *) table;
 
@@ -202,6 +197,18 @@
 }
 
 
+/* Here's the exported entry point that fills in the jump table. */
+/*  Use specific types when an "int" might suffice to keep this sane. */
+typedef Sint32 (SDLCALL *SDL_DYNAPI_ENTRYFN)(Uint32 apiver, void *table, 
Uint32 tablesize);
+extern DECLSPEC Sint32 SDLCALL SDL_DYNAPI_entry(Uint32, void *, Uint32);
+
+Sint32
+SDL_DYNAPI_entry(Uint32 apiver, void *table, Uint32 tablesize)
+{
+return initialize_jumptable(apiver, table, tablesize);
+}
+
+
 /* Obviously we can't use SDL_LoadObject() to load SDL.  :)  */
 /* Also obviously, we never close the loaded library. */
 #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
@@ -260,7 +267,7 @@
 SDL_InitDynamicAPILocked(void)
 {
 const char *libname = SDL_getenv_REAL("SDL_DYNAMIC_API");
-SDL_DYNAPI_ENTRYFN entry = SDL_DYNAPI_entry;  /* funcs from here by 
default. */
+SDL_DYNAPI_ENTRYFN entry = NULL;  /* funcs from here by default. */
 
 if (libname) {
 entry = (SDL_DYNAPI_ENTRYFN) get_sdlapi_entry(libname, 
"SDL_DYNAPI_entry");
@@ -268,16 +275,15 @@
 /* !!! FIXME: fail to startup here instead? */
 /* !!! FIXME: definitely warn user. */
 /* Just fill in the function pointers from this library. */
-entry = SDL_DYNAPI_entry;
 }
 }
 
-if (entry(SDL_DYNAPI_VERSION, _table, sizeof (jump_table)) < 0) {
+if (!entry || 

commit SDL2 for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2018-03-26 11:56:22

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


Package is "SDL2"

Mon Mar 26 11:56:22 2018 rev:23 rq:588599 version:2.0.8

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2018-03-12 
12:07:38.676221920 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2018-03-26 
11:56:23.713250136 +0200
@@ -1,0 +2,5 @@
+Sat Mar 17 10:14:15 UTC 2018 - ytz1...@hotmail.com
+
+- Build with Wayland support
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.2kZr9U/_old  2018-03-26 11:56:24.761212328 +0200
+++ /var/tmp/diff_new_pack.2kZr9U/_new  2018-03-26 11:56:24.769212039 +0200
@@ -59,12 +59,17 @@
 BuildRequires:  pkgconfig(libpulse-simple) >= 0.9
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(udev)
-BuildRequires:  pkgconfig(wayland-server)
+BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  pkgconfig(wayland-cursor)
+BuildRequires:  pkgconfig(wayland-egl)
+BuildRequires:  pkgconfig(wayland-protocols)
+BuildRequires:  pkgconfig(wayland-scanner)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
 BuildRequires:  pkgconfig(xinerama)
+BuildRequires:  pkgconfig(xkbcommon)
 BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xscrnsaver)
 BuildRequires:  pkgconfig(xxf86vm)
@@ -116,7 +121,7 @@
 %build
 # In this instance, we do want --with-pic because of libSDL2main.a.
 %configure --with-pic --disable-alsa-shared --disable-video-directfb \
-   --enable-video-kmsdrm \
+   --enable-video-kmsdrm --enable-video-wayland \
 %if 0%{?sle_version}
--disable-fcitx \
 %endif





commit SDL2 for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2018-03-12 12:07:36

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


Package is "SDL2"

Mon Mar 12 12:07:36 2018 rev:22 rq:584126 version:2.0.8

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2018-02-14 
14:18:49.596694540 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2018-03-12 
12:07:38.676221920 +0100
@@ -1,0 +2,18 @@
+Thu Mar  8 00:58:43 UTC 2018 - jeng...@inai.de
+
+- Update to new upstream release 2.0.8
+  * Added SDL_fmod() and SDL_log10().
+  * Each of the SDL math functions now has the corresponding
+float version.
+  * Added SDL_SetYUVConversionMode() and
+SDL_GetYUVConversionMode() to control the formula used when
+converting to and from YUV colorspace. The options are JPEG,
+BT.601, and BT.709.
+  * Added the hint SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR to
+control whether the X server should skip the compositor for
+the SDL application. This defaults to "1".
+  * Added the hint SDL_HINT_VIDEO_DOUBLE_BUFFER to control
+whether the Raspberry Pi and KMSDRM video drivers should use
+double or triple buffering (the default).
+
+---

Old:

  SDL2-2.0.7.tar.gz
  SDL2-2.0.7.tar.gz.sig

New:

  SDL2-2.0.8.tar.gz
  SDL2-2.0.8.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.8p8Kbe/_old  2018-03-12 12:07:40.092171168 +0100
+++ /var/tmp/diff_new_pack.8p8Kbe/_new  2018-03-12 12:07:40.096171025 +0100
@@ -18,7 +18,7 @@
 
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.7
+Version:2.0.8
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib

++ SDL2-2.0.7.tar.gz -> SDL2-2.0.8.tar.gz ++
 51945 lines of diff (skipped)

++ sdl2-symvers.patch ++
--- /var/tmp/diff_new_pack.8p8Kbe/_old  2018-03-12 12:07:42.552082997 +0100
+++ /var/tmp/diff_new_pack.8p8Kbe/_new  2018-03-12 12:07:42.552082997 +0100
@@ -5,13 +5,13 @@
 some symvers so that zypper knows when to upgrade SDL.
 ---
  Makefile.in |2 -
- sdl2.sym|   61 

- 2 files changed, 62 insertions(+), 1 deletion(-)
+ sdl2.sym|   68 

+ 2 files changed, 69 insertions(+), 1 deletion(-)
 
-Index: SDL2-2.0.7/Makefile.in
+Index: SDL2-2.0.8/Makefile.in
 ===
 SDL2-2.0.7.orig/Makefile.in
-+++ SDL2-2.0.7/Makefile.in
+--- SDL2-2.0.8.orig/Makefile.in
 SDL2-2.0.8/Makefile.in
 @@ -122,7 +122,7 @@ LT_AGE  = @LT_AGE@
  LT_CURRENT  = @LT_CURRENT@
  LT_RELEASE  = @LT_RELEASE@
@@ -21,11 +21,11 @@
  
  all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) 
$(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
  
-Index: SDL2-2.0.7/sdl2.sym
+Index: SDL2-2.0.8/sdl2.sym
 ===
 --- /dev/null
-+++ SDL2-2.0.7/sdl2.sym
-@@ -0,0 +1,61 @@
 SDL2-2.0.8/sdl2.sym
+@@ -0,0 +1,68 @@
 +SUSE_2.0.5 {
 +global:
 +  SDL_DequeueAudio;
@@ -87,3 +87,10 @@
 +  SDL_AddEventWatch;
 +  SDL_DelEventWatch;
 +} SUSE_2.0.6;
++SUSE_2.0.8 {
++global:
++  SDL_fmod;
++  SDL_log10;
++  SDL_SetYUVConversionMode;
++  SDL_GetYUVConversionMode;
++} SUSE_2.0.7;




commit SDL2 for openSUSE:Factory

2018-02-14 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2018-02-14 14:18:46

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


Package is "SDL2"

Wed Feb 14 14:18:46 2018 rev:21 rq:576408 version:2.0.7

Changes:




Other differences:
--




commit SDL2 for openSUSE:Factory

2018-01-20 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2018-01-20 11:18:24

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


Package is "SDL2"

Sat Jan 20 11:18:24 2018 rev:20 rq:567212 version:2.0.7

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2017-11-11 
14:16:56.553057256 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2018-01-20 
11:18:30.103404867 +0100
@@ -1,0 +2,5 @@
+Wed Jan 10 22:48:16 UTC 2018 - jeng...@inai.de
+
+- Add sdl2-symvers.patch.
+
+---

New:

  sdl2-symvers.patch



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.5FzXp5/_old  2018-01-20 11:18:31.171354942 +0100
+++ /var/tmp/diff_new_pack.5FzXp5/_new  2018-01-20 11:18:31.175354755 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# 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
@@ -30,6 +30,7 @@
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
 Source3:%name.keyring
 Source4:baselibs.conf
+Patch1: sdl2-symvers.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -103,6 +104,7 @@
 
 %prep
 %setup -q
+%patch -P 1 -p1
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt


++ sdl2-symvers.patch ++
From: Jan Engelhardt 
Date: 2018-01-10 23:56:12.245827883 +0100

Scrape the SDL announcements since 2.0.3 (version in Leap 42.3) and add
some symvers so that zypper knows when to upgrade SDL.
---
 Makefile.in |2 -
 sdl2.sym|   61 
 2 files changed, 62 insertions(+), 1 deletion(-)

Index: SDL2-2.0.7/Makefile.in
===
--- SDL2-2.0.7.orig/Makefile.in
+++ SDL2-2.0.7/Makefile.in
@@ -122,7 +122,7 @@ LT_AGE  = @LT_AGE@
 LT_CURRENT  = @LT_CURRENT@
 LT_RELEASE  = @LT_RELEASE@
 LT_REVISION = @LT_REVISION@
-LT_LDFLAGS  = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) 
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+LT_LDFLAGS  = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) 
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) 
-Wl,--version-script=sdl2.sym
 
 all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) 
$(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
 
Index: SDL2-2.0.7/sdl2.sym
===
--- /dev/null
+++ SDL2-2.0.7/sdl2.sym
@@ -0,0 +1,61 @@
+SUSE_2.0.5 {
+global:
+   SDL_DequeueAudio;
+   SDL_GetHintBoolean;
+   SDL_RenderSetIntegerScale;
+   SDL_CreateRGBSurfaceWithFormat;
+   SDL_CreateRGBSurfaceWithFormatFrom;
+   SDL_GetDisplayUsableBounds;
+   SDL_GetWindowBordersSize;
+   SDL_SetWindowResizable;
+   SDL_SetWindowOpacity;
+   SDL_SetWindowModalFor;
+};
+SUSE_2.0.6 {
+global:
+   SDL_Vulkan_LoadLibrary;
+   SDL_Vulkan_GetVkGetInstanceProcAddr;
+   SDL_Vulkan_GetInstanceExtensions;
+   SDL_Vulkan_CreateSurface;
+   SDL_Vulkan_GetDrawableSize;
+   SDL_Vulkan_UnloadLibrary;
+   SDL_ComposeCustomBlendMode;
+   SDL_HasNEON;
+   SDL_JoystickGetDeviceVendor;
+   SDL_JoystickGetDeviceProduct;
+   SDL_JoystickGetDeviceProductVersion;
+   SDL_JoystickGetDeviceType;
+   SDL_JoystickGetDeviceInstanceID;
+   SDL_JoystickGetVendor;
+   SDL_JoystickGetProduct;
+   SDL_JoystickGetProductVersion;
+   SDL_JoystickGetType;
+   SDL_JoystickGetAxisInitialState;
+   SDL_GameControllerGetVendor;
+   SDL_GameControllerGetProduct;
+   SDL_GameControllerGetProductVersion;
+   SDL_GameControllerNumMappings;
+   SDL_GameControllerMappingForIndex;
+   SDL_LoadFile;
+   SDL_LoadFile_RW;
+   SDL_DuplicateSurface;
+} SUSE_2.0.5;
+SUSE_2.0.7 {
+global:
+   SDL_NewAudioStream;
+   SDL_AudioStreamPut;
+   SDL_AudioStreamGet;
+   SDL_AudioStreamAvailable;
+   SDL_AudioStreamFlush;
+   SDL_AudioStreamClear;
+   SDL_FreeAudioStream;
+   SDL_GetMemoryFunctions;
+   SDL_SetMemoryFunctions;
+   SDL_GetNumAllocations;
+   SDL_LockJoystick;
+   SDL_UnlockJoystick;
+   SDL_SetEventFilter;
+   SDL_GetEventFilter;
+   SDL_AddEventWatch;
+   SDL_DelEventWatch;
+} SUSE_2.0.6;



commit SDL2 for openSUSE:Factory

2017-11-11 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2017-11-11 14:16:53

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


Package is "SDL2"

Sat Nov 11 14:16:53 2017 rev:19 rq:539492 version:2.0.7

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2017-10-28 
14:16:41.822493590 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2017-11-11 
14:16:56.553057256 +0100
@@ -1,0 +2,15 @@
+Sat Oct 28 21:01:17 UTC 2017 - a...@mizerski.pl
+
+- update to 2.0.7
+  * Added audio stream conversion functions.
+  * Added functions to query and set the SDL memory allocation
+functions.
+  * Added locking functions for multi-threaded access to
+the joystick and game controller APIs.
+  * Some functions are now thread-safe.
+- removed patches, merged upstream
+  * dbus.diff
+  * SDL2-ppc64-declaration-after-statement.patch
+  * SDL-bnc1062784-check-overflow-xcf-props.patch
+
+---

Old:

  SDL-bnc1062784-check-overflow-xcf-props.patch
  SDL2-2.0.6.tar.gz
  SDL2-2.0.6.tar.gz.sig
  SDL2-ppc64-declaration-after-statement.patch
  dbus.diff

New:

  SDL2-2.0.7.tar.gz
  SDL2-2.0.7.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.OvXGqb/_old  2017-11-11 14:16:57.509022218 +0100
+++ /var/tmp/diff_new_pack.OvXGqb/_new  2017-11-11 14:16:57.513022071 +0100
@@ -18,7 +18,7 @@
 
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.6
+Version:2.0.7
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -30,9 +30,6 @@
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
 Source3:%name.keyring
 Source4:baselibs.conf
-Patch1: dbus.diff
-Patch2: %name-ppc64-declaration-after-statement.patch
-Patch3: SDL-bnc1062784-check-overflow-xcf-props.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -106,10 +103,6 @@
 
 %prep
 %setup -q
-%patch -P 1 -P 3 -p1
-%ifarch ppc64 ppc64le
-%patch -P 2 -p1
-%endif
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt

++ SDL2-2.0.6.tar.gz -> SDL2-2.0.7.tar.gz ++
 19136 lines of diff (skipped)




commit SDL2 for openSUSE:Factory

2017-10-28 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2017-10-28 14:16:41

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


Package is "SDL2"

Sat Oct 28 14:16:41 2017 rev:18 rq:535131 version:2.0.6

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2017-10-17 
01:50:34.935875412 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2017-10-28 
14:16:41.822493590 +0200
@@ -1,0 +2,5 @@
+Thu Oct 19 04:00:09 UTC 2017 - sree...@suse.com
+
+- Add SDL-bnc1062784-check-overflow-xcf-props.patch. CVE-2017-2888
+
+---

New:

  SDL-bnc1062784-check-overflow-xcf-props.patch



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.L5m9od/_old  2017-10-28 14:16:43.766422500 +0200
+++ /var/tmp/diff_new_pack.L5m9od/_new  2017-10-28 14:16:43.770422354 +0200
@@ -32,6 +32,7 @@
 Source4:baselibs.conf
 Patch1: dbus.diff
 Patch2: %name-ppc64-declaration-after-statement.patch
+Patch3: SDL-bnc1062784-check-overflow-xcf-props.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -105,7 +106,7 @@
 
 %prep
 %setup -q
-%patch -P 1 -p1
+%patch -P 1 -P 3 -p1
 %ifarch ppc64 ppc64le
 %patch -P 2 -p1
 %endif

++ SDL-bnc1062784-check-overflow-xcf-props.patch ++
# From: sree...@suse.com
# CVE-2017-2888. Check for overflow when computing size.
# Based on upstream patch: 81a4950907a01359f2f9390875291eb3951e6c6b

Index: SDL2-2.0.6/include/SDL_stdinc.h
===
--- SDL2-2.0.6.orig/include/SDL_stdinc.h
+++ SDL2-2.0.6/include/SDL_stdinc.h
@@ -162,6 +162,7 @@ typedef uint16_t Uint16;
 /**
  * \brief A signed 32-bit integer type.
  */
+#define SDL_MAX_SINT32  ((Sint32)0x7FFF)/* 2147483647 */
 typedef int32_t Sint32;
 /**
  * \brief An unsigned 32-bit integer type.
Index: SDL2-2.0.6/src/video/SDL_surface.c
===
--- SDL2-2.0.6.orig/src/video/SDL_surface.c
+++ SDL2-2.0.6/src/video/SDL_surface.c
@@ -26,6 +26,10 @@
 #include "SDL_RLEaccel_c.h"
 #include "SDL_pixels_c.h"
 
+/* Check to make sure we can safely check multiplication of surface w and 
pitch and it won't overflow size_t */
+SDL_COMPILE_TIME_ASSERT(surface_size_assumptions,
+sizeof(int) == sizeof(Sint32) && sizeof(size_t) >= sizeof(Sint32));
+
 /* Public routines */
 
 /*
@@ -80,7 +84,16 @@ SDL_CreateRGBSurfaceWithFormat(Uint32 fl
 
 /* Get the pixels */
 if (surface->w && surface->h) {
-surface->pixels = SDL_malloc(surface->h * surface->pitch);
+/* Assumptions checked in surface_size_assumptions assert above */
+Sint64 size = ((Sint64)surface->h * surface->pitch);
+if (size < 0 || size > SDL_MAX_SINT32) {
+/* Overflow... */
+SDL_FreeSurface(surface);
+SDL_OutOfMemory();
+return NULL;
+}
+
+surface->pixels = SDL_malloc((size_t)size);
 if (!surface->pixels) {
 SDL_FreeSurface(surface);
 SDL_OutOfMemory();




commit SDL2 for openSUSE:Factory

2017-10-16 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2017-10-17 01:50:32

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


Package is "SDL2"

Tue Oct 17 01:50:32 2017 rev:17 rq:534295 version:2.0.6

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2017-08-10 
14:57:34.712305152 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2017-10-17 
01:50:34.935875412 +0200
@@ -1,0 +2,50 @@
+Mon Oct 16 16:31:47 UTC 2017 - wba...@tmo.at
+
+- Disable SSE3 (and also SSE2 on ix86) to prevent crashes on older
+  CPUs that don't support these instructions
+
+---
+Mon Oct  2 19:11:12 UTC 2017 - jeng...@inai.de
+
+- Add dbus.diff
+
+---
+Mon Oct  2 10:06:41 UTC 2017 - guilla...@opensuse.org
+
+- Enable KMS/DRM video driver
+
+---
+Sat Sep 30 16:54:04 UTC 2017 - spart...@gmail.com
+
+- Update to new upstream release 2.0.6
+  * Added Vulkan graphics support in SDL_vulkan.h.
+  * Added SDL_ComposeCustomBlendMode() to create custom blend
+modes for 2D rendering.
+  * Added support for many game controllers, including the
+Nintendo Switch Pro Controller.
+  * Added support for inverted axes and separate axis directions
+in game controller mappings.
+  * Added functions to return information about joysticks and
+open game controllers.
+  * Added SDL_GameControllerNumMappings() and
+SDL_GameControllerMappingForIndex() to be able to enumerate
+the built-in game controller mappings.
+  * Added SDL_LoadFile() and SDL_LoadFile_RW() to load a file
+into memory.
+  * Added SDL_DuplicateSurface() to make a copy of a surface.
+  * Added an experimental JACK audio driver.
+  * Implemented non-power-of-two audio resampling.
+  * Added the hint SDL_HINT_AUDIO_RESAMPLING_MODE to control the
+quality of resampling.
+  * Added the hint SDL_HINT_RENDER_LOGICAL_SIZE_MODE to control
+the scaling policy for SDL_RenderSetLogicalSize().
+  * Added the hints SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and
+SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the mouse speed
+when being read from raw mouse input.
+  * Added the hint SDL_HINT_TOUCH_MOUSE_EVENTS to control whether
+SDL will synthesize mouse events from touch events.
+  * Added an experimental KMS/DRM video driver for embedded
+development.
+- Remove dbus-ime.diff (no longer needed)
+
+---

Old:

  SDL2-2.0.5.tar.gz
  SDL2-2.0.5.tar.gz.sig
  dbus-ime.diff

New:

  SDL2-2.0.6.tar.gz
  SDL2-2.0.6.tar.gz.sig
  dbus.diff



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.6jnArf/_old  2017-10-17 01:50:36.587798020 +0200
+++ /var/tmp/diff_new_pack.6jnArf/_new  2017-10-17 01:50:36.591797833 +0200
@@ -18,7 +18,7 @@
 
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.5
+Version:2.0.6
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -30,8 +30,8 @@
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
 Source3:%name.keyring
 Source4:baselibs.conf
-Patch1: %{name}-ppc64-declaration-after-statement.patch
-Patch2: dbus-ime.diff
+Patch1: dbus.diff
+Patch2: %name-ppc64-declaration-after-statement.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -43,33 +43,32 @@
 %if !0%{?sle_version}
 BuildRequires:  pkgconfig(fcitx)
 %endif
+BuildRequires:  pkgconfig(egl)
 BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(glesv1_cm)
+BuildRequires:  pkgconfig(glesv2)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(ibus-1.0)
-%if 0%{?suse_version} > 1120
-BuildRequires:  pkgconfig(egl)
-BuildRequires:  pkgconfig(glesv1_cm)
-BuildRequires:  pkgconfig(glesv2)
-%endif
 BuildRequires:  pkgconfig(ice)
+# KMS/DRM driver needs libdrm and libgbm
+BuildRequires:  pkgconfig(gbm) >= 9.0.0
+BuildRequires:  pkgconfig(libdrm) >= 2.4.46
 %if 0%{?suse_version} > 1220
 BuildRequires:  pkgconfig(tslib)
 %endif
-BuildRequires:  pkgconfig(x11)
-%if 0%{?suse_version} > 1120
-BuildRequires:  pkgconfig(xcursor)
-BuildRequires:  pkgconfig(xinerama)
-BuildRequires:  pkgconfig(xrandr)
-BuildRequires:  pkgconfig(xscrnsaver)
-BuildRequires:  pkgconfig(xxf86vm)
-%endif
 BuildRequires:  pkgconfig(libpulse-simple) >= 0.9
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  

commit SDL2 for openSUSE:Factory

2017-08-10 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2017-08-10 14:10:18

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


Package is "SDL2"

Thu Aug 10 14:10:18 2017 rev:16 rq:513710 version:2.0.5

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2017-07-04 
11:54:59.738066472 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2017-08-10 
14:57:34.712305152 +0200
@@ -1,0 +2,6 @@
+Tue Aug  1 13:14:45 UTC 2017 - fcro...@suse.com
+
+- Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore
+  since SLE12 SP2).
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.O2XfUZ/_old  2017-08-10 14:57:35.904137361 +0200
+++ /var/tmp/diff_new_pack.O2XfUZ/_new  2017-08-10 14:57:35.916135672 +0200
@@ -40,7 +40,9 @@
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(alsa) >= 0.9.0
 BuildRequires:  pkgconfig(dbus-1)
+%if !0%{?sle_version}
 BuildRequires:  pkgconfig(fcitx)
+%endif
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(glu)
@@ -65,9 +67,9 @@
 BuildRequires:  pkgconfig(libpulse-simple) >= 0.9
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(udev)
+BuildRequires:  pkgconfig(wayland-server)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
-BuildRequires:  pkgconfig(wayland-server)
 
 %description
 This is the "Simple DirectMedia Layer" library. It provides a generic
@@ -119,6 +121,9 @@
 %build
 # In this instance, we do want --with-pic because of libSDL2main.a.
 %configure --with-pic \
+%if 0%{?sle_version}
+--disable-fcitx \
+%endif
 --disable-rpath \
 --disable-alsa-shared \
 --disable-video-directfb





commit SDL2 for openSUSE:Factory

2017-07-04 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2017-07-04 11:54:57

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


Package is "SDL2"

Tue Jul  4 11:54:57 2017 rev:15 rq:507394 version:2.0.5

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2017-02-26 
16:59:50.261620776 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2017-07-04 
11:54:59.738066472 +0200
@@ -1,0 +2,5 @@
+Thu Jun 29 10:50:38 UTC 2017 - sch...@suse.de
+
+- libspe2 doesn't exist any more
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.Apt2wO/_old  2017-07-04 11:55:00.545952779 +0200
+++ /var/tmp/diff_new_pack.Apt2wO/_new  2017-07-04 11:55:00.549952216 +0200
@@ -67,9 +67,6 @@
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
-%ifarch ppc ppc64
-BuildRequires:  libspe2-devel
-%endif
 BuildRequires:  pkgconfig(wayland-server)
 
 %description





commit SDL2 for openSUSE:Factory

2017-02-26 Thread root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2017-02-26 16:59:49

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


Package is "SDL2"

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2016-11-03 
11:09:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2017-02-26 
16:59:50.261620776 +0100
@@ -1,0 +2,5 @@
+Wed Feb 15 11:51:52 UTC 2017 - jeng...@inai.de
+
+- Add dbus-ime.diff and build with fcitx [boo#1025413]
+
+---

New:

  dbus-ime.diff



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.WgpLM0/_old  2017-02-26 16:59:50.765544339 +0100
+++ /var/tmp/diff_new_pack.WgpLM0/_new  2017-02-26 16:59:50.769543733 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# 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
@@ -30,9 +30,8 @@
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
 Source3:%name.keyring
 Source4:baselibs.conf
-# PATCH-FIX-UPSTREAM SDL2-declaration-after-statement.patch
-# backported to fix build on Factory/ppc64, cf. 
https://bugzilla.libsdl.org/show_bug.cgi?id=3466
-Patch0: %{name}-ppc64-declaration-after-statement.patch
+Patch1: %{name}-ppc64-declaration-after-statement.patch
+Patch2: dbus-ime.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -41,6 +40,7 @@
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(alsa) >= 0.9.0
 BuildRequires:  pkgconfig(dbus-1)
+BuildRequires:  pkgconfig(fcitx)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(glu)
@@ -108,8 +108,9 @@
 %prep
 %setup -q
 %ifarch ppc64 ppc64le
-%patch0 -p1
+%patch -P 1 -p1
 %endif
+%patch -P 2 -p1
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt


++ SDL2-ppc64-declaration-after-statement.patch ++
--- /var/tmp/diff_new_pack.WgpLM0/_old  2017-02-26 16:59:50.805538273 +0100
+++ /var/tmp/diff_new_pack.WgpLM0/_new  2017-02-26 16:59:50.805538273 +0100
@@ -1,5 +1,7 @@
 # https://bugzilla.libsdl.org/show_bug.cgi?id=3466
 # commits 5184186d4366 and fbf9b0e3589a
+# PATCH-FIX-UPSTREAM SDL2-declaration-after-statement.patch
+# backported to fix build on Factory/ppc64, cf. 
https://bugzilla.libsdl.org/show_bug.cgi?id=3466
 #
 diff -udpr SDL2-2.0.5.orig/src/video/SDL_blit_N.c 
SDL2-2.0.5/src/video/SDL_blit_N.c
 --- SDL2-2.0.5.orig/src/video/SDL_blit_N.c 2016-10-20 05:56:26.0 
+0200

++ dbus-ime.diff ++

# HG changeset patch
# User Alex Baines 
# Date 1477614538 -3600
# Node ID b48d8a98e2618a6b4fd45aa2aab290ba4eb113c2
# Parent  35fee69e84dfd745ef34e392e481f9088aeff70c
Fix double events / no repeat flag on key events when built withoutibus/fcitx

Uses XkbSetDetectableKeyRepeat, and falls back to forcing @im=none if it's not
supported.

diff -r 35fee69e84df -r b48d8a98e261 src/video/x11/SDL_x11events.c
--- a/src/video/x11/SDL_x11events.c Fri Oct 28 17:00:37 2016 -0700
+++ b/src/video/x11/SDL_x11events.c Fri Oct 28 01:28:58 2016 +0100
@@ -568,14 +568,18 @@
 printf("Filtered event type = %d display = %d window = %d\n",
xevent.type, xevent.xany.display, xevent.xany.window);
 #endif
+/* Make sure dead key press/release events are sent */
+/* But only if we're using one of the DBus IMEs, otherwise
+   some XIM IMEs will generate duplicate events */
 if (orig_keycode) {
-/* Make sure dead key press/release events are sent */
+#if defined(HAVE_IBUS_IBUS_H) || defined(HAVE_FCITX_FRONTEND_H)
 SDL_Scancode scancode = videodata->key_layout[orig_keycode];
 if (orig_event_type == KeyPress) {
 SDL_SendKeyboardKey(SDL_PRESSED, scancode);
 } else {
 SDL_SendKeyboardKey(SDL_RELEASED, scancode);
 }
+#endif
 }
 return;
 }
diff -r 35fee69e84df -r b48d8a98e261 src/video/x11/SDL_x11keyboard.c
--- a/src/video/x11/SDL_x11keyboard.c   Fri Oct 28 17:00:37 2016 -0700
+++ b/src/video/x11/SDL_x11keyboard.c   Fri Oct 28 01:28:58 2016 +0100
@@ -33,6 +33,10 @@
 
 #include "imKStoUCS.h"
 
+#ifdef X_HAVE_UTF8_STRING
+#include 
+#endif
+
 /* *INDENT-OFF* */
 static const struct {
 KeySym keysym;
@@ -262,19 +266,82 @@
 int best_distance;
 int best_index;
 int distance;
-
+

commit SDL2 for openSUSE:Factory

2016-11-03 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2016-11-03 11:09:40

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


Package is "SDL2"

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2016-03-26 
15:23:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2016-11-03 
11:09:41.0 +0100
@@ -1,0 +2,64 @@
+Sun Oct 23 08:00:21 UTC 2016 - aloi...@gmx.com
+
+- Backported commit 5184186d4366 and fbf9b0e3589a as
+  SDL2-ppc64-declaration-after-statement.patch to fix build
+  on ppc64/ppc64le 
+
+---
+Thu Oct 20 13:47:14 UTC 2016 - aloi...@gmx.com
+
+- Update to 2.0.5
+  General:
+  * Implemented audio capture support for some platforms
+  * Added SDL_DequeueAudio() to retrieve audio when buffer 
+queuing is turned on for audio capture
+  * Added events for dragging and dropping text
+  * Added events for dragging and dropping multiple items
+  * By default the click raising a window will not be 
+delivered to the SDL application. You can set the hint 
+SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to "1" to allow that click 
+through to the window.
+  * Saving a surface with an alpha channel as a BMP will use a 
+newer BMP format that supports alpha information. You can 
+set the hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to "1" to use 
+the old format.
+  * Added SDL_GetHintBoolean() to get the boolean value of a 
+hint
+  * Added SDL_RenderSetIntegerScale() to set whether to 
+smoothly scale or use integral multiples of the viewport 
+size when scaling the rendering output
+  * Added SDL_CreateRGBSurfaceWithFormat() and 
+SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL 
+surface with a specific pixel format
+  * Added SDL_GetDisplayUsableBounds() which returns the area 
+usable for windows. For example, on Mac OS X, this subtracts 
+the area occupied by the menu bar and dock.
+  * Added SDL_GetWindowBordersSize() which returns the size of 
+the window's borders around the client area
+  * Added a window event SDL_WINDOWEVENT_HIT_TEST when a 
+window had a hit test that wasn't SDL_HITTEST_NORMAL (e.g. 
+in the title bar or window frame)
+  * Added SDL_SetWindowResizable() to change whether a window 
+is resizable
+  * Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to 
+affect the window transparency
+  * Added SDL_SetWindowModalFor() to set a window as modal for 
+another window
+  * Added support for AUDIO_U16LSB and AUDIO_U16MSB to 
+SDL_MixAudioFormat()
+  * Fixed flipped images when reading back from target 
+textures when using the OpenGL renderer
+  * Fixed texture color modulation with SDL_BLENDMODE_NONE 
+when using the OpenGL renderer
+  * Fixed bug where the alpha value of colorkeys was ignored 
+when blitting in some cases
+  Linux:
+  * Added support for the Fcitx IME
+  * Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a 
+window manager asks the SDL window whether it wants to take 
+focus.
+  * Refresh rates are now rounded instead of truncated, e.g. 
+59.94 Hz is rounded up to 60 Hz instead of 59.
+  * Added initial support for touchscreens on Raspberry Pi
+
+---

Old:

  SDL2-2.0.4.tar.gz
  SDL2-2.0.4.tar.gz.sig

New:

  SDL2-2.0.5.tar.gz
  SDL2-2.0.5.tar.gz.sig
  SDL2-ppc64-declaration-after-statement.patch



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.SqyW5a/_old  2016-11-03 11:09:42.0 +0100
+++ /var/tmp/diff_new_pack.SqyW5a/_new  2016-11-03 11:09:42.0 +0100
@@ -18,7 +18,7 @@
 
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.4
+Version:2.0.5
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -30,6 +30,9 @@
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
 Source3:%name.keyring
 Source4:baselibs.conf
+# PATCH-FIX-UPSTREAM SDL2-declaration-after-statement.patch
+# backported to fix build on Factory/ppc64, cf. 
https://bugzilla.libsdl.org/show_bug.cgi?id=3466
+Patch0: %{name}-ppc64-declaration-after-statement.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -104,6 +107,9 @@
 
 %prep
 %setup -q
+%ifarch ppc64 ppc64le
+%patch0 -p1
+%endif
 dos2unix WhatsNew.txt
 dos2unix TODO.txt
 dos2unix BUGS.txt

++ SDL2-2.0.4.tar.gz -> SDL2-2.0.5.tar.gz ++
 39590 lines of diff (skipped)

++ SDL2-ppc64-declaration-after-statement.patch ++
# 

commit SDL2 for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2016-03-26 15:23:44

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


Package is "SDL2"

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2016-01-23 
01:16:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2016-03-26 
15:23:46.0 +0100
@@ -1,0 +2,10 @@
+Thu Mar 17 15:53:13 UTC 2016 - mplus...@suse.com
+
+- Make building more verbose
+
+---
+Thu Mar 10 13:39:57 UTC 2016 - jeng...@inai.de
+
+- Enable udev support
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.12eVEz/_old  2016-03-26 15:23:48.0 +0100
+++ /var/tmp/diff_new_pack.12eVEz/_new  2016-03-26 15:23:48.0 +0100
@@ -60,6 +60,7 @@
 BuildRequires:  pkgconfig(xxf86vm)
 %endif
 BuildRequires:  pkgconfig(libpulse-simple) >= 0.9
+BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
@@ -117,7 +118,7 @@
 --disable-rpath \
 --disable-alsa-shared \
 --disable-video-directfb
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 make install DESTDIR="%buildroot"





commit SDL2 for openSUSE:Factory

2016-01-22 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2016-01-23 01:16:49

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


Package is "SDL2"

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2015-01-14 
11:45:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2016-01-23 
01:16:57.0 +0100
@@ -1,0 +2,53 @@
+Sun Jan 10 15:27:58 UTC 2016 - mailaen...@opensuse.org
+
+- update to version 2.0.4
+General:
+  * Added support for web applications using Emscripten, see
+docs/README-emscripten.md for more information
+  * Added support for web applications using Native Client (NaCl), see
+docs/README-nacl.md for more information
+  * Added an API to queue audio instead of using the audio callback:
+SDL_QueueAudio(), SDL_GetQueuedAudioSize(), SDL_ClearQueuedAudio()
+  * Added events for audio device hot plug support:
+SDL_AUDIODEVICEADDED, SDL_AUDIODEVICEREMOVED
+  * Added SDL_PointInRect()
+  * Added SDL_HasAVX2() to detect CPUs with AVX2 support
+  * Added SDL_SetWindowHitTest() to let apps treat parts of their SDL window
+like traditional window decorations (drag areas, resize areas)
+  * Added SDL_GetGrabbedWindow() to get the window that currently has input
+grab, if any
+  * Added SDL_RenderIsClipEnabled() to tell whether clipping is currently
+enabled in a renderer
+  * Added SDL_CaptureMouse() to capture the mouse to get events while the
+mouse is not in your window
+  * Added SDL_WarpMouseGlobal() to warp the mouse cursor in global screen
+space
+  * Added SDL_GetGlobalMouseState() to get the current mouse state outside of
+an SDL window* Added a direction field to mouse wheel events to tell
+whether they are flipped (natural) or not
+  * Added GL_CONTEXT_RELEASE_BEHAVIOR GL attribute (maps to
+[WGL|GLX]_ARB_context_flush_control extension)
+  * Added EGL_KHR_create_context support to allow OpenGL ES version selection
+on some platforms* Added NV12 and NV21 YUV texture support for OpenGL and
+OpenGL ES 2.0 renderers
+  * Added a Vivante video driver that is used on various SoC platforms
+  * Added an event SDL_RENDER_DEVICE_RESET that is sent from the D3D
+renderers when the D3D device is lost, and from Android's event loop when
+the GLES context had to be recreated
+  * Added a hint SDL_HINT_NO_SIGNAL_HANDLERS to disable SDL's built in signal
+handling* Added a hint SDL_HINT_THREAD_STACK_SIZE to set the stack size of
+SDL's threads
+  * Added SDL_sqrtf(), SDL_tan(), and SDL_tanf() to the stdlib routines
+  * Improved support for WAV and BMP files with unusual chunks in them
+  * Renamed SDL_assert_data to SDL_AssertData and SDL_assert_state to
+SDL_AssertState
+  * Added a hint SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN to prevent
+window interaction while cursor is hidden
+  * Added SDL_GetDisplayDPI() to get the DPI information for a display* Added
+SDL_JoystickCurrentPowerLevel() to get the battery level of a joystick
+  * Added SDL_JoystickFromInstanceID(), as a helper function, to get the
+SDL_Joystick* that an event is referring to.
+  * Added SDL_GameControllerFromInstanceID(), as a helper function, to get
+the SDL_GameController* that an event is referring to.
+
+---

Old:

  SDL2-2.0.3.tar.gz
  SDL2-2.0.3.tar.gz.sig

New:

  SDL2-2.0.4.tar.gz
  SDL2-2.0.4.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.bwBHk0/_old  2016-01-23 01:16:58.0 +0100
+++ /var/tmp/diff_new_pack.bwBHk0/_new  2016-01-23 01:16:58.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -18,7 +18,7 @@
 
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.3
+Version:2.0.4
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -31,6 +31,7 @@
 Source3:%name.keyring
 Source4:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
 BuildRequires:  nasm
@@ -40,6 +41,7 @@
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(glu)
+BuildRequires:  pkgconfig(ibus-1.0)
 %if 0%{?suse_version} > 1120
 BuildRequires:  pkgconfig(egl)
 BuildRequires: 

commit SDL2 for openSUSE:Factory

2015-01-14 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2015-01-14 11:45:05

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2015-01-08 
23:03:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2015-01-14 
11:45:35.0 +0100
@@ -1,0 +2,5 @@
+Mon Jan 12 16:20:53 UTC 2015 - sch...@suse.de
+
+- libspe2 only exists for ppc and ppc64
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.mWiNkn/_old  2015-01-14 11:45:36.0 +0100
+++ /var/tmp/diff_new_pack.mWiNkn/_new  2015-01-14 11:45:36.0 +0100
@@ -61,7 +61,7 @@
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
-%ifarch ppc ppc64 ppc64p7 ppc64le
+%ifarch ppc ppc64
 BuildRequires:  libspe2-devel
 %endif
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit SDL2 for openSUSE:Factory

2015-01-08 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2015-01-08 23:03:23

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2014-07-29 
16:48:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2015-01-08 
23:03:25.0 +0100
@@ -1,0 +2,11 @@
+Fri Dec 19 10:44:54 UTC 2014 - jeng...@inai.de
+
+- Drop old arts/esound soundserver support.
+
+---
+Thu Dec 18 09:46:46 UTC 2014 - jeng...@inai.de
+
+- Remove SDL2 obsoletes (we never had packages of that name).
+  Copy current Provides to baselibs.conf.
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.tHuvOY/_old  2015-01-08 23:03:26.0 +0100
+++ /var/tmp/diff_new_pack.tHuvOY/_new  2015-01-08 23:03:26.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,14 +31,11 @@
 Source3:%name.keyring
 Source4:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  alsa-devel = 0.9.0
-BuildRequires:  arts-devel
 BuildRequires:  dos2unix
-BuildRequires:  esound-devel = 0.2.8
-BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  nasm
-BuildRequires:  pkgconfig
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(alsa) = 0.9.0
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0)
@@ -64,7 +61,7 @@
 BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xi)
-%ifarch ppc ppc64
+%ifarch ppc ppc64 ppc64p7 ppc64le
 BuildRequires:  libspe2-devel
 %endif
 
@@ -76,7 +73,7 @@
 %package -n %lname
 Summary:Simple DirectMedia Layer Library
 Group:  System/Libraries
-Provides:   SDL2 = %{version}
+Provides:   SDL2 = %version-%release
 
 %description -n %lname
 This is the Simple DirectMedia Layer library. It provides a generic
@@ -86,7 +83,7 @@
 %package -n libSDL2-devel
 Summary:SDL2 Library Developer Files
 Group:  Development/Libraries/X11
-Requires:   %lname = %{version}
+Requires:   %lname = %version
 Requires:   c_compiler
 Requires:   pkgconfig
 Requires:   pkgconfig(gl)
@@ -95,7 +92,7 @@
 Requires:   pkgconfig(glu)
 Requires:   pkgconfig(x11)
 Requires:   pkgconfig(xproto)
-Provides:   SDL2-devel = %{version}
+Provides:   SDL2-devel = %version-%release
 
 %description -n libSDL2-devel
 This package contains files needed for development with the SDL2
@@ -112,8 +109,8 @@
 dos2unix COPYING.txt
 
 %build
-%configure \
---with-pic \
+# In this instance, we do want --with-pic because of libSDL2main.a.
+%configure --with-pic \
 --disable-rpath \
 --disable-alsa-shared \
 --disable-video-directfb
@@ -121,27 +118,27 @@
 
 %install
 make install DESTDIR=%buildroot
-rm -f %{buildroot}%{_libdir}/*.la
+rm -f %buildroot/%_libdir/*.la
+# We do not want static libs, but using --disable-static leads to make aborting
+# halfway through. SDL2main.a we need to keep(?) for the stub symbol.
+find %buildroot/%_libdir -type f -name *.a ! -name libSDL2main.a -delete
 
 %post -n %lname -p /sbin/ldconfig
-
 %postun -n %lname -p /sbin/ldconfig
 
 %files -n %lname
 %defattr(-,root,root)
 %doc BUGS.txt COPYING.txt CREDITS.txt README.txt README-SDL.txt
-%{_libdir}/libSDL2-2*.so.*
+%_libdir/libSDL2-2*.so.*
 
 %files -n libSDL2-devel
 %defattr(-,root,root)
 %doc TODO.txt WhatsNew.txt
-%{_bindir}/sdl2-config
-%{_libdir}/libSDL2.so
-%{_libdir}/libSDL2.a
-%{_libdir}/libSDL2main.a
-%{_libdir}/libSDL2_test.a
-%{_includedir}/SDL2/
-%{_datadir}/aclocal/sdl2.m4
-%{_libdir}/pkgconfig/sdl2.pc
+%_bindir/sdl2-config
+%_libdir/libSDL2.so
+%_libdir/libSDL2main.a
+%_includedir/SDL2/
+%_datadir/aclocal/sdl2.m4
+%_libdir/pkgconfig/sdl2.pc
 
 %changelog


++ baselibs.conf ++
--- /var/tmp/diff_new_pack.tHuvOY/_old  2015-01-08 23:03:26.0 +0100
+++ /var/tmp/diff_new_pack.tHuvOY/_new  2015-01-08 23:03:26.0 +0100
@@ -1,8 +1,6 @@
 libSDL2-2_0-0
-  provides SDL2-targettype = version
-  obsoletes SDL2-targettype = version
+   provides SDL2-targettype = version
 libSDL2-devel
-  provides SDL2-devel-targettype = version
-  obsoletes SDL2-devel-targettype = version
-  

commit SDL2 for openSUSE:Factory

2014-07-29 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2014-07-29 16:48:33

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2014-05-27 
12:02:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2014-07-29 
16:48:53.0 +0200
@@ -1,0 +2,7 @@
+Mon Jul 21 20:13:17 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 2.0.3
+* This is a minor bugfix release to take care of creating an OpenGL
+  context on Mac OS X.
+
+---

Old:

  SDL2-2.0.2.tar.gz
  SDL2-2.0.2.tar.gz.sig

New:

  SDL2-2.0.3.tar.gz
  SDL2-2.0.3.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.9L8cos/_old  2014-07-29 16:48:55.0 +0200
+++ /var/tmp/diff_new_pack.9L8cos/_new  2014-07-29 16:48:55.0 +0200
@@ -18,29 +18,31 @@
 
 Name:   SDL2
 %define lname   libSDL2-2_0-0
-Version:2.0.2
+Version:2.0.3
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
 Group:  Development/Libraries/X11
 Url:http://libsdl.org/
+
 #DL-URL:http://libsdl.org/download-2.0.php
 Source: http://libsdl.org/release/%name-%version.tar.gz
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
 Source3:%name.keyring
 Source4:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  arts-devel
 BuildRequires:  alsa-devel = 0.9.0
+BuildRequires:  arts-devel
 BuildRequires:  dos2unix
 BuildRequires:  esound-devel = 0.2.8
-BuildRequires:  gcc gcc-c++
+BuildRequires:  gcc
+BuildRequires:  gcc-c++
 BuildRequires:  nasm
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(dbus-1)
+BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(glu)
-BuildRequires:  pkgconfig(gl)
 %if 0%{?suse_version}  1120
 BuildRequires:  pkgconfig(egl)
 BuildRequires:  pkgconfig(glesv1_cm)
@@ -52,16 +54,16 @@
 %endif
 BuildRequires:  pkgconfig(x11)
 %if 0%{?suse_version}  1120
-BuildRequires:  pkgconfig(xscrnsaver)
 BuildRequires:  pkgconfig(xcursor)
 BuildRequires:  pkgconfig(xinerama)
 BuildRequires:  pkgconfig(xrandr)
+BuildRequires:  pkgconfig(xscrnsaver)
 BuildRequires:  pkgconfig(xxf86vm)
 %endif
-BuildRequires:  pkgconfig(xext) 
-BuildRequires:  pkgconfig(xi)
 BuildRequires:  pkgconfig(libpulse-simple) = 0.9
 BuildRequires:  pkgconfig(udev)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(xi)
 %ifarch ppc ppc64
 BuildRequires:  libspe2-devel
 %endif
@@ -100,7 +102,6 @@
 library.
 
 %prep
-%{?gpg_verify: %gpg_verify %{S:2}}
 %setup -q
 dos2unix WhatsNew.txt
 dos2unix TODO.txt

++ SDL2-2.0.2.tar.gz - SDL2-2.0.3.tar.gz ++
 11811 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit SDL2 for openSUSE:Factory

2014-05-27 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2014-05-27 12:02:43

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2014-03-21 
13:51:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2014-05-27 
12:02:44.0 +0200
@@ -1,0 +2,16 @@
+Mon May 26 07:48:54 UTC 2014 - mailaen...@opensuse.org
+
+- Added missing build dependencies
+  * arts
+  * dbus
+  * udev
+  * tslib
+- Removed unrecognized options: --disable-video-svga, --disable-video-ps3
+
+---
+Mon May 26 07:00:15 UTC 2014 - mailaen...@opensuse.org
+
+- Use pkgconfig everywhere
+- Fix the build on SLE using prjconf
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.X0CZdw/_old  2014-05-27 12:02:45.0 +0200
+++ /var/tmp/diff_new_pack.X0CZdw/_new  2014-05-27 12:02:45.0 +0200
@@ -30,27 +30,38 @@
 Source3:%name.keyring
 Source4:baselibs.conf
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  Mesa-libEGL-devel
-BuildRequires:  Mesa-libGL-devel
-BuildRequires:  Mesa-libGLESv1_CM-devel
-BuildRequires:  Mesa-libGLESv2-devel
+BuildRequires:  arts-devel
 BuildRequires:  alsa-devel = 0.9.0
 BuildRequires:  dos2unix
 BuildRequires:  esound-devel = 0.2.8
-BuildRequires:  libICE-devel
-BuildRequires:  libX11-devel
-BuildRequires:  libXScrnSaver-devel
-BuildRequires:  libXcursor-devel
-BuildRequires:  libXext-devel
-BuildRequires:  libXi-devel
-BuildRequires:  libXinerama-devel
-BuildRequires:  libXrandr-devel
-BuildRequires:  libXxf86vm-devel
+BuildRequires:  gcc gcc-c++
 BuildRequires:  nasm
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(glu)
+BuildRequires:  pkgconfig(gl)
+%if 0%{?suse_version}  1120
+BuildRequires:  pkgconfig(egl)
+BuildRequires:  pkgconfig(glesv1_cm)
+BuildRequires:  pkgconfig(glesv2)
+%endif
+BuildRequires:  pkgconfig(ice)
+%if 0%{?suse_version}  1220
+BuildRequires:  pkgconfig(tslib)
+%endif
+BuildRequires:  pkgconfig(x11)
+%if 0%{?suse_version}  1120
+BuildRequires:  pkgconfig(xscrnsaver)
+BuildRequires:  pkgconfig(xcursor)
+BuildRequires:  pkgconfig(xinerama)
+BuildRequires:  pkgconfig(xrandr)
+BuildRequires:  pkgconfig(xxf86vm)
+%endif
+BuildRequires:  pkgconfig(xext) 
+BuildRequires:  pkgconfig(xi)
 BuildRequires:  pkgconfig(libpulse-simple) = 0.9
+BuildRequires:  pkgconfig(udev)
 %ifarch ppc ppc64
 BuildRequires:  libspe2-devel
 %endif
@@ -104,8 +115,6 @@
 --with-pic \
 --disable-rpath \
 --disable-alsa-shared \
---disable-video-svga \
---disable-video-ps3 \
 --disable-video-directfb
 make %{?_smp_mflags}
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit SDL2 for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2014-03-21 13:51:19

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2013-11-08 
08:40:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2014-03-21 
13:51:20.0 +0100
@@ -1,0 +2,24 @@
+Thu Mar 13 18:50:31 UTC 2014 - mailaen...@opensuse.org
+
+- Update to 2.0.2
+  * Added SDL_GL_ResetAttributes() to reset OpenGL attributes to default values
+  * Added an API to load a database of game controller mappings from a file:
+SDL_GameControllerAddMappingsFromFile(), 
SDL_GameControllerAddMappingsFromRW()
+  * Added game controller mappings for the PS4 and OUYA controllers
+  * Added SDL_GetDefaultAssertionHandler() and SDL_GetAssertionHandler()
+  * Added SDL_DetachThread()
+  * Added SDL_HasAVX() to determine if the CPU has AVX features
+  * Added SDL_vsscanf(), SDL_acos(), and SDL_asin() to the stdlib routines
+  * EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
+them using SDL_GL_SHARE_WITH_CURRENT_CONTEXT 
+  * Added a field clicks to the mouse button event which records whether the 
event is a single click, double click, etc.
+  * The screensaver is now disabled by default, and there is a hint 
SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior.
+  * Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse 
relative mode should be emulated using mouse warping.
+  * testgl2 does not need to link with libGL anymore
+  * Added testgles2 test program to demonstrate working with OpenGL ES 2.0
+  * Added controllermap test program to visually map a game controller
+  * Fixed fullscreen and focused behavior when receiving NotifyGrab events
+  * Added experimental Wayland and Mir support, disabled by default
+- Added SDL2-devel provides
+
+---

Old:

  SDL2-2.0.1.tar.gz
  SDL2-2.0.1.tar.gz.sig

New:

  SDL2-2.0.2.tar.gz
  SDL2-2.0.2.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.D4OjTh/_old  2014-03-21 13:51:21.0 +0100
+++ /var/tmp/diff_new_pack.D4OjTh/_new  2014-03-21 13:51:21.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package SDL2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,12 @@
 
 Name:   SDL2
 %define lname  libSDL2-2_0-0
-Version:2.0.1
+Version:2.0.2
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
 Group:  Development/Libraries/X11
 Url:http://libsdl.org/
-
 #DL-URL:   http://libsdl.org/download-2.0.php
 Source: http://libsdl.org/release/%name-%version.tar.gz
 Source2:http://libsdl.org/release/%name-%version.tar.gz.sig
@@ -83,6 +82,7 @@
 Requires:   pkgconfig(glu)
 Requires:   pkgconfig(x11)
 Requires:   pkgconfig(xproto)
+Provides:   SDL2-devel = %{version}
 
 %description -n libSDL2-devel
 This package contains files needed for development with the SDL2

++ SDL2-2.0.1.tar.gz - SDL2-2.0.2.tar.gz ++
 60357 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit SDL2 for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2013-11-07 09:03:03

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2013-08-27 
21:22:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2013-11-07 
09:03:04.0 +0100
@@ -1,0 +2,5 @@
+Mon Oct 28 17:59:05 UTC 2013 - prus...@opensuse.org
+
+- add SDL2 provides
+
+---



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.7KI2UJ/_old  2013-11-07 09:03:05.0 +0100
+++ /var/tmp/diff_new_pack.7KI2UJ/_new  2013-11-07 09:03:05.0 +0100
@@ -63,6 +63,7 @@
 %package -n %lname
 Summary:Simple DirectMedia Layer Library
 Group:  System/Libraries
+Provides:   SDL2 = %{version}
 
 %description -n %lname
 This is the Simple DirectMedia Layer library. It provides a generic


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit SDL2 for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2013-11-08 08:40:06

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


Package is SDL2

Changes:

--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes2013-11-07 
09:03:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new/SDL2.changes   2013-11-08 
08:40:07.0 +0100
@@ -1,0 +2,18 @@
+Thu Nov  7 10:56:36 UTC 2013 - mailaen...@opensuse.org
+
+- Update to version 2.0.1:
+  * Added an API to get common filesystem paths in SDL_filesystem.h: 
+SDL_GetBasePath(), SDL_GetPrefPath() 
+  * Added an API to do optimized YV12 and IYUV texture updates: 
+SDL_UpdateYUVTexture() 
+  * Added an API to get the amount of RAM on the system: 
+SDL_GetSystemRAM() 
+  * Added a macro to perform timestamp comparisons with SDL_GetTicks(): 
+SDL_TICKS_PASSED() 
+  * Dramatically improved OpenGL ES 2.0 rendering performance 
+  * Added OpenGL attribute SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
+  * Fixed float audio support with the PulseAudio driver 
+  * Fixed missing line endpoints in the OpenGL renderer on some drivers 
+  * X11 symbols are no longer defined to avoid collisions when linking 
statically 
+
+---

Old:

  SDL2-2.0.0.tar.gz
  SDL2-2.0.0.tar.gz.sig

New:

  SDL2-2.0.1.tar.gz
  SDL2-2.0.1.tar.gz.sig



Other differences:
--
++ SDL2.spec ++
--- /var/tmp/diff_new_pack.7TLWAS/_old  2013-11-08 08:40:08.0 +0100
+++ /var/tmp/diff_new_pack.7TLWAS/_new  2013-11-08 08:40:08.0 +0100
@@ -18,7 +18,7 @@
 
 Name:   SDL2
 %define lname  libSDL2-2_0-0
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Simple DirectMedia Layer Library
 License:Zlib
@@ -36,6 +36,7 @@
 BuildRequires:  Mesa-libGLESv1_CM-devel
 BuildRequires:  Mesa-libGLESv2-devel
 BuildRequires:  alsa-devel = 0.9.0
+BuildRequires:  dos2unix
 BuildRequires:  esound-devel = 0.2.8
 BuildRequires:  libICE-devel
 BuildRequires:  libX11-devel
@@ -90,6 +91,13 @@
 %prep
 %{?gpg_verify: %gpg_verify %{S:2}}
 %setup -q
+dos2unix WhatsNew.txt
+dos2unix TODO.txt
+dos2unix BUGS.txt
+dos2unix README-SDL.txt
+dos2unix README.txt
+dos2unix CREDITS.txt
+dos2unix COPYING.txt
 
 %build
 %configure \

++ SDL2-2.0.0.tar.gz - SDL2-2.0.1.tar.gz ++
 33194 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org