Re: Build lua libraries also for compat-lua?

2014-06-03 Thread Jan Kaluža

On 05/29/2014 06:31 PM, Tomasz Torcz wrote:

On Tue, May 13, 2014 at 11:17:39AM +0200, Jan Kaluža wrote:

Hi,

I'm playing with an idea of building lua libraries against compat-lua to
allow luajit working with them. My initial motivation for this is that there
are projects which don't work with Lua-5.2 and developers for various
reasons don't want to port it to lua-5.2 yet (for example Prosody package).

I'm OK with creating bugs and patches against some basic lua modules
(basically the ones I need myself for Prosody :) ), but at first I wanted to
ask Lua people here what do they think about it?


   Hi,

   Was there any progress with this?  I'd love to see working Prosody package 
in F20.



I have persuaded one proven packager to do this change in Fedora Rawhide 
and it looks there is no problem with it and Prosody is working in 
Rawhide now. I think I will ask him to backport this into F20, so I can 
rebuild Prosody in F20 too.


Regards,
Jan Kaluza

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Build lua libraries also for compat-lua?

2014-05-29 Thread Tomasz Torcz
On Tue, May 13, 2014 at 11:17:39AM +0200, Jan Kaluža wrote:
> Hi,
> 
> I'm playing with an idea of building lua libraries against compat-lua to
> allow luajit working with them. My initial motivation for this is that there
> are projects which don't work with Lua-5.2 and developers for various
> reasons don't want to port it to lua-5.2 yet (for example Prosody package).
> 
> I'm OK with creating bugs and patches against some basic lua modules
> (basically the ones I need myself for Prosody :) ), but at first I wanted to
> ask Lua people here what do they think about it?

  Hi,

  Was there any progress with this?  I'd love to see working Prosody package in 
F20.

-- 
Tomasz Torcz   72->|   80->|
xmpp: zdzich...@chrome.pl  72->|   80->|

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Build lua libraries also for compat-lua?

2014-05-13 Thread Jan Kaluža

Hi,

I'm playing with an idea of building lua libraries against compat-lua to 
allow luajit working with them. My initial motivation for this is that 
there are projects which don't work with Lua-5.2 and developers for 
various reasons don't want to port it to lua-5.2 yet (for example 
Prosody package).


I would imagine it to work the same way as Python2 vs. Python3 does. It 
means to build the project twice - once against "lua" (lua-5.2) and once 
against "compat-lua" (lua-5.1) using single spec file.


I've done some test with lua-expat and I'm attaching patch against 
lua-expat.spec to show how it could be done.


I'm OK with creating bugs and patches against some basic lua modules 
(basically the ones I need myself for Prosody :) ), but at first I 
wanted to ask Lua people here what do they think about it?


Regards,
Jan Kaluza


lua-expat-compat.patch
Description: application/download
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct