Re: Lua 5.2

2015-11-19 Thread Germano Massullo
2015-11-19 10:51 GMT+01:00 Hans de Goede :

> Hi,
>
> On 18-11-15 08:06, Germano Massullo wrote:
>
>> Hi, I would like to ask "lua" and "compat-lua" maintainers if it is
>> possible to have a packaged 5.2 lua version.
>> A use case? Upstream Darktable ships a bundled Lua version 5.2, and it is
>> not compatible with Lua 5.3. Fedora's Darktable does not ship the bundled
>> Lua to respect Fedora packaging rules.
>>
>
> If Darktable is using 5.2, it is likely being actively maintained
> upstream. So you could ask Darktable upstream to move to 5.3 for
> some future version and use a bundled 5.2 in the mean time.
>
> compat-lua is mostly used by some somewhat older games who
> are not being updated by upstream and which cannot easily
> be ported to 5.2.
>
> Regards,
>
> Hans
>

darktable developers said that the migration to Lua 5.3 has not yet
planned, so I will keep disabled the bundled version
-- 
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: Lua 5.2

2015-11-19 Thread Hans de Goede

Hi,

On 18-11-15 08:06, Germano Massullo wrote:

Hi, I would like to ask "lua" and "compat-lua" maintainers if it is
possible to have a packaged 5.2 lua version.
A use case? Upstream Darktable ships a bundled Lua version 5.2, and it is
not compatible with Lua 5.3. Fedora's Darktable does not ship the bundled
Lua to respect Fedora packaging rules.


If Darktable is using 5.2, it is likely being actively maintained
upstream. So you could ask Darktable upstream to move to 5.3 for
some future version and use a bundled 5.2 in the mean time.

compat-lua is mostly used by some somewhat older games who
are not being updated by upstream and which cannot easily
be ported to 5.2.

Regards,

Hans
--
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: Lua 5.2

2015-11-18 Thread Dominik 'Rathann' Mierzejewski
On Wednesday, 18 November 2015 at 08:06, Germano Massullo wrote:
> Hi, I would like to ask "lua" and "compat-lua" maintainers if it is
> possible to have a packaged 5.2 lua version.
> A use case? Upstream Darktable ships a bundled Lua version 5.2, and it is
> not compatible with Lua 5.3. Fedora's Darktable does not ship the bundled
> Lua to respect Fedora packaging rules.

If there are no other users of lua-5.2 in Fedora, then you could simply
replace the bundled source with latest upstream (currently 5.2.4) and ship
it bundled (recording the bundling with Provides: bundled(lua) = 5.2.4).

If something else in Fedora still requires lua-5.2.x then the best
option is to package lua52 separately and patch Darktable to use
the system version.

You should also find out if there will be another release of lua-5.2.x
or if 5.2.4 was the last one. If it was the last one, then you'd better
try convincing the Darktable maintainers to migrate to lua-5.3.

Regards,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Lua 5.2

2015-11-17 Thread Germano Massullo
Hi, I would like to ask "lua" and "compat-lua" maintainers if it is
possible to have a packaged 5.2 lua version.
A use case? Upstream Darktable ships a bundled Lua version 5.2, and it is
not compatible with Lua 5.3. Fedora's Darktable does not ship the bundled
Lua to respect Fedora packaging rules.
-- 
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: lua 5.2

2013-05-15 Thread Craig Barnes
Just forwarding this reply. I sent it to Alek directly but my
CC to the list got bounced due to me not being subscribed.


-- Forwarded message --
From: Craig Barnes 
Date: 13 May 2013 21:19
Subject: Re: lua 5.2
To: Alek Paunov 
Cc: "Richard W.M. Jones" 


On 12 May 2013 01:27, Alek Paunov  wrote:

