Package Details: zerobrane-studio 1.50-1

Git Clone URL: https://aur.archlinux.org/zerobrane-studio.git (read-only)
Package Base: zerobrane-studio
Description: A lightweight Lua-based IDE for Lua
Upstream URL: http://studio.zerobrane.com/
Keywords: ide lua zerobrane
Licenses: MIT
Conflicts: zerobrane-studio-git
Provides: zerobrane-studio
Submitter: losinggeneration
Maintainer: None
Last Packager: migerh
Votes: 41
Popularity: 0.067044
First Submitted: 2012-10-16 15:00
Last Updated: 2016-12-26 20:51

Dependencies (6)

Required by (0)

Sources (3)

Latest Comments

hollunder commented on 2017-10-01 20:21

This PKGBUILD has the patch and workaround applied, hence it should work: https://gist.github.com/anonymous/3c5c611105b7784b0be07cec914ade81

hollunder commented on 2017-10-01 20:11

Workaround that prevents checking for the wxmodule.

Add this line before the cmake command:
sed -e '/check_lua_module(wx TRUE)/ s/^#*/#/' -i CMakeLists.txt

I've reported the segfault here: https://bugs.archlinux.org/task/55830

hollunder commented on 2017-10-01 19:41

I get the same error about wx not being found.

lua5.2 -e 'require("wx")'
[1] 18095 segmentation fault (core dumped) lua5.2 -e 'require("wx")'

This is the reason the cmake-script trips up and says it can't find the module.
Seems to work from within the interactive lua5.2 environment though.

Popolon commented on 2017-09-20 18:31

nheird: tried with your patch, it still doesn't work:

CMake Error at CMakeLists.txt:35 (message):
Lua module "wx" is not found
Call Stack (most recent call first):
CMakeLists.txt:105 (check_lua_module)

I've
* lua52 5.2.4-2
and from aur:
* wxlua-svn 252-1

nheird commented on 2017-06-02 21:34

Still out of date, i suggest this patch (work for my use case)

https://ptpb.pw/hzDa

