Package Details: wxlua 2.8.12.3-2

Git Clone URL: https://aur.archlinux.org/wxlua.git (read-only)
Package Base: wxlua
Description: A set of bindings to the wxWidgets library for the Lua programming language.
Upstream URL: http://wxlua.sourceforge.net
Licenses: custom:wxWindows
Conflicts: wxstedit
Provides: wxstedit
Submitter: farvardin
Maintainer: Lastebil
Last Packager: Lastebil
Votes: 23
Popularity: 0.000004
First Submitted: 2009-02-12 21:21
Last Updated: 2015-06-19 20:25

Latest Comments

Lastebil commented on 2015-07-03 14:13

I'm in favor of renaming this to wxlua-2.8, applying the changes migerh made, and then renaming wxlua-svn to wxlua.

I see a packagebuild for wxlua-svn that migerh suggested, https://gist.github.com/migerh/4a930274924d75741339 , and I'll try to adapt that after this stupid summer flu is over and my brain works again.

caleb commented on 2015-07-02 16:39

I, too, have uses for this outside of zerobrane-studio (whatever that is) and need it to compile on stock Arch Linux -- which has Lua 5.3 (even the dependencies for this package call for that). If it only compiles on 5.2 that needs to be setup in the dependencies and the package needs to use that. Otherwise if there is a patch to make it work on 5.3 that should be added to the package here. Baring either of those options this package is non-functional as far as I can see.

Lastebil commented on 2015-06-29 06:30

Well, zerobrane-sudio(git) certainly isn't the only use of this, and as I recall we'd talked about using wxlua-svn and zerobrane-studio-git together, so if you can get this to build for the earlier package I don't see why we wouldn't leave this as "old code, not suitable for zerobrane, suitable for your own work."

If you've got a working packagebuild I'll check it/merge it in.

migerh commented on 2015-06-28 07:04

I can build it against 5.2 (building against 5.3 is not possible without patching, the build script won't allow it). But I guess most users only use it for zerobrane-studio(-git) and the studio relies on API that is present only in wxlua-svn but not in wxlua-2.8.12.3:

src/editor/editor.lua:1102: wxLua: Unable to call an unknown method 'GetUpdated' on a 'wxStyledTextEvent' type.

Lastebil commented on 2015-06-19 21:27

I'm fairly sure this isn't going to build without using the svn version, based on the number of deprications reported, even when building against version 5.2 .

I'd suggest at this time using Hollander's svn package, and I'll talk to him about merging these two. (As the only real way I see to fix this is to fork the 2013 package and start making changes, which is essentially what the svn version is...)

Lastebil commented on 2015-06-19 20:28

From old aur, which didn't populate to here:
daurnimator suggested:
Not building. Might be trying to build against lua 5.3 headers instead of 5.1?

I then replied that I hadn't checked this yet, as I had not had time. I am now checking it (and posting to the new AUR + git system.)

If you happen to pop in _right now_ while I'm checking on it, it may b0rk badly. I'll flag it out of date here as well until that's fixed.

hollunder commented on 2015-01-03 09:13

A user of wxlua-svn suggested that the webkitgtk2 dependency is missing. I think he is right and I assume it is missing for this package as well.

Lastebil commented on 2014-12-28 00:48

We've come to an agreement concerning these 4 packages (wxlua, wxlua-svn, zerobrane-studio and zerobrane-studio-git) and maintaining, and I'll go ahead and adopt.

Lastebil commented on 2014-12-25 19:02

I mailed hollander to discuss the package status.

Lastebil commented on 2014-12-25 18:45

I did say I could take over this package, but as hollander has created another package (wxlua-svn) and the one thing that uses this package (zerobrane-studio-git) is currently maintained by hollander, I'm not sure it's a good idea to maintain 2 copies.

Ping me if you feel this is neccesary (at the moment, I'm rebuilding zerobrane-studio, non-git version, and it uses the svn package - so I'm not even currently set to update this myself. Again, I said I would, so if anyone else is needing it, I'm willing to do the work.)

speps commented on 2014-11-27 06:12

Disowning for lack of time

Lastebil commented on 2014-11-26 09:48

PyroDevil's PKGBUILD for 5.2 appears to be also missing a dependency on glu.
I did not need to add the line from exaos to Pyrodevil's PKGBUILD.

I am willing to accept ownership of this package if it is disowned. If not disowned, please update the PKGBUILD to PyroDevil's version.

exaos commented on 2014-11-16 08:45

The PKGBUILD needs update:
34d33
< -DLUA_COMPAT_MODULE=1 \

SpotlightKid commented on 2014-09-29 12:46

ZeroBrane Studio works fine with Lua 5.2 now and the PKGBUILD from PyroDevil for Lua 5.2 works perfectly for me. Please update the AUR record or disown the package.

PyroDevil commented on 2014-03-04 16:26

And here for completeness a PKGBUILD with lua 5.1 dependency:

https://gist.github.com/anonymous/9349748

PyroDevil commented on 2014-03-04 15:37

I created a working PKGBUILD.
It now uses lua 5.2.

https://gist.github.com/anonymous/9348708

cl0ne commented on 2014-03-03 11:09

Dependency 'lua51' has to be replaced with 'lua'

hollunder commented on 2014-01-24 16:52

wxlua fails to build for: https://gist.github.com/anonymous/8601243
I still have a working wxlua 2.8.12.2-2 installed, so maybe it was the latest change that broke the build.

hollunder commented on 2014-01-22 21:02

The changelog also suggests that it should build with lua 5.2: http://wxlua.sourceforge.net/docs/changelog.txt

hollunder commented on 2014-01-22 20:59

Hmm... some messages on the mailinglist suggest that it should work: http://article.gmane.org/gmane.comp.lib.wxwidgets.wxlua.user/3530
Maybe the devs are not aware of the compile issue we face on Arch.

speps commented on 2014-01-22 12:18

@hollunder wxlua seems to be still not ready for wxgtk 3.0.0 (build failures). It depends on lua51 while most of the libraries are not already ported to 5.2, zerobrane studio depends on lua51 too.

hollunder commented on 2014-01-21 21:42

Can you modify this to build against wxgtk 3? This would fix some issues in ZBS and enable some features. Why does it depend on the old lua51 instead of lua (5.2)?

speps commented on 2014-01-20 23:15

Updated to 2.8.12.3-1
Now wxlua builds against wxgtk2.8 - @CalinLeafshade, thanks for reporting

CalinLeafshade commented on 2014-01-20 18:54

Will no longer build with wxgtk3.

Anonymous comment on 2013-07-29 18:30

I confirm that building fails with other than -j1. Please update.
Btw: thanks for maintaining this :)

For the time being you can edit PKGBUILD:

./configure --prefix=/usr
make -j1

Anonymous comment on 2013-07-29 18:25

I confirm that building fails with other than -j1. Please update.

Btw: thanks for maintaining this :)