> Personally, I not have learned all of the guidelines yet and do not feel 
> ready to make proper reviews of other packages ( besides my recent hard times 
> with bunch of stalled tasks :-( ), but there are another unofficial spec [4] 
> and if Craig is willing to become leading maintainer I will be happy to apply 
> as co-maintainer (not because package requires additional care, but as help 
> with the bugs processing duties, if any). @Craig what you think?
>
> [4] https://github.com/craigbarnes/packages/blob/master/luajit.spec
>

I'm more than willing to maintain LuaJIT for Fedora but I
haven't been sponsored as a packager yet. I submitted
a package (discount) about 18 months ago, along with a
sponsorship request but it's still awaiting formal review.

> So, may be Fedora transition to 5.2 is the right moment for LuaJIT to be 
> finally included in the collection (with an additional role as lua51-compat 
> package - alternative provider of lua(abi) = 5.1 on all architectures except 
> s390 and ppc64).
>

Some Lua C modules implement support for both ABIs by using
compile-time macros and so won't be loadable by both at runtime.
Quite a few Lua packages will probably need some attention/patching
and all of them could probably use some testing after such a change.
I'd like to help with that too, but without sponsorship or guidance
I don't really know where to start or what the procedure is.


Regards,
Craig
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: lua 5.2

2013-05-15 Thread Tom Callaway
On 05/13/2013 03:01 PM, Tom Callaway wrote:
> On 05/10/2013 04:55 PM, Tom Callaway wrote:
>> You may have noticed me poking random packages, I'm preparing rawhide
>> (and only rawhide) for an update to lua 5.2.
>>
>> Please be patient. :)
> 
> tolua++ does not have lua 5.2 support, and porting it is beyond my
> skillset (I can do the C++ bits, but the lua bits... nope. I'm not even
> entirely sure how to regenerate toluabind_default.c.)
> 
> This means I'm going to keep liblua-5.1.so around, possibly
> indefinitely, in a "compat-lua-libs" subpackage.

Additionally, I can't figure out the lua 5.2 equivalent of:

lua_replace(L,LUA_GLOBALSINDEX);

If anyone can determine that, it would help out a lot.

~tom

==
Fedora Project
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: lua 5.2

2013-05-13 Thread Tom Callaway
On 05/10/2013 04:55 PM, Tom Callaway wrote:
> You may have noticed me poking random packages, I'm preparing rawhide
> (and only rawhide) for an update to lua 5.2.
> 
> Please be patient. :)

tolua++ does not have lua 5.2 support, and porting it is beyond my
skillset (I can do the C++ bits, but the lua bits... nope. I'm not even
entirely sure how to regenerate toluabind_default.c.)

This means I'm going to keep liblua-5.1.so around, possibly
indefinitely, in a "compat-lua-libs" subpackage.

~tom

==
Fedora Project
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: lua 5.2

2013-05-11 Thread Alek Paunov

On 12.05.2013 00:10, Richard W.M. Jones wrote:

FWIW the libguestfs transition to Lua 5.2 (done by the SuSE guys)
wasn't completely straightforward.  A handful of APIs have been
removed or changed.  These are the changes we had to make:

https://github.com/libguestfs/libguestfs/commit/e987c038ead0a2398f13727ab1de518a216a1d50
https://github.com/libguestfs/libguestfs/commit/f07e89c5f90a1cef8e61428f30916d39ab35541b



As many of Fedora developers know, LuaJIT [1] is a drop-in replacement 
of Lua 5.1. The author Mike Pall stays on his strong opinion to not 
upgrade the LuaJIT implementation of the language to 5.2 standard in the 
foreseeable future. His basic stand point is about keeping compatibility 
for the existing users.


[1] http://luajit.org/performance_x86.html

So, may be Fedora transition to 5.2 is the right moment for LuaJIT to be 
finally included in the collection (with an additional role as 
lua51-compat package - alternative provider of lua(abi) = 5.1 on all 
architectures except s390 and ppc64).


Initially, back in the LuaJIT 2.0 beta times, there was one failed 
packaging attempt [2] who died due to disappeared candidate packager.


[2] https://bugzilla.redhat.com/show_bug.cgi?id=718681

Meanwhile, after 2 years intensive beta period LuaJIT reached official 
2.0 release (2012-11-12). Current version is 2.0.1-2 and 2.1 (with 
compiled string operations) is on the way - [3] (mirror).


[3] http://repo.or.cz/git-browser/by-commit.html?r=luajit-2.0.git

