Re: Lua SIG feelers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michel Salim schrieb:
>>  Is there anything specific involved in creating a SIG besides having
>>  interested people and setting up a Wiki page?
>>
> That's probably it. I've put up the Wiki page at
> http://fedoraproject.org/wiki/SIGs/Lua

Cool.

> This might need to be added to the guideline: Lua seems to search for
> libraries only in the current directory and in %{_libdir}. This means
> that even packages that are actually noarch cannot be declared as
> such, to make sure that they are built separately on each platform.

That is wrong. Lua searches:
> print(package.path)
./?.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;/usr/lib64/lua/5.1/?/init.lua
> print(package.cpath)
./?.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/loadall.so

That means that noarch packages that only have lua files are possible,
these files are packaged to /usr/share/lua/5.1/ (which I define as
luapkgdir in my specs). Hans and I have adapted the Lua package to own
these package directories such that they always exist when Lua is
installed and are properly removed if you remove Lua.

So having noarch Lua addon packages is possible (and done so with
currently in review lua-logging and luadoc).

	Tim

-- 
    Tim Niemueller <tim@xxxxxxxxxxxxx>      www.niemueller.de
=================================================================
 Imagination is more important than knowledge. (Albert Einstein)

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux