Hello community,

here is the log from the commit of package raylib for openSUSE:Leap:15.2 
checked in at 2020-05-13 13:47:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/raylib (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.raylib.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "raylib"

Wed May 13 13:47:46 2020 rev:12 rq:804904 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/raylib/raylib.changes  2020-01-15 
15:55:49.839680005 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.raylib.new.2738/raylib.changes        
2020-05-13 13:47:53.241378984 +0200
@@ -1,0 +2,143 @@
+Wed Apr 29 20:15:43 UTC 2020 - Michael Vetter <[email protected]>
+
+- Switch to noexamples tarball as requested in:
+  https://github.com/raysan5/raylib/issues/1180
+  So we don't ship examples with various licenses that we don't
+  install anyways.
+- Add raylib-3.0.0-noexamples.patch: dont try to install examples
+  Raysan seems to have forgotten that.
+
+-------------------------------------------------------------------
+Wed Apr 29 09:59:00 UTC 2020 - Scott Young <[email protected]>
+- Added missing development header files.
+
+-------------------------------------------------------------------
+Tue Mar 31 09:17:57 UTC 2020 - Michael Vetter <[email protected]>
+
+- Update to 3.0.0:
+  * All global variables from the multiple raylib modules have
+    been moved to a global context state, it has several benefits, first, 
better
+    code readability with more comprehensive variables naming and 
categorization
+    (organized by types, i.e. CORE.Window.display.width,
+    CORE.Input.Keyboard.currentKeyState or RLGL.State.modelview). Second, it 
allows
+    better memory management to load global context state dynamically when 
required
+    (not at the moment), making it easy to implement a hot-reloading mechanism 
if
+    desired.
+  * All memory allocations on raylib and its dependencies now use
+    RL_MALLOC, RL_FREE and similar macros. Now users can easely hook their own
+    memory allocations mechanism if desired, having more control over memory
+    allocated internally by the library. Additionally, it makes it easier to 
port
+    the library to embedded devices where memory control is critical. For more 
info
+    check raylib issue #1074.
+  * All I/O file accesses from raylib are being moved
+    to memory data access, now all I/O file access is centralized into just 
four
+    functions: LoadFileData(), SaveFileData(), LoadFileText(), SaveFileText().
+    Users can just update those functions to any I/O file system. This change 
makes
+    it easier to integrate raylib with Virtual File Systems or custom I/O file
+    implementations.
+  * All raylib data structures have been reviewed and optimized
+    for pass-by-value usage. One of raylib distinctive design decisions is that
+    most of its functions receive and return data by value. This design makes
+    raylib really simple for newcomers, avoiding pointers and allowing complete
+    access to all structures data in a simple way. The downside is that data is
+    copied on stack every function call and that copy could be costly so, all
+    raylib data structures have been optimized to stay under 64 bytes for fast 
copy
+    and retrieve.
+  * All raylib tracelog messages have been reviewd and categorized
+    for a more comprehensive output information when developing raylib
+    applications, now all display, input, timer, platform, auxiliar libraries,
+    file-accesses, data loading/unloading issues are properly reported with 
more
+    detailed and visual messages.
+  * raudio module has been internally reviewed to
+    accomodate the new Music structure (converted from previous pointer 
format) and
+    the module has been adapted to the highly improved miniaudio v0.10.
+  * text module reviewed to improve fonts generation and text management 
functions, Font
+    structure has been redesigned to better accomodate characters data, 
decoupling
+    individual characters as Image glyphs from the font atlas parameters. 
Several
+    improvements have been made to better support Unicode strings with UTF-8
+    encoding.
+  * Multiple new examples added (most of them contributed by raylib
+    users) and all examples reviewed for correct execution on most of the 
supported
+    platforms, specially Web and Raspberry Pi. A detailed categorized table has
+    been created on github for easy examples navigation and code access.
+  * New GitHub Actions CI system has been implemented for Windows, Linux and 
macOS code
+    and examples compilation on every new commit or PR to make sure library 
keeps
+    stable and usable with no breaking bugs.
+  * Note that only key changes are
+    listed here but there is way more! About 30 new functions, multiple 
functions
+    reviewed, bindings to +40 programming languages and great
+    samples/demos/tutorials created by the community, including raylib 
integration
+    with Spine, Unity, Tiled, Nuklear, enet and more!
+
+-------------------------------------------------------------------
+Fri May 31 09:26:07 UTC 2019 - [email protected]
+
+- Update to 2.5.0:
+  * New window management and filesystem functions to query monitor
+    information, deal with clipboard, check directory files info and
+    even launch a URL with default system web browser. Experimental
+    High-DPI monitor support has also been added through a compile flag.
+  * Redesigned Gamepad mechanism, now generic for all platforms and
+    gamepads, no more specific gamepad configurations.
+  * Redesigned UWP input system, now raylib supports UWP seamlessly,
+    previous implementation required a custom input system implemented
+    in user code.
+  * rlgl module has been redesigned to support a unique buffer for
+    shapes drawing batching, including LINES, TRIANGLES, QUADS in the
+    same indexed buffer, also added support for multi-buffering if required.
+    Additionally, rlPushMatrix()/rlPopMatrix() functionality has been
+    reviewed to behave exactly like OpenGL 1.1, models_rlgl_solar_system
+    example has been added to illustrate this behaviour.
+  * VR simulator has been reviewed to allow custom configuration of
+    Head-Mounted-Device parameters and distortion shader, core_vr_simulator
+    has been properly adapted to showcase this new functionality, now
+    the VR simulator is a generic configurable stereo rendering system
+    that allows any VR device simulation with just a few lines of code
+    or even dynamic tweaking of HMD parameters.
+  * Support for Unicode text drawing; now raylib processes UTF8
+    strings on drawing, supporting Unicode codepoints, allowing rendering
+    mostly any existent language (as long as the font with the glyphs is 
provided).
+  * Brand new text management API, with the addition of multiple functions
+    to deal with string data
+  * Multiple new shapes and textures drawing functions 
+  * Experimental cubemap support, to automatically load multiple
+    cubemap layouts (LoadTextureCubemap()).
+  * Skeletal animation support for 3d models, this addition implied a
+    redesign of Model data structure to accomodate multiple mesh/multiple
+    materials support and bones information. Multiple models functions
+    have been reviewed and added on this process, also glTF models
+    loading support has been added.
+  * For details see Changelog file
+
+-------------------------------------------------------------------
+Tue Jul 24 09:13:42 UTC 2018 - [email protected]
+
+- Update to 2.0.0:
+  * Full redesign of audio module to use the mini_al audio library
+  * Refactor all #define SUPPORT_* into a single config.h
+  * Reviewed raymath.h for better consistency and performance (inlining)
+  * New font rendering
+  * STB support
+  * New functions for CPU image data manipulation
+- Remove raylib-2.0.0-api-version.patch: upstreamed
+- Remove BuildRequires libglfw-devel:
+  Using intern libraries now. They want raylib to be like this.
+- Adding BR for libXcursor-devel, libXinerama-devel, libXrandr-devel
+  and cmake explicitly now.
+
+-------------------------------------------------------------------
+Fri May 18 14:12:17 UTC 2018 - [email protected]
+
+- Update to 2.0.0rc1:
+  * Complete redesign of audio module to use mini_al audio library
+  * Support AppVeyor and Travis CI (continuous integration) build
+  * Reviewed raymath.h for better consistency and performance (inlining)
+  * Refactor all #define SUPPORT_* into a single config.h
+  * Support TCC compiler
+  * For complete list see CHANGELOG file
+- Remove BR openal-soft-devel
+- Add packageconfig file
+- Add raylib-2.0.0-api-version.patch: api version should be 2
+- Switch from meson to CMake
+
+-------------------------------------------------------------------

Old:
----
  1.8.0.tar.gz

New:
----
  raylib-3.0.0-noexamples.patch
  raylib-noexamples-3.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ raylib.spec ++++++
--- /var/tmp/diff_new_pack.hiJQTc/_old  2020-05-13 13:47:55.273383358 +0200
+++ /var/tmp/diff_new_pack.hiJQTc/_new  2020-05-13 13:47:55.273383358 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package raylib
 #
-# Copyright (c) 2017 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
@@ -12,23 +12,26 @@
 # 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:           raylib
-Version:        1.8.0
+Version:        3.0.0
 Release:        0
 Summary:        C library for learning video game programming
 License:        Zlib
 Group:          Development/Libraries/C and C++
-Url:            http://www.raylib.com
-Source:         https://github.com/raysan5/%{name}/archive/%{version}.tar.gz
+URL:            http://www.raylib.com
+Source:         
https://github.com/raysan5/raylib/releases/download/%{version}/raylib-noexamples-%{version}.tar.gz
+Patch0:         raylib-3.0.0-noexamples.patch
 BuildRequires:  Mesa-libGL-devel
-BuildRequires:  libglfw-devel >= 3.2
-BuildRequires:  meson >= 0.39.1
-BuildRequires:  openal-soft-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  libXcursor-devel
+BuildRequires:  libXi-devel
+BuildRequires:  libXinerama-devel
+BuildRequires:  libXrandr-devel
 
 %description
 A C library for learning video game programming.
@@ -37,41 +40,51 @@
 %package -n raylib-devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
+Requires:       libraylib301 = %{version}
 Requires:       openal-soft-devel
-Requires:       libraylib1 = %{version}
 
 %description -n raylib-devel
 Development files and headers for %{name}.
 
-%package -n libraylib1
+%package -n libraylib301
 Summary:        C library for learning video game programming
 Group:          System/Libraries
 
-%description -n libraylib1
+%description -n libraylib301
 A C library for learning video game programming.
 
 %prep
-%setup -q
+%setup -q -n raylib-3.0.0
+%patch0 -p1
 
 %build
-%{meson}
-%{meson_build}
+%cmake \
+    -DPLATFORM=Desktop \
+       -DSHARED=ON
 
 %install
-%{meson_install}
-
-%post -n libraylib1 -p /sbin/ldconfig
-%postun -n libraylib1 -p /sbin/ldconfig
-
-%files -n libraylib1
-%defattr(-,root,root)
-%{_libdir}/libraylib.so.1
-%{_libdir}/libraylib.so.1.8.0
+%cmake_install
+for f in build/src/*.h; do
+    install -Dm 644 "$f" "$RPM_BUILD_ROOT/usr/include/$(basename $f)"
+done
+
+%post -n libraylib301 -p /sbin/ldconfig
+%postun -n libraylib301 -p /sbin/ldconfig
+
+%files -n libraylib301
+%{_libdir}/libraylib.so.301
+%{_libdir}/libraylib.so.3.0.0
 
 %files -n raylib-devel
-%defattr(-,root,root)
-%doc CHANGELOG README.md LICENSE.md
+%license LICENSE
+%doc CHANGELOG README.md
 %{_includedir}/raylib.h
+%{_includedir}/raudio.h
+%{_includedir}/physac.h
+%{_includedir}/raymath.h
+%{_includedir}/rlgl.h
 %{_libdir}/libraylib.so
+%{_libdir}/pkgconfig/raylib.pc
+%{_libdir}/cmake/raylib/
 
 %changelog

++++++ raylib-3.0.0-noexamples.patch ++++++
diff -urEbw raylib-3.0.0/CMakeLists.txt raylib-3.0.0.new/CMakeLists.txt
--- raylib-3.0.0/CMakeLists.txt 2020-04-01 11:07:01.000000000 +0200
+++ raylib-3.0.0.new/CMakeLists.txt     2020-04-29 22:12:32.184784329 +0200
@@ -43,12 +43,4 @@
 
 add_subdirectory(src)
 
-if (${BUILD_EXAMPLES})
-  add_subdirectory(examples)
-endif()
-
-if (${BUILD_GAMES})
-  add_subdirectory(games)
-endif()
-
 enable_testing()

Reply via email to