--- wcd-5.1.1.orig/debian/control +++ wcd-5.1.1/debian/control @@ -0,0 +1,19 @@ +Source: wcd +Section: utils +Priority: optional +Maintainer: Jari Aalto +Build-Depends: debhelper (>= 7), libncursesw5-dev, ghostscript +Standards-Version: 3.8.3 +Vcs-Browser: http://git.debian.org/?p=collab-maint/wcd.git +Vcs-Git: git://git.debian.org/git/collab-maint/wcd.git +Homepage: http://freshmeat.net/projects/wcd + +Package: wcd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: saves time typing when you want to change directories + Wcd (Wherever Change Directory) is a program to quickly change directories. + It saves time typing at the keyboard. One needs to type only a part of a + directory name and wcd will jump to it. By default, wcd searches for a + directory with a name that begins with what has been typed, but the use of + wildcards is also fully supported. --- wcd-5.1.1.orig/debian/wcd-include.csh +++ wcd-5.1.1/debian/wcd-include.csh @@ -0,0 +1 @@ +alias wcd "rm -f $HOME/bin/wcd.go; /usr/lib/wcd/wcd.exec \!* ; source $HOME/bin/wcd.go" --- wcd-5.1.1.orig/debian/debian-compile.mk +++ wcd-5.1.1/debian/debian-compile.mk @@ -0,0 +1,70 @@ +# debian-compile.mk -- Common compile variables +# +# Copyright +# +# Copyright (C) 2005-2009 Jari Aalto +# +# License +# +# 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. +# +# This program 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 program. If not, see . +# +# Description +# +# This is GNU makefile part, that defines common variables and +# macros to be used from debian/rules. To install, add this: +# +# PACKAGE = foo +# include debian/debian-compile.mk + +ifneq (,) + This makefile requires GNU Make. +endif + +####################################################################### +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +# +# [Add this] +# config.status: configure +# ... +# ./configure --host=$(DEB_HOST_GNU_TYPE) \ +# --build=$(DEB_BUILD_GNU_TYPE) \ + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +####################################################################### + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +####################################################################### +# [Add this to use multiple CPU cores] +# build-stamp: +# $(MAKE) $(MAKE_FLAGS) + +MAKE_FLAGS = +CPU_COUNT := $(shell fgrep -c processor /proc/cpuinfo 2> /dev/null | \ + egrep "^[2-9]$$|^[0-9][0-9]$$") + +ifneq ($(CPU_COUNT),) + MAKE_FLAGS += -j$(CPU_COUNT) +endif + +# End of Makefile part --- wcd-5.1.1.orig/debian/wcd.doc-base +++ wcd-5.1.1/debian/wcd.doc-base @@ -0,0 +1,8 @@ +Document: wcd +Title: Debian wcd Manual +Author: Erwin Waterlander +Abstract: FAQ for wcd +Section: File Management + +Format: Text +Files: /usr/share/doc/wcd/faq.txt --- wcd-5.1.1.orig/debian/clean +++ wcd-5.1.1/debian/clean @@ -0,0 +1,6 @@ +debian/*.1 +debian/*.7 +src/po/*.mo +src/man/man1/wcd.1 +doc/wcd.pdf +cygwin/Makefile --- wcd-5.1.1.orig/debian/changelog +++ wcd-5.1.1/debian/changelog @@ -0,0 +1,164 @@ +wcd (5.1.1-1) unstable; urgency=low + + * New upstream release. + + -- Jari Aalto Thu, 14 Jan 2010 20:11:46 +0200 + +wcd (5.1.0-2) unstable; urgency=low + + * Move to format: 3.0 (quilt). + * debian/clean + - Move content from debian/rules for dh(1). + * debian/control + - (Depends): add ${misc:Depends} for debhelper. + * debian/debian-compile.mk + - New file. + * debian/rules + - Remove rules obsoleted by dh(1). + - (CFLAGS_EXTRA): New. Pass strict compiler flags. + * debian/source/format + - New file. + * debian/ttyload.{clean,manpages} + - Move content from debian/rules for dh(1). + + -- Jari Aalto Thu, 17 Dec 2009 19:00:48 +0200 + +wcd (5.1.0-1) unstable; urgency=low + + * New upstream release. + * debian/control + - (Build-Depends): Change to libncursesw5-dev (UTF-8). + - (Standards-Version): update to 3.8.3. + * debian/doc-base + - New (lintian). + * debian/rules + - (build.stamp): enable Unicode support by adding UCS=1. + - (install): Modify for new upstream version. + * debian/patches + - Remove. All accepted by upstream maintainer. + * debian/wcd-include.sh + - Add missing parenthesis (Closes: #551588). + - Add quoting. Remove 'test' calls and use POSIX []. + - Add -z option. + - Detect Emacs M-x shell and turn on plain curses. + + -- Jari Aalto Mon, 02 Nov 2009 05:32:11 +0000 + +wcd (5.0.4-1) unstable; urgency=low + + * GENERAL INFORMATION + - New maintainer (Closes: #540913). + - Replace CDBS build system with debhelper. + * New upstream release + - Upgrade (Closes: #517321, #540986). + - Make option -l accept second arg as ALIAS-NAME (Closes: #518280). + - Reverse options -v -V (Closes: #518136). + * debian/NEWS + - Minor formatting adjustments. + - (Changes compared to upstream): update to newest release. + * debian/debian-vars.mk + - New file for packaging variables. + * debian/control + - (Build-Depends): Add ghostscript (new upstream release). + - (Homepage): move to top (Closes: #517378) and point to general + project hub at Freshmeat (Closes: #517379). + - (Standards-Version): update to 3.8.2. + - (Vcs-*): New fields. + * debian/dirs + - Delete file, new upstream version uses different directories. + * debian/patches + - Add 10-manpage-hyphen.dpatch (Closes: #517334). + - Add 20-manpage-pu.dpatch. + * debian/rules + - New file. + * debian/watch + - Change to Sourceforge. + * debian/wcd-include.sh + - Convert to pure /bin/sh (remove Bashism). + + -- Jari Aalto Thu, 13 Aug 2009 21:38:03 +0000 + +wcd (3.2.0-1) unstable; urgency=low + + * New upstream release. + + -- Lucas Wall Wed, 1 Mar 2006 23:49:03 -0300 + +wcd (3.1.4-1) unstable; urgency=low + + * New upstream release. + * New maintainer. (closes: #297448) + * Switched to cdbs. + + -- Lucas Wall Tue, 1 Mar 2005 16:02:15 -0300 + +wcd (3.1.3-3) unstable; urgency=low + + * Fix path to shell scripts (closes:238616) + * Remove debconf note which had closed 237005 + (closes:238592) + + -- Kevin M. Rosenberg Wed, 17 Mar 2004 19:18:45 -0700 + +wcd (3.1.3-2) unstable; urgency=low + + * Add debconf note that "users must read README.Debian" to + use this package (closes:237005) + * Add bash and csh shell fragments that users can add to their + startup scripts. + * Rename wcd.exe to wcd_exe + + -- Kevin M. Rosenberg Sun, 14 Mar 2004 15:42:17 -0700 + +wcd (3.1.3-1) unstable; urgency=low + + * New upstream + + -- Kevin M. Rosenberg Tue, 9 Mar 2004 07:19:46 -0700 + +wcd (3.1.0-1) unstable; urgency=low + + * New upstream + * Build with gcc-3.2 + * Move changes wrt upstream from copyright to README.Debian + + -- Kevin M. Rosenberg Mon, 13 Jan 2003 20:11:53 -0700 + +wcd (3.0.7-3) unstable; urgency=low + + * Really fix versioning problem. + + -- Kevin M. Rosenberg Tue, 12 Nov 2002 11:31:11 -0700 + +wcd (3.0.7-2) unstable; urgency=low + + * Rebuild with new glibc, should now have correct pkg dependency versioning + (closes: 168803) + + -- Kevin M. Rosenberg Tue, 12 Nov 2002 10:17:31 -0700 + +wcd (3.0.7-1) unstable; urgency=low + + * New upstream release + + -- Kevin M. Rosenberg Mon, 28 Oct 2002 14:30:44 -0700 + +wcd (3.0.6-1) unstable; urgency=low + + * New upstream version. + + * Fix typo in short description. + + -- Kevin M. Rosenberg Sun, 8 Sep 2002 15:53:36 -0600 + +wcd (3.0.5-2) unstable; urgency=low + + * Update e-mail address. + + -- Kevin M. Rosenberg Sun, 11 Aug 2002 23:31:05 -0600 + +wcd (3.0.5-1) unstable; urgency=low + + * Initial release (closes: #154333) + + -- Kevin M. Rosenberg Fri, 26 Jul 2002 00:15:53 -0600 --- wcd-5.1.1.orig/debian/NEWS.Debian +++ wcd-5.1.1/debian/NEWS.Debian @@ -0,0 +1,9 @@ +wcd (3.1.3-2) unstable; urgency=low + + * Due to issues raised in bug report #237005, the location and + name of /usr/bin/wcd.exe has been changed to /usr/lib/wcd/wcd.exec. + * Shell script fragments have been added. It is recommended for wcd + users to include these scripts rather than directly writing a + function/alias for wcd. See README.Debian. + + -- Kevin M. Rosenberg Sun, 14 Mar 2004 17:23:40 -0700 --- wcd-5.1.1.orig/debian/wcd-include.sh +++ wcd-5.1.1/debian/wcd-include.sh @@ -0,0 +1,24 @@ +wcd () +{ + go="$HOME/bin/wcd.go" + opt= + + # In Emacs M-x shell, use plain curses interface + + if [ "$INSIDE_EMACS" ]; then + if echo $INSIDE_EMACS | grep --quiet "comint" ; then + opt="-o" + fi + fi + + [ -f "$go" ] && rm -f "$go" + + /usr/lib/wcd/wcd.exec $opt "$@" && + + # GO-script is not produced e.g. with optons "-h" etc. + + [ -f "$go" ] && . $go + + unset go + unset opt +} --- wcd-5.1.1.orig/debian/rules +++ wcd-5.1.1/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGE = wcd +EXE = .exec + +# Enable international support +# Activate unicode UTF-8 support +MAKE_OPTIONS = EXT=$(EXE) \ + UCS=1 \ + NLS=1 \ + CPP_FLAGS_POD=-Dunix + +include debian/debian-vars.mk +include debian/debian-compile.mk + +man: + # target: man -- Create manual page redirection file + man=debian/$(PACKAGE)$(EXE).7 ; \ + echo ".so man7/wcd.7.gz" > $$man + +build-stamp: + # target: build-stamp: + dh_testdir + $(MAKE) -C src $(MAKE_OPTIONS) man pod txt ps pdf all + touch $@ + +build: build-stamp man + +clean: + # target: clean + dh_testdir + dh_testroot + $(MAKE) -C src $(MAKE_OPTIONS) clean + dh_clean + +install: build + # target: install + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) -C src \ + DESTDIR=$(PKGDIR) \ + prefix=/usr \ + BINDIR=$(LIBDIR) \ + DOCDIR=$(PKGDOCDIR) \ + MANDIR1=$(MAN7DIR) \ + INSTALL_OBJS_DOC_INSTALL= \ + INSTALL_OBJS_DOC_COPYING= \ + $(MAKE_OPTIONS) \ + install + + # Change manual section to 7 (library) + + mv $(MAN7DIR)/wcd.1 $(MAN7DIR)/wcd.7 + + sed --in-place \ + -e 's/TH wcd 1/TH wcd 7/' \ + $(MAN7DIR)/wcd.7 + + dh_installman + + install -d -m 755 $(SHAREDIR) + install -m 644 \ + debian/wcd-include.csh \ + debian/wcd-include.sh \ + $(SHAREDIR) + +binary-arch: install + # target: binary-arch: -- Build architecture-dependent file + dh_testdir + dh_testroot + dh_installchangelogs doc/whatsnew.txt + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch + +%: + dh $@ + +.PHONY: build clean man install-man-exe install +.PHONY: binary-indep binary-arch binary + +# End of file --- wcd-5.1.1.orig/debian/watch +++ wcd-5.1.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +# old http://www.xs4all.nl/~waterlan/ wcd-([.\d]*)-src\.tar\.gz +http://sf.net/wcd/wcd-([.\d]*)-src\.tar\.gz --- wcd-5.1.1.orig/debian/README.Debian +++ wcd-5.1.1/debian/README.Debian @@ -0,0 +1,29 @@ +Debian README for wcd +===================== + +To use wcd, you need to add a small amount of code to your shell +initialization file. Basically, you create a new function or alias +named wcd and that function calls /usr/lib/wcd/wcd.exec and then sources +file $HOME/bin/wcd.go generated by wcd.exec. + +1. Make sure that you this directory: + + mkdir $HOME/bin + +2. Add code to your shell setup file: + + a. For Bourne-like shells: ash ($HOME/.profile), + bash ($HOME/.bash_profile), zsh ($HOME/.zshenv) + + . /usr/share/wcd/wcd-include.sh + + b. For C-like shells: csh ($HOME/.cshrc), tcsh ($HOME/.tcshrc) + + source /usr/share/wcd/wcd-include.csh + +Changes compared to upstream: + + wcd.1 renamed to wcd.7 + wcd.exe renamed to wcd.exec + + -- Kevin M. Rosenberg , Sun Mar 14 17:48:36 2004 --- wcd-5.1.1.orig/debian/docs +++ wcd-5.1.1/debian/docs @@ -0,0 +1,7 @@ +doc/wcd.txt +doc/wcd.pdf +doc/faq.txt +doc/problems.txt +doc/todo.txt +doc/README.txt +debian/README.Debian --- wcd-5.1.1.orig/debian/copyright +++ wcd-5.1.1/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by: + + Kevin M. Rosenberg on Fri, 26 Jul 2002 00:15:53 -0600 + +It was downloaded from: + + http://freshmeat.net/projects/wcd + http://sourceforge.net/projects/wcd + +Upstream Author: + + Erwin Waterlander , + +Copyright: + + Copyright (C) 1997-2000 Erwin Waterlander + +License: + + 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. + + 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 program. If not, see . + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + Copyright (C) 2009 Jari Aalto + Copyright (C) 2005-2006 Lucas Wall + Copyright (C) 2002-2004 Kevin M. Rosenberg + +and is licensed under the GPL version 2 or any later version, see above. --- wcd-5.1.1.orig/debian/wcd.manpages +++ wcd-5.1.1/debian/wcd.manpages @@ -0,0 +1 @@ +debian/.*7 --- wcd-5.1.1.orig/debian/debian-vars.mk +++ wcd-5.1.1/debian/debian-vars.mk @@ -0,0 +1,78 @@ +# debian-vars.mk -- Common variables +# +# Copyright +# +# Copyright (C) 2005-2009 Jari Aalto +# +# License +# +# 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. +# +# This program 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 program. If not, see . +# +# Description +# +# This is GNU makefile part, that defines common variables and +# macros to be used from debian/rules. To install, add this: +# +# PACKAGE = foo +# include debian/debian-vars.mk + +ifneq (,) + This makefile requires GNU Make. +endif + +PACKAGE ?= foo +PIXPACKAGE ?= $(PACKAGE) +TOPDIR := $(shell pwd) +PKGDIR = $(shell pwd)/debian/$(PACKAGE) + +SHAREROOTDIR = $(PKGDIR)/usr/share +SHAREDIR = $(SHAREROOTDIR)/$(PACKAGE) +DOCROOTDIR = $(SHAREROOTDIR)/doc +PKGDOCDIR = $(DOCROOTDIR)/$(PACKAGE) +SITELISPDIR = $(SHAREROOTDIR)/emacs/site-lisp +PKGLISPDIR = $(SITELISPDIR)/$(PACKAGE) +DESKTOPDIR = $(SHAREROOTDIR)/applications +XSESSIONDIR = $(SHAREROOTDIR)/xsessions +LOCALEDIR = $(SHAREROOTDIR)/locale +INFODIR = $(SHAREROOTDIR)/info +PIXDIR = $(SHAREROOTDIR)/pixmaps +PKGPIXDIR = $(SHAREROOTDIR)/pixmaps/$(PIXPACKAGE) + +MANROOTDIR = $(SHAREROOTDIR)/man +MAN1DIR = $(MANROOTDIR)/man1 +MAN5DIR = $(MANROOTDIR)/man5 +MAN7DIR = $(MANROOTDIR)/man7 +MAN8DIR = $(MANROOTDIR)/man8 + +LIBROOTDIR = $(PKGDIR)/usr/lib +LIBDIR = $(LIBROOTDIR)/$(PACKAGE) +LIBPERLDIR = $(LIBROOTDIR)/perl + +BINDIR = $(PKGDIR)/usr/bin +SBINDIR = $(PKGDIR)/usr/sbin +GAMEBINDIR = $(PKGDIR)/usr/games + +INSTALL ?= /usr/bin/install +INSTALL_DIR = $(INSTALL) -m 755 -d +INSTALL_DATA = $(INSTALL) -p -m 644 + +# The difference is that "BIN" may contain binary strip option +INSTALL_SCRIPT = $(INSTALL) -p -m 755 +INSTALL_BIN = $(INSTALL) -p -m 755 + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_BIN += -s +endif + +# End of Makefile part --- wcd-5.1.1.orig/debian/compat +++ wcd-5.1.1/debian/compat @@ -0,0 +1 @@ +7