[Pkg-jed-commit] r10 - in trunk/packages/jed-extra: . debian patch

Rafael Laboissiere rafael@costa.debian.org
Wed, 16 Mar 2005 10:35:35 +0100


Author: rafael
Date: 2005-03-16 10:35:35 +0100 (Wed, 16 Mar 2005)
New Revision: 10

Added:
   trunk/packages/jed-extra/compile-files.sl.in
   trunk/packages/jed-extra/debian/
   trunk/packages/jed-extra/debian/README.Debian
   trunk/packages/jed-extra/debian/changelog
   trunk/packages/jed-extra/debian/compat
   trunk/packages/jed-extra/debian/control
   trunk/packages/jed-extra/debian/copyright
   trunk/packages/jed-extra/debian/rules
   trunk/packages/jed-extra/home-lib.tgz
   trunk/packages/jed-extra/ispell.tgz
   trunk/packages/jed-extra/patch/
   trunk/packages/jed-extra/patch/01-ispell-hash-name.patch
   trunk/packages/jed-extra/patch/02-ispell-space-option.patch
   trunk/packages/jed-extra/patch/03-fix-home-jedrc.patch
   trunk/packages/jed-extra/patch/04-dircat-stack-order.patch
   trunk/packages/jed-extra/sl_utils.tar.gz
Log:
Debian release jed-extra_0.1.8

Added: trunk/packages/jed-extra/compile-files.sl.in
===================================================================
--- trunk/packages/jed-extra/compile-files.sl.in	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/compile-files.sl.in	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,12 @@
+<: undef $/; :>
+
+variable files = [
+<:
+  $in = <>;
+  print join (",", map {"\"$_\""} split (/\s+/, $in));
+:>
+];
+variable i;
+
+for (i = 0; i < length (files); i++)
+      byte_compile_file (files[i], 0);

Added: trunk/packages/jed-extra/debian/README.Debian
===================================================================
--- trunk/packages/jed-extra/debian/README.Debian	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/debian/README.Debian	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,8 @@
+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 ispell and sl_utils from
+jedmodes.sf.net, but much more will be added in the future.
+
+ -- Rafael Laboissiere <rafael@debian.org>, Fri, 11 Jul 2003 10:32:35 +0200

