Commit 2f6b3f68 authored by Gary V. Vaughan's avatar Gary V. Vaughan

Release v31.

Signed-off-by: 's avatarGary V. Vaughan <gary@gnu.org>
parent 856c7d08
......@@ -3,6 +3,21 @@
Release version 31
* NEWS: Record release date.
slingshot: sync with upstream.
* slingshot: Update to latest version for recent bootstrap fixes,
among others.
* bootstrap: Regenerate.
maint: update NEWS.
* NEWS: Update with user visible changes since previous release.
posix: fix a typo in tc[gs]etattr constant definitions.
* ext/posix/posix.c (VTOP): Changed spelling from this...
(VSTOP): ...to this.
maint: bump revision to 31.
* configure.ac (AC_INIT): Bump release revision to 31.
maint: remove trailing spaces added by previous merge.
* ext/posix/posix.c (Ptcsetattr, Ptcgetattr): Remove trailing
whitespace.
......
Stdlib NEWS - User visible changes
* Noteworthy changes in release 31 (2013-09-09) [alpha]
* Noteworthy changes in release 31 (2013-09-09) [stable]
** New features:
- Missing termios cc flags are now available.
** Bug fixes:
- posix.tcgetattr and posix.tcsetattr no save and restore all flags,
regardless of whether they are local extensions to POSIX.
* Noteworthy changes in release 30 (2013-08-29) [stable]
......
......@@ -2203,7 +2203,7 @@ test extract-trace = "$progname" && func_main "$@"
# End:
# Set a version string for *this* script.
scriptversion=2013-08-23.20; # UTC
scriptversion=2013-08-29.21; # UTC
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -3661,9 +3661,8 @@ func_require_gnulib_tool ()
{
$debug_cmd
$require_gnulib_submodule
test true = "$gnulib_tool" || {
$require_gnulib_submodule
$require_gnulib_path
test -n "$gnulib_tool" \
......
......@@ -81,6 +81,14 @@ local function opterr (msg)
os.exit (2)
end
local function die (msg)
msg:gsub ("([^\n]+)\n?",
function ()
io.stderr:write (prog.name .. ": error: " .. msg.. "\n")
end)
os.exit (1)
end
prog["--help"] = function ()
print (usage .. [[
......@@ -104,7 +112,7 @@ Report bugs to http://github.com/gvvaughan/slingshot/issues.]])
end
prog["--version"] = function ()
print [[mkrockspecs (slingshot) 3
print [[mkrockspecs (slingshot) 5
Written by Gary V. Vaughan <gary@gnu.org>, 2013
Copyright (C) 2013, Gary V. Vaughan
......@@ -172,19 +180,39 @@ local conf = arg[4] or "rockspec.conf"
--[[ Helper functions. ]]--
--[[ ================= ]]--
local ok, posix = pcall (require, "posix")
files = {}
local function tree (root)
local p = io.popen ("ls -1 " .. root .. " 2>/dev/null")
if p ~= nil then
local f = p:read "*l"
while f ~= nil do
if ok then
-- faster version if luaposix is available
function tree (root)
for f in posix.files (root) do
local path = root .. "/" .. f
if f:match ("%.lua$") then
table.insert (files, root .. "/" .. f)
else
tree (root .. "/" .. f)
table.insert (files, path)
elseif f == "." or f == ".." then
-- don't go into a loop
elseif posix.stat (path, "type") == "directory" then
tree (path)
end
end
end
else
-- fallback version that executes ls in subshells
function tree (root)
local p = io.popen ("ls -1 " .. root .. " 2>/dev/null")
if p ~= nil then
local f = p:read "*l"
while f ~= nil do
if f:match ("%.lua$") then
table.insert (files, root .. "/" .. f)
else
tree (root .. "/" .. f)
end
f = p:read "*l"
end
f = p:read "*l"
end
end
end
......@@ -241,6 +269,8 @@ if spec.source ~= nil then
url = spec.source.url
elseif spec.description ~= nil then
url = spec.description.homepage
else
die (conf .. ": could not find source.url or description.homepage")
end
url = url:gsub ("^[a-z]*://", ""):gsub ("%.git$", "")
......
......@@ -14395,11 +14395,16 @@ SPECL_MIN=8
case $EXTRA_ROCKS in
*" $_ss_rock;"*) ;; # ignore duplicates
*)
EXTRA_ROCKS="$EXTRA_ROCKS"' $LUAROCKS install '"$_ss_rock;"
test "x$PACKAGE_NAME" != "x$_ss_rock" \
&& EXTRA_ROCKS="$EXTRA_ROCKS"' $LUAROCKS install '"$_ss_rock;"
;;
esac
done
# Avoid empty travis commands.
test "x$EXTRA_ROCKS" != "x-" || EXTRA_ROCKS='# No extra rocks needed here;'
ac_config_files="$ac_config_files .travis.yml:travis.yml.in"
......@@ -16772,6 +16777,9 @@ fi
chmod +x "$ofile"
;;
".travis.yml":F)
# Remove trailing blanks so as not to trip sc_trailing_blank in syntax check
sed 's| *$||' < .travis.yml > ss_tmp && mv ss_tmp .travis.yml; rm -f ss_tmp ;;
esac
done # for ac_tag
......
......@@ -4595,8 +4595,8 @@ LUALIB_API int luaopen_posix_c (lua_State *L)
#ifdef VSTART
MENTRY( VSTART );
#endif
#ifdef VTOP
MENTRY( VTOP );
#ifdef VSTOP
MENTRY( VSTOP );
#endif
#ifdef VSUSP
MENTRY( VSUSP );
......
......@@ -46,10 +46,17 @@ AC_DEFUN([SS_CONFIG_TRAVIS], [
case $EXTRA_ROCKS in
*" $_ss_rock;"*) ;; # ignore duplicates
*)
EXTRA_ROCKS="$EXTRA_ROCKS"' $LUAROCKS install '"$_ss_rock;"
test "x$PACKAGE_NAME" != "x$_ss_rock" \
&& EXTRA_ROCKS="$EXTRA_ROCKS"' $LUAROCKS install '"$_ss_rock;"
;;
esac
done
# Avoid empty travis commands.
test "x$EXTRA_ROCKS" != "x-" || EXTRA_ROCKS='# No extra rocks needed here;'
AC_SUBST([EXTRA_ROCKS])
AC_CONFIG_FILES([.travis.yml:travis.yml.in])
AC_CONFIG_FILES([.travis.yml:travis.yml.in], [
# Remove trailing blanks so as not to trip sc_trailing_blank in syntax check
sed 's| *$||' < .travis.yml > ss_tmp && mv ss_tmp .travis.yml; rm -f ss_tmp])
])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment