Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wxlua for openSUSE:Factory checked in at 2021-04-22 18:03:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wxlua (Old) and /work/SRC/openSUSE:Factory/.wxlua.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wxlua" Thu Apr 22 18:03:56 2021 rev:6 rq:887382 version:3.1.0.0+27 Changes: -------- --- /work/SRC/openSUSE:Factory/wxlua/wxlua.changes 2020-07-01 14:26:35.506748367 +0200 +++ /work/SRC/openSUSE:Factory/.wxlua.new.12324/wxlua.changes 2021-04-22 18:04:44.982578679 +0200 @@ -1,0 +2,27 @@ +Wed Apr 21 13:11:01 UTC 2021 - [email protected] + +- Update to version 3.1.0.0+27: + * Compilation fixed for Lua 5.4 + * wxSearchCtrl bindings updated to add `SetValue`. + * wxSearchCtrl bindings updated to add `GetValue`. + * wxSearchCtrl binding added. + * Fixed compilation issue with GenericGetHeader + * Fixed compilation with wxwidgets prior to 3.1.5 + * Updated examples to use GetBitnessName instead of GetArchName + * Added wxBitness instead of deprecated wxArchitecture + * Add target dependencies to bindings Makefile + * Updated example to use proper/current SetColour method name + * Updated wxLUA_USE_wxTranslations scope to allow encodings to + be used independently + * Updated wxLUA_USE* setting handling to allow overwrites + from command line + * Add wxLUA_USE_wxTranslations option to control + wxTranslations compilation + * Reorganized wxTranslations version checks in prep for + adding wxLUA_USE check +- Removed wxMemoryBuffer.patch: merged +- Disable translations which cause build failure +- Follow shared library packaging policy +- Use Lua 5.4 + +------------------------------------------------------------------- Old: ---- v3.0.0.8.tar.gz wxMemoryBuffer.patch New: ---- _service _servicedata wxlua-3.1.0.0+27.obscpio wxlua.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wxlua.spec ++++++ --- /var/tmp/diff_new_pack.TPa6m2/_old 2021-04-22 18:04:45.902580083 +0200 +++ /var/tmp/diff_new_pack.TPa6m2/_new 2021-04-22 18:04:45.906580088 +0200 @@ -1,7 +1,7 @@ # # spec file for package wxlua # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,16 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -%define lua_version 5.1 - +%define binds webview;gl;xrc;xml;net;media;propgrid;richtext;aui;stc;html;adv;core;base +%define sover 3_1_0_0 Name: wxlua -Version: 3.0.0.8 +Version: 3.1.0.0+27 Release: 0 -Summary: Lua IDE with a GUI debugger and binding generator -License: SUSE-wxWidgets-3.1 +Summary: Lua bindings for wxWidgets +License: GPL-2.0-or-later WITH WxWindows-exception-3.1 Group: Development/Languages/Other URL: https://github.com/pkulchenko/wxlua -Source: https://github.com/pkulchenko/wxlua/archive/v%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/pkulchenko/wxlua/pull/64 -Patch0: wxMemoryBuffer.patch +Source: %{name}-%{version}.tar.xz BuildRequires: ccache BuildRequires: cmake >= 2.8 BuildRequires: cppcheck @@ -35,21 +32,24 @@ BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -BuildRequires: lua51-devel +BuildRequires: lua54-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: readline-devel -BuildRequires: wxGTK2-devel +BuildRequires: wxGTK3-devel >= 3.1.3 BuildRequires: pkgconfig(glu) %description -This package contains Integrated Development Environments (IDE, written in -wxLua) with a GUI debugger, a binding generator and wxWidgets bindings usable -as a module. +Lua bindings for wxWidgets cross-patform GUI toolkit; +supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and wxWidgets 3.x %package -n lib%{name} Summary: Set of Lua bindings to the C++ wxWidgets cross-platform GUI library Group: System/Libraries +Requires: libwxlua-wx31-%{sover} = %{version} +Requires: libwxlua_bind-wx31-%{sover} = %{version} +Requires: libwxlua_debug-wx31-%{sover} = %{version} +Requires: libwxlua_debugger-wx31-%{sover} = %{version} %description -n lib%{name} wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for @@ -58,6 +58,51 @@ toolbars, controls, image loading and saving, drawing, sockets, streams, printing, clipboard access... and much more. +%package -n libwxlua-wx31-%{sover} +Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library +Group: System/Libraries + +%description -n libwxlua-wx31-%{sover} +wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for +the Lua programming language. Nearly all of the functionality of wxWidgets is +exposed to Lua, meaning that your programs can have windows, dialogs, menus, +toolbars, controls, image loading and saving, drawing, sockets, streams, +printing, clipboard access... and much more. + +%package -n libwxlua_bind-wx31-%{sover} +Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library +Group: System/Libraries + +%description -n libwxlua_bind-wx31-%{sover} +wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for +the Lua programming language. Nearly all of the functionality of wxWidgets is +exposed to Lua, meaning that your programs can have windows, dialogs, menus, +toolbars, controls, image loading and saving, drawing, sockets, streams, +printing, clipboard access... and much more. + +%package -n libwxlua_debug-wx31-%{sover} +Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library +Group: System/Libraries + +%description -n libwxlua_debug-wx31-%{sover} +wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for +the Lua programming language. Nearly all of the functionality of wxWidgets is +exposed to Lua, meaning that your programs can have windows, dialogs, menus, +toolbars, controls, image loading and saving, drawing, sockets, streams, +printing, clipboard access... and much more. + +%package -n libwxlua_debugger-wx31-%{sover} +Summary: Lua bindings to the C++ wxWidgets cross-platform GUI library +Group: System/Libraries + +%description -n libwxlua_debugger-wx31-%{sover} +wxLua is a set of bindings to the C++ wxWidgets cross-platform GUI library for +the Lua programming language. Nearly all of the functionality of wxWidgets is +exposed to Lua, meaning that your programs can have windows, dialogs, menus, +toolbars, controls, image loading and saving, drawing, sockets, streams, +printing, clipboard access... and much more. + + %package devel Summary: Development files of lib%{name} Group: Development/Languages/C and C++ @@ -69,7 +114,6 @@ %prep %setup -q -%patch0 -p1 cd wxLua sed -r -i 's|LIBRARY DESTINATION .*$|LIBRARY DESTINATION %{_lib}|' CMakeLists.txt @@ -77,15 +121,16 @@ %build cd wxLua/build cmake .. \ + -DCMAKE_CXX_FLAGS="-DwxLUA_USE_wxTranslations=0" \ -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-config \ -DwxLua_LUA_LIBRARY_BUILD_SHARED=TRUE \ -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \ -DwxLua_LUA_LIBRARY_VERSION=%{lua_version} \ -DwxLua_LUA_INCLUDE_DIR=%{lua_incdir} \ - -DwxLua_LUA_LIBRARY=%{_libdir}/liblua.so.%{lua_version} \ + -DwxLua_LUA_LIBRARY=%{_libdir}/liblua%{lua_version}.so.5 \ -DBUILD_SHARED_LIBS=TRUE \ - -DwxWidgets_COMPONENTS="gl;xrc;xml;net;media;propgrid;richtext;aui;stc;html;adv;core;base" \ - -DwxLuaBind_COMPONENTS="gl;xrc;xml;net;media;propgrid;richtext;aui;stc;html;adv;core;base" \ + -DwxWidgets_COMPONENTS="%{binds}" \ + -DwxLuaBind_COMPONENTS="%{binds}" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=%{_prefix} @@ -116,8 +161,16 @@ mkdir -p %{buildroot}%{_libdir}/lua/%{lua_version}/ mv %{buildroot}%{_libdir}/libwx.so %{buildroot}%{_libdir}/lua/%{lua_version}/wx.so -%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig +sed 's-#!/usr/bin/env lua-#!/usr/bin/lua%{lua_version}-g' -i %{buildroot}%{_datadir}/wxlua/apps/wxluafreeze/* + +%post -n libwxlua-wx31-%{sover} -p /sbin/ldconfig +%postun -n libwxlua-wx31-%{sover} -p /sbin/ldconfig +%post -n libwxlua_bind-wx31-%{sover} -p /sbin/ldconfig +%postun -n libwxlua_bind-wx31-%{sover} -p /sbin/ldconfig +%post -n libwxlua_debug-wx31-%{sover} -p /sbin/ldconfig +%postun -n libwxlua_debug-wx31-%{sover} -p /sbin/ldconfig +%post -n libwxlua_debugger-wx31-%{sover} -p /sbin/ldconfig +%postun -n libwxlua_debugger-wx31-%{sover} -p /sbin/ldconfig %files %{_bindir}/wxLua @@ -129,7 +182,18 @@ %files -n lib%{name} %{_libdir}/lua/%{lua_version}/wx.so -%{_libdir}/libwxlua*.so + +%files -n libwxlua-wx31-%{sover} +%{_libdir}/libwxlua-wx31*.so + +%files -n libwxlua_bind-wx31-%{sover} +%{_libdir}/libwxlua_bind-wx31*.so + +%files -n libwxlua_debug-wx31-%{sover} +%{_libdir}/libwxlua_debug-wx31*.so + +%files -n libwxlua_debugger-wx31-%{sover} +%{_libdir}/libwxlua_debugger-wx31*.so %files devel %{_includedir}/wxlua/ ++++++ _service ++++++ <services> <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/pkulchenko/wxlua.git</param> <param name="revision">a30b837fac5a812a51c57b6088551aea75482a67</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> </service> <service name="tar" mode="buildtime"/> <service name="recompress" mode="buildtime"> <param name="compression">xz</param> <param name="file">*.tar</param> </service> <service name="set_version" mode="manual"/> </services>++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/pkulchenko/wxlua.git</param> <param name="changesrevision">a30b837fac5a812a51c57b6088551aea75482a67</param></service></servicedata>++++++ wxlua.obsinfo ++++++ name: wxlua version: 3.1.0.0+27 mtime: 1618795125 commit: a30b837fac5a812a51c57b6088551aea75482a67
