--- fish-2.0.0.orig/debian/control +++ fish-2.0.0/debian/control @@ -0,0 +1,32 @@ +Source: fish +Section: shells +Priority: optional +Maintainer: Gustavo Noronha Silva +Build-Depends: autoconf, automake, debhelper, libncurses5-dev, bsdmainutils, bc, autotools-dev, autoconf, gettext, groff-base, doxygen, quilt +Standards-Version: 3.9.2 +Homepage: http://fishshell.com/ +Vcs-Browser: http://git.debian.org/?p=collab-maint/fish.git +Vcs-Git: git://git.debian.org/git/collab-maint/fish + +Package: fish +Architecture: any +Priority: optional +Depends: ${shlibs:Depends}, ${misc:Depends}, bc, lynx | www-browser +Recommends: xsel +Suggests: doc-base, menu +Description: friendly interactive shell + Fish is a shell geared towards interactive use. Its features are focused on + user friendliness and discoverability. The language syntax is simple but + incompatible with other shell languages. + +Package: fish-dbg +Section: debug +Architecture: any +Priority: extra +Depends: fish (= ${binary:Version}), ${misc:Depends} +Description: friendly interactive shell (debugging symbols) + Fish is a shell geared towards interactive use. Its features are focused on + user friendliness and discoverability. The language syntax is simple but + incompatible with other shell languages. + . + This package contains gdb debugging symbols for the fish package. --- fish-2.0.0.orig/debian/copyright +++ fish-2.0.0/debian/copyright @@ -0,0 +1,98 @@ +This package was debianized by James Vega on +Fri, 20 May 2005 17:14:04 -0400. + +It was downloaded from http://fishshell.org/files/ + +Upstream Author: Axel Liljencrantz + +Fish Copyright (C) 2005 Axel Liljencrantz. Fish is released under the +GNU General Public License. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Fish contains code under the BSD license, namely versions of the +two functions strlcat and strlcpy, modified for use with wide +character strings. + + Copyright (c) 1998 Todd C. Miller + + Permission to use, copy, modify, and distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +The XSel command, written and copyrighted by Conrad Parker, is +distributed together with, and used by fish. It is released under the MIT +license. + + It is Copyright (C) 2001 Conrad Parker + + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation. No representations are made about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + +The xdgmime library, written and copyrighted by Red Hat, Inc, is used +by the mimedb command, which is a part of fish. It is released under +the LGPL license. + +The copyright for the xdgmime-related files belong to the following people +xdgmime.c + Copyright (C) 2003,2004 Red Hat, Inc. + Copyright (C) 2003,2004 Jonathan Blandford + +xdgmime.h + Copyright (C) 2003 Red Hat, Inc. + Copyright (C) 2003 Jonathan Blandford + +xdgmimealias.c, xdgmimealias.h + Copyright (C) 2004 Red Hat, Inc. + Copyright (C) 2004 Matthias Clasen + +xdgmimeglob.c, xdgmimeglob.h + Copyright (C) 2003 Red Hat, Inc. + Copyright (C) 2003 Jonathan Blandford + +xdgmimeint.c, xdgmimeint.h + Copyright (C) 2003 Red Hat, Inc. + Copyright (C) 2003 Jonathan Blandford + +xdgmimemagic.c, xdgmimemagic.h + Copyright (C) 2003 Red Hat, Inc. + Copyright (C) 2003 Jonathan Blandford + +xdgmimeparent.c, xdgmimeparent.h + Copyright (C) 2004 Red Hat, Inc. + Copyright (C) 2004 Matthias Clasen + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +Fish contains code from the glibc library, namely the wcstok function +in fallback.c. This code is licensed under the LGPL. + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- fish-2.0.0.orig/debian/NEWS +++ fish-2.0.0/debian/NEWS @@ -0,0 +1,41 @@ +fish (1.22.1-1) unstable; urgency=low + + Much has changed since the last major upstream release. It is recommended + that all old shells be exited after upgrading. It is a known problem that + ctrl-d will not exit any shells that were running before the upgrade because + function definitions for key-bindings changed in a backwards-incompatible + way in 1.22.X. Simply use the 'exit' command. + + Fish has changed where it looks for config files both in the system-wide + directories and in the user's home directory. Upon first starting this + version of fish, it will attempt to migrate the user's config files to the + new directory structure as well as display a message notifying the user. + The changes are as follows: + + System-wide: + /etc/fish.d -> /etc/fish + /etc/fish -> /etc/fish/config.fish + /etc/fish_inputrc -> /etc/fish/fish_inputrc + /etc/fish.d/fish_interactive.fish -> /usr/share/fish/config_interactive.fish + + Per-user: + Fish's config files now live under $XDG_CONFIG_HOME/fish ($XDG_CONFIG_HOME + defaults to $HOME/.config). + $HOME/.fish -> $XDG_CONFIG_HOME/fish/config.fish + $HOME/.fish_history -> $XDG_CONFIG_HOME/fish/fish_history + $HOME/.fish_inputrc -> $XDG_CONFIG_HOME/fish/fish_inputrc + + -- James Vega Mon, 13 Nov 2006 10:59:16 -0500 + +fish (1.21.1-1) unstable; urgency=low + + Fish's completion and function files have been moved from + /etc/fish.d/{completions,functions} to + /usr/share/fish{completions,functions}. Fish will still source files under + /etc/fish.d{completions,functions} in order to allow the sysadmin a means of + overriding the default completions/functions. + + If any of these files have been modified, they will be saved under + /etc/fish.d as {completions,functions}_$filename.dpkg-bak. + + -- James Vega Sun, 5 Mar 2006 21:01:40 -0500 --- fish-2.0.0.orig/debian/fish.doc-base +++ fish-2.0.0/debian/fish.doc-base @@ -0,0 +1,12 @@ +Document: fish +Title: Debian fish Manual +Author: Axel Liljencrantz +Abstract: This guide documents fish, a shell + geared towards interactive use. +Section: Shells + +Format: HTML +Index: /usr/share/doc/fish/index.html +Files: /usr/share/doc/fish/*.html + + --- fish-2.0.0.orig/debian/watch +++ fish-2.0.0/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=3 +http://fishshell.org/ (?:.*/)?fish-([\d.]+)\.tar\.gz --- fish-2.0.0.orig/debian/fish.install +++ fish-2.0.0/debian/fish.install @@ -0,0 +1,2 @@ +debian/tmp/usr +debian/tmp/etc --- fish-2.0.0.orig/debian/rules +++ fish-2.0.0/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make +-include /usr/share/topgit/tg2quilt.mk + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 +INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 +INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + cp -f /usr/share/misc/config.sub config.sub + cp -f /usr/share/misc/config.guess config.guess + autoreconf + ./configure --without-xsel --build=$(DEB_BUILD_GNU_TYPE) \ + --host=$(DEB_HOST_GNU_TYPE) --prefix=/usr --sysconfdir=/etc \ + --docdir=\$${prefix}/share/doc/fish --localstatedir=/var \ + --mandir=\$${prefix}/share/man CFLAGS="$(CFLAGS)" + touch $@ + + +build: build-indep build-arch +build-indep: +build-arch: configure-stamp + dh_testdir + $(MAKE) + +install: build + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + for f in debian/completions/*; do \ + install -m0644 $$f debian/tmp/usr/share/fish/completions; \ + done + dh_install -pfish + dh_installdocs README.md + dh_installman -pfish + dh_installmenu -pfish + dh_installchangelogs + dh_installdeb + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + rm -f build-stamp configure-stamp + if [ -f Makefile ]; then make distclean; fi + rm -f config.sub config.guess + +binary-arch: build install + dh_testdir + dh_testroot + dh_strip --dbg-package=fish-dbg + dh_compress + dh_fixperms + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build install + +binary: binary-indep binary-arch +.PHONY: configure build install clean binary-indep binary-arch binary --- fish-2.0.0.orig/debian/changelog +++ fish-2.0.0/debian/changelog @@ -0,0 +1,531 @@ +fish (2.0.0-1) unstable; urgency=low + + * New upstream release + * debian/patches/01_fix-doc-typo.patch: + - removed; applied upstream + * debian/rules: + - README is now README.md + + -- Gustavo Noronha Silva Thu, 11 Jul 2013 23:36:28 -0300 + +fish (1.23.1+20120106.git8b407a3-1) unstable; urgency=low + + * New upstream snapshot + - No longer able to reproduce crash when calling funcsave with no + arguments (Closes: #547781) + - No longer able to reproduce schroot being STOPed when quitting it + from a in-chroot fish shell (Closes: #517099) + * Fix home page URL. Thanks to Patrik Lembke for + noticing and letting me know. (Closes: #653246) + * debian/patches/fixes/fish_greeting.diff, + debian/patches/fixes/spelling.diff: + - removed; applied upstream + * debian/control, debian/rules: + - call autoreconf to generate the configure script, and Makefile.in + files + * debian/rules: + - ChangeLog does not exist anymore + * debian/patches/01_fix-doc-typo.patch: + - Fix documentation typo, thanks weakish + for noticing and letting us know (Closes: #613975) + + -- Gustavo Noronha Silva Sun, 08 Jan 2012 18:32:48 -0200 + +fish (1.23.1-2) unstable; urgency=low + + * New maintainer (Closes: #518793) + + [ Adrien ] + * debian/patches/features/000_apt-cache-completion.patch: + - add apt-cache completion support (Closes: #518512) + + [ Gustavo Noronha Silva ] + * debian/control: + - updated Standards-Version with no changes + - change fish-dbg's section to debug + + -- Gustavo Noronha Silva Sun, 12 Apr 2009 21:39:33 -0300 + +fish (1.23.1-1) unstable; urgency=low + + * Orphaning the packages. Maintainer set to QA group. + * New upstream release + - Fix cd function to handle empty variables correctly. (Closes: #517106) + - Pressing Control-C (or otherwise changeing the command line content + through the commandline builtin) should clear the search buffer. + (Closes: #517104) + * Remove fixes/mimedb-hang.diff, merged upstream. + * Remove features/ssh-host-completion, merged upstream. + * Refresh fixes/spelling and fixes/fish_greeting. + * debian/rules: + - Remove config.* in clean and copy the system files in configure-stamp. + - Specify --docdir when calling configure so documentation is installed to + the proper directory. + + -- James Vega Sun, 08 Mar 2009 13:15:58 -0400 + +fish (1.23.0-6) unstable; urgency=low + + * Switch to using topgit and quilt so there isn't a monolithic .diff.gz. + + debian/rules: + - Include quilt.make and tg2quilt.mk + - Add proper target prerequisites for (un)applying patches. + + debian/control: Add quilt to Build-Depends + * Add fixes/mimedb-hang.diff to fix an occasional problem where mimedb gets + stuck in an infinite loop trying to parse a mime info file. Thanks to + James Reeves . (Closes: #487259) + * Add features/ssh-host-completion to use ~/.ssh/config as an additional + source of hostnames for hostname completion. Based on a patch from + Antonio Terceiro . (Closes: #511915) + * debian/control: + + Update Vcs-* to point to collab-maint + + Bump Standards-Version to 3.8.0.0 + * Policy changes: + + debian/rules: Handle space-separated DEB_BUILD_OPTIONS and parallel=n + + -- James Vega Fri, 16 Jan 2009 18:26:47 -0500 + +fish (1.23.0-5) unstable; urgency=low + + "Where's that brown paper bag?" release + * debian/rules: + - Properly preserve the original versions of the config.sub/config.guess + instead of using config.sub for both. + - Tell dh_clean not to remove the preserved config.sub/config.guess. + + -- James Vega Thu, 06 Mar 2008 15:58:43 -0500 + +fish (1.23.0-4) unstable; urgency=low + + * debian/completions/dupload.fish: + - Remove use of a function that doesn't exist anymore. + + -- James Vega Wed, 05 Mar 2008 15:36:41 -0500 + +fish (1.23.0-3) unstable; urgency=low + + * debian/control: + - Priority: extra for fish-dbg + * debian/fish.doc-base + - Change Section to Shells to match doc-base naming + + -- James Vega Wed, 05 Mar 2008 02:29:58 -0500 + +fish (1.23.0-2) unstable; urgency=low + + * debian/preinst: + - Use .dpkg-old instead of .dpkg-bak when removing conffiles. + * Added patches: + - Fix a spelling error in fish_indent.1. (Closes: #463612) + - Quote $fish_greeting when used as a switch condition to allow users to + set it to an empty value. (Closes: #465415) + - Fix the "Writing your own completions" link in the complete command's + documentation. (Closes: #466267) + * debian/control: + - Add fish-dbg package. + - Remove cdbs from Build-Depends. + * debian/rules: + - Rewrite without using cdbs. + * debian/compat: + - Bump to debhelper version 5 + + -- James Vega Wed, 05 Mar 2008 02:03:59 -0500 + +fish (1.23.0-1) unstable; urgency=low + + * New upstream version. + - Merged patches: + + screen.c: Use wcsstr instead of wcscmp when checking if $TERM is a + screen variant. + + complete.c: Use wcscmp instead of == for string comparisons. + * debian/control: + - Bump policy to 3.7.3.0 - no changes needed. + - Remove version from debhelper Build-Depends. + - Add Doxygen to Build-Depends. + * debian/preinst: + - Handle upstream's removal of /etc/fish/fish_inputrc + * Added patches: + - Fix various spelling errors in documentation. + * debian/rules: + - Remove inclusion of simply-patchsys.mk. + - Remove dead code to figure out the upstream version. + + -- James Vega Mon, 14 Jan 2008 09:29:03 -0500 + +fish (1.22.3-3) unstable; urgency=low + + * debian/control: Add Vcs-* and Homepage fields. + * Added patches: + - screen.c: Use wcsstr instead of wcscmp to determine whether $TERM is + screen in order to properly handle $TERM set to screen-bce, + screen-256color, etc. + - complete.c: Change a few string comparisons to use wcscmp instead of ==. + * Removed conffile handling from debian/{pre,post}inst since the version of + fish in Etch is newer than the version the maintainer scripts were + handling. + * debian/menu: Change the Apps section to Applications. + + -- James Vega Sat, 13 Oct 2007 16:34:09 -0400 + +fish (1.22.3-2) unstable; urgency=low + + * Apparently, fish's tests still aren't well behaved on certain systems when + there's no $HOME. Disabling the tests again while I talk with upstream. + + -- James Vega Mon, 26 Mar 2007 18:30:10 -0400 + +fish (1.22.3-1) unstable; urgency=low + + * New upstream releases. + * debian/patches: + + Remove unnecessary_libs.diff since it causes some build issues I don't + feel like working around, it's not extremely important, and upstream's + next version will have a proper fix. + + Add Makefile.in-user_doc.diff which allows fish to build without + attempting to invoke Doxygen (since the docs are shipped with it). + + Add __fish_complete_vi.fish-unknown_function.diff which removes a line + that calls a non-existent function. + * debian/rules: + + No longer have to clean up after upstream's clean target. + + Remove export target now that I'm using bzr-builddeb + + Re-enable upstream's tests. (Closes: #398721) + + -- James Vega Mon, 26 Mar 2007 16:00:39 -0400 + +fish (1.22.1-2) unstable; urgency=low + + * Stop running upstream's test target since it relies on already having a + version of fish installed. Fixes the FTBFS on all the buildds. + + -- James Vega Tue, 14 Nov 2006 14:47:30 -0500 + +fish (1.22.1-1) unstable; urgency=low + + * New upstream releases. (closes: #396705) + - Added multi-line commandline editing. + - Restructured config file directories/naming. + * Clean out debian/patches since those are all integrated upstream. + * Update preinst/postinst to handle (re)moving the conffiles to the new + locations upstream is using. + + -- James Vega Mon, 13 Nov 2006 10:58:42 -0500 + +fish (1.21.12-4) unstable; urgency=medium + + * Pull fish_tests.diff from upstream, which should fix the pointer + conversions in fish_tests.c. (closes: #394409) + * Urgency medium for RC bug. + + -- James Vega Sun, 22 Oct 2006 10:37:37 -0400 + +fish (1.21.12-3) unstable; urgency=medium + + * medium urgency for fix to #388342 which was causing fish to FTBFS on ia64 + * Pull a few patches from upstream: + - xdg_posix.diff: Should fix the problems with using strdup() and + compiling with -std=c99. (closes: #388342) + - zero_cast.diff: Cast 0 to void* when being used as a null pointer to + avoid problems on archs where sizeof(int) != sizeof(void*). + + -- James Vega Fri, 20 Oct 2006 19:23:54 -0400 + +fish (1.21.12-2) unstable; urgency=low + + * Add unnecessary_libs.diff, which removes extra libraries which were being + linked with a couple binaries. + * Update upstream's URL. (closes: #391668) + * Pull a few patches from upstream to fix various bugs: + - manpages.diff: Fixes the formatting of a few manpages (closes: #382731) + - prevd_error.diff: Errors when using prevd or 'cd -' + - subcommand_completion.diff, subcommand_root_completion.diff, + sudo_path.diff: Fixes sudo completion. (closes: #380707) + - proper_clean.diff: Fix the clean target so that it doesn't remove extra + files and does remove generated files. + * Re-add groff-base Build-Depends. This was used for more than just + building the documentation. + + -- James Vega Mon, 9 Oct 2006 00:43:07 -0400 + +fish (1.21.12-1) unstable; urgency=low + + * New upstream versions. + + -- James Vega Tue, 12 Sep 2006 09:17:27 -0400 + +fish (1.21.10-1) unstable; urgency=low + + * New upstream version. + + -- James Vega Mon, 31 Jul 2006 19:21:49 -0400 + +fish (1.21.9-2) unstable; urgency=low + + * Pull 01_darcs-snapshot-2006-07-23.diff from upstream's Darcs repo to fix + variable substitutions which prevented fish's inputrc from being sourced. + + Remove 01_darcs-snapshot-2006-07-19.diff and 02_PACKAGE_TARNAME.diff + since they're included in this patch. + + -- James Vega Thu, 27 Jul 2006 09:12:34 -0400 + +fish (1.21.9-1) unstable; urgency=low + + * New upstream release. + + Additional emacs-like keybindings (closes: #372174) + + Documentation is distributed in the tarball. No longer need doxygen and + groff-base Build-depends. + * Pull 01_darcs-snapshot-2006-07-19.diff from upstream's Darcs repo to fix + some test failures and incorrectly generated config files. + * Pull 02_PACKAGE_TARNAME.diff from upstream's Darcs repo to correct where + files are installed under /usr/share/doc. + * Re-add the preinst and NEWS files that went missing in 1.21.6-1 to handle + upstream moving the function/completion files from /etc/fish.d to + /usr/share/fish. Thanks, mjt. + + -- James Vega Sat, 22 Jul 2006 03:42:28 -0400 + +fish (1.21.8-1) unstable; urgency=low + + * New upstream release. (closes: #376407) + + -- James Vega Mon, 3 Jul 2006 00:34:55 -0400 + +fish (1.21.7-1) unstable; urgency=low + + * New upstream release. + * Add export rule to debian/rules to prepare a clean build directory. + + -- James Vega Thu, 25 May 2006 08:58:05 -0400 + +fish (1.21.6-2) unstable; urgency=low + + * Pull 02-Eterm_workaround.diff from upstream which fixes a bug where + fish wouldn't terminate when Eterm was killed. (closes: #364052) + + -- James Vega Wed, 10 May 2006 16:25:34 -0400 + +fish (1.21.6-1) unstable; urgency=low + + * New upstream release. + * Pull 01-apropos.fish.diff from upstream to fix an escaping problem in the + completion file for apropos. (closes: #366688) + * Update to 3.7.2.0 policy compliance (no changes needed) + + -- James Vega Wed, 10 May 2006 11:03:05 -0400 + +fish (1.21.5-1) unstable; urgency=low + + * New upstream releases. + + Merged 01-fallback.c.patch + + 'type -f' no longer returns success in all cases (closes: #363495) + * debian/control: + + Add Depends: lynx | www-browser (closes: #361713) + * debian/copyright: + + Update to reflect inclusion of glibc's wcstok in fallback.c. + * Pull history.c-segfault.patch from upstream to fix a segfault when the + history is modified in non-interactive mode. + + -- James Vega Thu, 20 Apr 2006 01:04:24 -0400 + +fish (1.21.3-1) unstable; urgency=low + + * New upstream release. + * debian/patches: + + Add 01-fallback.c.patch, which fixes a FTBFS on ppc. + + -- James Vega Mon, 3 Apr 2006 11:00:01 -0400 + +fish (1.21.2-1) unstable; urgency=low + + * New upstream release + + Fix invalid GREP_OPTIONS environment variable. (closes: #358200) + * debian/patches: + + Remove 01backslash_escape.diff, was pulled from upstream for a bug + that's fixed in this release. + + Remove 00clean.diff, applied upstream. + * Add completion for dupload(1). + * debian/copyright: + + Reorganize the license information. + + Include direct copies of license headers from source files. + + -- James Vega Sun, 26 Mar 2006 19:20:17 -0500 + +fish (1.21.1-1) unstable; urgency=low + + * New upstream release + + Fixes segfault when parsing a command with invalid syntax. + (closes: #355372) + * debian/copyright: Add the copyright/license information for the + xdgmime* files. + * Add 01backslash_escape.diff from upstream to support escaped + backslashes in quoted strings. + + -- James Vega Sun, 5 Mar 2006 21:56:44 -0500 + +fish (1.20.2-1) unstable; urgency=low + + * New upstream release + + Minor bug fixes. + + Gracefully handle improperly encoded text. + + Improved completion of subcommands (e.g., sudo {cmd}). + + -- James Vega Thu, 9 Feb 2006 10:11:12 -0500 + +fish (1.20.1-1) unstable; urgency=low + + * New upstream release + + Updated Swedish translation. + + Updated/added command completions. + + Added stacktraces for errors in shell functions. + + Added manpages for fishd and fish_pager. (Take that lintian!) + * Last upload wasn't supposed to be an NMU. Fix the maintainer info. + + -- James Vega Fri, 27 Jan 2006 00:29:05 -0500 + +fish (1.20.0-1) unstable; urgency=low + + * New upstream release. + + Fixes FTBFS/segfault on ia64. + + Added command completions for new commands, including gpg. + + Implemented i18n support. + + Short-circuit commands (and/or) now use infix instead of + RPN notation. + * debian/rules: No longer ship duplicate copies of upstream's + ChangeLog. + * debian/patches: Add 00make_clean.diff to make clean really clean. + * debian/control: Add autoconf and gettext to Build-Depend + + -- James Vega Tue, 17 Jan 2006 18:02:07 -0500 + +fish (1.19.0-1) unstable; urgency=low + + * New upstream release. + + Add /sbin and /usr/sbin to PATH when root. + + Remove various GNUisms used in fish's shellscripts. + + Fix an infinite loop in the source builtin. + + Updated prompt_pwd to shorten long paths by displaying only + the first character of the shortened directories. + + -- James Vega Wed, 11 Jan 2006 22:21:20 -0500 + +fish (1.18.1-1) unstable; urgency=low + + * New upstream releases. + * debian/watch: Update URL. + * debian/rules: Remove manual cleanup. Correctly handled by upstream. + + -- James Vega Sun, 11 Dec 2005 11:38:23 -0500 + +fish (1.16.2-1) unstable; urgency=low + + * New upstream release. + + -- James Vega Tue, 8 Nov 2005 10:13:39 -0500 + +fish (1.16.1-1) unstable; urgency=low + + * New upstream releases. + + -- James Vega Thu, 27 Oct 2005 08:10:20 -0400 + +fish (1.13.4-1) unstable; urgency=low + + * The "Thanks for all the fish" release. + + Thanks to jbailey for sponsoring during the nm process. + * New upstream releases. + + debian/patches: + - 00env.c.diff applied upstream. + - 01function.c.diff applied upstream. + * debian/control: + + Upated email address. + + Dropped versioned Build-Depends on Doxygen since version is older than + oldstable's version. + * Removed unnecessary debian/docs. + * Updated email address. + + -- James Vega Mon, 19 Sep 2005 10:50:02 -0400 + +fish (1.13.1-1) unstable; urgency=low + + * New upstream release. + * debian/rules: Update clean target to remove some generated files. + + -- James Vega Wed, 31 Aug 2005 07:49:25 -0400 + +fish (1.13.0-1) unstable; urgency=low + + * New upstream release. + + ChangeLog is now included as a standalone file. (Closes: #315041) + * debian/patches: + + Add 00env.c.diff, prevents a segfault when compiling with GCC4. + + Add 01function.c.diff, include a missing header file. + + -- James Vega Mon, 29 Aug 2005 08:00:16 -0400 + +fish (1.12.1-1) unstable; urgency=low + + * New upstream releases. + * debian/control: + + Bump Standards-Version to 3.6.2. + + Add autotools-dev to Build-Depends. + + Add doc-base and menu to Suggests. + + -- James Vega Thu, 28 Jul 2005 13:59:44 -0400 + +fish (1.11.1-2) unstable; urgency=low + + * debian/control: + + Build-Depends: Remove autotools-dev. + + -- James Vega Fri, 17 Jun 2005 09:41:58 -0400 + +fish (1.11.1-1) unstable; urgency=low + + * New upstream releases. + + Updated documentation to work around Doxygen. (Closes: #314280) + * Removed patches: + + 100_silence_warnings.diff, applied upstream. + + 101_interactive_option.diff, applied upstream. + + 102_spelling_fixes.diff, applied upstream. + * debian/control: + + Build-Depends: Add autotools-dev. + + -- James Vega Fri, 17 Jun 2005 08:11:48 -0400 + +fish (1.10.1-1) unstable; urgency=low + + * New upstream releases. + * debian/rules: + + Remove DEB_INSTALL_MANPAGES_fish directive. count.1 is installed by + upstream now. + * Added patches: + + 100_silence_warnings.diff, which silences various warnings gcc emits + during compilation. + + 101_interactive_option.diff, which adds recognition of the -i argument + that various programs expect a shell to recognize. + + 102_spelling_fixes.diff, which fixes various spelling errors visible to + the end-user. + * debian/control: + + Build-Depends: added bc + + Depends: added bc + + -- James Vega Tue, 7 Jun 2005 23:33:02 -0400 + +fish (1.9.2-1) unstable; urgency=low + + * New upstream release. + * Remove 100_Makefile.in.diff, applied upstream. + * Remove 200_b_append.diff, applied upstream. + * debian/control: + + Add groff-base and bsdmainutils to Build-Depends + + -- James Vega Wed, 25 May 2005 10:26:01 -0400 + +fish (1.9.1-1) unstable; urgency=low + + * Initial release (Closes: #310019) + * Added 100_Makefile.in.diff, to make the Makefile obey the configure + options. + * Added 200_b_append.diff, silence a compile warning and preserve constness. + + -- James Vega Sat, 21 May 2005 12:06:27 -0400 + --- fish-2.0.0.orig/debian/menu +++ fish-2.0.0/debian/menu @@ -0,0 +1,2 @@ +?package(fish):needs="text" section="Applications/Shells"\ + title="fish" command="/usr/bin/fish" --- fish-2.0.0.orig/debian/compat +++ fish-2.0.0/debian/compat @@ -0,0 +1 @@ +5 --- fish-2.0.0.orig/debian/postinst +++ fish-2.0.0/debian/postinst @@ -0,0 +1,17 @@ +#! /bin/sh +# postinst script for fish +# +# see: dh_installdeb(1) + +set -e + +add-shell /usr/bin/fish + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- fish-2.0.0.orig/debian/preinst +++ fish-2.0.0/debian/preinst @@ -0,0 +1,33 @@ +#! /bin/sh + +set -e + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-old ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-old + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "1.22.3-3"; then + rm_conffile fish "/etc/fish/fish_inputrc" + fi +esac + +#DEBHELPER# + +exit 0 --- fish-2.0.0.orig/debian/postrm +++ fish-2.0.0/debian/postrm @@ -0,0 +1,15 @@ +#! /bin/sh +# postrm script for fish +# +# see: dh_installdeb(1) + +set -e + +remove-shell /usr/bin/fish + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- fish-2.0.0.orig/debian/completions/dupload.fish +++ fish-2.0.0/debian/completions/dupload.fish @@ -0,0 +1,32 @@ +#dupload +complete -c dupload -s h -l help -d (_ "Display help and exit") +complete -c dupload -s f -l force -d (_ "Upload regardless of the transfers logged as already completed") +complete -c dupload -s k -l keep -d (_ "Ignore packages whose MD5sums don't match") +complete -c dupload -s c -l configfile -d (_ "Read ./dupload.conf") +complete -c dupload -l no -d (_ "Dry-run") +complete -c dupload -l nomail -d (_ "Suppress announcement") +complete -c dupload -l mailonly -d (_ "Dry-run and real announcement") +complete -c dupload -l noarchive -d (_ "Add an anti-archival header") +complete -c dupload -s p -l print -d (_ "Print config") +complete -c dupload -s q -l quiet -d (_ "Quiet") +complete -c dupload -s t -l to -x -a "(__dupload_hosts)" -d (_ "Nickname of target site") +complete -c dupload -s V -l version -d (_ "Display version information and exit") +complete -c dupload -x -a "(__fish_complete_suffix .changes)" + +function __dupload_hosts -d "List hosts for dupload" + set -l nicks + set -l hosts + for n in (awk -F "'" '/\$cfg{/ {print $2}' /etc/dupload.conf $HOME/.dupload.conf | uniq); + set nicks $nicks $n; + end + for h in (awk -F "=" '/('\''fqdn'\''| *fqdn *=)/ {print $2}' /etc/dupload.conf $HOME/.dupload.conf | cut -d"'" -f2 | cut -d'"' -f2); + set hosts $hosts $h; + end + set -l i 1 + set -l max (count $nicks) + while test $i -le $max; + echo (printf "%s\t%s" $nicks[$i] $hosts[$i]) + set i (echo "$i + 1" | bc) + end + return +end --- fish-2.0.0.orig/debian/patches/series +++ fish-2.0.0/debian/patches/series @@ -0,0 +1 @@ +features/000_apt-cache-completion.patch --- fish-2.0.0.orig/debian/patches/features/000_apt-cache-completion.patch +++ fish-2.0.0/debian/patches/features/000_apt-cache-completion.patch @@ -0,0 +1,32 @@ +From 08fa4bd85ef6b62ef33c8cc1be12aee7e93d19b8 Mon Sep 17 00:00:00 2001 +From: Adrien +Date: Sun, 12 Apr 2009 21:13:52 -0300 +Subject: [PATCH] Add apt-cache completion for package names + +Signed-off-by: Gustavo Noronha Silva +--- + share/completions/apt-cache.fish | 11 +++++++++++ + 1 files changed, 11 insertions(+), 0 deletions(-) + +diff --git a/share/completions/apt-cache.fish b/share/completions/apt-cache.fish +index 3843248..5c265e3 100644 +--- a/share/completions/apt-cache.fish ++++ b/share/completions/apt-cache.fish +@@ -29,3 +29,14 @@ complete -f -c apt-cache -s v -l version --description "Display version and exit + complete -r -c apt-cache -s c -l config-file --description "Specify config file" + complete -x -c apt-cache -s o -l option --description "Specify options" + ++function __fish_apt-cache_use_package --description 'Test if apt command should have packages as potential completion' ++ for i in (commandline -opc) ++ if contains -- $i contains show showpkg showsrc depends rdepends dotty policy ++ return 0 ++ end ++ end ++ return 1 ++end ++ ++complete -c apt-cache -n '__fish_apt-cache_use_package' -a '(__fish_print_packages)' --description 'Package' ++ +-- +1.6.2.2 +