diff --git a/PKGBUILD b/PKGBUILD
index 08d23e0..0635119 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Gerhaeuser <michael.gerhaeuser@gmail.com>
# Contributor: Harley Laue <losinggeneration@gmail.com>
pkgname=zerobrane-studio
-pkgver=1.50
+pkgver=1.60
pkgrel=1
pkgdesc="A lightweight Lua-based IDE for Lua"
arch=(any)
@@ -14,22 +14,21 @@ conflicts=('zerobrane-studio-git')
optdepends=('love: to debug love programs')
_github_user="pkulchenko"
_github_project="ZeroBraneStudio"
-_github_rev="53fc3f0"
-source=("https://github.com/$_github_user/$_github_project/tarball/${_github_rev}"
+source=("https://github.com/$_github_user/$_github_project/archive/${pkgver}.zip"
"zbstudio.patch"
"user.lua")
-sha512sums=('d7720c4ef014da2bb661f109014fc4200a3d8cf94db10f03a563b3bcfcf01264dabbf7f6a0c2120a4dd86256e95f72673c0f86812f9feeb14d74f5e3403b3b01'
+sha512sums=('29b2dea2da1b9ba49c18b7c28733dc8b81a2fb48955897189f85dacce533cfbd769a76fd84a8524c558178472bc8d46d58321658940a4a56e8d90ad84ac13ff7'
'c36898ce75db091ed1c9f63d18c6604faf9cc1c33eee5ea6d2c4c6d313d1c429c1ef21e3d6e85671353354e5329559e5da5cd6b53c71350bca4d30a42f1233ad'
'2edc1ba142cc13e49a6b429e4b240eab2bfc252b55c90b95d288d72a1175c99e4aef5dffd1be867ff2b6ed73ca6ec0de41440e5fc31f88059cc59a16aa1e7955')

prepare() {
- cd "$srcdir/$_github_user-$_github_project-$_github_rev"
+ cd "$srcdir/$_github_project-$pkgver"

patch -p1 < "$srcdir/zbstudio.patch"
}

build() {
- cd "$srcdir/$_github_user-$_github_project-$_github_rev/build"
+ cd "$srcdir/$_github_project-$pkgver/build"

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLUA_EXECUTABLE=/usr/bin/lua5.2
@@ -38,7 +37,7 @@ build() {
}

package() {
- cd "$srcdir/$_github_user-$_github_project-$_github_rev/build"
+ cd "$srcdir/$_github_project-$pkgver/build"
make DESTDIR="$pkgdir/" install
install -d "$pkgdir/usr/share/licenses/$pkgname"
cp ../LICENSE "$pkgdir/usr/share/licenses/$pkgname"

INdek commented on 2017-04-03 23:22

I'm getting

module 'socket' not found

as soon as I run any program because its running with lua 5.3

Here's the full output:

Program starting as '"/usr/bin/lua" -e "io.stdout:setvbuf('no')" "/tmp/.KluqPM"'.
Program 'lua' started in '/home/afonso/git/test/lua' (pid: 12855).
/usr/bin/lua: /usr/share/zbstudio/lualibs/mobdebug/mobdebug.lua:102: module 'socket' not found:
no field package.preload['socket']
no file '/usr/share/lua/5.3/socket.lua'
no file '/usr/share/lua/5.3/socket/init.lua'
no file '/usr/lib/lua/5.3/socket.lua'
no file '/usr/lib/lua/5.3/socket/init.lua'
no file './socket.lua'
no file './socket/init.lua'
no file './socket.lua'
no file './socket/init.lua'
no file './lua/socket.lua'
no file './lua/socket/init.lua'
no file '/usr/share/zbstudio/lualibs/socket/socket.lua'
no file '/usr/share/zbstudio/lualibs/socket.lua'
no file '/usr/share/zbstudio/lualibs/socket/socket/init.lua'
no file '/usr/share/zbstudio/lualibs/socket/init.lua'
no file '/usr/lib/lua/5.3/socket.so'
no file '/usr/lib/lua/5.3/loadall.so'
no file './socket.so'
no file '/usr/share/zbstudio/bin/linux/x64/libsocket.so'
no file '/usr/share/zbstudio/bin/linux/x64/clibs/socket.so'
no file '/usr/share/zbstudio/bin/linux/x64/clibs/libsocket.so'
stack traceback:
[C]: in function 'require'
/usr/share/zbstudio/lualibs/mobdebug/mobdebug.lua:102: in main chunk
[C]: in function 'require'
/tmp/.KluqPM:1: in main chunk
[C]: in ?
Program completed in 0.02 seconds (pid: 12855).


This is easly solved by executing

sudo luarocks install luasocket

but it would be nice if I didn't have to

migerh commented on 2016-12-24 19:43

Thanks for flagging this out of date. Completely missed it because it wasn't tagged on GitHub. Will take care at the beginning of next week after the holidays.

hollunder commented on 2016-09-27 19:18

I just noticed this again. This warning has been there for a long time. I am not sure it is entirely harmless: https://bugzilla.redhat.com/show_bug.cgi?id=1200611
Apparently they got rid of it through a mass rebuild.
I just saw that wxgtk is currently flagged out of date (since a month...), so perhaps that rebuild will fix this mismatch.

migerh commented on 2016-09-12 19:43

@gokcen: Apparently this comes from wxgtk:

https://git.archlinux.org/svntogit/packages.git/tree/trunk/make-abicheck-non-fatal.patch?h=packages/wxgtk

Not much I can do from here. Seems to be harmless anyways: https://bbs.archlinux.org/viewtopic.php?id=196715

migerh commented on 2016-09-12 17:42

I just rebuilt wxlua-svn and now I get the same issue. I'll take a look at it.

All comments