[MacPorts] #42520: libquvi-scripts: libquvi-scripts/0.9/common/quvi/youtube.lua requires 'socket.url'
MacPorts
noreply at macports.org
Sun Feb 23 01:29:23 PST 2014
#42520: libquvi-scripts: libquvi-scripts/0.9/common/quvi/youtube.lua requires
'socket.url'
------------------------------+-------------------
Reporter: devans@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: libquvi-scripts |
------------------------------+-------------------
Comment (by devans@…):
After looking into this further, this appears to be due to missing
dependencies.
socket.url is provided by 3rd party lua package luasocket (MacPorts lua-
luascripts). The libquvi-scripts README file confirms this dependency as
well as several others.
{{{
Requirements
------------
* Lua BitOp 1.0.1
http://bitop.luajit.org/
$ sudo aptitude install lua-bitop
* LuaExpat 1.2.0
http://matthewwild.co.uk/projects/luaexpat/
$ sudo aptitude install lua-expat
* LuaJSON 1.1.1
http://www.eharning.us/wiki/luajson/
$ sudo aptitude install lua-json
* LuaSocket 2.0.2
http://w3.impa.br/~diego/software/luasocket/
$ sudo aptitude install lua-socket
}}}
Unfortunately, the lua-luasocket port is broken as the current version
only supports lua 5.1 and we're at lua 5.2.2 now (#35858).
Attached for review is an admittedly hackish work-around that fixes the
problem reported here by taking the url.lua script from lua-luasocket and
manually installing it into the libquvi-scripts common script directory.
Grepping of the code shows that this is the only script required from lua-
luasocket and the patch fixes totem's immediate problem, but there are
undoubtedly other similar problems related to the other 3rd party packages
-- I just haven't run in to them yet.
--
Ticket URL: <https://trac.macports.org/ticket/42520#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list