samueldr commented on 2013-03-26 19:59

losinggeneration's errors (cannot find -lwxlua_gtk2u_wxlua***) seems to originate from using makepkg with MAKEFLAGS="-j2" or more to parallelize the build.

I set the MAKEFLAGS to their defaults (commented out) when building and it works.

speps commented on 2013-03-11 22:11

Thanks all you guys for your support. Updated to release 2, sorry for the late.

losinggeneration commented on 2013-02-22 20:07

ackalker's PKGBUILD (and wxlua's configure in general) do not work for me. They error out with the following:
g++ -shared -fPIC -o ../lib/wx.so mod_luamodule_luamodule.o -L../lib -L/usr/lib -L/usr/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -lwxlua_gtk2u_wxbindxrc-2.8 -lwxlua_gtk2u_wxbindstc-2.8 -lwxlua_gtk2u_wxbindrichtext-2.8 -lwxlua_gtk2u_wxbindmedia-2.8 -lwxlua_gtk2u_wxbindhtml-2.8 -lwxlua_gtk2u_wxbindgl-2.8 -lwxlua_gtk2u_wxbindaui-2.8 -lwxlua_gtk2u_wxbindadv-2.8 -lwxlua_gtk2u_wxbindxml-2.8 -lwxlua_gtk2u_wxbindnet-2.8 -lwxlua_gtk2u_wxbindcore-2.8 -lwxlua_gtk2u_wxbindbase-2.8 -lwxlua_gtk2u_wxluasocket-2.8 -lwxlua_gtk2u_wxluadebug-2.8 -lwxlua_gtk2u_wxlua-2.8 -llua5.1 -pthread -Wl,-O1,--sort-common,--as-needed,-z,relro -lwx_gtk2u_stc-2.8 -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_xrc-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_gtk2u_media-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_gl-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindxrc-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindstc-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindrichtext-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindmedia-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindhtml-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindgl-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindaui-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindadv-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindxml-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindnet-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindcore-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxbindbase-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxluasocket-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxluadebug-2.8
/usr/bin/ld: cannot find -lwxlua_gtk2u_wxlua-2.8
collect2: error: ld returned 1 exit status

ackalker commented on 2013-02-22 18:38

Here's an even shorter, more cleaned up PKGBUILD
- Uses configure like the current PKGBUILD
- Depends on lua51
- Drops --enable-systemlua (not needed, defaults to 'auto' and finds system lua)
- Drops --with-lua-prefix=/usr/lib/lua/5.1/ (wrong usage, and not needed anyway)
- Drops include path patches (not needed after dropping --with-lua-prefix)

PKGBUILD: http://pastebin.com/fXdVRXa2

ackalker commented on 2013-02-22 18:38

Here's an even shorter, more cleaned up PKGBUILD
- Uses configure like the current PKGBUILD
- Depends on lua51
- Drops --with-systemlua (not needed, defaults to 'auto' and finds system lua)
- Drops --with-lua-prefix=/usr/lib/lua/5.1/ (wrong usage, and not needed anyway)
- Drops include path patches (not needed after dropping --with-lua-prefix)

PKGBUILD: http://pastebin.com/fXdVRXa2

losinggeneration commented on 2013-02-22 16:35

(Updated:2) Here's a fixed and working PKGBUILD using cmake: http://pastebin.com/4ZyeNpji
(I wish I could edit comments...)