Added: trunk/packages/jed-extra/debian/changelog
===================================================================
--- trunk/packages/jed-extra/debian/changelog	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/debian/changelog	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,76 @@
+jed-extra (0.1.8) unstable; urgency=low
+
+  * Changed jed-common to jed in Build-Depends (closes: #213755).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Thu,  2 Oct 2003 22:24:16 +0200
+
+jed-extra (0.1.7) unstable; urgency=low
+
+  * patch/04-dircat-stack-order.patch: Patch on previous patch by
+    to Jörg Sommer <joerg@alea.gnuu.de> fixing the filling of the stack
+    before a call to dircat in home-lib.sl (closes: #212387).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Fri, 26 Sep 2003 20:17:24 +0200
+
+jed-extra (0.1.6) unstable; urgency=low
+
+  * patch/03-fix-home-jedrc.patch: Added patch to allow sane
+    initialization of Jed_Home_Directory when $HOME/.jed exists.  Thanks
+    to Jörg Sommer <joerg@alea.gnuu.de> (closes: #212387).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Tue, 23 Sep 2003 18:35:50 +0200
+
+jed-extra (0.1.5) unstable; urgency=low
+
+  * patch/02-ispell-space-option.patch: Added patch for fixing a problem
+    in composing the ispell command from the dictionaries-common cache.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Mon, 15 Sep 2003 17:50:39 +0200
+
+jed-extra (0.1.4) unstable; urgency=low
+
+  * debian/control: Fixed a typo and improved the Desription field, after
+    suggestions made by Jens Seidel <tux-master@web.de>.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Tue,  9 Sep 2003 08:05:09 +0200
+
+jed-extra (0.1.3) unstable; urgency=low
+
+  * First official upload to Debian unstable (closes: #200985).
+  * debian/control:
+    - Bumped Standards-Version to 3.6.1.
+    - Conflicts with dictionaries-common << 0.14.0.  This version of
+      dictionaries-common is not released officially, but is available at
+      the staging area are for jed-extra
+      (http://people.debian.org/~rafael/jed-extra).
+  * debian/README.Debian: Added some text.  This should be improved in the
+    future.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sun, 31 Aug 2003 10:10:42 +0200
+
+jed-extra (0.1.2) unstable; urgency=low
+
+  * patch/01-ispell-hash-name.patch: Patch from Paul Boekholt
+    <p.boekholt@hetnet.nl> to give the hash name to option -d of ispell
+    instead of the language name.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Mon, 14 Jul 2003 23:24:36 +0200
+
+jed-extra (0.1.1) unstable; urgency=low
+
+  * Updated ispell to upstream version 1.12.
+  * debian/copyright: Added URLs for the downloaded tarballs from
+    jedmodes.sf.net.
+  * debian/rules: Added new files present in ispell.tgz to the sl_files
+    variables.
+  * patch/{01-ispell-kill-process,02-complete-chage-dict}.patch: Removed
+    files.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sun, 13 Jul 2003 11:19:34 +0200
+
+jed-extra (0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Fri, 11 Jul 2003 10:32:35 +0200
+

Added: trunk/packages/jed-extra/debian/compat
===================================================================
--- trunk/packages/jed-extra/debian/compat	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/debian/compat	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1 @@
+4

Added: trunk/packages/jed-extra/debian/control
===================================================================
--- trunk/packages/jed-extra/debian/control	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/debian/control	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,18 @@
+Source: jed-extra
+Section: editors
+Priority: optional
+Maintainer: Rafael Laboissiere <rafael@debian.org>
+Build-Depends-Indep: debhelper (>> 4.0.0), eperl, jed
+Standards-Version: 3.6.1
+
+Package: jed-extra
+Architecture: all
+Depends: jed-common
+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.  This is a preliminary
+ release and only home-lib.sl, ispell and sl_utils are present for
+ now.
+ .
+ Homepage: http://jedmodes.sourceforge.net

Added: trunk/packages/jed-extra/debian/copyright
===================================================================
--- trunk/packages/jed-extra/debian/copyright	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/debian/copyright	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,19 @@
+This package was debianized by Rafael Laboissiere <rafael@debian.org> on
+Fri, 11 Jul 2003 10:32:35 +0200.
+
+The tarballs/files included in this release were downloaded from:
+
+    http://jedmodes.sf.net/mode/ispell/last/download/ispell.tgz (v 1.12)
+    http://jedmodes.sf.net/mode/sl_utils/1.1/download/sl_utils.tar.gz
+    http://jedmodes.sf.net/mode/home-lib/last/download/home-lib.sl (v 0.9.2)
+
+Upstream Authors: 
+    Paul Boekholt <p.boekholt@hetnet.nl>
+    Günter Milde <milde@ife.et.tu-dresden.de>  
+
+Copyright: 
+    All files in this package are released under the GNU General Public
+    License. 
+
+    (For the complete text of the GPL, see /usr/share/common-licenses/GPL.)
+

Added: trunk/packages/jed-extra/debian/rules
===================================================================
--- trunk/packages/jed-extra/debian/rules	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/debian/rules	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,109 @@
+#!/usr/bin/make -f
+# debian/rules file for jed-extra
+# GNU copyright 2003 by Rafael Laboissiere <rafael@debian.org>
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+sl_files =                  \
+    ispell/flyspell.sl      \
+    ispell/ispell_common.sl \
+    ispell/ispell.sl        \
+    ispell/vispell.sl       \
+    ispell/look.sl          \
+    sl_utils/bufutils.sl    \
+    sl_utils/csvutils.sl    \
+    sl_utils/datutils.sl    \
+    sl_utils/sl_utils.sl    \
+    sl_utils/strutils.sl    \
+    sl_utils/txtutils.sl
+
+slc_files = $(sl_files:%.sl=%.slc)
+
+jed_root = /usr/share/jed
+debroot = $(shell pwd)/debian/jed-extra
+site_lib_dir = $(jed_root)/site-lib
+jed_init_dir = /etc/jed-init.d
+
+untar:
+	dh_testdir
+	tar xfz ispell.tgz
+	mkdir -p sl_utils
+	( cd sl_utils ; tar xfz ../sl_utils.tar.gz )
+	tar xfz home-lib.tgz
+
+patch:
+	dh_testdir
+	@for i in `find patch -name \*.patch` ; do \
+	    echo Applying patch $$i ; \
+	    patch -p0 --no-backup-if-mismatch < $$i ; \
+	done
+
+byte-compile:
+	echo $(sl_files) | eperl compile-files.sl.in -o compile-files.sl
+	jed -batch -l ./compile-files.sl
+
+build: build-stamp
+build-stamp: untar patch byte-compile
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	rm -rf ispell sl_utils home-lib compile-files.sl build-stamp
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs $(site_lib_dir) $(jed_init_dir)
+
+	install --mode=644 $(sl_files) $(slc_files) $(debroot)$(site_lib_dir)
+	install --mode=644 home-lib/home-lib.sl \
+	    $(debroot)$(jed_init_dir)/05home-lib.sl
+	install --mode=644 ispell/ispell_init.sl \
+	    $(debroot)$(jed_init_dir)/55ispell.sl
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+#	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+#	dh_installman
+#	dh_link
+#	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch:
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install untar patch \
+    byte-compile


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

Added: trunk/packages/jed-extra/home-lib.tgz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/jed-extra/home-lib.tgz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/packages/jed-extra/ispell.tgz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/jed-extra/ispell.tgz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/packages/jed-extra/patch/01-ispell-hash-name.patch
===================================================================
--- trunk/packages/jed-extra/patch/01-ispell-hash-name.patch	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/patch/01-ispell-hash-name.patch	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,11 @@
+--- ispell-orig/ispell_common.sl	2003-07-14 23:33:23.000000000 +0200
++++ ispell/ispell_common.sl	2003-07-14 23:34:48.000000000 +0200
+@@ -45,7 +45,7 @@
+    ispell_wordlist =  Ispell_Wordlist [ispell_current_dictionary];
+ 
+    if (ispell_current_dictionary != "default")
+-     ispell_options += " -d " + ispell_current_dictionary;
++     ispell_options += " -d " + Ispell_Hash_Name[ispell_current_dictionary];
+ 
+    if (Ispell_Extchar [ispell_current_dictionary] != "")
+      ispell_options += " -T " + Ispell_Extchar [ispell_current_dictionary];

Added: trunk/packages/jed-extra/patch/02-ispell-space-option.patch
===================================================================
--- trunk/packages/jed-extra/patch/02-ispell-space-option.patch	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/patch/02-ispell-space-option.patch	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,12 @@
+--- ispell/ispell_common.sl	2003-09-09 08:08:43.000000000 +0200
++++ ispell-new/ispell_common.sl	2003-09-15 17:48:35.000000000 +0200
+@@ -48,7 +48,8 @@
+      ispell_options += " -d " + Ispell_Hash_Name[ispell_current_dictionary];
+ 
+    if (Ispell_Extchar [ispell_current_dictionary] != "")
+-     ispell_options += " -T " + Ispell_Extchar [ispell_current_dictionary];
++     ispell_options += " -T " + Ispell_Extchar [ispell_current_dictionary]
++                       + " ";
+ 
+    % extra options come last
+    ispell_options += Ispell_Options [ispell_current_dictionary];

Added: trunk/packages/jed-extra/patch/03-fix-home-jedrc.patch
===================================================================
--- trunk/packages/jed-extra/patch/03-fix-home-jedrc.patch	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/patch/03-fix-home-jedrc.patch	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,27 @@
+--- home-lib/home-lib.sl	2003-09-23 18:27:35.000000000 +0200
++++ home-lib-new/home-lib.sl	2003-09-23 18:29:41.000000000 +0200
+@@ -40,8 +40,22 @@
+ % Jed_Home_Directory is defined in site.sl, defaulting to $HOME
+ % If Jed_Home_Directory/.jed/ exists, point Jed_Home_Directory there,
+ $1 = path_concat(Jed_Home_Directory, ".jed");
+-if(2 == file_status($1))
+-  Jed_Home_Directory = $1;
++if(2 == file_status($1)) {
++   $2 = dircat(Jed_Home_Directory, ".jedrc");
++   Jed_Home_Directory = $1;
++
++   if (1 == file_status($2) )
++     Default_Jedrc_Startup_File = $2;
++   else
++     foreach ( ["jed.rc", "jedrc"] ) {
++       $1= dircat(Jed_Home_Directory, ());
++       if (1 == file_status($1)) {
++          Default_Jedrc_Startup_File = $1;
++          break;
++       }
++     }
++}
++
+ if(2 == file_status(Jed_Home_Directory)) % directory does exist
+ {
+    % documentation on library functions is under doc/txt/libfuns.txt

Added: trunk/packages/jed-extra/patch/04-dircat-stack-order.patch
===================================================================
--- trunk/packages/jed-extra/patch/04-dircat-stack-order.patch	2005-03-16 09:32:26 UTC (rev 9)
+++ trunk/packages/jed-extra/patch/04-dircat-stack-order.patch	2005-03-16 09:35:35 UTC (rev 10)
@@ -0,0 +1,13 @@
+--- home-lib/home-lib.sl	2003-09-26 17:39:34.000000000 +0200
++++ home-lib-new/home-lib.sl	2003-09-26 17:32:02.000000000 +0200
+@@ -48,7 +48,9 @@
+      Default_Jedrc_Startup_File = $2;
+    else
+      foreach ( ["jed.rc", "jedrc"] ) {
+-       $1= dircat(Jed_Home_Directory, ());
++       Jed_Home_Directory;
++       exch();
++       $1 = dircat();
+        if (1 == file_status($1)) {
+           Default_Jedrc_Startup_File = $1;
+           break;

Added: trunk/packages/jed-extra/sl_utils.tar.gz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/jed-extra/sl_utils.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream