--- mined-2000.10.orig/debian/changelog +++ mined-2000.10/debian/changelog @@ -0,0 +1,66 @@ +mined (2000.10-4) unstable; urgency=low + + * QA upload. + * Provide editor(1) alternative. Closes: #310717. + * src/mined.h: Include for pid_t on Hurd. Thanks to + Guillaume Libersat for the patch. Closes: #331294. + * src/mkinclud.mak: Make only scripts executable. + * Switch to debhelper 5. + * Switch to dpatch. + * debian/control: Use Homepage pseudo-header. + * debian/dirs: Let the Makefile create them. + * debian/menu: Add quotes to placate Lintian. + * debian/preinst, debian/prerm, debian/postinst, debian/postrm: + Remove templates. + * debian/rules: + - Pass compilation flags to the Makefile. + - Let dh_strip handle DEB_BUILD_OPTIONS=nostrip. + * debian/watch: Add. + * Conforms to Standards version 3.7.2. + + -- Matej Vela Sun, 13 Aug 2006 13:01:47 +0200 + +mined (2000.10-3) unstable; urgency=low + + * orphaning the package. + + -- Ramakrishnan Muthukrishnan Sun, 13 Aug 2006 10:35:15 +0530 + +mined (2000.10-2) unstable; urgency=low + + * Modified the description in the debian/control according to the + upstream webpage. + * Modified debian/docs to include the other documentation included with + the source. + * Replaced reccomended fonts from unifont to xfonts-base, as uni-font is + mostly useless here. + + -- Ramakrishnan Muthukrishnan Sat, 12 Feb 2005 09:35:54 +0530 + +mined (2000.10-1) unstable; urgency=low + + * New upstream release. + * Includes upstream fixes for the FTBFS bugs for some targets (like amd64). + This is untested. (closes: #287656) + + -- Ramakrishnan Muthukrishnan Sat, 5 Feb 2005 20:43:46 +0530 + +mined (2000.9-2) unstable; urgency=low + + * missing build-depends (closes: #235016) + + -- Ramakrishnan Muthukrishnan Tue, 23 Mar 2004 00:09:45 +0530 + +mined (2000.9-1) unstable; urgency=low + + * New upstream release + + -- Ramakrishnan Muthukrishnan Tue, 23 Mar 2004 00:05:46 +0530 + +mined (2000.8-1) unstable; urgency=low + + * Initial Release. + * (closes: #87734) + + -- Ramakrishnan Muthukrishnan Sun, 15 Feb 2004 11:45:16 +0530 + --- mined-2000.10.orig/debian/compat +++ mined-2000.10/debian/compat @@ -0,0 +1 @@ +5 --- mined-2000.10.orig/debian/control +++ mined-2000.10/debian/control @@ -0,0 +1,24 @@ +Source: mined +Section: editors +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5), dpatch, libncurses5-dev +Standards-Version: 3.7.2 + +Package: mined +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: xfonts-base +Description: Powerful text editor with extensive Unicode and CJK support + Mined is a powerful text editor with a comprehensive and easy-to-use + user interface and fast, small-footprint behaviour. + . + It was the first editor that provided Unicode support in a plain-text + terminal. It now has both extensive Unicode and CJK support offering many + specific features and covering special cases that other editors + are not aware of (like auto-detection features and automatic handling + of terminal variations, or Han character information). It is an editor + tailored to efficient editing of plain text documents and programs, + with features and interactive behaviour designed for this purpose. + . + Homepage: http://towo.net/mined/ --- mined-2000.10.orig/debian/copyright +++ mined-2000.10/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Ramakrishnan Muthukrishnan on +Thu, 12 Feb 2004 17:29:12 +0530. + +It was downloaded from http://towo.net/mined/ + +Upstream Author: Thomas Wolff + +Copyright: + +Mined is copyrighted under the GNU General Public License v2 or above, +a copy of which can be found at + + /usr/share/common-licenses/GPL + --- mined-2000.10.orig/debian/docs +++ mined-2000.10/debian/docs @@ -0,0 +1,2 @@ +README +docs/* --- mined-2000.10.orig/debian/menu +++ mined-2000.10/debian/menu @@ -0,0 +1,2 @@ +?package(mined):needs="text" section="Apps/Editors"\ + title="mined" command="/usr/bin/mined" --- mined-2000.10.orig/debian/patches/00list +++ mined-2000.10/debian/patches/00list @@ -0,0 +1,2 @@ +01_install +02_hurd --- mined-2000.10.orig/debian/patches/01_install.dpatch +++ mined-2000.10/debian/patches/01_install.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_install.dpatch by Matej Vela +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adapt install rules: +## DP: - Let dh_strip do the stripping. +## DP: - Make only scripts executable. +## DP: - Unconditionally compress man page with `-9'. + +@DPATCH@ +diff -urNad mined-2000.10~/src/mkinclud.mak mined-2000.10/src/mkinclud.mak +--- mined-2000.10~/src/mkinclud.mak ++++ mined-2000.10/src/mkinclud.mak +@@ -290,14 +290,20 @@ + + # Installation: + install: mined help man ${INSTALLTARGET} +- strip mined + mkdir -p $(bindir) + $(INSTALL) mined $(bindir) + mkdir -p $(hlpdir) +- $(INSTALL) ../usrshare/* $(hlpdir) ++ set -e; \ ++ for f in ../usrshare/*; do \ ++ if [ -x $$f ]; then \ ++ $(INSTALL) $$f $(hlpdir); \ ++ else \ ++ $(INSTALL) --mode=+r,u+w $$f $(hlpdir); \ ++ fi; \ ++ done + mkdir -p $(mandir)/man1 + $(INSTALL) --mode=+r,u+w ../man/mined.1 $(mandir)/man1 +- (ls $(mandir)/man1/*.gz && type gzip) > /dev/null 2>&1 && gzip -f $(mandir)/man1/mined.1 ++ gzip -9f $(mandir)/man1/mined.1 + + # Local installation: + localinstall: mined help man ${INSTALLTARGET} --- mined-2000.10.orig/debian/patches/02_hurd.dpatch +++ mined-2000.10/debian/patches/02_hurd.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_hurd.dpatch by Guillaume Libersat +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Include for pid_t on Hurd (#331294). + +@DPATCH@ +diff -urNad mined-2000.10~/src/mined.h mined-2000.10/src/mined.h +--- mined-2000.10~/src/mined.h ++++ mined-2000.10/src/mined.h +@@ -122,6 +122,7 @@ + /*#include ? */ + # include + # include ++# include + # undef putchar + # undef NULL + # undef EOF --- mined-2000.10.orig/debian/postinst +++ mined-2000.10/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ "$1" = configure ]; then + update-alternatives --install /usr/bin/editor editor /usr/bin/mined 20 \ + --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/mined.1.gz +fi + +#DEBHELPER# --- mined-2000.10.orig/debian/prerm +++ mined-2000.10/debian/prerm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +if [ "$1" = remove ]; then + update-alternatives --remove editor /usr/bin/mined +fi + +#DEBHELPER# --- mined-2000.10.orig/debian/rules +++ mined-2000.10/debian/rules @@ -0,0 +1,61 @@ +#!/usr/bin/make -f +# This file is public domain software, originally written by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +MAKE += GFLAGS=-Wall +MAKE += DEBUG=-g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + MAKE += OPT=-O0 +else + MAKE += OPT=-O2 +endif + +include /usr/share/dpatch/dpatch.make + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + $(MAKE) -C src clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) INSTALLROOT=$(CURDIR)/debian/mined install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_installmenu + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- mined-2000.10.orig/debian/watch +++ mined-2000.10/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://towo.net/mined/download.html .*/mined-(.*)\.tar\.gz