Package Details: wxlua-svn 252-3

Git Clone URL: https://aur.archlinux.org/wxlua-svn.git (read-only)
Package Base: wxlua-svn
Description: A set of bindings to the wxWidgets library for the Lua programming language - svn version
Upstream URL: http://wxlua.sourceforge.net
Keywords: lua svn wx wxlua wxwidgets
Licenses: custom:wxWindows
Conflicts: wxlua, wxstedit
Provides: wxlua, wxstedit
Submitter: k2s
Maintainer: caleb
Last Packager: caleb
Votes: 14
Popularity: 0.000074
First Submitted: 2015-08-09 15:50
Last Updated: 2018-03-02 08:35

Latest Comments

hollunder commented on 2018-03-07 06:28

I get this error now: svn: E170013: Unable to connect to a repository at URL 'http://svn.code.sf.net/p/wxlua/svn/trunk' svn: E175013: Access to '/p/wxlua/svn/trunk' forbidden

I did find the repo here: https://sourceforge.net/p/wxlua/svn/HEAD/tree/trunk/wxLua/

caleb commented on 2018-03-02 08:25

To whoever keeps flagging this out of date: could you please explain why you think this is out of date? Unless you know something I don't r252 is still the latest subversion release, and even if it wasn't this is a *-svn package which builds from the repository and updates it's own version string at the time you build it. If there is something else wrong please let me know and I'll take a look, but it is not out of date.

hollunder commented on 2018-02-09 12:55

I'm a bit of a doofus. Turns out I had webkitgtk installed and that compiled for 10+ hours. webkit2gtk is actually available as binary in extra. The package previously depended on webkitgtk2, which is yet another package in AUR. The whole thing was rather confusing.

Anyway, I removed all webkit versions and rebuilt wxlua-svn as well as zerobrane-studio. The later still seems to work as expected, I don't think it uses the webview at all.

This is the configure output of wxlua-svn:

-- * Using these wxWidgets components: stc;gl;html;aui;adv;core;net;base
-- Found wxWidgets: TRUE<br>
-- * 
-- * Found wxWidgets :
-- * - wxWidgets_VERSION           = 3.0.3 = 3.0.3
-- * - wxWidgets_COMPONENTS        = stc;gl;html;aui;adv;core;net;base
-- * - wxWidgets_INCLUDE_DIRS      = /usr/lib/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0
-- * - wxWidgets_LIBRARY_DIRS      = 
-- * - wxWidgets_LIBRARIES         = -pthread;;;-lwx_gtk2u_stc-3.0;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0
-- * - wxWidgets_CXX_FLAGS         = -pthread
-- * - wxWidgets_DEFINITIONS       = _FILE_OFFSET_BITS=64;WXGTK
-- * - wxWidgets_DEFINITIONS_DEBUG = 
-- * - wxWidgets_PORTNAME          = gtk2
-- * - wxWidgets_UNIVNAME          = 
-- * - wxWidgets_UNICODEFLAG       = u
-- * - wxWidgets_DEBUGFLAG         = 
-- * 
-- * WARNING: Specified wxLuaBinding lib 'webview' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * WARNING: Specified wxLuaBinding lib 'xrc' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * WARNING: Specified wxLuaBinding lib 'richtext' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * WARNING: Specified wxLuaBinding lib 'propgrid' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * WARNING: Specified wxLuaBinding lib 'media' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * WARNING: Specified wxLuaBinding lib 'xml' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * wxLua using external/system Lua library :
-- *   - include dir : /usr/include/lua5.2
-- *   - library     : /usr/lib/liblua.so.5.2
-- * WARNING: cppcheck NOT found, NOT generating ADD_CPPCHECK_TEST() tests
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- * WARNING: Doxygen NOT found, wxLua_doxygen target will not be generated.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- * WARNING: Doxygen NOT found, wxStEdit_doxygen target will not be generated.
-- Configuring done
-- Generating done

EDIT: loathingkernel is right, it should just be removed.

loathingkernel commented on 2018-02-09 12:47

webkit2gtk is NOT a dependency of wxlua and you also don't need to compile webkit2gtk because it is in the official repositories. You are confusing it with webkitgtk2. wxlua DOES NOT link to webkit2gtk IN ANY WAY even if it is in your system. webkit2gtk should be removed completely from the depends array.

