Package Details: zerobrane-studio 2.01-2

Git Clone URL: https://aur.archlinux.org/zerobrane-studio.git (read-only, click to copy)
Package Base: zerobrane-studio
Description: A lightweight Lua-based IDE for Lua
Upstream URL: https://studio.zerobrane.com/
Keywords: ide lua zerobrane
Licenses: MIT
Submitter: losinggeneration
Maintainer: alerque
Last Packager: alerque
Votes: 43
Popularity: 0.000005
First Submitted: 2012-10-16 15:00 (UTC)
Last Updated: 2024-04-02 10:53 (UTC)

Dependencies (14)

Required by (0)

Sources (3)

Pinned Comments

alerque commented on 2020-02-27 16:20 (UTC)

PSA: I've started hosting this and all its dependencies as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

hollunder commented on 2018-10-12 16:35 (UTC)

I tried to get it to work with a few obvious edit and the patch no longer applies. Unfortunately even after getting it to the point where it should work I ran into some wxlua issue.

Wxlua-svn doesn't work anymore either.

Doesn't the Author of Zerobrane Studio have his own branch of wxlua or something? I think we should ask him for support on getting this to work properly.

Popolon commented on 2017-11-17 09:39 (UTC)

migerh: Ok, thanks, didn't read it well :).

migerh commented on 2017-11-17 04:48 (UTC)

@popolon: Since I orphaned the package months ago, there currently is no maintainer. Just adopt it and fix it.

Popolon commented on 2017-11-16 20:50 (UTC)

nice, hollunder, your patch work ! I was able to contact the maintainer of wxlua-svn, I adopted it patched it, just need to do the same for this package now. At least I have zerobrane working now with your patch. Thanks a lot !

hollunder commented on 2017-10-01 20:21 (UTC)

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

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 (UTC) (edited on 2017-10-01 19:47 (UTC) by hollunder)

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

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 (UTC) (edited on 2017-06-02 21:35 (UTC) by nheird)

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

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