SIGs/Lua

From FedoraProject

< SIGs
Revision as of 18:12, 10 May 2012 by Trasher (Talk | contribs)

Jump to: navigation, search

Contents

Lua Special Interest Group

Mission

Bring the Lua scripting language and related software and packages into Fedora and integrate nicely into the base system.

Members

Tim Niemueller
Michel Salim
João Felipe Santos

Packages

Currently packaged:

  • Package-x-generic-16.pnglua : Lua interpreter, compiler and library
  • Package-x-generic-16.pngluadoc : Documentation generator tool for Lua
  • Package-x-generic-16.pngtolua++ : Automatic wrapper generator for C/C++ code
  • Package-x-generic-16.pnglua-posix : POSIX library for Lua
  • Package-x-generic-16.pnglua-logging : Easy logging API for Lua
  • Package-x-generic-16.pnglua-sql : database access with Lua
  • Package-x-generic-16.pnglua-socket : networking with Lua
  • Package-x-generic-16.pnglua-filesystem : file system access functions
  • Package-x-generic-16.pnglua-sec : Lua binding for OpenSSL library

Currently awaiting review:

  • prosody : flexible communications server for Jabber/XMPP written in Lua (review has been accepted, waiting for lua-dbi to build)
  • datalog : A Lightweight Deductive Database using Datalog
  • lua-dbi : Database interface library for Lua

Tasks

  • Find more people interested in Lua and get them involved
  • Identify interesting new packages to import into Fedora
  • Get more packagers

Links

Lua : Main website for Lua.

Lua users wiki : Tons of good documentation, howtos, snippets and links to add-on packages.

Programming in Lua : First edition of the Lua book. Most is still relevant, a few things got changed though. It's worth buying and reading the second edition.

Lua reference manual : The Lua reference manual. Very handy, especially if you have it besides your laptop as a real book (really cheap!).

Spec files

In your spec file, you can compute the current directory for installing Lua source files with the following definitions.

%{!?luaver: %define luaver %(lua -e "print(string.sub(_VERSION, 5))")}
%define luapkgdir %{_datadir}/lua/%{luaver}

Now install Lua source files with:

install -m 644 LUA-SOURCE-FILES %{luapkgdir}

Example: datalog.spec