forked from pool/wxlua
Accepting request 522794 from devel:languages:lua
1 OBS-URL: https://build.opensuse.org/request/show/522794 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wxlua?expand=0&rev=3
This commit is contained in:
26
wx-webview.patch
Normal file
26
wx-webview.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2017-09-07 23:28:26.066615635 +0200
|
||||
|
||||
Unlike FindwxWidgets.cmake suggests, there is no autodetection of wx components
|
||||
- at least not for Linux - just this manual list.
|
||||
|
||||
Remove webview because it is no longer available in wxWidgets (itself because
|
||||
webkit is exiting openSUSE:Factory).
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: wxlua-2.8.12.3.r252/CMakeLists.txt
|
||||
===================================================================
|
||||
--- wxlua-2.8.12.3.r252.orig/CMakeLists.txt
|
||||
+++ wxlua-2.8.12.3.r252/CMakeLists.txt
|
||||
@@ -46,7 +46,7 @@ set( wxLua_SUBRELEASE_NUMBER "3")
|
||||
# Specify what wxWidgets libs we need to link to. Note: 'core' must be before 'base'.
|
||||
# If this CMakeLists.txt was called from another, FIND_WXWIDGETS() may have already been called.
|
||||
if (NOT DEFINED wxWidgets_COMPONENTS)
|
||||
- set(wxWidgets_COMPONENTS webview gl xrc xml net media propgrid richtext aui stc html adv core base) # complete set for static lib/dll
|
||||
+ set(wxWidgets_COMPONENTS gl xrc xml net media propgrid richtext aui stc html adv core base) # complete set for static lib/dll
|
||||
#set(wxWidgets_COMPONENTS webview gl xrc xml net media propgrid richtext aui stc html adv core base) # for multilib/dll
|
||||
#set(wxWidgets_COMPONENTS stc mono) # for monolithic
|
||||
endif()
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 21:21:49 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Add wx-webview.patch which disables building the Lua wrapper for
|
||||
of wxWebView, since that class is going away in the C++ part.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 08:47:18 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@@ -26,6 +26,7 @@ Url: http://wxlua.sourceforge.net/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM https://sourceforge.net/p/wxlua/bugs/36/
|
||||
Patch0: wxlstate.patch
|
||||
Patch1: wx-webview.patch
|
||||
BuildRequires: cmake >= 2.8.3
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: doxygen
|
||||
@@ -69,6 +70,7 @@ interpreter with the wxWidgets API.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
sed -r -i 's|LIBRARY DESTINATION .*$|LIBRARY DESTINATION %{_lib}|' CMakeLists.txt
|
||||
|
||||
%build
|
||||
|
Reference in New Issue
Block a user