Hi, Steve!

On 12.01.2011 13:22:42, steve donovan wrote:
On Tue, Jan 11, 2011 at 4:36 PM, Ildar Mulyukov
<[email protected]> wrote:
> 0. Aim: make Rocks available in a Linux distro (ALTLinux for the moment)

To see if I understand: this is a tool for generating native packages
from rocks?

Right.

Sounds like a good initiative, especially when it can also do .deb
files and properly package the dependencies - or do these always
remain separate packages, which are brought in using the native
packager's facilities?

1. deb may be supported, but I don't plan to do it myself. RPM is a lot simpler AFAIK.
  I'd be glad if someone done that.
2. Deps have to be packaged already.
  The normal workflow when packaging for a Linux distro is:
If pkgA needs pkgB for building up, then (a) pkgB should be available already; (b) pkgA acquires the BuildRequires: pkgB.
3. LuaRocks *depends* transforms into (e.g. wsapi rock):
  BuildRequires: luarocks(luafilesystem) >= 1.5.0
  Requires: luarocks(luafilesystem) >= 1.5.0
That means that lfs is needed: _during build_ (luarocks needs to see it) and _for installing_.

Hence you always need to package pkgB _before_ packaging pkgA.

Packaging is semi-automatic. lrimport creates most of SPEC-file. After that you just need to do a few things described in README.

Might be interesting:
http://translate.google.kz/translate?js=n&prev=_t&hl=ru&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Flists.altlinux.org%2Fpipermail%2Fdevel%2F2011-January%2F187583.html

Original russian: http://lists.altlinux.org/pipermail/devel/2011-January/187583.html

Best regards,
--
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: [email protected]
home: http://johan-notes.blogspot.com/
ALT Linux Sisyphus
================================================
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to