oh, I don't have to take over maintenance of this one - ok, well, hmm. That's actually problematic, in that this one uses wxlua-svn.
migerh, can you instead change this to using wxlua, leaving the git version of this package using the 'unstable' svn? Hollander and I discussed this via email and sort of agreed that was the way to go.
If you don't, there actually is no use for the wxlua package. But as this package did NOT build 2 days ago using wxlua-svn, but it did build using wxlua (stable,) at least the version with the modified packagebuild that I have - well. You understand - we just want to have working packages (:
Search Criteria
Package Details: zerobrane-studio 2.01-2
Package Actions
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.000000 |
First Submitted: | 2012-10-16 15:00 (UTC) |
Last Updated: | 2024-04-02 10:53 (UTC) |
Dependencies (14)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- lua
- lua-copasAUR
- lua-filesystem
- lua-lpeg
- lua-sec (lua-sec-gitAUR)
- lua-socket (lua-socket-gitAUR)
- wxluaAUR (wxlua-gitAUR)
- cmake (cmake-gitAUR) (make)
- gsl-shell (optional) – te debug GNU Scientific Library shell programs
- love (love10AUR) (optional) – to debug löve programs
- lua-busted (optional) – to debug busted test specs
- lua51 (luajit-symlinksAUR) (optional) – to debug lua51 programs
- lua52 (optional) – to debug lua52 programs
Required by (0)
Sources (3)
Lastebil commented on 2014-12-28 00:52 (UTC)
hollunder commented on 2014-09-03 17:59 (UTC)
I updated the package and disabled two patches that no longer applied. I disowned the package, feel free to take over.
hollunder commented on 2014-06-19 21:12 (UTC)
Hey there.
With the help of the Author I managed to get zbstudio to build and run with lua5.2. So here's the updated packge of the brand-new 0.70 release :)
samueldr commented on 2013-04-14 18:11 (UTC)
Forget the updated, did not actually test it properly,
It seems that a fix for OSX behaviour and control key breaks the application. I would wait out for an update before using 0.361.
A has been authored though and is waiting pull request approval.
https://github.com/pkulchenko/ZeroBraneStudio/pull/128
samueldr commented on 2013-04-14 17:43 (UTC)
Here's a patch to update the PKGBUILD and the zbstudio.patch file.
The zbstudio.patch file would also need to be updated in the zerobrane-studio-git package. The zbstudio script has changed since it was last authored.
To patch, save as zb-0.361.patch and do
$ patch < zb-0.361.patch
diff -ud ./PKGBUILD ../zerobrane-studio-0.361/PKGBUILD
--- ./PKGBUILD 2013-02-22 15:02:55.000000000 -0500
+++ ../zerobrane-studio-0.361/PKGBUILD 2013-04-14 13:07:37.335694869 -0400
@@ -1,7 +1,7 @@
# Maintainer: Harley Laue <losinggeneration@gmail.com>
pkgname=zerobrane-studio
-pkgver=0.35
-pkgrel=2
+pkgver=0.361
+pkgrel=1
pkgdesc="A lightweight Lua-based IDE for Lua"
arch=(any)
url="http://studio.zerobrane.com/"
@@ -14,11 +14,12 @@
install=zerobrane-studio.install
_github_user="pkulchenko"
_github_project="ZeroBraneStudio"
-_github_rev="547c710"
+_github_rev="62d9bad"
source=("https://github.com/$_github_user/$_github_project/tarball/${pkgver}"
"zbstudio.patch")
-md5sums=('8ee751759ffdd21689391e53d69eda6b'
- '593fcb6e04215df27f337b6794967007')
+
+md5sums=('b5a129c090e0fd958a0d42bc6e25f31a'
+ '749a7b23ee061c8123ced5d80eef5cf3')
build() {
cd "$srcdir/$_github_user-$_github_project-$_github_rev"
diff -ud ./zbstudio.patch ../zerobrane-studio-0.361/zbstudio.patch
--- ./zbstudio.patch 2012-12-14 09:33:08.000000000 -0500
+++ ../zerobrane-studio-0.361/zbstudio.patch 2013-04-14 13:06:47.375889713 -0400
@@ -1,10 +1,9 @@
-diff --git a/zbstudio/zbstudio.in b/zbstudio/zbstudio.in
-index d708dd5..c37cf0a 100644
--- a/zbstudio/zbstudio.in
+++ b/zbstudio/zbstudio.in
-@@ -1,4 +1,4 @@
- #!/bin/sh
+@@ -1,4 +1,3 @@
+ #!/bin/bash
- cd "@IDE_DATADIR@"
--lua src/main.lua zbstudio "$@"
-+@LUA_EXECUTABLE@ src/main.lua zbstudio "$@"
+-if [[ "$(uname -m)" == "x86_64" ]]; then ARCH="x64"; else ARCH="x86"; fi
+-(cd "@IDE_DATADIR@"; bin/linux/$ARCH/lua src/main.lua zbstudio "$@") &
++(cd "@IDE_DATADIR@"; "@LUA_EXECUTABLE@" src/main.lua zbstudio "$@") &
+
losinggeneration commented on 2013-02-22 19:57 (UTC)
I think I'll just set the system-wide default (in cfg/user.lua) to lua5.1 and if the user /wants/ to use lua5.2, they'll have to do that on their own (at least for now until the luasockets mess is worked out.)
ackalker commented on 2013-02-22 19:39 (UTC)
Getting the debugger to work in mixed environment appears to different problem:
http://studio.zerobrane.com/doc-lua52-debugging.html
Maybe force /usr/bin/lua5.1 to be default (principle of least surprise) so users can set path.lua = "/usr/bin/lua" in cfg/user.lua to override it?
ackalker commented on 2013-02-22 18:54 (UTC)
Nope, using luasocket-git (which should state conflict with lua51-socket BTW) doesn't solve the problem.
Ah, I love the smell of package version transitions in the morning...
ackalker commented on 2013-02-22 18:40 (UTC)
Here's my PKGBUILD for wxlua: http://pastebin.com/fXdVRXa2
(I'm afraid it is a bit shorter and cleaner than yours :-) )
ackalker commented on 2013-02-22 18:20 (UTC)
Ha! losinggeneration :-)
Seems that we both discovered & worked on the same thing ;-) I have a fixed PKGBUILD for wxlua as well as an install of zerobrane-studio-git.
Now I discovered that ZBS's debugger isn't working anymore because of a version mixup:
Debugger server started at miki-desktop:8172.
Program starting as '"lua" -e "xpcall(function() io.stdout:setvbuf('no'); require('mobdebug').loop('miki-desktop',8172) end,function(err) print(debug.traceback(err)) end)"'.
Program 'lua' started in '' (pid: 22996).
error loading module 'socket.core' from file '/usr/lib/lua/5.1/socket/core.so':
/usr/lib/lua/5.1/socket/core.so: undefined symbol: lua_pcall
stack traceback:
(command line):1: in function <(command line):1>
[C]: in ?
[C]: in function 'require'
/usr/share/lua/5.1/socket.lua:13: in main chunk
[C]: in function 'require'
lualibs/mobdebug/mobdebug.lua:71: in main chunk
[C]: in function 'require'
(command line):1: in function <(command line):1>
[C]: in function 'xpcall'
(command line):1: in main chunk
[C]: in ?
Program completed in 0.15 seconds (pid: 22996).
This is because ZBS now supports (and uses) Lua 5.2 (and there's no way to override it in the GUI) while lua51-socket (obviously) only supports lua51.
Add to that that lua-socket has gone AWOL, and we have ourselves a lovely mess... :(
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.