Hello community, here is the log from the commit of package love for openSUSE:Factory checked in at 2018-12-04 20:54:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/love (Old) and /work/SRC/openSUSE:Factory/.love.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "love" Tue Dec 4 20:54:19 2018 rev:5 rq:652569 version:11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/love/love.changes 2017-06-26 15:55:09.463172213 +0200 +++ /work/SRC/openSUSE:Factory/.love.new.19453/love.changes 2018-12-04 20:54:21.904850504 +0100 @@ -1,0 +2,23 @@ +Wed Nov 28 10:04:42 UTC 2018 - mvetter@suse.com + +- Update to 11.2: + Additions: + * Added Source:setAirAbsorption and Source:getAirAbsorption. + * Added Body:setTransform and Body:getTransform. + Performance Improvements: + * Improved performance of love.graphics.draw slightly on iOS and Android. + Fixes: + * Fixed love.filesystem initialization on Windows 10 update 1809. + * Fixed various issues with running on macOS 10.14. + * Fixed compatibility with Lua 5.2 and 5.3. + * Fixed the explicit format + Data argument variant of love.data.decompress. + * Fixed love.joystick.setGamepadMapping not being able to change existing mappings. + * Fixed a crash on quit on Linux if a custom Cursor is active when quitting. + * Fixed a crash in the Data variant of Shader:send when it's called after love.window.setMode. + * Fixed a love.graphics.setCanvas error message to be less confusing. +- Add love-11.2-return.patch: to make compiler happy +- Remove love.mpg123.patch: don't see why needed anymore +- Remove update-luasocket.patch: upstreamed +- Run spec-cleaner + +------------------------------------------------------------------- Old: ---- love-0.10.2-linux-src.tar.gz love.mpg123.patch update-luasocket.patch New: ---- love-11.2-linux-src.tar.gz love-11.2-return.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ love.spec ++++++ --- /var/tmp/diff_new_pack.RN1sb4/_old 2018-12-04 20:54:22.348850009 +0100 +++ /var/tmp/diff_new_pack.RN1sb4/_new 2018-12-04 20:54:22.352850005 +0100 @@ -1,7 +1,7 @@ # # spec file for package love # -# 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 @@ -18,18 +18,14 @@ %bcond_without mpg123 Name: love -Version: 0.10.2 +Version: 11.2 Release: 0 Summary: 2D gaming engine written in Lua License: Zlib Group: Development/Languages/Other -Url: http://love2d.org/ +URL: http://love2d.org/ Source: https://bitbucket.org/rude/love/downloads/%{name}-%{version}-linux-src.tar.gz -Patch0: love.mpg123.patch -# PATCH-FIX-UPSTREAM update-luasocket.patch -- https://bitbucket.org/rude/love/issues/1217/embedded-luasocket-should-be-upd... -Patch1: update-luasocket.patch -Requires(pre): desktop-file-utils -Requires(pre): shared-mime-info +Patch0: love-11.2-return.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -49,6 +45,8 @@ BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(vorbisfile) +Requires(pre): desktop-file-utils +Requires(pre): shared-mime-info %if %{with mpg123} BuildRequires: pkgconfig(libmpg123) %endif @@ -59,7 +57,6 @@ %prep %setup -q %patch0 -p1 -%patch1 -p1 sed -i 's/\r$//' *.txt %build @@ -72,7 +69,7 @@ make %{?_smp_mflags} %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install rm "%{buildroot}%{_libdir}/liblove.la" "%{buildroot}%{_libdir}/liblove.so" %post @@ -88,12 +85,12 @@ %mime_database_postun %files -%defattr(-,root,root) -%doc changes.txt license.txt readme.md +%license license.txt +%doc changes.txt readme.md %{_bindir}/love -%{_libdir}/liblove.so.* +%{_libdir}/liblove-%{version}.so %{_datadir}/applications/love.desktop -%{_mandir}/man1/love.1* +%{_mandir}/man1/love.1%{?ext_man} %{_datadir}/icons/hicolor/scalable/mimetypes/application-x-love-game.svg %{_datadir}/mime/packages/love.xml %{_datadir}/pixmaps/love.svg ++++++ love-0.10.2-linux-src.tar.gz -> love-11.2-linux-src.tar.gz ++++++ ++++ 238127 lines of diff (skipped) ++++++ love-11.2-return.patch ++++++ diff -urEbwB love-11.2/src/modules/data/HashFunction.cpp love-11.2.new/src/modules/data/HashFunction.cpp --- love-11.2/src/modules/data/HashFunction.cpp 2018-01-03 19:40:59.000000000 +0100 +++ love-11.2.new/src/modules/data/HashFunction.cpp 2018-11-28 10:56:33.379258212 +0100 @@ -608,6 +608,7 @@ return nullptr; // No default for compiler warnings } + return nullptr; } bool HashFunction::getConstant(const char *in, Function &out) diff -urEbwB love-11.2/src/modules/graphics/vertex.cpp love-11.2.new/src/modules/graphics/vertex.cpp --- love-11.2/src/modules/graphics/vertex.cpp 2018-01-03 19:41:00.000000000 +0100 +++ love-11.2.new/src/modules/graphics/vertex.cpp 2018-11-28 11:02:07.852541057 +0100 @@ -64,12 +64,14 @@ case CommonFormat::XYf_STPf_RGBAub: return sizeof(XYf_STPf_RGBAub); } + return 0; } uint32 getFormatFlags(CommonFormat format) { switch (format) { + default: case CommonFormat::NONE: return 0; case CommonFormat::XYf: @@ -109,6 +111,7 @@ case CommonFormat::XYZf: return 3; } + return 0; } size_t getIndexDataSize(IndexDataType type) @@ -149,6 +152,7 @@ { switch (mode) { + default: case TriangleIndexMode::NONE: return 0; case TriangleIndexMode::STRIP: