[Pkg-jed-commit] r303 - in trunk/packages/jed-extra: debian debian/patches utils

Jörg Sommer jo-guest at costa.debian.org
Thu May 25 23:39:30 UTC 2006


Author: jo-guest
Date: 2006-05-25 23:39:28 +0000 (Thu, 25 May 2006)
New Revision: 303

Added:
   trunk/packages/jed-extra/debian/patches/apsmode.dpatch
   trunk/packages/jed-extra/debian/patches/ding.dpatch
   trunk/packages/jed-extra/debian/patches/missing_autoload.dpatch
   trunk/packages/jed-extra/utils/check_installation
Removed:
   trunk/packages/jed-extra/debian/patches/50_ispell-fix-requirements.dpatch
   trunk/packages/jed-extra/debian/patches/50_rfcview-require-bufutils.dpatch
   trunk/packages/jed-extra/debian/patches/52_yodl-require.dpatch
Modified:
   trunk/packages/jed-extra/debian/contents.txt
   trunk/packages/jed-extra/debian/patches/00list
Log:
* jed-extra/utils/check_installation:
  + Inspired by the broken patch of rfcview I've activated in one of my
    last commits, I've written a script to check if all files in
    /usr/share/jed/jed-extra are loadable. Some of them are exceptions or
    require special attention. Take a look.

* debian/patches/missing_autoload.dpatch:
  + The check_installation script showed tons of modes they all miss any
    autload() calls. This big patch should fix this.

* debian/patches/50_rfcview-require-bufutils.dpatch,
  50_ispell-fix-requirements.dpatch, 52_yodl-require.dpatch:
  + they are now superseded by missing_autoload

* debian/contents.txt:
  + Marked fileview, howto and jedscape because they have dependencies on
    functions/modes they are not in the archive nor in jed's upstream
    archive.

  + Removed history and rmail because they are not in the archive.

* debian/patches/ding.dpatch:
  + ding fails to load, because a predefinition of the function ding is
    missing before its usage.

* debian/patches/apsmode.dpatch:
  + In the file an environment variable TMPDIR is used which is not
    available anywhere. Replace it by the more generic Jed_Tmp_Directory.


Modified: trunk/packages/jed-extra/debian/contents.txt
===================================================================
--- trunk/packages/jed-extra/debian/contents.txt	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/contents.txt	2006-05-25 23:39:28 UTC (rev 303)
@@ -41,14 +41,14 @@
 A   email          mode for editing emails
 X   ffap           Find File At Point
 E   filelist       A special mode for file listings (ls, locate)
-X   fileview       configurable file viewing function
+O   fileview       configurable file viewing function
 E   filter-buffer  Filter buffer  show/hide lines that match a pattern
 A   gdbmrecent     another recent mode
 A   gnuplot        Mode for the Gnuplot plotting program
 A   grep           JED interface to the `grep` command
-O   history        Save the content of the minibuffer across jed sessions
+#O   history        Save the content of the minibuffer across jed sessions
 O   home-lib       Initialize libraries for jed extensions easily
-X   howto          howto-reader
+O   howto          howto-reader
 D   hyperhelp      Hypertext help browser.
 D   hyperman       hypertextish man pager
 X   info           Info reader for JED
@@ -57,11 +57,11 @@
 A   jedasp         Try to simulate MS IIS Active Server Pages with JED
 #X   jedgtk         slgtk dialogs for JED
 #X   jedmodes       Utilities for the publication of modes at Jedmodes
-X   jedscape       html browser
+O   jedscape       html browser
 #X   kcomplete      keyword completion from the syntax table
 A   keywords       Create keyword lists for syntax tables
 O   kp_keydefs     keydefs for the numeric keypad (now included in x-keydefs)
-D   latex-jlm      Yet another latex mode for Jed
+#D   latex-jlm      Yet another latex mode for Jed
 A   libdir         Support for library directories with jed extensions
 A   life           Conway's Game of Life
 U   listing        Mode for listings of e.g. files or findings
@@ -84,7 +84,7 @@
 A   print          printer interface
 D   recent         Provide easy access to recently opened/saved files.
 X   rfcview        RFC viewer
