[Pkg-jed-commit] r260 - trunk/packages/jed/debian

Jörg Sommer jo-guest at costa.debian.org
Sat Apr 22 16:47:36 UTC 2006


Author: jo-guest
Date: 2006-04-22 16:47:13 +0000 (Sat, 22 Apr 2006)
New Revision: 260

Added:
   trunk/packages/jed/debian/Debian-Jed-Policy.txt
Modified:
   trunk/packages/jed/debian/changelog
   trunk/packages/jed/debian/rules
Log:
* Added the first draft of the Debian-Jed-Policy


Added: trunk/packages/jed/debian/Debian-Jed-Policy.txt
===================================================================
--- trunk/packages/jed/debian/Debian-Jed-Policy.txt	2006-04-13 15:38:15 UTC (rev 259)
+++ trunk/packages/jed/debian/Debian-Jed-Policy.txt	2006-04-22 16:47:13 UTC (rev 260)
@@ -0,0 +1,21 @@
+This is a draft of a policy.
+
+/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.

Modified: trunk/packages/jed/debian/changelog
===================================================================
--- trunk/packages/jed/debian/changelog	2006-04-13 15:38:15 UTC (rev 259)
+++ trunk/packages/jed/debian/changelog	2006-04-22 16:47:13 UTC (rev 260)
@@ -38,11 +38,14 @@
        functions in the jed-extra package), it can call debian_startup()
        explicitely.
 
+  * /usr/share/doc/jed-common/Debian-Jed-Policy.txt:
+    + added a first draft for a policy about packages for Jed [JS]
+
   [JS] Jörg Sommer <joerg at alea.gnuu.de>
   [GM] Guenter Milde
   [RL] Rafael Laboissiere
 
- -- Debian JED Group <pkg-jed-devel at lists.alioth.debian.org>  Thu, 13 Apr 2006 13:39:55 +0200
+ -- Debian JED Group <pkg-jed-devel at lists.alioth.debian.org>  Sat, 22 Apr 2006 18:43:09 +0200
 
 jed (0.99.17.135-1) experimental; urgency=low
 

Modified: trunk/packages/jed/debian/rules
===================================================================
--- trunk/packages/jed/debian/rules	2006-04-13 15:38:15 UTC (rev 259)
+++ trunk/packages/jed/debian/rules	2006-04-22 16:47:13 UTC (rev 260)
@@ -68,7 +68,7 @@
 	dh_installchangelogs -pjed-common changes.txt
 
 	dh_installdocs -pjed-common $(temp)/usr/share/jed/doc/* \
-            debian/init.d/README.Debian-startup
+            debian/init.d/README.Debian-startup debian/Debian-Jed-Policy.txt
 	dh_link -pjed-common usr/share/doc/jed-common usr/share/jed/doc
 
 	# install some extra docs from the source




More information about the Pkg-jed-commit mailing list