Am 25.09.2013 10:42 schröbte p...@pjb.com.au:
> Philipp Janda schröb:
>> The `description.homepage` field is intended to give credit to the
>> upstream module author(s), so you shouldn't change that from its current
>> value. However there is a `description.maintainer` field you can use.
>> ... Drawback is that this field isn't displayed in the rocks listing
>
> I wouldn't want to go down in history as the maintainer,
> because I'm not... Would it be OK if I added
>    Doc: http://insert.url.here/
> into the description.detailed text ? Plus, that seems to become
> clickable in repositories/rocks/index.html, which IMHO is a Feature...

A link in the description is fine, but that probably would make you the 
official mainainer of the rock's documentation ... :-p

>
>> Regarding `GDBM_LIBDIR`: This variable depends on your operating
>> system.  If luarocks can't find the necessary library automatically
>> (because it doesn't scan the library paths used for Debian's/Ubuntu's
>> multiarch feature), you have to tell it where the library is.
>
> but I'm not sure that that's a Feature, at least from my own
> selfish point of view.

Those libraries are pretty non-standard as far as traditional Unix is 
concerned. Luarocks only looks in some standard locations (`/usr/lib` 
and `/usr/local/lib`) ...

>
> Is there a more general option-name than GDBM_LIBDIR ?
> Like LIB_PATH or something ?  LD_LIBRARY_PATH ?

I'm afraid I'm not aware of any. In your special case you could modify 
the `defaults.external_deps_dirs` variable in `luarocks/cfg.lua` (I 
don't know if there is another way to set this without editing luarocks 
source code).

>  (subtext: then it
> would be easy to write a wrapper that looked at /etc/ld.so.conf
> and thence /etc/ld.so.conf.d/* and then invoked luarocks...)

That is actually a nice idea (for luarocks itself). If a library is 
found in more than one place, one can still bail out with an error ...

>
> Thanks for your help,
> Peter Billam

Pleasure,
Philipp



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to