--- dav-text-0.8.5.orig/Makefile +++ dav-text-0.8.5/Makefile @@ -9,10 +9,10 @@ move.o CFLAGS=-O3 -Wall -LDFLAGS=-lncurses -O3 -Wall +LDADD=-lncurses dav: $(OBJECTS) - $(CC) $(LDFLAGS) $(OBJECTS) -o dav + $(CC) $(OBJECTS) $(LDADD) -o dav install: mkdir -p $(DESTDIR)/usr/bin --- dav-text-0.8.5.orig/debian/prerm +++ dav-text-0.8.5/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove editor /usr/bin/dav +fi + +#DEBHELPER# + --- dav-text-0.8.5.orig/debian/compat +++ dav-text-0.8.5/debian/compat @@ -0,0 +1 @@ +4 --- dav-text-0.8.5.orig/debian/copyright +++ dav-text-0.8.5/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by astronut on +Fri, 3 Jun 2005 20:27:15 -0400. + +It was downloaded from http://dav-text.sourceforge.net/ + +Copyright 2001-2003, David Gucwai + +License: + + This package 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. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- dav-text-0.8.5.orig/debian/postinst +++ dav-text-0.8.5/debian/postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + update-alternatives --install /usr/bin/editor editor /usr/bin/dav 0 \ + --slave /usr/share/man/man1/editor.1.gz editor.1.gz \ + /usr/share/man/man1/dav.1.gz +fi + +#DEBHELPER# + --- dav-text-0.8.5.orig/debian/control +++ dav-text-0.8.5/debian/control @@ -0,0 +1,25 @@ +Source: dav-text +Section: text +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Benjamin Seidenberg +Build-Depends: debhelper (>= 4.0.0), libncurses5-dev +Standards-Version: 3.6.2 + +Package: dav-text +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A minimalist ncurses-based text editor + Dav (Dav Ain't Vi) is meant to provide a stable text editor that is efficient + in both memory and processor usage. It is simple to use, making it ideal for + novice users. It is licensed under the GPL and is still + in development. + . + Features include: + * Memory and cpu efficiency + * Small filesize and footprint + * Freely licensed under the GPL + * Useful feature set + * Intuitive and easy to use + . + Homepage http://dav-text.sourceforge.net/ --- dav-text-0.8.5.orig/debian/menu +++ dav-text-0.8.5/debian/menu @@ -0,0 +1,2 @@ +?package(dav-text):needs="text" section="Apps/Text"\ + title="DAV Text Editor" command="/usr/bin/dav" --- dav-text-0.8.5.orig/debian/changelog +++ dav-text-0.8.5/debian/changelog @@ -0,0 +1,40 @@ +dav-text (0.8.5-5ubuntu1) oneiric; urgency=low + + * Makefile: Use $LDADD, not $LDFLAGS. Fixes FTBFS. (LP: #770917) + + -- Daniel T Chen Sat, 17 Sep 2011 11:20:39 -0400 + +dav-text (0.8.5-5) unstable; urgency=low + + * Actually call dh_installmenu to install the menu file + * Fix FSF address + + -- Benjamin Seidenberg Tue, 18 Apr 2006 14:07:55 -0400 + +dav-text (0.8.5-4) unstable; urgency=low + + * Updated debian/control with new email address. + * Added hompage in description. + + -- Benjamin Seidenberg Sun, 21 Aug 2005 21:18:22 -0400 + +dav-text (0.8.5-3) unstable; urgency=low + + * Fix CFLAGS issue in debian/rules + * Removed erroneous file debian/dav.substvars + * Upgrade to Standards-Version 3.6.2 + + -- Benjamin Seidenberg Sun, 10 Jul 2005 15:34:38 -0400 + +dav-text (0.8.5-2) unstable; urgency=low + + * Setup Alternatives system properly + + -- Benjamin Seidenberg Sat, 11 Jun 2005 00:57:21 -0400 + +dav-text (0.8.5-1) unstable; urgency=low + + * Initial release Closes: #161106,#180628 (Request for package) + + -- Benjamin Seidenberg Fri, 3 Jun 2005 20:27:15 -0400 + --- dav-text-0.8.5.orig/debian/rules +++ dav-text-0.8.5/debian/rules @@ -0,0 +1,101 @@ +#!/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. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) CFLAGS='$(CFLAGS)' + #docbook-to-man debian/dav.sgml > dav.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-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/dav. + $(MAKE) install DESTDIR=$(CURDIR)/debian/dav-text + # Trickery here to compensate for the fact that upstream already + # compressed the man page at a lower level (satisfies policy 12.1) + gzip -d $(CURDIR)/debian/dav-text/usr/share/man/man1/dav.1.gz + + +# 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_testdir + dh_testroot + dh_installchangelogs changelog + 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 + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- dav-text-0.8.5.orig/debian/docs +++ dav-text-0.8.5/debian/docs @@ -0,0 +1 @@ +README