As I have stated in my previous comments here, you can compile wxlua with or without webkitgtk2 depending on what choose to configure in cmake. Either way, it cannot be in optdepends, you need it to compile wxlua if you choose to include it, otherwise you just do not. I think PKGBUILDs do not have a optmakedepends array but that would be an ideal choice for this.

A good way to test if it usable without it is to check the resulting binaries of wxlua with ldd, and see what libraries they link to.

hollunder commented on 2018-02-09 12:27

I'll test and let you know. Just as a side-note, I compiled it yesterday on my Laptop and it took roughly 10-12 hours (i3, -j1). It's a browser, pretty much the last thing you want to compile yourself.

caleb commented on 2018-02-09 12:25

@hollunder I would be glad to do that (and it sounds reasonable) but I'm hesitant to do it without testing. My systems do have webkit2gtk for other reasons so I don't have a good way to confirm that this is a usable package without that. Can you actually compile and use this package with that change and without webkit2gtk on your system? I you can say it actually isn't needed for the scenario you describe rather than just "I think" then I'll go ahead and make the change (to both this and the non-svn packages I guess).

hollunder commented on 2018-02-08 14:09

Could you please move webkit2gtk to optdepends? I still don't think it is needed (at least for zerobrane studio. It's a huge dependency and takes hours to compile on my machine.

Popolon commented on 2017-11-21 20:52

In the zero-brane author fork there is *at least* an update to lua5.3 instead of 5.2 that is a good thing for the future.
https://github.com/pkulchenko/wxlua/commit/d81ae23e3150216b1e8e316c88032d76cc9f9e28

He seems to have updated lot of wxwidgets binding too.

1 commit in may 2016, 5 in 2015 for former SVN, I believe than the switch to zero-brane fork is the best choice. Just hope it will not break other applications? At least it will compile and with probably all the features.

https://sourceforge.net/p/wxlua/svn/252/log/?path=/trunk/wxLua

A new package wxlua-git could be the best solution, I don't know enough about Archlinux rules at this point.

Popolon commented on 2017-11-21 20:27

Thanks for the information, the main wxLua seems to been left as is for few years. I disowned this package in case someone else find the best answer first.

Sure I agree with you, we should enable all the feature again. At least in a first time we have something that compile and run, at least for few applications and an updated version of Zerobrane.

Agree with webkit2gtk. I tried without the cmake args you given, and I've the following error.

/usr/bin/ld: cannot find -lwx_gtk2u_webview-3.0
collect2: error: ld returned 1 exit status
make[2]: *** [modules/wxstedit/CMakeFiles/wxStEditLib.dir/build.make:589: lib/Release/libwxstedit-wx30gtk2u-1.6.0.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: modules/wxstedit/CMakeFiles/wxStEditLib.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

I've the following wxgtk package :

wxgtk-common 3.0.3.1-9
wxgtk2 3.0.3.1-9
wxgtk2.8 2.8.12.1-6
wxgtk3 3.0.3.1-9

and
webkit2gtk 2.18.3-2
webkitgtk 2.4.11-6

webkigtk and webkitgtk2 are the same package (an older version of the lib, doesn't change anything to the dependencies problems. What's strange is than cmake found everything, the problem is at the link time, so I think the script should be updated.

After wxgtk packages, webview depend on webkit2gtk, so it's needed to compile it with webview :
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/wxgtk

=> optdepends=('webkit2gtk: for webview support')

In the webkit2gtk, the libs had not the same name at all :

usr/lib/libwebkit2gtk-4.0.so.37.24.6
usr/lib/libwebkit2gtk-4.0.so
usr/lib/libwebkit2gtk-4.0.so.37

The zerobrane author fork is probably the updated solution?

loathingkernel commented on 2017-11-21 13:01

@Popolon, the developer of zerobrane studio maintains his own fork of wxlua, since you have taken maintainership of this package, you might want to check that out.

Also, can you please verify what you are saying about webkit2gtk? Because in the build script you explicitly tell cmake NOT to include anything webkit related so it does NOT link to anything webkit related. You can check the produced binaries with ldd. You have just added an unneeded dependency to the package because cmake won't find webkit2gtk anyways.

As a last remark, people might use wxlua for things other than zerobrane, which means you can't just exclude stuff that are not needed by one package. As I said in my first comment, those things can be removed AS FAR AS zb studio is concerned. With those build options you also exclude other stuff.

All comments