--- jvim-3.0-2.1b.orig/debian/control +++ jvim-3.0-2.1b/debian/control @@ -0,0 +1,25 @@ +Source: jvim +Section: editors +Priority: optional +Maintainer: Teruyuki Morimura +Build-Depends: debhelper (>= 7), libncurses5-dev, libcanna1g-dev, libx11-dev +Standards-Version: 3.7.3 +Homepage: http://hp.vector.co.jp/authors/VA003457/vim/ + +Package: jvim-canna +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Japanized VIM (Canna version) + JVIM 3.0 is Japanized VIM (VI clone editor) by K.Tsuchida + on Dec 24, 2002 (patch version 2.1b). + This editor can utilize the canna-server in "canna" package + directly without other extra libraries (i.e. libonew) in order + to enter "Kanji" from kon (Kanji Linux cONsole) in kon2 package. + +Package: jvim-doc +Section: doc +Architecture: all +Description: Documentation for jvim (Japanized VIM) + JVIM 3.0 is Japanized VIM (VI clone editor) by K.Tsuchida + on Dec 24, 2002 (patch version 2.1b). + --- jvim-3.0-2.1b.orig/debian/jvim-canna.prerm +++ jvim-3.0-2.1b/debian/jvim-canna.prerm @@ -0,0 +1,42 @@ +#!/bin/sh +# prerm script for jvim-3.0 +# +# 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 http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + update-alternatives --remove vi /usr/bin/jvim + update-alternatives --remove editor /usr/bin/jvim + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- jvim-3.0-2.1b.orig/debian/kfreebsd.diff +++ jvim-3.0-2.1b/debian/kfreebsd.diff @@ -0,0 +1,99 @@ +--- build-tree/vim/src/unix.c 2007-04-05 07:24:44.815892000 +0200 ++++ build-tree/vim/src/unix.c 2007-04-05 07:26:34.000000000 +0200 +@@ -33,7 +33,7 @@ + # if !defined(SCO) && !defined(SOLARIS) && !defined(hpux) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(_SEQUENT_) && !defined(UNISYS) && !defined(__sgi) && !defined(AIX) && !defined(__bsdi__) /* SCO returns pid_t */ + extern int fork(); + # endif +-# if !defined(__GNU__) && !defined(linux) && !defined(SOLARIS) && !defined(USL) && !defined(sun) && !(defined(hpux) && defined(__STDC__)) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(USL) && !defined(UNISYS) && !defined(sony) && !defined(__sgi) && !defined(AIX) && !defined(__CYGWIN__) && !defined(__bsdi__) ++# if !defined(__GNU__) && !defined(linux) && !defined(SOLARIS) && !defined(USL) && !defined(sun) && !(defined(hpux) && defined(__STDC__)) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(USL) && !defined(UNISYS) && !defined(sony) && !defined(__sgi) && !defined(AIX) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__GLIBC__) + extern int execvp __ARGS((const char *, const char **)); + # endif + #endif +@@ -116,7 +116,7 @@ + #ifdef USL + static void sig_winch __ARGS((int)); + #else +-# if defined(SIGWINCH) && !defined(linux) && !defined(__alpha) && !defined(mips) && !defined(_SEQUENT_) && !defined(SCO) && !defined(SOLARIS) && !defined(ISC) && !defined(__CYGWIN__) ++# if defined(SIGWINCH) && !defined(linux) && !defined(__alpha) && !defined(mips) && !defined(_SEQUENT_) && !defined(SCO) && !defined(SOLARIS) && !defined(ISC) && !defined(__CYGWIN__) && !defined(__GLIBC__) + static void sig_winch __ARGS((int, int, struct sigcontext *)); + # endif + #endif +@@ -702,7 +702,7 @@ + */ + if ((p = STRRCHR(fname, '/')) != NULL) + { +-#if defined(SYSV_UNIX) || defined(USL) || defined(hpux) || defined(linux) ++#if defined(SYSV_UNIX) || defined(USL) || defined(hpux) || defined(linux) || defined(__GLIBC__) + if (getcwd((char *)olddir, MAXPATHL) == NULL) + #else + if (getwd((char *)olddir) == NULL) +@@ -722,7 +722,7 @@ + *p = c; + } + } +-#if defined(SYSV_UNIX) || defined(USL) || defined(hpux) || defined(linux) ++#if defined(SYSV_UNIX) || defined(USL) || defined(hpux) || defined(linux) || defined(__GLIBC__) + if (getcwd((char *)buf, len) == NULL) + #else + if (getwd((char *)buf) == NULL) +@@ -1307,7 +1307,7 @@ + #if !defined(__alpha) && !defined(mips) && !defined(SCO) && !defined(remove) && !defined(CONVEX) + int + remove(buf) +-# if defined(linux) || defined(__STDC__) || defined(__NeXT__) || defined(M_UNIX) ++# if defined(linux) || defined(__STDC__) || defined(__NeXT__) || defined(M_UNIX) || defined(__GLIBC__) + const + # endif + char *buf; +--- build-tree/vim/src/unix.h 2007-04-05 07:23:08.181501000 +0200 ++++ build-tree/vim/src/unix.h 2007-04-05 07:24:18.000000000 +0200 +@@ -66,7 +66,7 @@ + #ifdef SCO + int chmod __ARGS((const char *, mode_t)); + #endif +-#if !defined(__GNU__) && !defined(linux) && !defined(__NeXT) && !defined(M_UNIX) && !defined(ISC) && !defined(USL) && !defined(SOLARIS) ++#if !defined(__GNU__) && !defined(linux) && !defined(__NeXT) && !defined(M_UNIX) && !defined(ISC) && !defined(USL) && !defined(SOLARIS) && !defined(__GLIBC__) + int remove __ARGS((const char *)); + /* + * If you get an error message on "const" in the lines above, try +@@ -83,14 +83,14 @@ + int stricmp __ARGS((char *, char *)); + + /* memmove is not present on all systems, use our own version or bcopy */ +-#if !defined(SCO) && !defined(SOLARIS) && !defined(AIX) && !defined(UTS4) && !defined(USL) && !defined(MIPS) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(linux) && !defined(UNISYS) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__GNU__) ++#if !defined(SCO) && !defined(SOLARIS) && !defined(AIX) && !defined(UTS4) && !defined(USL) && !defined(MIPS) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(linux) && !defined(UNISYS) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__GNU__) && !defined(__GLIBC__) + # ifdef SYSV_UNIX + # define MEMMOVE + void *memmove __ARGS((void *, void *, int)); + # else + # define memmove(to, from, len) bcopy(from, to, len) + # if !(defined(hpux) && defined(__STDC__) || defined(__bsdi__)) +-# if defined(linux) || defined(__GNU__) ++# if defined(linux) || defined(__GNU__) || defined(__GLIBC__) + extern void bcopy __ARGS((const void *, void *, int)); + # else + extern void bcopy __ARGS((char *, char *, int)); +@@ -104,7 +104,7 @@ + # define strrchr(ptr, c) rindex((ptr), (c)) + #endif + +-#if defined(BSD_UNIX) && !defined(__bsdi__) && !defined(linux) && !defined(__GNU__) ++#if defined(BSD_UNIX) && !defined(__bsdi__) && !defined(linux) && !defined(__GNU__) && !defined(__GLIBC__) + # define memset(ptr, c, size) bsdmemset((ptr), (c), (size)) + char *bsdmemset __ARGS((char *, int, long)); + #endif +@@ -113,12 +113,12 @@ + * Most unixes don't have these in include files. + * If you get a "redefined" error, delete the offending line. + */ +-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(linux) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__GNU__) ++#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(linux) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__GNU__) && !defined(__GLIBC__) + extern int ioctl __ARGS((int, int, ...)); + #endif + extern int fsync __ARGS((int)); + extern char *getwd __ARGS((char *)); +-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(linux) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__hpux) && !defined(__GNU__) ++#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(linux) && !defined(__CYGWIN__) && !defined(__bsdi__) && !defined(__hpux) && !defined(__GNU__) && !defined(__GLIBC__) + extern void bzero __ARGS((char *, int)); + #endif + #if defined(system_that_does_not_have_access_in_an_include_file) --- jvim-3.0-2.1b.orig/debian/patch.nostrip +++ jvim-3.0-2.1b/debian/patch.nostrip @@ -0,0 +1,12 @@ +diff -uNr vim.orig/src/Makefile vim/src/Makefile +--- vim.orig/src/Makefile 2009-10-07 21:35:40.000000000 -0500 ++++ vim/src/Makefile 2009-10-07 21:36:13.000000000 -0500 +@@ -464,7 +464,7 @@ + -mkdir $(BINLOC) + cp $(TARGET) $(BINLOC) + chmod $(BINMOD) $(BINLOC)/$(TARGET) +- $(STRIP) $(BINLOC)/$(TARGET) ++# $(STRIP) $(BINLOC)/$(TARGET) + -mkdir $(MANLOC) + cp $(MANFILE) $(MANLOC)/jvim.1 + chmod $(MANMOD) $(MANLOC)/jvim.1 --- jvim-3.0-2.1b.orig/debian/README.Debian +++ jvim-3.0-2.1b/debian/README.Debian @@ -0,0 +1,6 @@ +jvim-3.0 for Debian +------------------- + + + + -- Teru Wed, 07 Oct 2009 22:08:16 -0500 --- jvim-3.0-2.1b.orig/debian/rules +++ jvim-3.0-2.1b/debian/rules @@ -0,0 +1,141 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + + + + + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + -test -d build-tree || mkdir build-tree + tar zxfC upstream/vim-3.0.tar.gz build-tree + tar zxfC upstream/jvim.2.1b.tar.gz build-tree + cat build-tree/jvim.diff | (cd build-tree/vim && patch -p0) + cat debian/patch | (cd build-tree/vim && patch -p1) + cat debian/kfreebsd.diff | patch -p0 + cat debian/mips.diff | (cd build-tree/vim && patch -p1) + cat debian/patch.nostrip | (cd build-tree/vim && patch -p1) + cat debian/patch.mkdir | (cd build-tree/vim && patch -p1) + + touch configure-stamp + + +#Architecture +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: configure-stamp + + # Add here commands to compile the arch part of the package. + $(MAKE) -C build-tree/vim/src + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: configure-stamp + + # Add here commands to compile the indep part of the package. + #$(MAKE) doc + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp configure-stamp + + # Add here commands to clean up after the build process. + #$(MAKE) clean + rm -rf build-tree + + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + # Add here commands to install the indep part of the package into + # debian/-doc. + cp -r build-tree/vim/doc.j $(CURDIR)/debian/jvim-doc/usr/share/doc/jvim-doc/japanese + cp -r build-tree/vim/doc $(CURDIR)/debian/jvim-doc/usr/share/doc/jvim-doc/ + cp -r build-tree/vim/tutor $(CURDIR)/debian/jvim-doc/usr/share/doc/jvim-doc/ + cp -r build-tree/vim/macros $(CURDIR)/debian/jvim-doc/usr/lib/jvim/ + cp -r build-tree/vim/tools $(CURDIR)/debian/jvim-doc/usr/lib/jvim/ + chmod 755 $(CURDIR)/debian/jvim-doc/usr/lib/jvim/tools/ref + chmod 755 $(CURDIR)/debian/jvim-doc/usr/lib/jvim/tools/vim132 + + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + + # Add here commands to install the arch part of the package into + # debian/tmp. + $(MAKE) -C build-tree/vim/src DESTDIR=$(CURDIR)/debian/jvim-canna install + cp debian/jvimrc $(CURDIR)/debian/jvim-canna/etc/ + chmod 644 $(CURDIR)/debian/jvim-canna/etc/jvimrc + + dh_install -s +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure --- jvim-3.0-2.1b.orig/debian/mips.diff +++ jvim-3.0-2.1b/debian/mips.diff @@ -0,0 +1,12 @@ +diff -uNr vim.orig/src/memfile.c vim/src/memfile.c +--- vim.orig/src/memfile.c 2007-11-18 06:28:26.000000000 -0600 ++++ vim/src/memfile.c 2007-11-18 06:31:23.000000000 -0600 +@@ -47,7 +47,7 @@ + /* + * Some systems have the page size in statfs, some in stat + */ +-#if (defined(SCO) || defined(_SEQUENT_) || defined(__sgi) || defined(MIPS) || defined(MIPSEB) || defined(m88k)) && !defined(sony) ++#if (defined(SCO) || defined(_SEQUENT_) || defined(__sgi) || (!defined(__linux__) && (defined(MIPS) || defined(MIPSEB))) || defined(m88k)) && !defined(sony) + # include + # include + # define STATFS statfs --- jvim-3.0-2.1b.orig/debian/compat +++ jvim-3.0-2.1b/debian/compat @@ -0,0 +1 @@ +7 --- jvim-3.0-2.1b.orig/debian/jvim-doc.dirs +++ jvim-3.0-2.1b/debian/jvim-doc.dirs @@ -0,0 +1,2 @@ +usr/lib/jvim +usr/share/doc/jvim-doc/japanese --- jvim-3.0-2.1b.orig/debian/changelog +++ jvim-3.0-2.1b/debian/changelog @@ -0,0 +1,271 @@ +jvim (3.0-2.1b-3) unstable; urgency=low + + * Fix to support DEB_BUILD_OPTIONS=nostrip option. Closes: #437243. + + -- Teruyuki Morimura Wed, 07 Oct 2009 21:45:31 -0500 + +jvim (3.0-2.1b-2.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: fix bashisms (use of {,}). Closes: #457579. + * Change section of jvim-doc to "doc". Agrees with ftpmaster's override. + + -- Lucas Nussbaum Tue, 22 Jan 2008 13:47:29 +0100 + +jvim (3.0-2.1b-2) unstable; urgency=low + + * Applied KFreeBSD(Bug#417868) and MIPS(Bug#273376) patch. + + -- Teruyuki Morimura Sun, 18 Nov 2007 06:34:08 -0600 + +jvim (3.0-2.1b-1) unstable; urgency=low + + * new upstream version + + -- Teruyuki Morimura Tue, 22 Nov 2005 20:38:55 -0600 + +jvim (3.0-2.1a-5) unstable; urgency=low + + * fix Bug#218539. + + -- Teruyuki Morimura Sun, 2 Nov 2003 22:13:45 +0900 + +jvim (3.0-2.1a-4) unstable; urgency=low + + * fix typo (Bug#134400: jvim-doc: Vim is onlu a cron editor?) + + + -- Teruyuki Morimura Sun, 3 Mar 2002 08:17:07 +0900 + +jvim (3.0-2.1a-3) unstable; urgency=low + + * apply hurd patch (Bug#e108611). + + -- Teruyuki Morimura Tue, 14 Aug 2001 21:37:08 +0900 + +jvim (3.0-2.1a-2) unstable; urgency=low + + * Fix Bug#98903: missing build-depends on libncurses5-dev. + + -- Teruyuki Morimura Sun, 3 Jun 2001 14:48:31 +0900 + +jvim (3.0-2.1a-1) unstable; urgency=low + + * Apply Japanized patch version 2.1a. + + -- Teruyuki Morimura Sun, 13 May 2001 21:05:07 +0900 + +jvim (3.0-2.1-2) unstable; urgency=low + + * fix control (Priority, Section and Build-Depends). + * provide an alternative for 'editor'. + + -- Teruyuki Morimura Wed, 7 Feb 2001 23:58:45 +0900 + +jvim (3.0-2.1-1) unstable; urgency=low + + * Apply Japanized patch version 2.1. + * Update Standards-Version to 3.2.1. + * add -DUSE_LOCALE at src/Makefile + * Fixed Bug#66738: Possibly wrong FEP key assigning statement + in /etc/jvimrc + + -- Teruyuki Morimura Sat, 27 Jan 2001 00:02:05 +0900 + +jvim (3.0-2.0-2) frozen unstable; urgency=low + + * Apply kanji code judgement patch ([vim-jp:00169]). + * Build with libncuses5. + + -- Teruyuki Morimura Wed, 19 Jan 2000 09:00:00 +0900 + +jvim (3.0-2.0-1) unstable; urgency=low + + * Applied Japanized patch version 2.0. + + -- Teruyuki Morimura Mon, 3 Jan 2000 10:21:08 +0900 + +jvim (3.0-1.8-1) unstable; urgency=low + + * Applied Japanized patch version 1.8. + * Update Standards-Version to 3.0.1. + + -- Teruyuki Morimura Sun, 5 Dec 1999 13:24:56 +0900 + +jvim (3.0-1.7a-3) unstable; urgency=low + + * debian/README.Debian: updated. + * debian/copyright: updated. + * debian/control: updated. + + -- Teruyuki Morimura Thu, 18 Nov 1999 07:11:11 +0900 + +jvim (3.0-1.7a-2) unstable; urgency=low + + * New (original) Maintainer via sponsor. + + -- Teruyuki Morimura Wed, 10 Nov 1999 07:10:46 +0900 + +jvim (3.0-1.7a-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fixed bug sh command causes Segmentation fault. + + -- Teruyuki Morimura Tue, 9 Nov 1999 08:29:06 +0900 + +jvim (3.0-1.7a-1) unstable; urgency=low + + * Remake for upload to Debian + + -- Taketoshi Sano Tue, 26 Oct 1999 20:02:49 +0900 + +jvim (3.0-1.7a-0.4) unstable; urgency=low + + * Non-maintainer upload. + * Fixed bug display file name when type C-g. + + -- Teruyuki Morimura Tue, 26 Oct 1999 12:59:07 +0900 + +jvim (3.0-1.7a-0.3) unstable; urgency=low + + * Non-maintainer upload. + * Fixed bug - Not available fep control key `@' + + -- Teruyuki Morimura Tue, 19 Oct 1999 10:08:59 +0900 + +jvim (3.0-1.7a-0.2) unstable; urgency=low + + * Non-maintainer upload. + * Fixed UTF-8 bug. + + -- Teruyuki Morimura Wed, 13 Oct 1999 15:09:41 +0900 + +jvim (3.0-1.7a-0.1) unstable; urgency=low + + * Non-maintainer upload. + * Applied Japanized patch version 1.7a. + + -- Teruyuki Morimura Wed, 13 Oct 1999 08:29:31 +0900 + +jvim (3.0-1.7-2) unstable; urgency=low + + * remake for upload to Debian and FHS transition + + -- Taketoshi Sano Tue, 14 Sep 1999 14:48:33 +0900 + +jvim (3.0-1.7-1) unstable; urgency=low + + * Non-maintainer release. + * Applied Japanized patch version 1.7. + * Fixed typo in README.Debian. + + -- Teruyuki Morimura Tue, 31 Aug 1999 15:28:00 +0900 + +jvim (3.0-1.5b-5) unstable; urgency=low + + * fix control (section) to reflect the copyright change + (non-free -> main) + + -- Taketoshi Sano Mon, 5 Jul 1999 21:50:35 +0900 + +jvim (3.0-1.5b-4) unstable; urgency=low + + * add -DUSE_X11 at src/Makefile + + -- Taketoshi Sano Wed, 30 Jun 1999 11:42:18 +0900 + +jvim (3.0-1.5b-3) unstable; urgency=low + + * fix control and copyright file. + Thanks to the upstream author, Bram Moolenaar. He kindly permits + to use the new (DFSG full compliant) license for vim-3.0 code. + And also thanks to the current maintainer of 'vim' Debian package, + Wichert Akkerman. His advise helps me greatly. + + -- Taketoshi Sano Sat, 26 Jun 1999 09:19:59 +0900 + +jvim (3.0-1.5b-2) unstable; urgency=low + + * New maintainer Release as a part of MERGE Operation of JP Packages + * debian/copyright: updated. + + -- Taketoshi Sano Sat, 19 Jun 1999 07:13:03 +0900 + +jvim (3.0-1.5b-1) unstable; urgency=low + + * Applied Japanized patch version 1.5b. + + -- Teruyuki Morimura Wed, 9 Jun 1999 15:03:36 +0900 + +jvim (3.0-1.5-5) unstable; urgency=low + + * Fixed Bug#JP/921: jvim don't work on vt100 terminal. + + -- Teruyuki Morimura Tue, 8 Jun 1999 22:34:28 +0900 + +jvim (3.0-1.5-4) unstable; urgency=low + + * Fixed problem that jvim read .jvimrc and .jjvimrc. + + -- Teruyuki Morimura Thu, 6 May 1999 12:55:23 +0900 + +jvim (3.0-1.5-3) unstable; urgency=low + + * Fixed Bug#JP/888: jvim-canna: .jvimrc path problem isn't solved + + -- Teruyuki Morimura Wed, 21 Apr 1999 09:52:24 +0900 + +jvim (3.0-1.5-2) unstable; urgency=low + + * Fixed Bug#JP/261: jvim ignores $HOME/.jvimrc. + * Fixed Bug#JP/871: cannot show help.txt. + + -- Teruyuki Morimura Wed, 14 Apr 1999 18:40:12 +0900 + +jvim (3.0-1.5-1) unstable; urgency=low + + * New maintainer Release. + * Applied Japanized patch version 1.5. + * Compiled with libc6. + * Built with debhelper. + * Built without ONEW Japanese front end. + + -- Teruyuki Morimura Tue, 13 Apr 1999 11:21:51 +0900 + +jvim (3.0-1.2g-3) unstable; urgency=low + + * Fixed term infomation bug in term.c. + + -- Akira Yoshiyama Sun, 15 Feb 1998 00:44:28 +0900 + +jvim (3.0-1.2g-2) unstable; urgency=low + + * Fixed control file. + * Renamed manual file to jvim.1. + * Fixed directory path containing help file. + + -- Akira Yoshiyama Fri, 19 Sep 1997 00:01:27 +0900 + +jvim (3.0-1.2g-1) unstable; urgency=low + + * Applied Japanized patch version 1.2g. + * Changed rule of version number. + + -- Akira Yoshiyama Sun, 14 Sep 1997 07:35:14 +0900 + +jvim (3.0-2) unstable; urgency=low + + * Set section as editors. + * Added version infomation of Japanized patch to README.debian. + + -- Akira Yoshiyama Fri, 12 Sep 1997 23:27:10 +0900 + +jvim (3.0-1) unstable; urgency=low + + * Initial Release. + + -- Akira Yoshiyama Sun, 7 Sep 1997 21:34:33 +0900 + +Local variables: +mode: debian-changelog +End: --- jvim-3.0-2.1b.orig/debian/jvim-canna.dirs +++ jvim-3.0-2.1b/debian/jvim-canna.dirs @@ -0,0 +1,4 @@ +usr/bin +usr/lib/jvim +usr/share/man/man1 +etc --- jvim-3.0-2.1b.orig/debian/jvim-canna.postinst +++ jvim-3.0-2.1b/debian/jvim-canna.postinst @@ -0,0 +1,49 @@ +#!/bin/sh +# postinst script for jvim-3.0 +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + + update-alternatives --install /usr/bin/vi vi /usr/bin/jvim 20 \ + --slave /usr/share/man/man1/vi.1.gz vi.1.gz \ + /usr/share/man/man1/jvim.1.gz + update-alternatives --install /usr/bin/editor editor /usr/bin/jvim 20 \ + --slave /usr/share/man/man1/editor.1.gz editor.1.gz \ + /usr/share/man/man1/jvim.1.gz + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- jvim-3.0-2.1b.orig/debian/jvim-canna.files +++ jvim-3.0-2.1b/debian/jvim-canna.files @@ -0,0 +1,4 @@ +usr/bin/jvim +usr/lib/jvim/jvim.hlp +usr/share/man/man1/jvim.1 +etc/jvimrc --- jvim-3.0-2.1b.orig/debian/patch.mkdir +++ jvim-3.0-2.1b/debian/patch.mkdir @@ -0,0 +1,21 @@ +diff -uNr vim.orig/src/Makefile vim/src/Makefile +--- vim.orig/src/Makefile 2009-10-07 22:53:22.000000000 -0500 ++++ vim/src/Makefile 2009-10-07 22:55:40.000000000 -0500 +@@ -461,14 +461,14 @@ + ctags *.c *.h + + install: $(TARGET) +- -mkdir $(BINLOC) ++ -test -d $(BINLOC) || -mkdir $(BINLOC) + cp $(TARGET) $(BINLOC) + chmod $(BINMOD) $(BINLOC)/$(TARGET) + # $(STRIP) $(BINLOC)/$(TARGET) +- -mkdir $(MANLOC) ++ -test -d $(MANLOC) || -mkdir $(MANLOC) + cp $(MANFILE) $(MANLOC)/jvim.1 + chmod $(MANMOD) $(MANLOC)/jvim.1 +- -mkdir $(HELPLOC) ++ -test -d $(HELPLOC) || -mkdir $(HELPLOC) + cp $(HELPFILE) $(HELPLOC)/jvim.hlp + chmod $(HELPMOD) $(HELPLOC)/jvim.hlp + --- jvim-3.0-2.1b.orig/debian/jvimrc +++ jvim-3.0-2.1b/debian/jvimrc @@ -0,0 +1,2 @@ +set fepctrl +set fepkey=\\@ --- jvim-3.0-2.1b.orig/debian/jvim-canna.doc +++ jvim-3.0-2.1b/debian/jvim-canna.doc @@ -0,0 +1,7 @@ +README +credits.txt +readme.1st +readme3.0 +todo +uganda.txt +poster --- jvim-3.0-2.1b.orig/debian/patch +++ jvim-3.0-2.1b/debian/patch @@ -0,0 +1,937 @@ +diff -uNr vim.orig/src/Makefile vim/src/Makefile +--- vim.orig/src/Makefile 1969-12-31 18:00:00.000000000 -0600 ++++ vim/src/Makefile 2005-11-22 21:31:16.000000000 -0600 +@@ -0,0 +1,635 @@ ++# vi:ts=8:sw=8 ++# Makefile for Vim on Unix ++# ++ ++# Note: You MUST uncomment three hardware dependend lines! ++ ++# There are three types of defines: ++# ++# 1. configuration dependend ++# Used for "make install". Adjust the path names and protections ++# to your desire. Also defines the root for the X11 files (not required). ++# ++# 2. various choices ++# Can be changed to match your compiler or your preferences (not ++# required). ++# ++# 3. hardware dependend ++# If you machine is in the list, remove one '#' in front of the defines ++# following it. Otherwise: Find a machine that is similar and change the ++# defines to make it work. Normally you can just try and see what error ++# messages you get. (REQUIRED). ++ ++# The following systems have entries below. They have been tested and should ++# work without modification. But later code changes may cause small problems. ++# There are entries for other systems, but these have not been tested recently. ++ ++#system: tested configurations: tested by: ++ ++#Sun 4.1.x cc gcc X11 no X11 (jw) (mool) ++#FreeBSD cc gcc X11 no X11 (mool) ++#linux 1.0 cc X11 ++#Linux 1.0.9 gcc no X11 (jw) ++#ULTRIX 4.2A on MIPS cc gcc no X11 (mool) ++#HPUX cc gcc X11 no X11 (jw) (mool) ++#irix 4.0.5H cc X11 ++#IRIX 4.0 SGI cc X11 (jw) ++#SINIX-L 5.41 cc no X11 ++#MOT188 cc no X11 ++#Sequent/ptx 1.3 cc no X11 (jw) ++#osf1 cc no X11 (jw) ++#Unisys 6035 cc no X11 ++#SCO 3.2 cc gcc no X11 jos@oce.nl ++#Solaris cc X11 ++#Solaris/Sun OS 5.3 cc no X11 (jw) ++#AIX (rs6000) cc no X11 (jw) ++#RISCos on MIPS cc X11 no X11 (jw) ++ ++# configurations marked by (jw) have been tested by Juergen Weigert: ++# jnweiger@uni-erlangen.de ++ ++# ++# PART 1: configuration dependend ++# ++ ++### root directory for X11 files (unless overruled in hardware-dependend part) ++### Unfortunately there is no standard for these, everybody puts them ++### somewhere else ++#X11LIBDIR = /usr/openwin/lib ++#X11INCDIR = /usr/openwin/include ++### for some hpux systems: ++#X11LIBDIR = /usr/lib/X11R5 ++#X11INCDIR = /usr/include/X11R5 ++### ++X11LIBDIR = /usr/X11R6/lib ++X11INCDIR = /usr/X11R6/include ++### ++#X11LIBDIR = /usr/X386/lib ++#X11INCDIR = /usr/X386/include ++### ++#X11LIBDIR = /usr/X11/lib ++#X11INCDIR = /usr/X11/include ++ ++ ++### Prefix for location of files ++PREFIX = $(DESTDIR)/usr ++ ++### Location of binary ++BINLOC = $(PREFIX)/bin ++ ++### Name of target ++TARGET = jvim ++ ++### Location of man page ++MANLOC = $(PREFIX)/share/man/man1 ++ ++### Location of help file ++HELPLOC = $(PREFIX)/lib/jvim ++ ++### Program to run on installed binary ++STRIP = strip ++ ++### Permissions for vim binary ++BINMOD = 755 ++ ++### Permissions for man page ++MANMOD = 644 ++ ++### Permissions for help file ++HELPMOD = 644 ++ ++MANFILE = ../doc/vim.1 ++ ++HELPFILE = ../doc.j/vim.hlp ++ ++# ++# PART 2: various choices ++# ++ ++### -DDIGRAPHS digraph support ++### -DNO_FREE_NULL do not call free() with a null pointer ++### -DCOMPATIBLE start in vi-compatible mode ++### -DNOBACKUP default is no backup file ++### -DDEBUG output a lot of debugging garbage ++### -DSTRNCASECMP use strncasecmp() instead of internal function ++### -DUSE_LOCALE use setlocale() to change ctype() and others ++### -DTERMCAP full termcap/terminfo file support ++### -DTERMINFO use terminfo instead of termcap entries for builtin terms ++### -DNO_BUILTIN_TCAPS do not include builtin termcap entries ++### (use only with -DTERMCAP) ++### -DSOME_BUILTIN_TCAPS include most useful builtin termcap entries ++### (use only without -DNO_BUILTIN_TCAPS) ++### -DALL_BUILTIN_TCAPS include all builtin termcap entries ++### (use only without -DNO_BUILTIN_TCAPS) ++### -DMAXNAMLEN 31 maximum length of a file name (if not defined in sys/dir.h) ++### -Dconst= for compilers that don't have type const ++### -DVIMRC_FILE=name name of the .vimrc file in current dir ++### -DEXRC_FILE=name name of the .exrc file in current dir ++### -DSYSVIMRC_FILE=name name of the global .vimrc file ++### -DSYSEXRC_FILE=name name of the global .exrc file ++### -DDEFVIMRC_FILE=name name of the system-wide .vimrc file ++### -DVIM_HLP=name name of the help file ++### -DUSE_SYSTEM use system() instead of fork/exec for starting a shell ++### -DVIM_ISSPACE use when isspace() can't handle meta chars ++### -DNOLIMITS limits.h does not exist ++### -DNOSTDLIB stdlib.h does not exist ++### -DUSE_X11 include code for xterm title saving ++### -DWEBB_COMPLETE include Webb's code for command line completion ++### -DWEBB_KEYWORD_COMPL include Webb's code for keyword completion ++### -DNOTITLE 'title' option off by default ++ ++# ++# PART 2-2: Select Japanese Input System dependend ++# ++ ++# generic for FEP Sequence ++# ++#FEPOPT = -DFEPCTRL ++#FEPLIBS = ++#FEPOBJS = fepseq.o ++ ++# generic for BOW IME control Sequence ++# ++#FEPOPT = -DFEPCTRL -DJP_DEF=\"SSS\" ++#FEPLIBS = ++#FEPOBJS = fepbow.o ++ ++# generic for CANNA input system ++# ++FEPOPT = -DFEPCTRL -DCANNA ++FEPLIBS = -lcanna ++FEPOBJS = fepcanna.o ++ ++# generic for ONEW input system ++# ++#FEPOPT = -DFEPCTRL -DONEW ++#FEPLIBS = -lonew -lcanna ++#FEPOBJS = feponew.o ++ ++DEFS = -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE \ ++ -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL \ ++ -DVIM_HLP=\"$(HELPLOC)/jvim.hlp\" \ ++ -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT $(FEPOPT) \ ++ -DUSE_LOCALE ++ ++# ++# PART 3: hardware dependend ++# ++ ++### CC entry: name and arguments for the compiler (also for linking) ++### MACHINE entry: defines used for compiling (not for linking) ++### LIBS: defines used for linking ++ ++# generic for Sun, NeXT, POSIX and SYSV R4 (?) (TESTED for Sun 4.1.x) ++# standard cc with optimizer ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=cc -O -I$(X11INCDIR) ++#LIBS = -ltermlib -L$(X11LIBDIR) -lX11 ++ ++# generic for Sun, FreeBSD, NetBSD, NeXT, POSIX and SYSV R4 (?) without x11 code ++# (TESTED for Sun 4.1.x and FreeBSD) ++# standard cc with optimizer ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# FreeBSD and NetBSD with Xfree (TESTED for FreeBSD) ++# standard cc with optimizer ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=cc -O -I$(X11INCDIR) ++#LIBS = -ltermlib -L$(X11LIBDIR) -lX11 ++ ++# FreeBSD and NetBSD with Xfree (TESTED for FreeBSD) ++# gcc with optimizer ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=gcc -O -Wall -traditional -Dconst= -I$(X11INCDIR) ++#LIBS = -ltermlib -L$(X11LIBDIR) -lX11 ++ ++# like generic, but with termcap, for Linux, NeXT and others (NOT TESTED YET) ++# standard cc with optimizer ++# ++#MACHINE = -DBSD_UNIX ++#CC=cc -O ++#LIBS = -ltermcap ++ ++# Linux 2.0.x/2.2.x (TESTED Debian GNU/Linux 2.0/2.1) ++#MACHINE = -DBSD_UNIX ++#CC=gcc -O ++#LIBS = -lncurses ++ ++# Debian GNU/Linux 2.x ++MACHINE = -DBSD_UNIX -DUSE_X11 -DDebian ++CC=gcc -O ++LIBS = -lncurses -L$(X11LIBDIR) -lX11 ++ ++# Cygwin (TESTED 1.1-NetRelease) ++# Notes: Please check ../doc.j/cygwin.txt ++# ++#TARGET=vim.exe ++#MACHINE = -DBSD_UNIX ++#CC=gcc -O ++#LIBS = -ltermcap ++ ++# linux 1.0 with X11 (TESTED) ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=cc -O -I$(X11INCDIR) ++#LIBS = -ltermcap -L$(X11LIBDIR) -lX11 ++ ++# like generic, but with debugging (NOT TESTED YET) ++# ++#MACHINE = -DBSD_UNIX -g ++#CC=cc ++#LIBS = -ltermlib ++ ++# like generic, but with gcc and X11 (TESTED on Sun 4.1.x) ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=gcc -O -Wall -traditional -Dconst= -L$(X11LIBDIR) -I$(X11INCDIR) ++#LIBS = -ltermlib -lX11 ++ ++# like generic, but with gcc, without X11 (TESTED on ULTRIX 4.2A on MIPS) ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE ++#CC=gcc -O -Wall -traditional -Dconst= ++#LIBS = -ltermlib ++ ++# like generic, but with gcc 2.5.8 (TESTED on Sun 4.1.3_U1) ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE ++#CC=gcc -O1000 ++#LIBS = -ltermlib ++ ++# standard cc with optimizer for ULTRIX 4.2A on MIPS (ultrix defined) (TESTED) ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE ++#CC=cc -O -Olimit 1500 ++#LIBS = -ltermlib ++ ++# GCC (2.2.2d) on Linux (1.0.9) (TESTED) ++# ++#MACHINE = -DBSD_UNIX ++#CC=gcc -O6 -Wall ++#LIBS = -ltermcap ++ ++# Apollo DOMAIN (with SYSTYPE = bsd4.3) (NOT TESTED YET) ++# ++#MACHINE = -DBSD_UNIX -DDOMAIN ++#CC=cc -O -A systype,bsd4.3 ++#LIBS = -ltermlib ++ ++# HPUX with X11 (TESTED) (hpux is defined) ++# ++#MACHINE = -DBSD_UNIX -DTERMINFO -DUSE_X11 ++#CC=cc -O -I$(X11INCDIR) ++#LIBS = -ltermcap -L$(X11LIBDIR) -lX11 ++ ++# HPUX (TESTED) (hpux is defined) ++# ++#MACHINE = -DBSD_UNIX -DTERMINFO ++#CC=cc -O ++#LIBS = -ltermcap ++ ++# HPUX with gcc (TESTED) (hpux is defined) ++# ++#MACHINE = -DBSD_UNIX -DTERMINFO ++#CC=gcc -O ++#LIBS = -ltermcap ++ ++# hpux 9.01 (with termlib instead of termcap) (TESTED) ++# irix 4.0.5H (TESTED) ++# ++#MACHINE = -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=cc -O -I$(X11INCDIR) ++#LIBS = -ltermlib -L$(X11LIBDIR) -lX11 ++ ++# IRIX 4.0 (Silicon Graphics Indigo, __sgi will be defined) (TESTED) ++# ++#MACHINE = -DBSD_UNIX -DUSE_X11 ++#CC=cc -O -Olimit 1500 ++#LIBS = -ltermlib -lX11 -lmalloc -lc_s ++ ++# Convex (NOT TESTED YET) ++# ++#MACHINE = -DBSD_UNIX -DCONVEX ++#CC=cc -O ++#LIBS = -ltermcap ++ ++# generic SYSV_UNIX for Dynix/PTX and SYSV R3 (and R4?) (TESTED on SINIX-L 5.41) ++# (TESTED on MOT188) (TESTED on Sequent/ptx 1.3) (TESTED on osf1) ++# First try the line with locale. If this gives error messages try the other one. ++# ++#MACHINE = -DSYSV_UNIX -DUSE_LOCALE ++#MACHINE = -DSYSV_UNIX ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# generic SYSV_UNIX with LOCALE (TESTED on Unisys 6035) ++# ++#MACHINE = -DSYSV_UNIX -DUSE_LOCALE -DUNISYS ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# SCO Xenix (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX -DSCO ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# GCC on SCO 3.2 (TESTED by jos@oce.nl) ++# cc works too. ++# ++#MACHINE = -DSYSV_UNIX -UM_XENIX -DSCO ++#CC=gcc -O -Wall ++#LIBS = -ltinfo ++ ++# GCC on another SCO Unix (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX -UM_XENIX -DSCO -g ++#CC=gcc -O6 -fpcc-struct-return -fwritable-strings ++#LIBS = -ltermlib -lmalloc ++ ++# Dynix with gcc (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX ++#CC=gcc -O -Wall -traditional ++#LIBS = -ltermlib ++ ++# SOLARIS with X11 anc cc (TESTED) ++# ++#MACHINE = -DSYSV_UNIX -DSOLARIS -DTERMINFO -DUSE_X11 ++#CC=cc -O -Xa -v -R$(X11LIBDIR) -L$(X11LIBDIR) -I$(X11INCDIR) ++#LIBS = -ltermlib -lX11 ++ ++# SOLARIS with X11 and gcc (TESTED with SOLARIS 2.3 and gcc 2.5.8) ++# ++#MACHINE = -DSYSV_UNIX -DSOLARIS -DTERMINFO -DUSE_X11 ++#CC=gcc -O -R$(X11LIBDIR) -L$(X11LIBDIR) -I$(X11INCDIR) ++#LIBS = -ltermlib -lX11 ++ ++# SOLARIS (also works for Esix 4.0.3, SYSV R4?) (TESTED on Sun OS 5.3) ++# ++#MACHINE = -DSYSV_UNIX -DSOLARIS -DTERMINFO ++#CC=cc -O -Xa -v ++#LIBS = -ltermlib ++ ++# UNICOS (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX -DUNICOS ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# AIX (rs6000) (TESTED) ++# ++#MACHINE = -DSYSV_UNIX -DAIX ++#CC=cc -O ++#LIBS=-lcur ++ ++# UTS2 for Amdahl UTS 2.1.x (disable termcap below) (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX -DUTS2 ++#CC=cc -O ++#LIBS = -ltermlib -lsocket ++ ++# UTS4 for Amdahl UTS 4.x (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX -DUTS4 -Xa ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# USL for Unix Systems Laboratories (SYSV 4.2) (NOT TESTED YET) ++# ++#MACHINE = -DSYSV_UNIX -DUSL ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# RISCos on MIPS without X11 (TESTED) ++# ++#MACHINE = -DSYSV_UNIX -DMIPS ++#CC=cc -O ++#LIBS = -ltermlib ++ ++# RISCos on MIPS with X11 (TESTED) ++# ++#MACHINE=-DSYSV_UNIX -DUSE_LOCALE -DUSE_X11 ++#CC=cc -O -I$(X11INCDIR) ++#LIBS=-ltermlib -L$(X11LIBDIR) -lX11 -lsun ++ ++# NEC EWS4800 Series (EWS-UX/V R6.x) ++# ++#MACHINE = -DSYSV_UNIX -DSOLARIS -DTERMINFO ++#CC=cc -O -KOlimit=3000 ++#LIBS = -ltermlib -lsocket -lnsl ++ ++ ++################################################ ++## no changes required below this line ## ++################################################ ++ ++CFLAGS = -c $(MACHINE) $(DEFS) ++ ++INCL = vim.h globals.h param.h keymap.h macros.h ascii.h term.h unix.h structs.h proto.h ++ ++OBJ = alloc.o unix.o buffer.o charset.o cmdcmds.o cmdline.o \ ++ csearch.o digraph.o edit.o fileio.o getchar.o help.o \ ++ linefunc.o main.o mark.o memfile.o memline.o message.o misccmds.o \ ++ normal.o ops.o param.o quickfix.o regexp.o \ ++ regsub.o screen.o search.o \ ++ tag.o term.o undo.o window.o $(TERMLIB) kanji.o track.o \ ++ u2s.o s2u.o $(FEPOBJS) ++ ++GOBJ = grep.o alloc.o charset.o kanji.o regexp.o regsub.o u2s.o s2u.o ++ ++all: $(TARGET) grep ++ ++$(TARGET): $(OBJ) version.c ++ $(CC) $(CFLAGS) version.c ++ $(CC) -o $(TARGET) $(OBJ) version.o $(LIBS) $(FEPLIBS) ++ ++grep: $(GOBJ) ++ $(CC) -o grep/grep $(GOBJ) $(LIBS) $(FEPLIBS) ++ ++debug: $(OBJ) version.c ++ $(CC) $(CFLAGS) version.c ++ $(CC) -o $(TARGET) -g $(OBJ) version.o $(LIBS) ++ ++ctags: ++ ctags *.c *.h ++ ++install: $(TARGET) ++ -mkdir $(BINLOC) ++ cp $(TARGET) $(BINLOC) ++ chmod $(BINMOD) $(BINLOC)/$(TARGET) ++ $(STRIP) $(BINLOC)/$(TARGET) ++ -mkdir $(MANLOC) ++ cp $(MANFILE) $(MANLOC)/jvim.1 ++ chmod $(MANMOD) $(MANLOC)/jvim.1 ++ -mkdir $(HELPLOC) ++ cp $(HELPFILE) $(HELPLOC)/jvim.hlp ++ chmod $(HELPMOD) $(HELPLOC)/jvim.hlp ++ ++clean: ++ -rm -f $(OBJ) mkcmdtab.o version.o core $(TARGET) mkcmdtab cmdtab.h ++ -rm -f *.bak ++ -rm -f $(GOBJ) ++ -rm -f grep/grep ++# -rm -f jptab.h jptab ++ ++#use this in case the files have been transported via an MSDOS system ++ ++FILES = *.c *.h makefile makefile.* cmdtab.tab proto/*.pro tags ++ ++dos2unix: ++ -mv arp_prot.h arp_proto.h ++ -mv ptx_stdl.h ptx_stdlib.h ++ -mv sun_stdl.h sun_stdlib.h ++ -mv makefile.dic makefile.dice ++ -mv makefile.uni makefile.unix ++ -mv makefile.man makefile.manx ++ -mv makefile.6sa makefile.6sas ++ -mv makefile.5sa makefile.5sas ++ for i in $(FILES); do tr -d '\r\032' < $$i > ~tmp~; mv ~tmp~ $$i; echo $$i; done ++ ++########################################################################### ++ ++alloc.o: alloc.c $(INCL) ++ $(CC) $(CFLAGS) alloc.c ++ ++unix.o: unix.c $(INCL) ++ $(CC) $(CFLAGS) unix.c ++ ++buffer.o: buffer.c $(INCL) ++ $(CC) $(CFLAGS) buffer.c ++ ++charset.o: charset.c $(INCL) ++ $(CC) $(CFLAGS) charset.c ++ ++cmdcmds.o: cmdcmds.c $(INCL) ++ $(CC) $(CFLAGS) cmdcmds.c ++ ++cmdline.o: cmdline.c $(INCL) cmdtab.h ops.h ++ $(CC) $(CFLAGS) cmdline.c ++ ++csearch.o: csearch.c $(INCL) ++ $(CC) $(CFLAGS) csearch.c ++ ++digraph.o: digraph.c $(INCL) ++ $(CC) $(CFLAGS) digraph.c ++ ++edit.o: edit.c $(INCL) ops.h ++ $(CC) $(CFLAGS) edit.c ++ ++fileio.o: fileio.c $(INCL) ++ $(CC) $(CFLAGS) fileio.c ++ ++getchar.o: getchar.c $(INCL) ++ $(CC) $(CFLAGS) getchar.c ++ ++help.o: help.c $(INCL) ++ $(CC) $(CFLAGS) help.c ++ ++linefunc.o: linefunc.c $(INCL) ++ $(CC) $(CFLAGS) linefunc.c ++ ++main.o: main.c $(INCL) ++ $(CC) $(CFLAGS) main.c ++ ++mark.o: mark.c $(INCL) ++ $(CC) $(CFLAGS) mark.c ++ ++memfile.o: memfile.c $(INCL) ++ $(CC) $(CFLAGS) memfile.c ++ ++memline.o: memline.c $(INCL) ++ $(CC) $(CFLAGS) memline.c ++ ++message.o: message.c $(INCL) ++ $(CC) $(CFLAGS) message.c ++ ++misccmds.o: misccmds.c $(INCL) ++ $(CC) $(CFLAGS) misccmds.c ++ ++normal.o: normal.c $(INCL) ops.h ++ $(CC) $(CFLAGS) normal.c ++ ++ops.o: ops.c $(INCL) ops.h ++ $(CC) $(CFLAGS) ops.c ++ ++param.o: param.c $(INCL) ++ $(CC) $(CFLAGS) param.c ++ ++quickfix.o: quickfix.c $(INCL) ++ $(CC) $(CFLAGS) quickfix.c ++ ++regexp.o: regexp.c $(INCL) ++ $(CC) $(CFLAGS) regexp.c ++ ++regsub.o: regsub.c $(INCL) ++ $(CC) $(CFLAGS) regsub.c ++ ++screen.o: screen.c $(INCL) ++ $(CC) $(CFLAGS) screen.c ++ ++search.o: search.c $(INCL) ops.h ++ $(CC) $(CFLAGS) search.c ++ ++tag.o: tag.c $(INCL) ++ $(CC) $(CFLAGS) tag.c ++ ++term.o: term.c $(INCL) ++ $(CC) $(CFLAGS) term.c ++ ++undo.o: undo.c $(INCL) ++ $(CC) $(CFLAGS) undo.c ++ ++window.o: window.c $(INCL) ++ $(CC) $(CFLAGS) window.c ++ ++cmdtab.h: cmdtab.tab mkcmdtab ++ ./mkcmdtab cmdtab.tab cmdtab.h ++ ++mkcmdtab: mkcmdtab.o ++ $(CC) -o mkcmdtab mkcmdtab.o ++ ++mkcmdtab.o: mkcmdtab.c ++ $(CC) $(CFLAGS) mkcmdtab.c ++ ++kanji.o: kanji.c $(INCL) jptab.h ++ $(CC) $(CFLAGS) kanji.c ++ ++s2u.o: s2u.c ++ $(CC) $(CFLAGS) s2u.c ++ ++u2s.o: u2s.c ++ $(CC) $(CFLAGS) u2s.c ++ ++track.o: track.c $(INCL) jptab.h ++ $(CC) $(CFLAGS) track.c ++ ++#jptab.h: jptab ++# ./jptab > jptab.h ++ ++jptab: jptab.o ++ $(CC) -o jptab jptab.o ++ ++jptab.o: jptab.c ++ $(CC) $(CFLAGS) jptab.c ++ ++fepseq.o: fepseq.c ++ $(CC) $(CFLAGS) fepseq.c ++ ++fepbow.o: fepbow.c ++ $(CC) $(CFLAGS) fepbow.c ++ ++fepcanna.o: fepcanna.c ++ $(CC) $(CFLAGS) -I/usr/include/canna fepcanna.c ++ ++feponew.o: feponew.c ++ $(CC) $(CFLAGS) feponew.c ++ ++grep.o: grep/grep.c ++ $(CC) $(CFLAGS) -I. grep/grep.c +diff -uNr vim.orig/src/term.c vim/src/term.c +--- vim.orig/src/term.c 2005-11-22 20:59:26.000000000 -0600 ++++ vim/src/term.c 2005-11-22 21:33:27.000000000 -0600 +@@ -26,7 +26,7 @@ + # ifdef linux + # include + # if 0 /* only required for old versions, it's now in termcap.h */ +- typedef int (*outfuntype) (int); ++ typedef int (*outfuntype) (int); + # endif + # define TPUTSFUNCAST + # else +@@ -106,14 +106,14 @@ + + p++; + for (;;) +- { ++ { + while (*s++) + ; + p += *s++; + if (!*s) + return; + *p++ = s; +- } ++ } + } + + #ifdef TERMCAP +@@ -241,12 +241,12 @@ + /* term_strings.t_sku = TGETSTR("", &tp); termcap code unknown */ + /* term_strings.t_skd = TGETSTR("", &tp); termcap code unknown */ + #ifdef ARCHIE +- /* Termcap code made up! */ +- term_strings.t_sku = tgetstr("su", &tp); +- term_strings.t_skd = tgetstr("sd", &tp); ++ /* Termcap code made up! */ ++ term_strings.t_sku = tgetstr("su", &tp); ++ term_strings.t_skd = tgetstr("sd", &tp); + #else +- term_strings.t_sku = NULL; +- term_strings.t_skd = NULL; ++ term_strings.t_sku = NULL; ++ term_strings.t_skd = NULL; + #endif + #if defined(UNIX) && !defined(notdef) + if (term_strings.t_sku == NULL) +@@ -356,7 +356,7 @@ + ttest(TRUE); + /* display initial screen after ttest() checking. jw. */ + if (width <= 0 || height <= 0) +- { ++ { + /* termcap failed to report size */ + /* set defaults, in case mch_get_winsize also fails */ + width = 80; +@@ -406,7 +406,7 @@ + --p; + *p = i % 10 + '0'; + i /= 10; +- } ++ } + while (i > 0 && p > buf); + return p; + } +@@ -430,14 +430,14 @@ + return "OOPS"; + e = buf + 29; + for (s = buf; s < e && *cm; cm++) +- { ++ { + if (*cm != '%') +- { ++ { + *s++ = *cm; + continue; + } + switch (*++cm) +- { ++ { + case 'd': + p = (char *)tltoa((unsigned long)y); + y = x; +@@ -452,13 +452,13 @@ + *s++ = (char)(*++cm + y); + y = x; + break; +- case '%': ++ case '%': + *s++ = *cm; + break; + default: + return "OOPS"; + } +- } ++ } + *s = '\0'; + return buf; + } +@@ -585,7 +585,7 @@ + if (bpos > BSIZE - 20) /* avoid terminal strings being split up */ + flushbuf(); + if (s) +-#if defined(TERMCAP) && !(defined(linux) && defined(NCURSES_BUG)) ++#if defined(TERMCAP) && !(defined(linux) && defined(NCURSES_BUG)) || (defined(linux) && defined(Debian)) + tputs(s, 1, TPUTSFUNCAST outchar); + #else + while (*s) +@@ -635,10 +635,10 @@ + t = "cm"; + + if (t) +- { +- sprintf(buf, s, t); +- EMSG(buf); +- } ++ { ++ sprintf(buf, s, t); ++ EMSG(buf); ++ } + + /* + * if "cs" defined, use a scroll region, it's faster. +@@ -900,7 +900,7 @@ + { + OUTSTRN(tltoa((unsigned long)n)); + } +- ++ + void + check_winsize() + { +diff -uNr vim.orig/src/unix.c vim/src/unix.c +--- vim.orig/src/unix.c 2005-11-22 20:59:26.000000000 -0600 ++++ vim/src/unix.c 2005-11-22 21:34:52.000000000 -0600 +@@ -343,10 +343,10 @@ + char **argv; + { + if (!isatty(0) || !isatty(1)) +- { ++ { + fprintf(stderr, "VIM: no controlling terminal\n"); + exit(2); +- } ++ } + } + + /* +@@ -653,7 +653,7 @@ + char_u *buf; + int len; + { +-#if defined(SYSV_UNIX) || defined(USL) || defined(hpux) || defined(linux) ++#if defined(SYSV_UNIX) || defined(USL) || defined(hpux) || ( defined(linux) && !defined(Debian) ) + extern int errno; + # ifndef linux + extern char *sys_errlist[]; +@@ -661,10 +661,10 @@ + + if (getcwd((char *)buf, len) == NULL) + { +- STRCPY(buf, sys_errlist[errno]); +- return FAIL; ++ STRCPY(buf, sys_errlist[errno]); ++ return FAIL; + } +- return OK; ++ return OK; + #else + return (getwd((char *)buf) != NULL ? OK : FAIL); + #endif +@@ -922,22 +922,22 @@ + { + struct ttysize ts; + +- if (ioctl(0, TIOCGSIZE, &ts) == 0) +- { ++ if (ioctl(0, TIOCGSIZE, &ts) == 0) ++ { + Columns = ts.ts_cols; + Rows = ts.ts_lines; +- } ++ } + } + # else /* TIOCGSIZE */ + # ifdef TIOCGWINSZ + { + struct winsize ws; + +- if (ioctl(0, TIOCGWINSZ, &ws) == 0) +- { ++ if (ioctl(0, TIOCGWINSZ, &ws) == 0) ++ { + Columns = ws.ws_col; + Rows = ws.ws_row; +- } ++ } + } + # endif /* TIOCGWINSZ */ + # endif /* TIOCGSIZE */ +@@ -947,9 +947,9 @@ + */ + if (Columns == 0 || Rows == 0) + { +- if ((p = (char_u *)getenv("LINES"))) ++ if ((p = (char_u *)getenv("LINES"))) + Rows = atoi((char *)p); +- if ((p = (char_u *)getenv("COLUMNS"))) ++ if ((p = (char_u *)getenv("COLUMNS"))) + Columns = atoi((char *)p); + } + +@@ -1289,10 +1289,10 @@ + fd_set fdset; + + if (ticks >= 0) +- { +- tv.tv_sec = ticks / 1000; ++ { ++ tv.tv_sec = ticks / 1000; + tv.tv_usec = (ticks % 1000) * (1000000/1000); +- } ++ } + + FD_ZERO(&fdset); + FD_SET(0, &fdset); +@@ -1388,7 +1388,7 @@ + if (*mktemp((char *)tmpname) == NUL) + { + emsg(e_notmp); +- return FAIL; ++ return FAIL; + } + + /* +@@ -1454,7 +1454,7 @@ + /* + * read the names from the file into memory + */ +- fd = fopen((char *)tmpname, "r"); ++ fd = fopen((char *)tmpname, "r"); + if (fd == NULL) + { + emsg2(e_notopen, tmpname); +diff -uNr vim.orig/src/unix.h vim/src/unix.h +--- vim.orig/src/unix.h 2005-11-22 20:59:26.000000000 -0600 ++++ vim/src/unix.h 2005-11-22 21:36:18.000000000 -0600 +@@ -27,11 +27,11 @@ + #endif + + #ifndef DEFVIMRC_FILE +-# define DEFVIMRC_FILE "/usr/local/etc/vimrc" ++# define DEFVIMRC_FILE "/etc/jvimrc" + #endif + + #ifndef VIM_HLP +-# define VIM_HLP "/usr/local/lib/vim.hlp" ++# define VIM_HLP "/usr/lib/jvim/jvim.hlp" + #endif + + #ifndef BACKUPDIR +diff -uNr vim.orig/tools/vim132 vim/tools/vim132 +--- vim.orig/tools/vim132 1993-10-13 00:32:46.000000000 -0500 ++++ vim/tools/vim132 2005-11-22 21:30:23.000000000 -0600 +@@ -1,11 +1,25 @@ +-#! /bin/csh +-# Shell script for use with UNIX +-# Starts up Vim with the terminal in 132 column mode +-# Only works on VT-100 terminals and lookalikes ++#! /bin/sh + # +-set oldterm=$term ++# - the original script is csh script, but lintian recommend ++# not to use csh script. so I convert this into sh script ++# ++oldterm=$TERM + echo "[?3h" +-setenv TERM vt100-w +-vim $* +-set term=$oldterm ++export TERM=vt100-w ++jvim $* ++TERM=$oldterm + echo "[?3l" ++ ++# following comment is the original csh script ++# #! /bin/csh ++# # Shell script for use with UNIX ++# # Starts up Vim with the terminal in 132 column mode ++# # Only works on VT-100 terminals and lookalikes ++# # ++# set oldterm=$term ++# echo "[?3h" ++# setenv TERM vt100-w ++# vim $* ++# set term=$oldterm ++# echo "[?3l" ++# --- jvim-3.0-2.1b.orig/debian/copyright +++ jvim-3.0-2.1b/debian/copyright @@ -0,0 +1,184 @@ +This is the Debian GNU/Linux pre-packaged version of 'j'vim, a modified +'vim' with Japanese enhancements. + +This package was debianized by Teru Morimura on +Wed, 07 Oct 2009 22:08:16 -0500. + +It was downloaded from the following websites: + + Source archive of original Vim 3.0 is downloaded from + http://hp.vector.co.jp/authors/VA003457/vim/vim3/orig/vim-3.0.tar.gz + + Japanese Patch for Vim 3.0 is downloaded from + http://hp.vector.co.jp/authors/VA003457/vim/vim3/2.1a/jvim.2.1a.tar.gz + +Upstream Author(s): + + Vim was written by Bram Moolenaar + + Japanese-Patch for Vim was written by + H.Ogasawara + A.Nakamura + K.Tsuchida + + This package will be merged into "vim" packages when the required + features in this "jvim" are successfully implemented in Bram's original + vim. + +Copyright: + + Bram Moolenaar + + Japanese-Patch: + H.Ogasawara + A.Nakamura + K.Tsuchida + +License: + + --- [Vim] --- + + Though the original license for vim-3.0 is not fully DFSG compliant, + the upstream author Bram Moolenaar permits to use the new DFSG full + compliant license of vim-5.3 for old versions including vim-3.0. + + Here is the mail from the author. + + Message-Id: <199906231945.VAA19003@moolenaar.net> + In-Reply-To: <19990623101356G.xlj06203@xlj06203.nifty.ne.jp> + Subject: Re: Please let me use your new license for vim 3.0 + From: Bram Moolenaar + To: Taketoshi Sano + Date: Wed, 23 Jun 1999 21:45:45 +0200 + + > I wish to register my 'jvim' package into main distribution of Debian, + > so, would you please apply the new license to vim-3.0 as well as vim-5.3 ? + + Yes, the new license can also be used for older versions. It is "backwards + compatible" :-). + + And here is the new license for all versions of vim + (quoted from the Debian Package of vim-5.3) + + Copying: + Vim is Charityware. You can use and copy it as much as you like, but you are + encouraged to make a donation to orphans in Uganda. Please read the file + "/usr/doc/vim-rt/uganda.txt.gz" for details. + + If you include Vim on a CD-ROM, I would like to receive a copy. Just so I + know which Vim distributions exists in the world (and to show off to my + friends :-)). + + There are no restrictions on distributing an unmodified copy of Vim. Parts of + Vim may also be distributed, but this text must always be included. You are + allowed to include executables that you made from the unmodified Vim sources, + your own usage examples and Vim scripts. + + If you distribute a modified version of Vim, you are encouraged to send the + maintainer a copy, including the source code. Or make it available to the + maintainer through ftp; let him know where It can be found. If the number of + changes is small (e.g., a modified Makefile) e-mailing the diffs will do. + When the maintainer asks for it (in any way) you must make your changes, + including source code, available to him. + + The maintainer reserves the right to include any changes in the official + version of Vim. This is negotiable. You are not allowed to distribute a + modified version of Vim when you are not willing to make the source code + available to the maintainer. + + The current maintainer is Bram Moolenaar . If this changes, it + will be announced in appropriate places (most likely www.vim.org and + comp.editors). When it is completely impossible to contact the maintainer, + the obligation to send him modified source code is dropped. + + If you are happy with Vim, please express that by reading the uganda.txt.gz + + + --- [Japanese Patch for Vim] --- + + Original copyright notice of Japanese Patch is written in Japanese + at /usr/doc/jvim-doc/japanese/readme.doc. + + Following is the quoted from that file. I atatch my English + translation here, but if you wish to understand the license precisely, + you should have to read the original notice (in Japanese). + + 11. $BCx:n8"$K$D$$$F(B + + BDF $B%G%#%l%/%H%j$K$"$k!"(B mw32bdf.c $B5Z$S(B mw32bdf.h $B$O(B GPL $B$K=>$C$?(B + $BG[I[$,I,MW$G$9!#(B + $B$^$?!"(B EXFILE $B%G%#%l%/%H%j$K$"$k!"%=!<%9%U%!%$%k$r;HMQ$9$k:]$K$O!"(B + $BEZED$KO"Mm$r$/$@$5$$!#$3$N(B Extend File System $BItJ,$O!"$"$^$j$K$bE,Ev(B + $B$K:n$C$F$$$^$9$N$G!%!%!%(B + $B$=$NB>$N!"EZED$,9T$C$?!"F|K\8l2=ItJ,$NCx:n8"$rJ|4~$7$^$9!#(B + $B%=!<%9$N2~NI!"=$@5!"G[I[$J$I!"8f<+M3$K8fMxMQ$/$@$5$$!#$?$@$7!"JQ99(B + $B$NG!2?$K4X$o$i$:!"(B JVim $B$K$h$j@8$8$k$$$+$J$kB;32!"ITMx1W$KBP$7$F$b!"(B + $BEZED$O$=$N@U$rIi$$$^$;$s!#(B + $B$^$?!"%=!<%9$r;HMQ$5$l$?>l9g$K$O!"$=$N%=!<%9$r8x3+$7$FD:$1$k;v$r4u(B + $BK>$7$^$9!#(B + + + 12. $BE>:\Ey$K$D$$$F(B + + $B4pK\E*$KE>:\Ey$O%*%j%8%J%k$NG[I[>r7o$K=`$8$^$9!#(B + $BC"$7!"=c?h$K8D?ME*$J6=L#$+$i!"%a!<%kEy$GE>:\@h$r65$($FD:$1$l$P9,$$(B + $B$G$9!#(B + $B?oJ,!"8E$$%P!<%8%g%s$,=P2s$C$F$$$k$h$&$G$9$N$G!"$G$-$l$PE>:\@h$rCN$C(B + $B$F$*$-$?$$$H$$$&$N$,M}M3$G$9!#(B + + $BKt!"%P%0$dF0:n$,$*$+$7$$$J$I5$$K$J$kE@$d!"%Q%C%A$r:n$C$F$$$?$@$$$?(B + $B>l9g$J$I$O!"@'Hs$*65$($/$@$5$$!#(B + $B$=$N:]$K$O!";d$N%[!<%`%Z!<%8(B (http://www.st.rim.or.jp/~ken_t/) $B$K(B + $B2DG=$J8B$j:G?7$NJ*$rCV$$$F$*$-$^$9$N$G:G?7HG$G3NG'$5$l$F$+$i!";d(B + (ken_t@st.rim.or.jp) $B$KO"Mm$7$FD:$1$l$P9,$$$G$9!#(B + + -- (unofficial English translation by sano@debian.org) -- + + 11. about copyrights + + For mw32bdf.c and mw32bdf.h under "BDF" directory, + the license for distribution is GPL. + + If you use the source files under EXFILE directory, Please + contact me (K.Tsuchida ), because these + files are just an quick hack, and no serious consideration + has been paid,,, + + # notice from translater: the files under EXFILE directory + # is used to make under&for Win32 (Windows-NT/95) environments, + # so this condition are not related to our Unix/Linux source + # and binary at all. + + For all other modifications related to Japanese enhancements + by K.Tsuchida, I (K.Tsuchida) do not claim any rights. + You can modify, enhance, distribute, and use that part freely. + + No warranty is valid about the software. I will not be + responsible for any damage or loss caused by your use of jvim, + either with or without modification. + + I (K.Tsuchida) hope that if you use my source code with your + modification, you make your modified source code to be 'open' + (i.e. publicly available). + + 12. About redistribution + + In principle, the license for original 'vim' is applicable for + my modification. + + I hope you just for my interest, to tell me with E-mail or so, + if you do the distribution of 'jvim'. I find now the very old + version of jvim is distributed, so I wish to know where those + re-distribution comes from. + + And, if you find the bugs or ill-working of the software, + of if you make the patch to enhance this 'jvim', Please tell me + about it. In that case, Plase check the current release of jvim + (which can be downloaded from my Web ) + in advance, then contact me (ken_t@st.rim.or.jp). + + -- (End of translation) -- + +The Debian packaging is (C) 2009, Teru Morimura and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +