[Pkg-jed-commit] r98 - in trunk/packages/jed-extra/debian: . init

Guenter Milde milde-guest at costa.debian.org
Wed Oct 5 09:14:24 UTC 2005


Author: milde-guest
Date: 2005-10-05 09:14:23 +0000 (Wed, 05 Oct 2005)
New Revision: 98

Removed:
   trunk/packages/jed-extra/debian/init/05home-lib.sl
   trunk/packages/jed-extra/debian/init/55ispell.sl
Modified:
   trunk/packages/jed-extra/debian/README.Debian
   trunk/packages/jed-extra/debian/build-orig.tar_gz
   trunk/packages/jed-extra/debian/changelog
   trunk/packages/jed-extra/debian/compile
   trunk/packages/jed-extra/debian/control
   trunk/packages/jed-extra/debian/copyright
   trunk/packages/jed-extra/debian/init/50jed-extra.sl
Log:
Implemented (part of) the ideas in README.Maintainer.
New upstream URL.
Attention: the package is now most likely broken


Modified: trunk/packages/jed-extra/debian/README.Debian
===================================================================
--- trunk/packages/jed-extra/debian/README.Debian	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/README.Debian	2005-10-05 09:14:23 UTC (rev 98)
@@ -1,10 +1,13 @@
 jed-extra for Debian
 --------------------
 
