Package Details: wxlua-svn 252-2

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: None
Last Packager: Popolon
Votes: 14
Popularity: 0.001804
First Submitted: 2015-08-09 15:50
Last Updated: 2017-11-16 20:30

Latest Comments

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.

Popolon commented on 2017-11-18 01:31

Just get the ownership of the package yesterday, and made it in current compilable shape. I replaced webkitgtk2 by webkit2gtk (in general archlinux packages, not AUR), so no more long compile time, but this is still a dependency of the source code/application, and patched as said below. Hope it will resolve all the problems. It seems that wxlua is no more maintained since at least one year, I hope it will work at long as possible as is. Else a fork will be needed.

hollunder commented on 2017-10-01 19:26

Since most build problems seem to stem from webkitgtk and building it takes ages I threw it out as suggested. Here's my spin on it.

https://gist.github.com/anonymous/5dcec5c8e5ada210ae943d1f0fb80ed4

hollunder commented on 2017-10-01 18:34

Does it really need that old webkit version?
It's a shame this is in such a sorry state since such a long time.
It doesn't build since many months.

Popolon commented on 2017-09-22 08:40

This should be upstreamed, but in the .desktop file, so in the sources pkg/wxlua-svn/usr/share/applications/wxlua.desktop, or after the installation here "/usr/share/applications/wxlua.desktop". "Exec=wxluaedit %F" must be replace by "Exec=wxLuaEdit %F"
sed -i s/Exec=wxluaedit/Exec=wxLuaEdit/ /usr/share/applications/wxlua.desktop

In the PKGBUILD, this should be added to have the icon working :
# icon file
install -Dm644 ../art/wxlualogo.xpm \
"$pkgdir/usr/share/icons/wxlualogo.xpm"
Dependence webkitgtk2 should be replaced by webkit2git, just works fine.

Popolon commented on 2017-09-20 18:03

With the current dependencies, I've on my system:
* webkit2gtk 2.16.6-1
* webkitgtk 2.4.11-6
* webkitgtk2 2.4.11-6
But this still doesn't compile. webkitgtk2 isn't needed anymore, but with or without it, the two lines added by the previous people need to be added in cmake parameters of the PKGBUILD to have the compilation working :
-DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
Add it juste before:
-DBUILD_SHARED_LIBS=TRUE

4le34n commented on 2017-08-02 03:47

Not going.
Adding lines from the comment below solves the problem:

-DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \

loathingkernel commented on 2017-07-07 22:01

As far as zerobrane-studio is concerned, the dependency on webkitgtk2 can be removed by adding
`
-DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
-DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" \
`
in cmake invocation. This was taken from the zerobrane-studio linux_build.sh.

All comments