Hello community, here is the log from the commit of package MyGUI for openSUSE:Factory checked in at 2020-03-30 23:02:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/MyGUI (Old) and /work/SRC/openSUSE:Factory/.MyGUI.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "MyGUI" Mon Mar 30 23:02:33 2020 rev:4 rq:789520 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/MyGUI/MyGUI.changes 2019-01-26 22:22:29.826851718 +0100 +++ /work/SRC/openSUSE:Factory/.MyGUI.new.3160/MyGUI.changes 2020-03-30 23:02:36.996149624 +0200 @@ -1,0 +2,58 @@ +Fri Mar 27 11:55:54 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Run spec-cleaner +- Update to 3.4: + * Added LanguageManager::getLanguages + * Fix lost key focus event not being triggered sometimes + * Fix inconsistency: _riseMouseButtonMove was using Layer + coordinates (most of the time). + _riseMouseButtonReleased/Pressed were using absolute coordinates. + * Other InputManager events fixes. + * Cleaner and much faster logic for adding and removing + render items (it was the performance bottleneck when + working with many items on screen). + * ScrollBar: Fixed wrong tracking area bug. + * Button: make Button with key focus (can be set only + manually through code) have highlighted state. + * ItemBox: add possibility to not update ItemBox content + when working with items (huge speed boost, when + adding/removing many in single frame) + * EditText: add support for alpha in text and text + shadow colours (multiplied with widget's alpha). + * ItemBox: add options to hide ItemBox scroll bars + (same as for ScrollView and EditBox). + * MultiListBox: slightly advanced and more flexible + custom compare function. + * EditBox: add Ctrl+Left/Right hotkey support (moves + cursor to next word). + * MultiListBox: add eventNotifyItem. + * OpenGL3Platform: Added new rendering platform. + * OpenGLESPlatform: Added new rendering platform. + * Emscripten support (works for Ogre and all OpenGL + platforms). + * OgrePlatform: Many minor build-related fixes and imrovements, + including newer Ogre support and better CMake scripts. + * OpenGL3: Fixed application window resizing + in editors and demos. + * All platforms: Fix possible stack overflow in + ***DataManager::getDataPath. + * All platforms: better VertexBuffer reallocation strategy + for all platforms (in ::lock call, not in ::setVertexCount). + * All platforms: Various minor fixes and code cleanup. + * ResourceManualFont: Added setTexture. + * ResourceTrueTypeFont: Optimize TrueTupeFont render speed + (half getGlyphInfo search time). + * ResourceTrueTypeFont: Remove no longer needed freetype + bytecode bug fix. + * LayoutEditor: Fixed "[DEFAULT]" value not being handles properly + (was colored white in ComboBox, was saved in layout). + * LayoutEditor: Other minor fixes and improvements. + * Added SDL2 support. + * Switched to C++11: various related code improvements and cleanups. +- Rebase patches: + * MyGUI-lib_suffix.patch + * MyGUI-gcc47-visibility.patch + * MyGUI-libCommon-fixup.patch +- Drop obsolete patch: MyGUI-freetype2-include.patch + +------------------------------------------------------------------- Old: ---- MyGUI-freetype2-include.patch MyGUI3.2.2.tar.gz New: ---- MyGUI3.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ MyGUI.spec ++++++ --- /var/tmp/diff_new_pack.pTJcPl/_old 2020-03-30 23:02:39.280150925 +0200 +++ /var/tmp/diff_new_pack.pTJcPl/_new 2020-03-30 23:02:39.296150934 +0200 @@ -1,7 +1,7 @@ # # spec file for package MyGUI # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,26 +18,22 @@ %define capname MYGUI -%define _major 3.2 -%define _minor 2 -%define _sover 3 +%define _sover 3_4_0 Name: MyGUI -Version: %{_major}.%{_minor} +Version: 3.4.0 Release: 0 Summary: A GUI library for Ogre Rendering Engine License: MIT Group: Development/Tools/GUI Builders -Url: http://mygui.info/ +URL: http://mygui.info/ Source: https://github.com/MyGUI/mygui/archive/MyGUI%{version}.tar.gz Source1: %{name}.png # PATCH-FIX-UPSTREAM MyGUI-lib_suffix.patch Patch0: %{name}-lib_suffix.patch # PATCH-FIX-UPSTREAM MyGUI-gcc47-visibility.patch Patch1: %{name}-gcc47-visibility.patch -# PATCH-FIX-OPENSUSE MyGUI-freetype2-include.patch -Patch2: MyGUI-freetype2-include.patch # PATCH-FIX-UPSTREAM MyGUI-libCommon-fixup.patch -- https://github.com/MyGUI/mygui/issues/157 -Patch3: MyGUI-libCommon-fixup.patch +Patch2: MyGUI-libCommon-fixup.patch BuildRequires: cmake BuildRequires: dejavu BuildRequires: dos2unix @@ -48,14 +44,14 @@ BuildRequires: libOIS-devel BuildRequires: libOgreMain-devel BuildRequires: libX11-devel +# MyGUI wants to copy plugins.cfg installed by ogre-demos +BuildRequires: ogre-demos BuildRequires: pkgconfig BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(uuid) -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %description MyGUI is a library for creating Graphical User Interfaces (GUIs) for games and 3D applications. @@ -123,10 +119,7 @@ %prep %setup -q -n mygui-%{name}%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p0 +%autopatch -p1 dos2unix *.txt COPYING.MIT chmod 644 *.txt COPYING.MIT @@ -149,9 +142,11 @@ -DMYGUI_INSTALL_DOCS=TRUE \ -DMYGUI_INSTALL_MEDIA=TRUE \ -DMYGUI_INSTALL_SAMPLES_SOURCE=TRUE \ - -DMYGUI_FULL_RPATH=FALSE + -DMYGUI_FULL_RPATH=FALSE \ + -DCMAKE_SKIP_RPATH=TRUE \ + -DOGRE_CONFIG_DIR=%{_datadir}/OGRE -make %{?_smp_mflags} V=1 +%cmake_build pushd ../Docs doxygen -s -g Doxyfile 2> /dev/null @@ -178,7 +173,7 @@ mv %{buildroot}%{_bindir}/resources.xml %{buildroot}%{_datadir}/%{capname} # adjust OGRE path -sed -i -e 's|PluginFolder=/usr/local/lib/OGRE|%{_libdir}/OGRE|g' %{buildroot}%{_datadir}/%{capname}/plugins.cfg +sed -i -e 's|PluginFolder=%{_prefix}/local/lib/OGRE|%{_libdir}/OGRE|g' %{buildroot}%{_datadir}/%{capname}/plugins.cfg # wrapper-script for binaries cat > %{name}.sh <<EOF @@ -257,8 +252,10 @@ %post -n libMyGUIEngine%{_sover} -p /sbin/ldconfig %postun -n libMyGUIEngine%{_sover} -p /sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files -%defattr(-,root,root) %doc *.txt %license COPYING.MIT %{_bindir}/%{name}.sh @@ -296,7 +293,6 @@ %{_datadir}/pixmaps/*.png %files devel -%defattr(-,root,root) %dir %{_includedir}/%{capname} %{_includedir}/%{capname}/*.h %{_libdir}/*.so @@ -305,15 +301,12 @@ %{_datadir}/%{capname}/Media/Tools/LayoutEditor/CodeTemplates/BaseLayoutTemplate.h %files devel-doc -%defattr(-,root,root) %doc Docs/html/* %files -n libMyGUIEngine%{_sover} -%defattr(-,root,root) %{_libdir}/libMyGUIEngine.so.* %files demo -%defattr(-,root,root) %{_bindir}/%{name}-Demo_* %{_datadir}/%{capname}/Media/Demos/ ++++++ MyGUI-gcc47-visibility.patch ++++++ --- /var/tmp/diff_new_pack.pTJcPl/_old 2020-03-30 23:02:39.400150994 +0200 +++ /var/tmp/diff_new_pack.pTJcPl/_new 2020-03-30 23:02:39.400150994 +0200 @@ -1,7 +1,8 @@ -diff -Naur MyGUI_3.2.2.orig/MyGUIEngine/include/MyGUI_Singleton.h MyGUI_3.2.2/MyGUIEngine/include/MyGUI_Singleton.h ---- MyGUI_3.2.2.orig/MyGUIEngine/include/MyGUI_Singleton.h -+++ MyGUI_3.2.2/MyGUIEngine/include/MyGUI_Singleton.h -@@ -52,8 +52,14 @@ +diff --git a/MyGUIEngine/include/MyGUI_Singleton.h b/MyGUIEngine/include/MyGUI_Singleton.h +index 5067da9..e12287d 100644 +--- a/MyGUIEngine/include/MyGUI_Singleton.h ++++ b/MyGUIEngine/include/MyGUI_Singleton.h +@@ -58,8 +58,14 @@ namespace MyGUI } private: ++++++ MyGUI-libCommon-fixup.patch ++++++ --- /var/tmp/diff_new_pack.pTJcPl/_old 2020-03-30 23:02:39.444151018 +0200 +++ /var/tmp/diff_new_pack.pTJcPl/_new 2020-03-30 23:02:39.448151020 +0200 @@ -1,6 +1,8 @@ ---- Common/CMakeLists.txt.orig 2016-03-05 07:17:23.175753455 -0600 -+++ Common/CMakeLists.txt 2016-03-05 07:18:03.880751014 -0600 -@@ -89,6 +89,7 @@ +diff --git a/Common/CMakeLists.txt b/Common/CMakeLists.txt +index 785dded..a232443 100644 +--- a/Common/CMakeLists.txt ++++ b/Common/CMakeLists.txt +@@ -121,6 +121,7 @@ elseif(MYGUI_SAMPLES_INPUT EQUAL 4) endif() add_library(${PROJECTNAME} ${HEADER_FILES} ${SOURCE_FILES}) ++++++ MyGUI-lib_suffix.patch ++++++ --- /var/tmp/diff_new_pack.pTJcPl/_old 2020-03-30 23:02:39.496151048 +0200 +++ /var/tmp/diff_new_pack.pTJcPl/_new 2020-03-30 23:02:39.500151050 +0200 @@ -1,7 +1,8 @@ -diff -Naur MyGUI_3.2.2.orig/CMake/ConfigureBuild.cmake MyGUI_3.2.2/CMake/ConfigureBuild.cmake ---- MyGUI_3.2.2.orig/CMake/ConfigureBuild.cmake -+++ MyGUI_3.2.2/CMake/ConfigureBuild.cmake -@@ -47,7 +47,7 @@ +diff --git a/CMake/ConfigureBuild.cmake b/CMake/ConfigureBuild.cmake +index 9c6aad9..74fe84f 100644 +--- a/CMake/ConfigureBuild.cmake ++++ b/CMake/ConfigureBuild.cmake +@@ -47,7 +47,7 @@ if (UNIX) else () configure_file(${MYGUI_TEMPLATES_DIR}/MYGUI.pc.in ${MYGUI_BINARY_DIR}/pkgconfig/MYGUI${MYGUI_LIB_SUFFIX}.pc @ONLY) endif () @@ -10,10 +11,11 @@ # configure additional packages -diff -Naur MyGUI_3.2.2.orig/CMake/Utils/MyGUIConfigTargets.cmake MyGUI_3.2.2/CMake/Utils/MyGUIConfigTargets.cmake ---- MyGUI_3.2.2.orig/CMake/Utils/MyGUIConfigTargets.cmake -+++ MyGUI_3.2.2/CMake/Utils/MyGUIConfigTargets.cmake -@@ -61,8 +61,8 @@ +diff --git a/CMake/Utils/MyGUIConfigTargets.cmake b/CMake/Utils/MyGUIConfigTargets.cmake +index bba3f91..0f6d842 100644 +--- a/CMake/Utils/MyGUIConfigTargets.cmake ++++ b/CMake/Utils/MyGUIConfigTargets.cmake +@@ -34,8 +34,8 @@ endif () function(mygui_install_target TARGETNAME SUFFIX) install(TARGETS ${TARGETNAME} RUNTIME DESTINATION "bin${MYGUI_RELEASE_PATH}" CONFIGURATIONS Release None "" @@ -24,7 +26,7 @@ FRAMEWORK DESTINATION "${MYGUI_FRAMEWORK_PATH}" CONFIGURATIONS Release None "" ) install(TARGETS ${TARGETNAME} -@@ -88,8 +88,8 @@ +@@ -61,8 +61,8 @@ endfunction(mygui_install_target) # setup common target settings function(mygui_config_common TARGETNAME) set_target_properties(${TARGETNAME} PROPERTIES @@ -34,11 +36,12 @@ + LIBRARY_OUTPUT_DIRECTORY ${MYGUI_BINARY_DIR}/lib${LIB_SUFFIX} RUNTIME_OUTPUT_DIRECTORY ${MYGUI_BINARY_DIR}/bin ) - mygui_create_vcproj_userfile(${TARGETNAME}) -diff -Naur MyGUI_3.2.2.orig/CMakeLists.txt MyGUI_3.2.2/CMakeLists.txt ---- MyGUI_3.2.2.orig/CMakeLists.txt -+++ MyGUI_3.2.2/CMakeLists.txt -@@ -85,8 +85,8 @@ + endfunction(mygui_config_common) +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 35658d9..f94482f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -81,8 +81,8 @@ endif () set(MYGUI_LIBRARIES MyGUIEngine) # Specify build paths ++++++ MyGUI3.2.2.tar.gz -> MyGUI3.4.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/MyGUI/MyGUI3.2.2.tar.gz /work/SRC/openSUSE:Factory/.MyGUI.new.3160/MyGUI3.4.0.tar.gz differ: char 13, line 1
