Some notices about a "Policy for Jed packages"

Jörg Sommer joerg at alea.gnuu.de
Thu Apr 6 21:15:25 UTC 2006


Hi folks,

yesterday I've sorted my thoughts and wrote down a short list of issues
about the structure of a jed package like jed-extra. I don't want they
get lost on my desktop, therefore I publish them here. And maybe, when we
sometimes in the future, create a real policy, this might be a beginning.

/etc/jed.d:
* SLang scripts only
* evaluated in lexicographical order on jed startup
* name of files should follow this scheme: <NN><packagename>.sl where
  <NN> is a number of two digits (default: 50) and <packagename> is the
  name of the Debian package that installs this file
* every package _should_ install only one file there. If there are
  _special reasons_ it can be more. Special reason means you have to set
  some flags before the default packages (e.g. NN=20) get loaded and you
  need to load your own modes after the default packages (e.g. NN=70)

Every package should place its slang files for Jed in
/usr/share/jed/<packagename>.

If a package wants to do something after update of the (X)Jed package
it should create a executable file /usr/share/jed/compile/<packagename>
that gets called after each update of jed with the argument "install"
(without quotation marks). The executable can rebuild the precompiled
SLang and DFA cache files upon invocation.

Jörg.
-- 
Ich halte ihn zwar für einen Schurken und das was er sagt für
falsch - aber ich bin bereit mein Leben dafür einzusetzen, daß
er seine Meinung sagen kann.		(Voltair)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 483 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20060406/b4d2c8a9/attachment.pgp


More information about the Pkg-jed-devel mailing list