[Pkg-jed-commit] r718 - jed-extra/trunk/debian
Guenter Milde
milde-guest at alioth.debian.org
Fri May 18 16:57:08 UTC 2007
Author: milde-guest
Date: 2007-05-18 16:57:08 +0000 (Fri, 18 May 2007)
New Revision: 718
Modified:
jed-extra/trunk/debian/changelog
jed-extra/trunk/debian/jed-extra-preparse.sl
Log:
jed-extra preparse: Use byte_compile_libdir() from make_ini instead of a local defined fun
debian/changelog: minor edits
Modified: jed-extra/trunk/debian/changelog
===================================================================
--- jed-extra/trunk/debian/changelog 2007-05-18 16:41:14 UTC (rev 717)
+++ jed-extra/trunk/debian/changelog 2007-05-18 16:57:08 UTC (rev 718)
@@ -3,12 +3,11 @@
* Updated debconf templates translations: [RL]
+ German: thanks to Helge Kreutzmann (closes: #424115)
+ Dutch: thanks to Bart Cornelis (closes: #424664)
-
* svn.sl: new mode for version control (interface to SVN and CVS) in
"extra" section [GM]
* remove old byte-compiled files and dfa cache files before installation
- [GM]
- * debian/jed-extra-preparse.sl: Use correct colors directory
+ [JS, applied to jed-extra by GM]
+ * debian/jed-extra-preparse.sl: update path of jed-extra/colors directory
(closes: #424662)
--
Modified: jed-extra/trunk/debian/jed-extra-preparse.sl
===================================================================
--- jed-extra/trunk/debian/jed-extra-preparse.sl 2007-05-18 16:41:14 UTC (rev 717)
+++ jed-extra/trunk/debian/jed-extra-preparse.sl 2007-05-18 16:57:08 UTC (rev 718)
@@ -1,4 +1,9 @@
% -*- slang -*-
+% Prepare the S-Lang files installed by jed-extra for use with Jed.
+%
+% * create ini.sl files with autoloads, completions and <INITIALIZATION>
+% blocks
+% * byte_compile files
% Location of the jed-extra package's library dir
private variable lib_dir = "/usr/share/jed/jed-extra";
@@ -15,6 +20,7 @@
vmessage("jed library path: %s", get_jed_library_path());
+% evaluate required utility functions
require("make_ini");
% Do not generate autoloads for the following files:
@@ -40,15 +46,5 @@
Make_ini_Add_Completions = 0;
update_ini(utils_dir);
-
-define compile_slfiles_in_dir(dir)
-{
- message ("Byte compiling SLang files in " + dir);
- foreach ( listdir(dir) ) {
- $1 = ();
- if ( path_extname($1) == ".sl" )
- byte_compile_file(path_concat(dir, $1), 0);
- }
-}
-
-compile_slfiles_in_dir("/usr/share/jed/jed-extra/colors");
+% byte compile color files
+byte_compile_libdir(colors_dir);
More information about the Pkg-jed-commit
mailing list