-O   rmail          MUA suite
+#O   rmail          MUA suite
 A   rst            Mode for reStructured Text
 O   scrnhelp       Show little help buffers
 X   services       uri_hooks for some common URI schemes

Modified: trunk/packages/jed-extra/debian/patches/00list
===================================================================
--- trunk/packages/jed-extra/debian/patches/00list	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/00list	2006-05-25 23:39:28 UTC (rev 303)
@@ -1,3 +1,4 @@
-50_ispell-fix-requirements
-50_rfcview-require-bufutils
-52_yodl-require
+missing_autoload
+
+apsmode
+ding

Deleted: trunk/packages/jed-extra/debian/patches/50_ispell-fix-requirements.dpatch
===================================================================
--- trunk/packages/jed-extra/debian/patches/50_ispell-fix-requirements.dpatch	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/50_ispell-fix-requirements.dpatch	2006-05-25 23:39:28 UTC (rev 303)
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 50_ispell-fix-requirements.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
-##
-## DP: ispell_init misses some declarations of autoload functions
-
- at DPATCH@
-diff -urNad --exclude=CVS --exclude=.svn ./ispell/ispell_init.sl /tmp/dpep-work.wIsxzL/mode.cvs/ispell/ispell_init.sl
---- ./ispell/ispell_init.sl	2005-06-16 10:54:35.000000000 +0200
-+++ /tmp/dpep-work.wIsxzL/mode.cvs/ispell/ispell_init.sl	2005-07-04 00:56:49.007973624 +0200
-@@ -26,6 +26,8 @@
- 	  "flyspell_region", "flyspell",
- 	  "ispell_region", "ispell",
--	  "vispell", "vispell", 9);
-+	  "vispell", "vispell",
-+	  "push_defaults", "sl_utils",
-+	  "menu_radio", "menu_utils", 11);
- _add_completion("ispell_change_dictionary",
- 		"ispell_change_local_dictionary",
- 		"flyspell_mode", "ispell_region", 

Deleted: trunk/packages/jed-extra/debian/patches/50_rfcview-require-bufutils.dpatch
===================================================================
--- trunk/packages/jed-extra/debian/patches/50_rfcview-require-bufutils.dpatch	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/50_rfcview-require-bufutils.dpatch	2006-05-25 23:39:28 UTC (rev 303)
@@ -1,18 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 50_rfcview-require-bufutils.dpatch by Rafael Laboissiere <rafael at debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad jed-extra-2.2~/rfcview/rfcview.sl jed-extra-2.2/rfcview/rfcview.sl
---- jed-extra-2.2~/rfcview/rfcview.sl	2005-11-18 11:50:30.000000000 +0100
-+++ jed-extra-2.2/rfcview/rfcview.sl	2006-05-22 22:11:02.798733102 +0200
-@@ -17,6 +17,7 @@
- 
- provide("rfcview");
- require("view");
-+require("bufutils");
- implements("rfcview");
- 
- custom_variable ("Rfc_Path", "/usr/doc/rfc");

Deleted: trunk/packages/jed-extra/debian/patches/52_yodl-require.dpatch
===================================================================
--- trunk/packages/jed-extra/debian/patches/52_yodl-require.dpatch	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/52_yodl-require.dpatch	2006-05-25 23:39:28 UTC (rev 303)
@@ -1,22 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 52_yodl-require.dpatch by Rafael Laboissiere <rafael at debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-
-diff -Naur mode-orig/yodl/yodl.sl mode/yodl/yodl.sl
---- mode-orig/yodl/yodl.sl	2004-11-15 13:36:09.000000000 +0100
-+++ mode/yodl/yodl.sl	2005-03-08 12:58:16.000000000 +0100
-@@ -7,6 +7,10 @@
- % Copyright (c) 2004 Paul Boekholt.
- % Released under the terms of the GNU GPL (version 2 or later).
- 
-+require ("txtutils");
-+require ("bufutils");
-+require ("help");
-+
- if (_featurep("yodl"))
-   use_namespace("yodl");
- else

Added: trunk/packages/jed-extra/debian/patches/apsmode.dpatch
===================================================================
--- trunk/packages/jed-extra/debian/patches/apsmode.dpatch	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/apsmode.dpatch	2006-05-25 23:39:28 UTC (rev 303)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## apsmode.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad jed-extra-2.2~/apsmode/apsconf/apsconf.sl jed-extra-2.2/apsmode/apsconf/apsconf.sl
+--- jed-extra-2.2~/apsmode/apsconf/apsconf.sl	2005-11-23 16:42:22.000000000 +0100
++++ jed-extra-2.2/apsmode/apsconf/apsconf.sl	2006-05-24 19:16:27.615198334 +0200
+@@ -55,7 +55,7 @@
+ aps_del_ps_file = 1;
+ 
+ #ifdef UNIX
+-aps_tmp_dir = path_concat(getenv("TMPDIR"), ""); % ensure trailing "/"
++aps_tmp_dir = path_concat(Jed_Tmp_Directory, ""); % ensure trailing "/"
+ if (aps_tmp_dir == "")
+   aps_tmp_dir = "/tmp/";
+ a2ps_cmd = "a2ps";

Added: trunk/packages/jed-extra/debian/patches/ding.dpatch
===================================================================
--- trunk/packages/jed-extra/debian/patches/ding.dpatch	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/ding.dpatch	2006-05-25 23:39:28 UTC (rev 303)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## ding.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad jed-extra-2.2~/ding/ding.sl jed-extra-2.2/ding/ding.sl
+--- jed-extra-2.2~/ding/ding.sl	2006-05-24 19:29:11.328864334 +0200
++++ jed-extra-2.2/ding/ding.sl	2006-05-24 19:30:55.893120334 +0200
+@@ -182,6 +182,9 @@
+ 
+ define ding_mode(); % dummy definition
+ 
++public define ding(); % predefinition, otherwise the reference on it do no
++                      % exist inside the ding() function
++
+ public define ding() % ([word], direction=Ding_Direction)
+ {
+    variable word, direction; 

Added: trunk/packages/jed-extra/debian/patches/missing_autoload.dpatch
===================================================================
--- trunk/packages/jed-extra/debian/patches/missing_autoload.dpatch	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/debian/patches/missing_autoload.dpatch	2006-05-25 23:39:28 UTC (rev 303)
@@ -0,0 +1,293 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## missing_autoload.dpatch by Jörg Sommer <joerg at alea.gnuu.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad jed-extra-2.2~/a2ps/a2ps.sl jed-extra-2.2/a2ps/a2ps.sl
+--- jed-extra-2.2~/a2ps/a2ps.sl	2005-03-15 10:25:03.000000000 +0100
++++ jed-extra-2.2/a2ps/a2ps.sl	2006-05-25 00:06:04.287052008 +0200
+@@ -14,6 +14,9 @@
+ $1 = "a2ps";
+ provide ($1);
+ 
++autoload("string_get_match", "strutils");
++autoload("rebind", "bufutils");
++
+ %{{{ syntax table
+ 
+ % this is mostly out of sh_mode.sl
+diff -urNad jed-extra-2.2~/browse_url/browse_url.sl jed-extra-2.2/browse_url/browse_url.sl
+--- jed-extra-2.2~/browse_url/browse_url.sl	2005-11-21 11:56:31.000000000 +0100
++++ jed-extra-2.2/browse_url/browse_url.sl	2006-05-25 00:06:04.287052008 +0200
+@@ -23,6 +23,8 @@
+ % _debug_info=1;
+ 
+ autoload("popup_buffer", "bufutils");
++autoload("push_defaults", "slutils");
++autoload("close_buffer", "bufutils");
+ 
+ private variable mode = "browse_url";
+ provide(mode);
+diff -urNad jed-extra-2.2~/bufed/bufed_srch.sl jed-extra-2.2/bufed/bufed_srch.sl
+--- jed-extra-2.2~/bufed/bufed_srch.sl	2006-03-21 09:20:21.000000000 +0100
++++ jed-extra-2.2/bufed/bufed_srch.sl	2006-05-25 00:06:04.287052008 +0200
+@@ -9,6 +9,7 @@
+ 
+ provide ("bufed_srch");
+ 
++require ("bufed");
+ require ("search");
+ require ("srchmisc");
+ require ("regexp");
+diff -urNad jed-extra-2.2~/cal/cal.sl jed-extra-2.2/cal/cal.sl
+--- jed-extra-2.2~/cal/cal.sl	2005-11-26 18:10:30.000000000 +0100
++++ jed-extra-2.2/cal/cal.sl	2006-05-25 00:06:04.287052008 +0200
+@@ -16,6 +16,7 @@
+ "cal_print_day_of_year", "calmisc.sl", 3);
+ 
+ require("diary");
++require("keydefs");
+ use_namespace("calendar");
+ variable mode = "calendar";
+ 
+diff -urNad jed-extra-2.2~/complete/complete.sl jed-extra-2.2/complete/complete.sl
+--- jed-extra-2.2~/complete/complete.sl	2005-03-15 10:25:07.000000000 +0100
++++ jed-extra-2.2/complete/complete.sl	2006-05-25 00:06:04.291052008 +0200
+@@ -35,6 +35,10 @@
+ %   
+ % You don't need this for completing in S-Lang, use sltabc.sl for that.
+ 
++autoload("push_defaults", "sl_utils");
++autoload("bget_word", "txtutils");
++autoload("run_blocal_hook", "bufutils");
++
+ % find the completions of WORD in FILE
+ % The file should be sorted!
+ define complete_from_file() % (word [file])
+diff -urNad jed-extra-2.2~/cuamouse/cuamouse.sl jed-extra-2.2/cuamouse/cuamouse.sl
+--- jed-extra-2.2~/cuamouse/cuamouse.sl	2005-11-18 11:50:27.000000000 +0100
++++ jed-extra-2.2/cuamouse/cuamouse.sl	2006-05-25 00:06:04.291052008 +0200
+@@ -64,6 +64,7 @@
+ 
+ require ("mouse");
+ autoload("run_function", "sl_utils");
++autoload("cua_mark", "cuamark");
+ 
+ variable CuaMouse_Drag_Mode = 0;     % 0 no previous drag, 1 drag
+ variable CuaMouse_Return_Value = 1;  % return value for the mouse_hooks
+diff -urNad jed-extra-2.2~/diagnose/diagnose.sl jed-extra-2.2/diagnose/diagnose.sl
+--- jed-extra-2.2~/diagnose/diagnose.sl	2005-11-18 11:50:27.000000000 +0100
++++ jed-extra-2.2/diagnose/diagnose.sl	2006-05-25 00:06:04.291052008 +0200
+@@ -9,6 +9,7 @@
+ 
+ 
+ autoload("popup_buffer", "bufutils");
++autoload("fit_window", "bufutils");
+ autoload("view_mode", "view");
+ require("sprint_var");
+ 
+diff -urNad jed-extra-2.2~/ding/ding.sl jed-extra-2.2/ding/ding.sl
+--- jed-extra-2.2~/ding/ding.sl	2005-11-18 11:50:27.000000000 +0100
++++ jed-extra-2.2/ding/ding.sl	2006-05-25 00:06:04.291052008 +0200
+@@ -54,6 +54,7 @@
+ autoload("array", "datutils");
+ autoload("get_table", "csvutils");
+ autoload("insert_table", "csvutils");
++autoload("fit_window", "bufutils");
+ 
+ % --- name it
+ provide("ding");
+diff -urNad jed-extra-2.2~/gdbmrecent/gdbmrecent.sl jed-extra-2.2/gdbmrecent/gdbmrecent.sl
+--- jed-extra-2.2~/gdbmrecent/gdbmrecent.sl	2005-10-23 13:18:48.000000000 +0200
++++ jed-extra-2.2/gdbmrecent/gdbmrecent.sl	2006-05-25 00:08:33.783052008 +0200
+@@ -29,6 +29,9 @@
+ provide("recent");
+ provide("gdbmrecent");
+ 
++autoload("what_line_if_wide", "sl_utils");
++autoload("buffer_dirname", "bufutils");
++
+ % customvariables.
+ 
+ % where to store the list
+diff -urNad jed-extra-2.2~/gnuplot/gnuplot.sl jed-extra-2.2/gnuplot/gnuplot.sl
+--- jed-extra-2.2~/gnuplot/gnuplot.sl	2005-11-18 11:50:28.000000000 +0100
++++ jed-extra-2.2/gnuplot/gnuplot.sl	2006-05-25 00:06:04.295052008 +0200
+@@ -64,6 +64,8 @@
+ autoload("view_mode", "bufutils");
+ autoload("ishell_mode", "ishell");
+ autoload("shell_cmd_on_region", "ishell");
++autoload("get_blocal", "sl_utils");
++autoload("fit_window", "bufutils");
+ 
+ % --- user adjustable settings ------------------------------------
+ 
+diff -urNad jed-extra-2.2~/hyperman/hyperman.sl jed-extra-2.2/hyperman/hyperman.sl
+--- jed-extra-2.2~/hyperman/hyperman.sl	2005-11-18 11:50:29.000000000 +0100
++++ jed-extra-2.2/hyperman/hyperman.sl	2006-05-25 00:06:04.295052008 +0200
+@@ -10,6 +10,7 @@
+ provide ("hyperman");
+ provide ("man");
+ require("view");
++autoload("string_nth_match", "strutils");
+ implements("man");
+ 
+ %{{{ customvariables
+diff -urNad jed-extra-2.2~/info/info_look.sl jed-extra-2.2/info/info_look.sl
+--- jed-extra-2.2~/info/info_look.sl	2006-03-21 09:20:22.000000000 +0100
++++ jed-extra-2.2/info/info_look.sl	2006-05-25 00:06:04.295052008 +0200
+@@ -11,6 +11,7 @@
+ % hyperman and info.
+ 
+ autoload("unix_apropos", "hyperman");
++autoload("get_word", "txtutils");
+ require("info");
+ use_namespace("info");
+ % Look up word in manpage in mode-dependent section
+diff -urNad jed-extra-2.2~/ishell/ishell.sl jed-extra-2.2/ishell/ishell.sl
+--- jed-extra-2.2~/ishell/ishell.sl	2006-05-17 15:07:42.000000000 +0200
++++ jed-extra-2.2/ishell/ishell.sl	2006-05-25 00:06:04.299052008 +0200
+@@ -128,6 +128,7 @@
+ autoload("run_local_hook", "bufutils");
+ autoload("bufsubfile", "bufutils");
+ autoload("view_mode", "view");
++autoload("fit_window", "bufutils");
+ 
+ % autoload("strbreak", "strutils");
+ 
+diff -urNad jed-extra-2.2~/ispell/ispell_init.sl jed-extra-2.2/ispell/ispell_init.sl
+--- jed-extra-2.2~/ispell/ispell_init.sl	2006-03-21 09:20:22.000000000 +0100
++++ jed-extra-2.2/ispell/ispell_init.sl	2006-05-25 00:06:04.299052008 +0200
+@@ -25,7 +25,8 @@
+ 	  "flyspell_mode","flyspell",
+ 	  "flyspell_region", "flyspell",
+ 	  "ispell_region", "ispell",
+-	  "vispell", "vispell", 9);
++	  "vispell", "vispell",
++          "push_defaults", "sl_utils", 10);
+ _add_completion("ispell_change_dictionary",
+ 		"ispell_change_local_dictionary",
+ 		"flyspell_mode", "ispell_region", 
+diff -urNad jed-extra-2.2~/menutils/menutils.sl jed-extra-2.2/menutils/menutils.sl
+--- jed-extra-2.2~/menutils/menutils.sl	2005-11-18 11:50:29.000000000 +0100
++++ jed-extra-2.2/menutils/menutils.sl	2006-05-25 00:06:04.299052008 +0200
+@@ -9,6 +9,8 @@
+ 
+ provide("menutils");
+ 
++autoload("push_defaults", "sl_utils");
++
+ static define menu_do_toggle(var)
+ {
+    @var = not @var;
+diff -urNad jed-extra-2.2~/occur/occur.sl jed-extra-2.2/occur/occur.sl
+--- jed-extra-2.2~/occur/occur.sl	2005-11-26 18:06:11.000000000 +0100
++++ jed-extra-2.2/occur/occur.sl	2006-05-25 00:06:04.299052008 +0200
+@@ -18,6 +18,9 @@
+ provide ("occur");
+ require ("keydefs");
+ require ("view");
++autoload("push_defaults", "sl_utils");
++autoload("get_word", "txtutils");
++autoload("popup_buffer", "bufutils");
+ implements ("occur");
+ define get_buffer_name();
+ 
+diff -urNad jed-extra-2.2~/pcre/pcre.sl jed-extra-2.2/pcre/pcre.sl
+--- jed-extra-2.2~/pcre/pcre.sl	2005-11-18 11:50:30.000000000 +0100
++++ jed-extra-2.2/pcre/pcre.sl	2006-05-25 00:06:04.299052008 +0200
+@@ -17,6 +17,8 @@
+ import("pcre");
+ require("srchmisc");
+ require("occur");  % this requires the occur from jedmodes.sf.net/mode/occur
++autoload("get_word", "txtutils");
++autoload("popup_buffer", "bufutils");
+ 
+ % _debug_info=1;
+ %{{{ search
+diff -urNad jed-extra-2.2~/rfcview/rfcview.sl jed-extra-2.2/rfcview/rfcview.sl
+--- jed-extra-2.2~/rfcview/rfcview.sl	2005-11-18 11:50:30.000000000 +0100
++++ jed-extra-2.2/rfcview/rfcview.sl	2006-05-25 00:06:04.303052008 +0200
+@@ -17,6 +17,8 @@
+ 
+ provide("rfcview");
+ require("view");
++autoload("string_get_match", "strutils");
++require("bufutils");          % for Help_Message
+ implements("rfcview");
+ 
+ custom_variable ("Rfc_Path", "/usr/doc/rfc");
+diff -urNad jed-extra-2.2~/rst/rst.sl jed-extra-2.2/rst/rst.sl
+--- jed-extra-2.2~/rst/rst.sl	2006-05-17 15:07:44.000000000 +0200
++++ jed-extra-2.2/rst/rst.sl	2006-05-25 00:06:04.303052008 +0200
+@@ -43,6 +43,9 @@
+ autoload("insert_markup", "txtutils");   % >= 2.3
+ autoload("insert_block_markup", "txtutils");   % >= 2.3
+ autoload("string_repeat", "strutils");
++autoload("close_buffer", "bufutils");
++autoload("get_blocal", "sl_utils");
++autoload("fit_window", "bufutils");
+ 
+ % Recommendations
+ % ===============
+diff -urNad jed-extra-2.2~/snake/snake.sl jed-extra-2.2/snake/snake.sl
+--- jed-extra-2.2~/snake/snake.sl	2005-11-18 11:50:30.000000000 +0100
++++ jed-extra-2.2/snake/snake.sl	2006-05-25 00:06:04.303052008 +0200
+@@ -10,6 +10,7 @@
+ provide("snake");
+ implements("snake");
+ 
++autoload("get_keystring", "strutils");
+ 
+ 
+ custom_variable("Snake_Use_DFA", 1);
+diff -urNad jed-extra-2.2~/strutils/strutils.sl jed-extra-2.2/strutils/strutils.sl
+--- jed-extra-2.2~/strutils/strutils.sl	2005-11-21 11:56:33.000000000 +0100
++++ jed-extra-2.2/strutils/strutils.sl	2006-05-25 00:06:04.303052008 +0200
+@@ -20,6 +20,7 @@
+ % (projects for further functions in projects/str_utils.sl)
+ 
+ autoload("array_append", "datutils");
++autoload("push_defaults", "slutils");
+ 
+ % debug information, uncomment to locate errors
+  % _debug_info = 1;
+diff -urNad jed-extra-2.2~/tm/tmtools.sl jed-extra-2.2/tm/tmtools.sl
+--- jed-extra-2.2~/tm/tmtools.sl	2006-03-21 09:20:24.000000000 +0100
++++ jed-extra-2.2/tm/tmtools.sl	2006-05-25 00:06:04.307052008 +0200
+@@ -20,6 +20,7 @@
+ autoload("bget_word", "txtutils");
+ autoload("insert_markup", "txtutils");
+ autoload("string_nth_match", "strutils");
++autoload("c_top_of_function", "cmisc");
+ 
+ % Uhm, the word should be defined by mode, I guess (but currently is not)
+ % More accurate: it should be mode specific: when I edit a latin1 encoded
+diff -urNad jed-extra-2.2~/turbo/turbo.sl jed-extra-2.2/turbo/turbo.sl
+--- jed-extra-2.2~/turbo/turbo.sl	2005-03-15 10:25:20.000000000 +0100
++++ jed-extra-2.2/turbo/turbo.sl	2006-05-25 00:06:04.307052008 +0200
+@@ -19,6 +19,8 @@
+ % }
+ 
+ require ("keydefs");
++autoload("get_blocal", "sl_utils");
++
+ static variable begin = "", completion = "", wordchars = 
+   "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", otherchars = "-'",
+   nomatch = 0;
+diff -urNad jed-extra-2.2~/yodl/yodl.sl jed-extra-2.2/yodl/yodl.sl
+--- jed-extra-2.2~/yodl/yodl.sl	2005-03-15 10:25:21.000000000 +0100
++++ jed-extra-2.2/yodl/yodl.sl	2006-05-25 00:06:04.307052008 +0200
+@@ -7,6 +7,10 @@
+ % Copyright (c) 2004 Paul Boekholt.
+ % Released under the terms of the GNU GPL (version 2 or later).
+ 
++autoload("get_word", "txtutils");
++autoload("popup_buffer", "bufutils");
++autoload("help_for_word_at_point", "help");
++
+ if (_featurep("yodl"))
+   use_namespace("yodl");
+ else

Added: trunk/packages/jed-extra/utils/check_installation
===================================================================
--- trunk/packages/jed-extra/utils/check_installation	2006-05-24 15:38:26 UTC (rev 302)
+++ trunk/packages/jed-extra/utils/check_installation	2006-05-25 23:39:28 UTC (rev 303)
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Check if all modes are loadable. This does not ensure they are usable, but
+# it is a first step in this direction.
+
+for i in $(find /usr/share/jed/jed-extra -type f -name \*.sl -printf "%P "); do
+    printf "try to load $i..."
+    opt=
+    case "$i" in
+      *vimisc.sl|*apsconf.sl)
+        echo "skipped, because it's a sub-file of a mode, not a standalone file."
+        continue
+        ;;
+      *life.sl)
+        # this mode uses SCREEN_WIDTH and SCREEN_HEIGHT which are zero in
+        # -batch mode which causes an array of dimension < 0 is created
+        echo "skipped, because it would fail."
+        continue
+        ;;
+      *gdbmrecent.sl)
+        if ! [ -f /usr/lib/slang/v2/modules/gdbm-module.so ]; then
+            echo "skipped, because the package slang-gdbm is not installed."
+            continue
+        fi
+        ;;
+      *dict-curl.sl)
+        if ! [ -f /usr/lib/slang/v2/modules/curl-module.so ]; then
+            echo "skipped, because the package slang-curl is not installed."
+            continue
+        fi
+        ;;
+      *pcre.sl)
+        if ! [ -f /usr/lib/slang/v2/modules/pcre-module.so ]; then
+            echo "skipped, because the package slsh is not installed."
+            continue
+        fi
+        ;;
+      *bufed_srch.sl)
+        # this mode requires "bufed", but not the one in jed/lib/
+        opt="-l extra/bufed"
+        ;;
+      *info_look.sl|*infomisc.sl)
+        # this mode requires "info", but not the one in jed/lib/
+        opt="-l extra/info"
+        ;;
+      *cuamouse.sl)
+        # in batchmode these functions are not defined, which causes
+        # jed/lib/mouse.sl fail
+        opt="-f 'define x_copy_region_to_selection(); \
+             define x_insert_selection(); define x_warp_pointer();'"
+        ;;
+    esac
+
+    if OUTP=$(eval jed -batch -n $opt -l \"$i\" 2>&1); then
+        echo "success."
+    else
+        echo "failed."
+        echo
+        echo "% jed -batch -n $opt -l \"$i\""
+        echo "$OUTP"
+        echo
+    fi
+done


Property changes on: trunk/packages/jed-extra/utils/check_installation
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-jed-commit mailing list