Personally, I not have learned all of the guidelines yet and do not feel 
ready to make proper reviews of other packages ( besides my recent hard 
times with bunch of stalled tasks :-( ), but there are another 
unofficial spec [4] and if Craig is willing to become leading maintainer 
I will be happy to apply as co-maintainer (not because package requires 
additional care, but as help with the bugs processing duties, if any). 
@Craig what you think?


[4] https://github.com/craigbarnes/packages/blob/master/luajit.spec

As a side note, LuaJIT extends Lua language with an unique FFI mechanism 
for direct leveraging the whole treasure of the collection provided 
C-APIs, coded as simple as [5] (compiled to native calls, without need 
of libffi or such), which makes it perfect for standalone 
system-scripting tool and/or Python companion [6].


[5] http://luajit.org/ext_ffi_tutorial.html#zlib
[6] https://github.com/scoder/lupa

Kind Regards,
Alek

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: lua 5.2

2013-05-11 Thread Richard W.M. Jones
On Fri, May 10, 2013 at 04:55:11PM -0400, Tom Callaway wrote:
> You may have noticed me poking random packages, I'm preparing rawhide
> (and only rawhide) for an update to lua 5.2.

This is good news.

FWIW the libguestfs transition to Lua 5.2 (done by the SuSE guys)
wasn't completely straightforward.  A handful of APIs have been
removed or changed.  These are the changes we had to make:

https://github.com/libguestfs/libguestfs/commit/e987c038ead0a2398f13727ab1de518a216a1d50
https://github.com/libguestfs/libguestfs/commit/f07e89c5f90a1cef8e61428f30916d39ab35541b

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: lua 5.2

2013-05-11 Thread Jon Ciesla
w00t!
On May 10, 2013 3:55 PM, "Tom Callaway"  wrote:

> You may have noticed me poking random packages, I'm preparing rawhide
> (and only rawhide) for an update to lua 5.2.
>
> Please be patient. :)
>
> ~tom
>
> ==
> Fedora Project
> --
> devel mailing list
> devel@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

lua 5.2

2013-05-10 Thread Tom Callaway
You may have noticed me poking random packages, I'm preparing rawhide
(and only rawhide) for an update to lua 5.2.

Please be patient. :)

~tom

==
Fedora Project
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [RFE] lua 5.2

2013-04-18 Thread Luya Tshimbalanga
On Wed 17 Apr 2013 08:13:31 AM PDT, Toshio Kuratomi wrote:
>
> lua bug with the current status and work being done:
> https://bugzilla.redhat.com/show_bug.cgi?id=815263
>
> -Toshio
>
>

Thanks Toshio,
Lets hope the issue will be resolved soon. It is a shame such issue 
prevents updating other packages depending on newest version of 
upstream. :(

--
Luya Tshimbalanga
Graphic & Web Designer
E: l...@fedoraproject.org
W: http://www.coolest-storm.net

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: [RFE] lua 5.2

2013-04-17 Thread Toshio Kuratomi
On Wed, Apr 17, 2013 at 02:51:58AM -0700, Luya Tshimbalanga wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Upstream has released lua to 5.2. It would be nice if it was pushed into
> repository because
> gpick 0.2.5 requires that version.
> http://koji.fedoraproject.org/koji/watchlogs?taskID=5264534
> 

lua bug with the current status and work being done:
https://bugzilla.redhat.com/show_bug.cgi?id=815263

-Toshio


pgpJxxXRioLXO.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

[RFE] lua 5.2

2013-04-17 Thread Luya Tshimbalanga

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Upstream has released lua to 5.2. It would be nice if it was pushed into
repository because
gpick 0.2.5 requires that version.
http://koji.fedoraproject.org/koji/watchlogs?taskID=5264534

- -- 
Luya Tshimbalanga
Graphic & Web Designer
E: l...@fedoraproject.org
W: http://www.coolest-storm.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)

iQEcBAEBAgAGBQJRbnC6AAoJEF5SgXTYomCaypoIALcdKFZcV4T1ucQxW4pH99tO
mWfwb19Il+r7bHHf5hT520sOBBmGsY46tE7d/4+AhIQ7WC3qlaYNwj6Vf0Pq0+Fe
4FRS+zzTDpJWEWB55YiB4VjUTEILEj7nPesJcLClRFG4oxxkASNZATdvGCuW+uH5
6zhxsnSdZQBt3Sa4o7XoLxIWSspZ1+/LaHxAcIts2rRwPDyRs3+lkl8IfZyYyNAX
MHSHgxj7A6YWoF5H5nk0oI2CEyxCOfQsMyeXwSgXew90PHRqMDcKDUyTef5c73Mq
s+vOKz+ZPisENatVntlOuCmzaiKVt4PiHT+3i+p0VBnCbFXGXTpBBqkI1QGMdMs=
=Em6f
-END PGP SIGNATURE-

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel