diff -Nru lua-readline-2.9/debian/changelog lua-readline-3.0/debian/changelog
--- lua-readline-2.9/debian/changelog 2021-01-09 12:53:01.000000000 +0000
+++ lua-readline-3.0/debian/changelog 2021-08-17 08:14:38.000000000 +0000
@@ -1,3 +1,9 @@
+lua-readline (3.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Sergei Golovan
or:
- # luarocks install https://pjb.com.au/comp/lua/readline-2.8-0.rockspec
+ # luarocks install https://pjb.com.au/comp/lua/readline-3.0-0.rockspec
+If this results in an error message such as:
+
+ Error: Could not find expected file libreadline.a, or libreadline.so,
+then you need to find the appropriate directory with:
+ find /usr/lib -name 'libreadline.*' -print
+and then invoke:
+ luarocks install \
+ https://www.pjb.com.au/comp/lua/readline-3.0-0.rockspec \
+ READLINE_INCDIR=/usr/local/Cellar/readline/8.1/include \
+ READLINE_LIBDIR=/usr/local/Cellar/readline/8.1/lib \
+ HISTORY_INCDIR=/usr/local/Cellar/readline/8.1/include \
+ HISTORY_LIBDIR=/usr/local/Cellar/readline/8.1/lib # or wherever
+accordingly.
+
It depends on the readline library and its header-files;
for example on Debian you may need:
# aptitude install libreadline6 libreadline6-dev
@@ -387,11 +401,13 @@
# yum install readline-devel
You can see the source-code in:
- https://pjb.com.au/comp/lua/readline-2.8.tar.gz
+ https://pjb.com.au/comp/lua/readline-3.0.tar.gz
+ 20210418 3.0 pass READLINE_INCDIR and READLINE_LIBDIR to gcc + 20210127 2.9 fix version number again 20210106 2.8 include string.h 20200801 2.7 add lua 5.4 20200409 2.6 jaawerth: added set_readline_name() diff -Nru lua-readline-2.9/readline.lua lua-readline-3.0/readline.lua --- lua-readline-2.9/readline.lua 2021-01-06 04:21:56.000000000 +0000 +++ lua-readline-3.0/readline.lua 2021-04-18 05:42:54.000000000 +0000 @@ -7,8 +7,8 @@ --------------------------------------------------------------------- local M = {} -- public interface -M.Version = '2.7' -- add set_readline_name() and fix version number -M.VersionDate = '15apr2020' +M.Version = '2.9' -- fix version number again +M.VersionDate = '27jan2021' --[[ Alexander Adler suggests adding four Alternate-Interface functions: @@ -516,6 +516,9 @@ =head1 CHANGES + + 20210127 2.9 fix version number again + 20210106 2.8 add set_readline_name() and fix version number 20200801 2.7 add 5.4 20180924 2.2 add set_completion_append_character 20180912 2.1 C code stack-bug fix in handler_calls_completion_callback