wahern / cqueues

Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.
http://25thandclement.com/~william/projects/cqueues.html
MIT License
248 stars 37 forks source link

Support New Debian Lua Policy #19

Open wahern opened 9 years ago

wahern commented 9 years ago

See http://pkg-lua.alioth.debian.org/policy.html

Most importantly, the packages need to adhere to the new naming pattern.

Preferably also generate libtoolized modules/libraries. Although this is more involved--excepting GNU Make, the build is intended to work natively and without dependencies on all supported platforms. Need additional build recipes that use libtool.

wahern commented 9 years ago

We probably should not rely on dh-lua (the utility used by the core maintainer of Lua packages on Debian) because the new and old versions of that utility are incompatible, causing headaches when building on older Debian and Ubuntu releases. And even the newest version cannot deal with Lua 5.3. The dh-lua system needs more work.

daurnimator commented 9 years ago

I noticed that there is no debian install file for 5.3

daurnimator commented 8 years ago

@kinnison did you have something for this?

oerdnj commented 8 years ago

The dh-lua system needs more work. I can relate to that :). Packaging lua-cqueues using dh_lua was bit hackish.

Anyway, you can adhere to Debian policy just by using the correct directories even without using dh_lua, e.g. using /usr/lib/<tripplet>/ for shared libraries with symlinks to /usr/lib/<tripplet>/lua/<ver>/ and /usr/share/lua for lua code. The helper is there just for most cases.

(Or you can improve the helper :)).

daurnimator commented 8 years ago

https://anonscm.debian.org/git/pkg-lua/lua-cqueues.git/tree/debian