losinggeneration commented on 2013-02-22 16:29

(Updated) Here's a fixed and working PKGBUILD using cmake: http://pastebin.com/4ZyeNpji

This still isn't quite right. It's not loadable from lua5.1

losinggeneration commented on 2013-02-22 16:08

(Updated) Here's a fixed and working PKGBUILD using cmake: http://pastebin.com/4ZyeNpji

losinggeneration commented on 2013-02-22 15:43

Here's a fixed and working PKGBUILD using cmake: http://pastebin.com/N5MVRESm

losinggeneration commented on 2013-02-22 15:21

Shouldn't this also depend on lua51 not lua?

grindcore commented on 2013-01-09 14:10

With cptG's workaround my build proceeds a bit further, but then I get this error:
http://pastebin.com/qgC8yTxR

I guess there are some symlinks missing, but I have no idea where.

Afwas commented on 2012-12-16 18:47

The comment by cptG fixed the build for me. Thanks

cptG commented on 2012-12-16 17:36

This fails to build if you have lua 5.2 installed.
To make the build work, I added the line:
ln -s /usr/lib/liblua5.1.so ./liblua.so
to PKGBUILD before the make line and changed the make line to:
make CXXFLAGS=-I/usr/include/lua5.1 LDFLAGS=-L"$srcdir/$pkgname-$pkgver"
So the build picks up lua 5.1's headers and .so
Not sure if there is a more elegant way

Afwas commented on 2012-12-16 06:24

I have errors building wxlua. Both from PKGBUILD and the hint three comments down.
http://sprunge.us/SeVK

losinggeneration commented on 2012-07-27 17:04

It looks like the makefile is not parallel job safe. MAKEFLAGS should thus either be unset or perhaps better (but harder to get right IMO) yet is to remove the -j? option from the variable.

Anonymous comment on 2012-02-02 19:24

(1/1) installing wxlua [######################] 100%
Thank you!

speps commented on 2012-01-23 17:01

@maximand Hi can you try this (and report eventual errors using a pastebin service)? I cannot reproduce here. Thanks
wget -qO- "https://aur.archlinux.org/packages/wx/wxlua/wxlua.tar.gz" | tar zxvf - \
&& cd wxlua && makepkg -s && sudo pacman -U wxlua-2.8.10.0-2-`uname -m`.pkg.tar.xz

Anonymous comment on 2012-01-22 14:48

I've got the same error as describe above:

/tmp/yaourt-tmp-mashiks/aur-wxlua/src/wxLua/bk-deps g++ -c -o wxbindcore_dll_wxcore_image.o -I.pch/wxprec_wxbindcore_dll -I../modules/wxbind/setup -I../modules -I./.. -I/usr/lib/lua/5.1//include -DWXMAKINGDLL_WXBINDCORE -fPIC -DPIC -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -O2 ./wxbind/src/wxcore_image.cpp
./wxbind/src/wxcore_image.cpp: In function ‘int wxLua_wxImageHistogram_iterator_op_inc(lua_State*)’:
./wxbind/src/wxcore_image.cpp:2296:54: error: taking address of temporary [-fpermissive]
make[1]: *** [wxbindcore_dll_wxcore_image.o] Error 1

speps commented on 2011-05-10 13:24

@Raedwulf How to reproduce this bug? WxLua do not segfault for me. Btw, did you tried the latest stable pixman 0.22.0? Thanks for signalling

Raedwulf commented on 2011-05-10 08:00

This package is affected by this bug: https://bugs.launchpad.net/ubuntu/+source/pixman/+bug/756237

Easy solution, downgrade pixman to 0.20.0.
Harder solution, rebuild after modifying configure.ac to not compile with __thread support.

speps commented on 2011-05-06 16:31

@asmanian I wrote a 2 cents patch in order to build against gcc 4.6, thanks for signalling - package owned and fixed, please test - cheers

Anonymous comment on 2011-05-06 14:11

I reported the problem upstream (as there seems to be something wrong with the sourcecode).

Anonymous comment on 2011-05-06 13:34

Does not work for me (neither with farvardins nor speps PKGBUILD). I should probably add I'm on x86_64.
$ g++ --version
g++ (GCC) 4.6.0 20110429 (prerelease)

[...]
./wxbind/src/wxcore_image.cpp: In function 'int wxLua_wxImageHistogram_iterator_op_inc(lua_State*)':
./wxbind/src/wxcore_image.cpp:2296:54: error: taking address of temporary [-fpermissive]
make[1]: *** [wxbindcore_dll_wxcore_image.o] Error 1
make[1]: Leaving directory `/home/henning/tmp/archlinux/wxlua/src/wxLua/modules'
make: *** [modules] Error 2
==> ERROR: A failure occurred in build().
Aborting...

speps commented on 2010-11-03 16:21

@farvardin

Hi, this package needs some fixes

Here is a working PKGBUILD --> http://aur.pastebin.com/A7pYdw3D (added right license file, let wxlua build against the system lua)
And the missing .install --> http://aur.pastebin.com/RpnAAHzc (mime and desktop database update)

C ya