--- lv-4.49.3.orig/src/command.c +++ lv-4.49.3/src/command.c @@ -184,7 +184,7 @@ return istr; case BS: -/* case DEL:*/ + case DEL: if( 0 == iptr ){ if( NULL == istr ) return NULL; --- lv-4.49.3.orig/debian/README.Debian +++ lv-4.49.3/debian/README.Debian @@ -0,0 +1,5 @@ +lv for Debian +---------------------- + + + -- GOTO Masanori , Sun, 29 Aug 1999 17:51:13 +0900 --- lv-4.49.3.orig/debian/changelog +++ lv-4.49.3/debian/changelog @@ -0,0 +1,77 @@ +lv (4.49.3-5) frozen unstable; urgency=low + + * src/command.c: Deleted comments of line 187 and added key bind of + 'DEL'. Reported by John Belmonte , + patched by Tomohiro KUBOTA . (closes: #66054) + + -- GOTO Masanori Thu, 22 Jun 2000 23:06:34 +0900 + +lv (4.49.3-4) frozen unstable; urgency=low + + * Changelog from lv 4.49.3-2 and 4.49.3-3, both of which were never + officially released. + - debian/control: Added entry: `Recommends: bzip2'. + - debian/postinst: Fixed alternatives: Now symlink path changed to + /usr/share/man/man1 instead of /usr/man/man1 (closes: #54948). + - Updated to Standards-Version 3.0.1. + - debian/changelog: Added distribution: frozen. + + -- Keita Maehara Sun, 13 Feb 2000 17:49:09 +0900 + +lv (4.49.3-3) frozen unstable; urgency=low + + * Updated Standards-Version: 3.0.1 . + * debian/changelog: added frozen dist. + + -- GOTO Masanori Thu, 10 Feb 2000 17:32:25 +0900 + +lv (4.49.3-2) unstable; urgency=low + + * debian/control: Added the entry, 'Recommends: bzip2'. + * debian/postinst: Fixed update-alternatives, the link changed + /usr/share/man/man1 instead of /usr/man/man1. (closes: #54948) + + -- GOTO Masanori Wed, 2 Feb 2000 18:26:25 +0900 + +lv (4.49.3-1) unstable; urgency=low + + * New upstream version. + * Fix install directory according to the FHS. + + -- GOTO Masanori Thu, 4 Nov 1999 18:57:56 +0900 + +lv (4.49.2-2) unstable; urgency=low + + * Corresponding to pager alternatives. (closes: #45613) + + -- GOTO Masanori Wed, 13 Oct 1999 18:59:43 +0900 + +lv (4.49.2-1) unstable; urgency=low + + * New upstream version. + * lv can deal with max files from 32 to unlimited. + + -- GOTO Masanori Sun, 19 Sep 1999 17:53:44 +0900 + +lv (4.49-1) unstable; urgency=low + + * New upstream version. + * Fixed BUG#38790. + + -- GOTO Masanori Sun, 29 Aug 1999 17:51:13 +0900 + +lv (4.42-1) unstable; urgency=low + + * New upstream version. + + -- GOTO Masanori Mon, 17 May 1999 18:21:02 +0900 + +lv (4.40-1) unstable; urgency=low + + * Initial Release. + + -- GOTO Masanori Thu, 6 May 1999 17:04:46 +0900 + +Local variables: +mode: debian-changelog +End: --- lv-4.49.3.orig/debian/copyright +++ lv-4.49.3/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by GOTO Masanori on +Thu, 6 May 1999 17:04:46 +0900. + +It was downloaded from http://www.ff.iij4u.or.jp/~nrt/lv/ + +Upstream Author(s): NARITA Tomio + +Copyright: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +On Debian GNU/Linux systems you can find a copy of the GPL in +/usr/share/common-licenses/GPL . --- lv-4.49.3.orig/debian/postinst +++ lv-4.49.3/debian/postinst @@ -0,0 +1,49 @@ +#! /bin/sh +# postinst script for lv +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + update-alternatives --quiet --install /usr/bin/pager pager \ + /usr/bin/lv 80 --slave /usr/share/man/man1/pager.1.gz \ + pager.1.gz /usr/share/man/man1/lv.1.gz + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- lv-4.49.3.orig/debian/dirs +++ lv-4.49.3/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/lv +usr/share/man/man1 +usr/share/doc/lv --- lv-4.49.3.orig/debian/prerm +++ lv-4.49.3/debian/prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for lv +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) + update-alternatives --quiet --remove pager /usr/bin/lv + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- lv-4.49.3.orig/debian/control +++ lv-4.49.3/debian/control @@ -0,0 +1,19 @@ +Source: lv +Section: text +Priority: optional +Maintainer: GOTO Masanori +Standards-Version: 3.0.1 + +Package: lv +Architecture: any +Depends: ${shlibs:Depends} +Recommends: bzip2 +Description: A Powerful Multilingual File Viewer + lv is a powerful file viewer like less. + lv can decode and encode multilingual streams through + many coding systems: + ISO-8859, ISO-2022, EUC, SJIS, Big5, HZ, Unicode. + It recognizes multi-bytes patterns as regular + expressions, lv also provides multilingual grep. + In addition, lv can recognize ANSI escape sequences + for text devoration. --- lv-4.49.3.orig/debian/rules +++ lv-4.49.3/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=1 + +build: build-stamp +build-stamp: + dh_testdir + + + # Add here commands to compile the package. + src/configure --prefix=/usr --libdir=/usr/share + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + # $(MAKE) install DESTDIR=`pwd`/debian/tmp + install -d -m 755 `pwd`/debian/tmp/usr/bin `pwd`/debian/tmp/usr/share/lv \ + `pwd`/debian/tmp/usr/share/man/man1 `pwd`/debian/tmp/usr/share/doc + install lv `pwd`/debian/tmp/usr/bin/lv + install -m 644 lv.hlp `pwd`/debian/tmp/usr/share/lv/lv.hlp + install -m 644 lv.1 `pwd`/debian/tmp/usr/share/man/man1 + ln -sf lv debian/tmp/usr/bin/lgrep + ln -sf lv.1 debian/tmp/usr/share/man/man1/lgrep.1 + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron + dh_installmanpages + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here. + dh_suidregister +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- lv-4.49.3.orig/debian/docs +++ lv-4.49.3/debian/docs @@ -0,0 +1,5 @@ +README +index.html +hello.sample +hello.sample.gif +relnote.html