Packaging version 1.4.1

This commit is contained in:
carregal
2008-05-07 19:06:37 +00:00
parent d7a5679fb8
commit d4bfd537a8
7 changed files with 68 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
# $Id: Makefile,v 1.33 2008/03/25 18:24:17 mascarenhas Exp $ # $Id: Makefile,v 1.34 2008/05/07 19:06:37 carregal Exp $
T= lfs T= lfs
V= 1.4.0
CONFIG= ./config CONFIG= ./config
include $(CONFIG) include $(CONFIG)

View File

@@ -1,7 +1,6 @@
# $Id: Makefile.win,v 1.10 2008/02/13 22:08:31 carregal Exp $ # $Id: Makefile.win,v 1.11 2008/05/07 19:06:37 carregal Exp $
T= lfs T= lfs
V= 1.4.0
include config.win include config.win

6
README
View File

@@ -10,7 +10,11 @@ related to file systems offered by the standard Lua distribution.
LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. LuaFileSystem offers a portable way to access the underlying directory structure and file attributes.
LuaFileSystem is free software and uses the same license as Lua 5.1 LuaFileSystem is free software and uses the same license as Lua 5.1
Current version is 1.4.0 Version 1.4.1 [07/May/2008] changes
* documentation review
* fixed Windows compilation issues
* fixed bug in the Windows tests (patch by Shmuel Zeigerman)
* fixed bug [#2185] lfs.attributes(filename, 'size') overflow on files > 2 Gb
LuaRocks Installation LuaRocks Installation
--------------------- ---------------------

View File

@@ -71,7 +71,7 @@ the underlying directory structure and file attributes.</p>
<h2><a name="status"></a>Status</h2> <h2><a name="status"></a>Status</h2>
<p>Current version is 1.4.0. It was developed for Lua 5.1.</p> <p>Current version is 1.4.1. It was developed for Lua 5.1.</p>
<h2><a name="download"></a>Download</h2> <h2><a name="download"></a>Download</h2>
@@ -84,6 +84,18 @@ version of LuaFileSystem (compiled with Visual Studio 2005 Express) can be found
<h2><a name="history"></a>History</h2> <h2><a name="history"></a>History</h2>
<dl class="history"> <dl class="history">
<dt><strong>Version 1.4.1</strong> [07/May/2008]</dt>
<dd>
<ul>
<li>documentation review</li>
<li>fixed Windows compilation issues</li>
<li>fixed bug in the Windows tests (patch by Shmuel Zeigerman)</li>
<li>fixed bug [<a href="http://luaforge.net/tracker/?func=detail&amp;group_id=66&amp;aid=2185&amp;atid=356">#2185</a>]
<code>lfs.attributes(filename, 'size')</code> overflow on files > 2 Gb
</li>
</ul>
</dd>
<dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt> <dt><strong>Version 1.4.0</strong> [13/Feb/2008]</dt>
<dd> <dd>
<ul> <ul>
@@ -158,7 +170,7 @@ Comments are welcome!</p>
<div id="about"> <div id="about">
<p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p> <p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
<p><small>$Id: index.html,v 1.41 2008/02/18 17:20:16 carregal Exp $</small></p> <p><small>$Id: index.html,v 1.42 2008/05/07 19:06:37 carregal Exp $</small></p>
</div> <!-- id="about" --> </div> <!-- id="about" -->
</div> <!-- id="container" --> </div> <!-- id="container" -->

View File

@@ -0,0 +1,43 @@
package = "LuaFileSystem"
version = "1.4.1-1"
source = {
url = "",
}
description = {
summary = "File System Library for the Lua Programming Language",
detailed = [[
LuaFileSystem is a Lua library developed to complement the set of
functions related to file systems offered by the standard Lua
distribution. LuaFileSystem offers a portable way to access the
underlying directory structure and file attributes.
]]
}
dependencies = {
"lua >= 5.1"
}
build = {
platforms = {
unix = {
type = "make",
build_variables = {
LIB_OPTION = "$(LIBFLAG)",
CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)",
},
install_variables = {
LUA_LIBDIR = "$(LIBDIR)"
}
},
win32 = {
type = "make",
build_variables = {
LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)",
},
install_variables = {
LUA_LIBDIR = "$(LIBDIR)",
LUA_DIR = "$(LUADIR)",
BIN_DIR = "$(BINDIR)"
}
}
}
}

View File

@@ -16,7 +16,7 @@
** lfs.touch (filepath [, atime [, mtime]]) ** lfs.touch (filepath [, atime [, mtime]])
** lfs.unlock (fh) ** lfs.unlock (fh)
** **
** $Id: lfs.c,v 1.52 2008/04/24 17:27:18 mascarenhas Exp $ ** $Id: lfs.c,v 1.53 2008/05/07 19:06:37 carregal Exp $
*/ */
#define _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE
@@ -656,7 +656,7 @@ static void set_info (lua_State *L) {
lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution"); lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution");
lua_settable (L, -3); lua_settable (L, -3);
lua_pushliteral (L, "_VERSION"); lua_pushliteral (L, "_VERSION");
lua_pushliteral (L, "LuaFileSystem 1.4.0"); lua_pushliteral (L, "LuaFileSystem 1.4.1");
lua_settable (L, -3); lua_settable (L, -3);
} }

View File

@@ -1,5 +1,5 @@
LIBRARY lfs.dll LIBRARY lfs.dll
DESCRIPTION "LuaFileSystem" DESCRIPTION "LuaFileSystem"
VERSION 1.4.0 VERSION 1.4.1
EXPORTS EXPORTS
luaopen_lfs luaopen_lfs