Package Details: wxlua-svn 252-3

Git Clone URL: https://aur.archlinux.org/wxlua-svn.git (read-only, click to copy)
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: alerque
Votes: 16
Popularity: 0.000000
First Submitted: 2015-08-09 15:50 (UTC)
Last Updated: 2020-02-11 12:38 (UTC)

Latest Comments

hollunder commented on 2018-03-07 06:28 (UTC)

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/

alerque commented on 2018-03-02 08:25 (UTC)

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 (UTC) (edited on 2018-02-09 13:53 (UTC) by hollunder)

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 (UTC) (edited on 2018-02-09 13:19 (UTC) by loathingkernel)

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 (UTC)

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.

alerque commented on 2018-02-09 12:25 (UTC)

@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 (UTC)

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 (UTC) (edited on 2017-11-21 20:53 (UTC) by Popolon)

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 (UTC)

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 (UTC) (edited on 2017-11-21 13:08 (UTC) by loathingkernel)

@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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2017-09-22 09:03 (UTC) by Popolon)

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 (UTC) (edited on 2017-09-20 18:04 (UTC) by Popolon)

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 (UTC)

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 (UTC) (edited on 2018-02-09 13:07 (UTC) by loathingkernel)

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.

eduardomezencio commented on 2017-06-30 05:55 (UTC) (edited on 2017-07-01 05:50 (UTC) by eduardomezencio)

It looks like webkitgtk2 does not exists anymore, so this package is broken. (edit: now it's in the AUR)

hollunder commented on 2016-10-12 06:13 (UTC)

Thanks a lot migerh, that did the trick.

migerh commented on 2016-10-11 19:17 (UTC)

I fixed the issues mentioned in the forum post. Let me know if it works now. Yeah, this stuff can be pretty time consuming sometimes. I'm aware that I don't know everything there is to know about AUR packaging... If anyone encounters any issues let me know and I'll take a look at it as soon as I can.

hollunder commented on 2016-10-11 17:56 (UTC)

Hi again, I contacted the aurutils developer about this issue and he suggested that it is a problem with the package. https://bbs.archlinux.org/viewtopic.php?pid=1660286#p1660286 It would be great if you could find the time to review the package with regards to the current packaging guidelines. I can't tell you what should be changed exactly since AUR changed so much since I maintained packages, the upload procedure alone changed at least twice in the meantime. Keeping up with this stuff was one of the reasons I quit maintaining.

migerh commented on 2016-09-27 18:33 (UTC)

No problem, I'm glad it's resolved.

hollunder commented on 2016-09-27 18:07 (UTC)

Thanks and sorry for the fuss. It seems to be a bug in aurutils. Weird, it even lists the file, but then it is missing from the actual build directory, only src/ and pkg/ is there.

migerh commented on 2016-09-27 17:58 (UTC) (edited on 2016-09-27 18:07 (UTC) by migerh)

Did you only download the PKGBUILD? The patch file is definitely in the repository: https://aur.archlinux.org/cgit/aur.git/tree/?h=wxlua-svn And I just checked, it is also part of the snapshot. edit: My quick test build succeeded.

hollunder commented on 2016-09-27 17:49 (UTC)

==> Starting pkgver()... ==> Starting build()... svn: E200009: '/build/wxlua-svn/wxlstate.patch' does not exist ==> ERROR: A failure occurred in build(). Aborting...

migerh commented on 2015-12-01 20:40 (UTC)

Thanks, it's fixed now!

whike commented on 2015-12-01 06:49 (UTC)

Missing dependency lua52