Hello community, here is the log from the commit of package wxlua for openSUSE:Factory checked in at 2018-02-15 13:24:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wxlua (Old) and /work/SRC/openSUSE:Factory/.wxlua.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "wxlua" Thu Feb 15 13:24:57 2018 rev:4 rq:572066 version:3.1.0.git.7d9d59 Changes: -------- --- /work/SRC/openSUSE:Factory/wxlua/wxlua.changes 2017-09-11 16:23:27.815034010 +0200 +++ /work/SRC/openSUSE:Factory/.wxlua.new/wxlua.changes 2018-02-15 13:25:00.401064854 +0100 @@ -1,0 +2,7 @@ +Tue Dec 12 06:18:57 UTC 2017 - mailaender@opensuse.org + +- Update to the 3.1 series fork +- Drop wxlstate.patch +- Add desktop.patch + +------------------------------------------------------------------- Old: ---- _disabled_service wxlstate.patch wxlua-2.8.12.3.r252.tar.bz2 New: ---- WX_3_1_0-7d9d59.tar.gz desktop.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wxlua.spec ++++++ --- /var/tmp/diff_new_pack.3BbFwl/_old 2018-02-15 13:25:01.701017632 +0100 +++ /var/tmp/diff_new_pack.3BbFwl/_new 2018-02-15 13:25:01.701017632 +0100 @@ -16,16 +16,19 @@ # +%define lua_version 5.1 + Name: wxlua -Version: 2.8.12.3.r252 +Version: 3.1.0.git.7d9d59 Release: 0 Summary: Lua IDE with a GUI debugger and binding generator License: SUSE-wxWidgets-3.1 Group: Development/Languages/Other -Url: http://wxlua.sourceforge.net/ -Source: %{name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM https://sourceforge.net/p/wxlua/bugs/36/ -Patch0: wxlstate.patch +Url: https://github.com/pkulchenko/wxlua +Source: https://github.com/pkulchenko/wxlua/archive/WX_3_1_0-7d9d59.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/pkulchenko/wxlua/pull/8 +Patch0: desktop.patch +# PATCH-FIX-OPENSUSE Remoevd because webkit is exiting openSUSE:Factory Patch1: wx-webview.patch BuildRequires: cmake >= 2.8.3 BuildRequires: desktop-file-utils @@ -68,24 +71,27 @@ interpreter with the wxWidgets API. %prep -%setup -q -%patch0 +%setup -q -n wxlua-WX_3_1_0-7d9d59 +%patch0 -p1 %patch1 -p1 +cd wxLua sed -r -i 's|LIBRARY DESTINATION .*$|LIBRARY DESTINATION %{_lib}|' CMakeLists.txt %build +cd wxLua %cmake \ -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-config \ -DwxLua_LUA_LIBRARY_BUILD_SHARED=TRUE \ -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \ - -DwxLua_LUA_LIBRARY_VERSION=5.1 \ + -DwxLua_LUA_LIBRARY_VERSION=%lua_version \ -DwxLua_LUA_INCLUDE_DIR=%{lua_incdir} \ - -DwxLua_LUA_LIBRARY=%{_libdir}/liblua.so.5.1 \ + -DwxLua_LUA_LIBRARY=%{_libdir}/liblua.so.%lua_version \ -DBUILD_SHARED_LIBS=TRUE \ -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags} %install +cd wxLua %cmake_install mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ @@ -96,15 +102,9 @@ install -p art/wxlualogo.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/ mkdir -p %{buildroot}%{_datadir}/applications/ -install -p distrib/autopackage/%{name}.desktop %{buildroot}%{_datadir}/applications/ -sed -r -i "s|wxluaedit|wxLuaEdit|" %{buildroot}%{_datadir}/applications/%{name}.desktop -sed -r -i "s|wxlualogo.xpm|wxlualogo|" %{buildroot}%{_datadir}/applications/%{name}.desktop -desktop-file-install --dir %{buildroot}%{_datadir}/applications \ - --remove-category=Application \ - --add-category=IDE \ - %{buildroot}%{_datadir}/applications/%{name}.desktop +install -p distrib/autopackage/wxlua.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop -install -Dm644 distrib/autopackage/wxlua.xml %{buildroot}%{_datadir}/mime/packages/wxlua.xml +install -Dm644 distrib/autopackage/wxlua.xml %{buildroot}%{_datadir}/mime/packages/%{name}.xml # packaged in separate package wxstedit rm -rf %{buildroot}%{_datadir}/wxstedit @@ -112,8 +112,8 @@ rm -rf %{buildroot}%{_includedir}/wx/stedit/ rm -rf %{buildroot}%{_prefix}/lib/libwxstedit*.so -mkdir -p %{buildroot}%{_libdir}/lua/5.1/ -mv %{buildroot}%{_libdir}/libwx.so %{buildroot}%{_libdir}/lua/5.1/wx.so +mkdir -p %{buildroot}%{_libdir}/lua/%lua_version/ +mv %{buildroot}%{_libdir}/libwx.so %{buildroot}%{_libdir}/lua/%lua_version/wx.so %post %desktop_database_post @@ -129,17 +129,19 @@ %postun -n lib%{name} -p /sbin/ldconfig %files -%{_bindir}/* +%{_bindir}/wxLua +%{_bindir}/wxLuaCan +%{_bindir}/wxLuaFreeze %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/apps/* -%{_datadir}/mime/packages/wxlua.xml +%{_datadir}/mime/packages/%{name}.xml %files -n lib%{name} -%{_libdir}/lua/5.1/wx.so +%{_libdir}/lua/%lua_version/wx.so %{_libdir}/libwxlua*.so %files devel -%{_includedir}/%{name} +%{_includedir}/wxlua/ %{_datadir}/wxlua/ %changelog ++++++ desktop.patch ++++++
From 070d7003f92c877985c2df2cc956170e41a0999f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Tue, 12 Dec 2017 07:51:14 +0100 Subject: [PATCH 1/3] The binary is called wxLua instead of wxluaedit.
--- wxLua/distrib/autopackage/wxlua.desktop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wxLua/distrib/autopackage/wxlua.desktop b/wxLua/distrib/autopackage/wxlua.desktop index 9ef83c1..47bac57 100644 --- a/wxLua/distrib/autopackage/wxlua.desktop +++ b/wxLua/distrib/autopackage/wxlua.desktop @@ -1,11 +1,11 @@ [Desktop Entry] Name=wxLua Editor Comment=Editor for Lua script files -Exec=wxluaedit %F +Exec=wxLua %F Encoding=UTF-8 Terminal=false Type=Application MimeType=application/lua; Categories=Application;Development; Icon=wxlualogo.xpm -X-GNOME-DocPath= \ No newline at end of file +X-GNOME-DocPath=
From 179dacff6fedc8be28d0df6c9d0c38151054dc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Tue, 12 Dec 2017 07:52:28 +0100 Subject: [PATCH 2/3] Avoid the deprecated .xpm file format extension
as the art folder also contains a modern .svg --- wxLua/distrib/autopackage/wxlua.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxLua/distrib/autopackage/wxlua.desktop b/wxLua/distrib/autopackage/wxlua.desktop index 47bac57..1b269ac 100644 --- a/wxLua/distrib/autopackage/wxlua.desktop +++ b/wxLua/distrib/autopackage/wxlua.desktop @@ -7,5 +7,5 @@ Terminal=false Type=Application MimeType=application/lua; Categories=Application;Development; -Icon=wxlualogo.xpm +Icon=wxlualogo X-GNOME-DocPath=
From f276216494ab244630a186b79cdba33ed177df85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Tue, 12 Dec 2017 07:54:20 +0100 Subject: [PATCH 3/3] Update the .desktop categories
according to https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#main-...
---
wxLua/distrib/autopackage/wxlua.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wxLua/distrib/autopackage/wxlua.desktop b/wxLua/distrib/autopackage/wxlua.desktop
index 1b269ac..911f34c 100644
--- a/wxLua/distrib/autopackage/wxlua.desktop
+++ b/wxLua/distrib/autopackage/wxlua.desktop
@@ -6,6 +6,6 @@ Encoding=UTF-8
Terminal=false
Type=Application
MimeType=application/lua;
-Categories=Application;Development;
+Categories=Development;IDE;
Icon=wxlualogo
X-GNOME-DocPath=
++++++ wx-webview.patch ++++++
--- /var/tmp/diff_new_pack.3BbFwl/_old 2018-02-15 13:25:01.737016325 +0100
+++ /var/tmp/diff_new_pack.3BbFwl/_new 2018-02-15 13:25:01.741016179 +0100
@@ -1,26 +1,25 @@
-From: Jan Engelhardt