-This is a package which will gather several add-on package for the JED
-editor.  For now, it contains only the jedmodes distribution from the
-jedmodes project at SourceForge (http://jedmodes.sf.net).
+This package contains several extensions for the JED editor. It contains
+mainly extensions from the Jedmodes project at SourceForge
+(http://jedmodes.sf.net/).
 
+Activation/Customization is done in /etc/jed.d/50jed-extra.sl.
+Adapt this file to the needs of your site.
+
 The version numbering scheme for the jed-extra package is similar to the
 scheme used by the emacs-goodies.el package: the major number will be
 incremented when new files are added to the package.  The minor number is

Modified: trunk/packages/jed-extra/debian/build-orig.tar_gz
===================================================================
--- trunk/packages/jed-extra/debian/build-orig.tar_gz	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/build-orig.tar_gz	2005-10-05 09:14:23 UTC (rev 98)
@@ -2,10 +2,11 @@
 
 set -e
 
-wget http://ovh.dl.sourceforge.net/sourceforge/jedmodes/jedmodes.tar.gz
-tar -xzf jedmodes.tar.gz
+wget http://jedmodes.sf.net/cvs/jedmodes.tgz
+tar -xzf jedmodes.tgz
 mv mode jed-extra-1.2
 cd jed-extra-1.2
+# TODO: update these
 wget -O window.sl 'http://cvs.sourceforge.net/viewcvs.py/jedmodes/mode/window/window.sl?view=checkout&rev=HEAD'
 wget -O subpar.sl 'http://jedmodes.sourceforge.net/cvs/mode/subpar/subpar.sl'
 wget -O complete.sl 'http://cvs.sourceforge.net/viewcvs.py/jedmodes/mode/complete/complete.sl?view=checkout&rev=HEAD'

Modified: trunk/packages/jed-extra/debian/changelog
===================================================================
--- trunk/packages/jed-extra/debian/changelog	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/changelog	2005-10-05 09:14:23 UTC (rev 98)
@@ -1,7 +1,28 @@
 jed-extra (1.2-1) experimental; urgency=high
 
   NOT YET RELEASED!
+  CURRENTLY BROKEN!
+  
+  +++ Changes by Guenter Milde <milde at users.sf.net>
 
+  * new upstream source [changed build-orig.tar_gz]
+  * updated copyright (source URI, removed explicit listing of authors)
+  * updated README.Debian (give customization instructions)
+  * pooled initialization/customization in jed.d/50jed-extra.sl
+    using libdir.sl for "registering" of library directories
+  * changed location of jed-extra library dir to /usr/lib/jed-extra/
+  
+  TODO:
+    + rules to sort the upstream files into .../jed-extra/ and
+      .../jed-extra/drop-in/
+    + creation of ini.sl files, *.slc files, *.dfa files, documentation
+      files in the libdirs with make-ini 
+      (fine tune by modifying upstream, excluding offending modes, using the
+       permanent part of ini.sl)
+      Moving the "to be configurable" part of initialization to
+      50jed-extra.sl and example jed.rc 
+   
+
   +++ Changes by Rafael Laboisssiere
 
   * The *.slc files are now generated at install-time
@@ -17,7 +38,7 @@
 
   +++ Changes by Jörg Sommer <joerg at alea.gnuu.de>
 
-  * the following modes were removed by upstream:
+  * the following modes were (re)moved by upstream:
 
     boekmark, bufed_srch, cal, gpg, help, history, hs, hyperman, jedgtk,
     jedmodes, jedscape, miscfun, mousedrag, outline, resume, rimini,
@@ -25,7 +46,7 @@
 
   * the following modes were added by upstream:
     
-    filter-buffer, tm
+    filter-buffer, tm, libdir
 
   * updated debian/copyright about the sources
   * yodlfun.txt is now found in site-lib/ because it is searched there

Modified: trunk/packages/jed-extra/debian/compile
===================================================================
--- trunk/packages/jed-extra/debian/compile	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/compile	2005-10-05 09:14:23 UTC (rev 98)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-LIBDIR=/usr/share/jed/site-lib
+LIBDIR=/usr/lib/jed-extra
 PREPARSE=jed-extra-preparse.sl
 
 case "$1" in

Modified: trunk/packages/jed-extra/debian/control
===================================================================
--- trunk/packages/jed-extra/debian/control	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/control	2005-10-05 09:14:23 UTC (rev 98)
@@ -7,11 +7,11 @@
 
 Package: jed-extra
 Architecture: all
-Depends: jed-common (>= 0.99.16-5)
+Depends: jed-common (>= 0.99.17.111)
 Suggests: slsh, html2text
 Conflicts: dictionaries-common (<< 0.14.0)
 Description: collection of useful JED modes and utilities
  This package contains add-on packages for the JED text editor from
  the JEDmodes repository at SourceForge and elsewhere.
  .
- Homepage: http://jedmodes.sourceforge.net
+ Homepage: http://jedmodes.sourceforge.net/

Modified: trunk/packages/jed-extra/debian/copyright
===================================================================
--- trunk/packages/jed-extra/debian/copyright	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/copyright	2005-10-05 09:14:23 UTC (rev 98)
@@ -3,12 +3,12 @@
 
 The tarballs/files included in this release were downloaded from:
 
-    cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/jedmodes export \
-        -D2005-07-08 mode
+     http://jedmodes.sf.net/cvs/jedmodes.tgz
 
+and other sources (TODO: specify!)     
+     
 Upstream Authors: 
-    Paul Boekholt <p.boekholt at hetnet.nl>
-    Günter Milde <milde at ife.et.tu-dresden.de>  
+    See source files and http://jedmodes.sf.net/mode/creator/
 
 Copyright: 
     All files in this package are released under the GNU General Public

Deleted: trunk/packages/jed-extra/debian/init/05home-lib.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/05home-lib.sl	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/init/05home-lib.sl	2005-10-05 09:14:23 UTC (rev 98)
@@ -1,4 +0,0 @@
-$1 = "/usr/share/jed/site-lib/home-lib.sl";
-
-if (file_status($1) == 1)
-  evalfile($1);

Modified: trunk/packages/jed-extra/debian/init/50jed-extra.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/50jed-extra.sl	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/init/50jed-extra.sl	2005-10-05 09:14:23 UTC (rev 98)
@@ -1,10 +1,35 @@
-$1 = "/usr/share/jed/site-lib";
+% 50jed-extra.sl: Initialization of jed-extra package
 
-% if jed-extra is removed (not pruged), this file exists but nothing else
-% it expects
+% Copyright (c) 2005 Debian JED Group
+%  Released under the terms of the GNU General Public License (v. 2 or later)
 
-if (file_status($1) == 2) {
-   set_jed_library_path(get_jed_library_path()+","+$1);
-   
-   () = evalfile($1 + "/jed-extra-init.sl");
-}
+% Location of the jed-extra package's library dir
+$1 = "/usr/lib/jed-extra/";
+
+% if jed-extra is removed (not purged), this file exists 
+% but nothing else it expects --> abort
+#if (file_status($1) != 2)
+#stop
+#endif
+
+% Add (and initialize) library directories
+% ----------------------------------------
+
+% append the default jed-extra library dir and evaluate its ini.sl file
+require($1 + "libdir.sl"); 
+append_libdir($1);
+
+% prepend the drop-in's library dir and evaluate its ini.sl file
+% (recent, help, man, ...)
+% comment out if you want to keep the original behaviour
+add_libdir($1 + "drop-in/");   
+
+
+% Globally activate extensions
+% ----------------------------
+
+% TODO: which ones should be activated by default?
+
+% require("numbuf");       % number buffers for fast switching
+% require("ispell_init");  % ispell|aspell support
+% ...

Deleted: trunk/packages/jed-extra/debian/init/55ispell.sl
===================================================================
--- trunk/packages/jed-extra/debian/init/55ispell.sl	2005-10-04 10:16:59 UTC (rev 97)
+++ trunk/packages/jed-extra/debian/init/55ispell.sl	2005-10-05 09:14:23 UTC (rev 98)
@@ -1,7 +0,0 @@
-
-% make sure jed-extra is removed and not purged
-
-$1 = expand_jedlib_file("ispell_init.sl");
-
-if ( strlen($1) )
-  () = evalfile($1);




More information about the Pkg-jed-commit mailing list