[Pkg-ocaml-maint-commits] r1350 - trunk/packages/ledit/trunk/debian/patches
Sven Luther
luther@costa.debian.org
Sat, 07 May 2005 14:29:24 +0000
Author: luther
Date: 2005-05-07 14:29:23 +0000 (Sat, 07 May 2005)
New Revision: 1350
Removed:
trunk/packages/ledit/trunk/debian/patches/build.dpatch
Log:
Removed bogus build.dpatch.
Deleted: trunk/packages/ledit/trunk/debian/patches/build.dpatch
===================================================================
--- trunk/packages/ledit/trunk/debian/patches/build.dpatch 2005-05-07 14:25:47 UTC (rev 1349)
+++ trunk/packages/ledit/trunk/debian/patches/build.dpatch 2005-05-07 14:29:23 UTC (rev 1350)
@@ -1,131 +0,0 @@
-#! /bin/sh -e
-## ledit.dpatch by <luther@debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Makefiles, configure scripts and other build stuff adapted for
-## DP: debian package creation
-
-if [ $# -ne 1 ]; then
- echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
- exit 1
-fi
-case "$1" in
- -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
- -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
- *)
- echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
- exit 1;;
-esac
-
-exit 0
-@DPATCH@
-diff -urN ledit-1.11.orig/ledit.l.tpl ledit-1.11/ledit.l.tpl
---- ledit-1.11.orig/ledit.l.tpl 2001-08-16 01:54:35.000000000 +0200
-+++ ledit-1.11/ledit.l.tpl 2004-07-26 13:25:51.122776672 +0200
-@@ -130,7 +130,7 @@
- The suspend command stops \fIledit\fP but not the called program. Do not
- do this if the called program is not waiting on standard input.
- .br
--In some systems (e.g. alpha), pasting two many characters works bad and
-+In some systems (e.g. alpha), pasting too many characters works bad and
- may block the terminal. Probably a kernel problem. No solution.
-
- .SH AUTHOR
-diff -urN ledit-1.11.orig/ledit.ml ledit-1.11/ledit.ml
---- ledit-1.11.orig/ledit.ml 2001-07-03 13:38:53.000000000 +0200
-+++ ledit-1.11/ledit.ml 2004-07-26 13:25:51.124776368 +0200
-@@ -96,23 +96,29 @@
- set_char_command '\005' (* ^e *) End_of_line;
- set_char_command '\006' (* ^f *) Forward_char;
- set_char_command '\002' (* ^b *) Backward_char;
-+(*
- set_char_command '\230' (* M-f *) Forward_word;
- set_char_command '\226' (* M-b *) Backward_word;
-+*)
- set_char_command '\016' (* ^p *) Previous_history;
- set_char_command '\014' (* ^n *) Next_history;
-+(*
- set_char_command '\188' (* M-< *) Beginning_of_history;
- set_char_command '\190' (* M-> *) End_of_history;
-+*)
- set_char_command '\018' (* ^r *) Reverse_search_history;
- set_char_command '\004' (* ^d *) Delete_char;
- set_char_command '\008' (* ^h *) Backward_delete_char;
- set_char_command '\127' (* del *) Backward_delete_char;
- set_char_command '\020' (* ^t *) Transpose_chars;
-+(*
- set_char_command '\227' (* M-c *) Capitalize_word;
- set_char_command '\245' (* M-u *) Upcase_word;
- set_char_command '\236' (* M-l *) Downcase_word;
- set_char_command '\228' (* M-d *) Kill_word;
- set_char_command '\136' (* M-^h *) Backward_kill_word;
- set_char_command '\255' (* M-del *) Backward_kill_word;
-+*)
- set_char_command '\017' (* ^q *) Quoted_insert;
- set_char_command '\011' (* ^k *) Kill_line;
- set_char_command '\025' (* ^y *) Yank;
-@@ -125,7 +131,9 @@
- set_char_command '\n' (* *) Accept_line;
- set_char_command '\024' (* ^x *) Operate_and_get_next;
- set_char_command '\027' (* esc *) Start_escape_sequence;
-+(*
- set_char_command '\175' (* M-/ *) Expand_abbrev;
-+*)
- set_escape_command 'f' (* *) Forward_word;
- set_escape_command 'b' (* *) Backward_word;
- set_escape_command 'c' (* *) Capitalize_word;
-diff -urN ledit-1.11.orig/Makefile ledit-1.11/Makefile
---- ledit-1.11.orig/Makefile 2001-10-03 11:36:34.000000000 +0200
-+++ ledit-1.11/Makefile 2004-07-26 13:25:51.045788376 +0200
-@@ -1,8 +1,9 @@
- # $Id: Makefile,v 1.19 2001/10/03 09:36:34 ddr Exp $
-
--BINDIR=/usr/local/bin
--LIBDIR=/usr/local/lib
--MANDIR=/usr/man/manl
-+DESTDIR=
-+BINDIR=/usr/bin
-+LIBDIR=/usr/lib
-+MANDIR=/usr/share/man/manl
- COMP=ocamlc
- COMPOPT=ocamlopt
- PP=camlp4r
-@@ -10,17 +11,17 @@
- TARGET=ledit.out
- MKDIR=mkdir -p
-
--all: pa_local.cmo $(TARGET) ledit.l
-+all: pa_local.cmo $(TARGET) ledit.1
-
- $(TARGET): $(ZOFILES)
-- $(COMP) -custom unix.cma $(ZOFILES) -o $(TARGET)
-+ $(COMP) unix.cma $(ZOFILES) -o $(TARGET)
-
- $(TARGET:.out=.opt): $(ZOFILES:.cmo=.cmx)
- $(COMPOPT) unix.cmxa $(ZOFILES:.cmo=.cmx) -o $(TARGET:.out=.opt)
-
--ledit.l: ledit.l.tpl go.ml
-+ledit.1: ledit.l.tpl go.ml
- VERSION=`sed -n -e 's/^.* version = "\(.*\)".*$$/\1/p' go.ml`; \
-- sed s/LEDIT_VERSION/$$VERSION/ ledit.l.tpl > ledit.l
-+ sed s/LEDIT_VERSION/$$VERSION/ ledit.l.tpl > ledit.1
-
- pa_local.cmo: pa_local.ml
- $(PP) pa_extend.cmo q_MLast.cmo pa_local.ml -o pa_local.ppo
-@@ -28,12 +29,12 @@
- /bin/rm -f pa_local.ppo
-
- clean:
-- /bin/rm -f *.cm[oix] *.pp[oi] *.o *.bak $(TARGET) ledit.l
-+ /bin/rm -f *.cm[oix] *.pp[oi] *.o *.bak $(TARGET) ledit.1
-
- install:
-- -$(MKDIR) $(BINDIR) $(MANDIR)
-- -cp ledit.out $(BINDIR)/ledit
-- -cp ledit.l $(MANDIR)/ledit.l
-+ -$(MKDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)
-+ -cp ledit.out $(DESTDIR)$(BINDIR)/ledit
-+ -cp ledit.1 $(DESTDIR)$(MANDIR)/ledit.1
-
- depend:
- > .depend.new