summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-01-20 11:51:15 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-01-20 11:51:15 +0000
commit1e95765f2e1bf92fdbddf1438bc2744bb384bec7 (patch)
tree8faa58c0b8bd5a3c40a60504e573f72abf54e613 /app-shells/bash-completion
parentStable on ppc-macos. (diff)
downloadgentoo-2-1e95765f2e1bf92fdbddf1438bc2744bb384bec7.tar.gz
gentoo-2-1e95765f2e1bf92fdbddf1438bc2744bb384bec7.tar.bz2
gentoo-2-1e95765f2e1bf92fdbddf1438bc2744bb384bec7.zip
Version bump; also updated gentoo patch with fix for bug 78439.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'app-shells/bash-completion')
-rw-r--r--app-shells/bash-completion/ChangeLog8
-rw-r--r--app-shells/bash-completion/Manifest25
-rw-r--r--app-shells/bash-completion/bash-completion-20050120.ebuild82
-rw-r--r--app-shells/bash-completion/files/20050120-gentoo.diff39
-rw-r--r--app-shells/bash-completion/files/digest-bash-completion-200501202
5 files changed, 144 insertions, 12 deletions
diff --git a/app-shells/bash-completion/ChangeLog b/app-shells/bash-completion/ChangeLog
index 83bbdca47134..177e34b99499 100644
--- a/app-shells/bash-completion/ChangeLog
+++ b/app-shells/bash-completion/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-shells/bash-completion
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.98 2005/01/18 13:22:38 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.99 2005/01/20 11:51:15 ka0ttic Exp $
+
+*bash-completion-20050120 (20 Jan 2005)
+
+ 20 Jan 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/20050120-gentoo.diff, +bash-completion-20050120.ebuild:
+ Version bump; also updated gentoo patch with fix for bug 78439.
18 Jan 2005; Joshua Kinard <kumba@gentoo.org>
bash-completion-20041017-r3.ebuild:
diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest
index cedfed3ba76d..1c4a251dc756 100644
--- a/app-shells/bash-completion/Manifest
+++ b/app-shells/bash-completion/Manifest
@@ -1,16 +1,19 @@
-MD5 bc2341bf18d0f873ed374c91cf9fe002 ChangeLog 15376
-MD5 b14e733dad85348f883a6214d21cfee7 bash-completion-20040704-r1.ebuild 2091
-MD5 1e7793d7236ad87efdd637cb3901f980 bash-completion-20040711.ebuild 2093
-MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930
-MD5 5c025c16b6b1214ae6b54beb797a0af1 bash-completion-20041017-r1.ebuild 2265
+MD5 1db810a5dbbc37ebc40da26bed07ff24 bash-completion-20050120.ebuild 2698
MD5 1db810a5dbbc37ebc40da26bed07ff24 bash-completion-20050112-r1.ebuild 2698
+MD5 5c025c16b6b1214ae6b54beb797a0af1 bash-completion-20041017-r1.ebuild 2265
MD5 b53e6fc1b9f3916869901aed6886a850 bash-completion-20041017-r3.ebuild 2679
-MD5 3b7f1d6155d6deff5812264ef6bc4c07 files/bash-completion 724
+MD5 1e7793d7236ad87efdd637cb3901f980 bash-completion-20040711.ebuild 2093
+MD5 b14e733dad85348f883a6214d21cfee7 bash-completion-20040704-r1.ebuild 2091
+MD5 c63d6ea690ced41267402e01c706c8b7 ChangeLog 15598
+MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930
+MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017-r1 152
+MD5 9aca91cdcddd5454ebc4f17efe465d71 files/digest-bash-completion-20041017-r3 152
+MD5 62c632c282cbbd0b28ba064ec57e2111 files/20050112-gentoo.diff 2060
MD5 b6b11ab0684a97cfd9a9ba78f5fa9f9a files/20041017-rcs.diff 574
-MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151
+MD5 fe7237a19c3586f2a331066b19b287ee files/digest-bash-completion-20050112-r1 152
+MD5 3b7f1d6155d6deff5812264ef6bc4c07 files/bash-completion 724
MD5 73c3177da25971c1db7bb6482b5d1580 files/digest-bash-completion-20040711 151
-MD5 62c632c282cbbd0b28ba064ec57e2111 files/20050112-gentoo.diff 2060
+MD5 957010a4451559ef1486174db65b047c files/digest-bash-completion-20050120 152
+MD5 64ca0b5063d0874c6104a4b174cb0d40 files/20050120-gentoo.diff 1894
MD5 61eddfb92948b070333a59498edf5266 files/20041017-gentoo.diff 2032
-MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017-r1 152
-MD5 fe7237a19c3586f2a331066b19b287ee files/digest-bash-completion-20050112-r1 152
-MD5 9aca91cdcddd5454ebc4f17efe465d71 files/digest-bash-completion-20041017-r3 152
+MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151
diff --git a/app-shells/bash-completion/bash-completion-20050120.ebuild b/app-shells/bash-completion/bash-completion-20050120.ebuild
new file mode 100644
index 000000000000..2ec6a4a095cb
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-20050120.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-20050120.ebuild,v 1.1 2005/01/20 11:51:15 ka0ttic Exp $
+
+inherit eutils
+
+GENCOMP_VERS="20050117"
+
+DESCRIPTION="Programmable Completion for bash (includes emerge and ebuild commands)"
+HOMEPAGE="http://www.caliban.org/bash/index.shtml#completion"
+SRC_URI="http://www.caliban.org/files/bash/${P}.tar.bz2
+ http://download.berlios.de/gentoo-bashcomp/gentoo-bashcomp-${GENCOMP_VERS}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/tar
+ app-arch/bzip2"
+RDEPEND="|| (
+ >=app-shells/bash-2.05a
+ app-shells/zsh
+ )"
+
+S="${WORKDIR}/${PN/-/_}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gentoo.diff
+ cd ${WORKDIR}/gentoo-bashcomp-${GENCOMP_VERS}
+}
+
+src_install() {
+ insinto /etc
+ doins bash_completion || die "failed to install bash_completion"
+ exeinto /etc/profile.d
+ doexe ${FILESDIR}/bash-completion || die "failed to install profile.d"
+
+ # >=dev-util/subversion-1.1.1-r3 provides extremely superior completions
+ has_version ">=dev-util/subversion-1.1.1-r3" && rm contrib/subversion
+ insinto /usr/share/bash-completion
+ doins contrib/* || die "failed to install contrib completions"
+
+ dodoc Changelog README
+
+ # gentoo-bashcomp
+ cd ${WORKDIR}/gentoo-bashcomp-${GENCOMP_VERS}
+ doins gentoo || die "failed to install gentoo completions"
+ dodir /etc/bash_completion.d
+ dosym ../../usr/share/bash-completion/gentoo /etc/bash_completion.d/gentoo \
+ || die "dosym gentoo-bashcomp failed"
+ docinto gentoo
+ dodoc AUTHORS TODO
+}
+
+pkg_postinst() {
+ echo
+ einfo "Add the following line to your ~/.bashrc to"
+ einfo "activate completion support in your bash:"
+ einfo "[ -f /etc/profile.d/bash-completion ] && . /etc/profile.d/bash-completion"
+ einfo
+ einfo "Additional complete functions can be enabled by symlinking them from"
+ einfo "/usr/share/bash-completion to /etc/bash_completion.d"
+
+ local g="${ROOT}/etc/bash_completion.d/gentoo"
+ if [[ -e "${g}" && ! -L "${g}" ]] ; then
+ echo
+ ewarn "The gentoo completion functions have moved to /usr/share/bash-completion."
+ ewarn "Please run etc-update to replace /etc/bash_completion.d/gentoo with a symlink."
+ fi
+ echo
+
+ if has_version 'app-shells/zsh' ; then
+ einfo "If you are interested in using the provided bash completion functions with"
+ einfo "zsh, valuable tips on the effective use of bashcompinit are available:"
+ einfo " http://www.zsh.org/mla/workers/2003/msg00046.html"
+ einfo " http://zshwiki.org/ZshSwitchingTo"
+ echo
+ fi
+}
diff --git a/app-shells/bash-completion/files/20050120-gentoo.diff b/app-shells/bash-completion/files/20050120-gentoo.diff
new file mode 100644
index 000000000000..4669dcce62c2
--- /dev/null
+++ b/app-shells/bash-completion/files/20050120-gentoo.diff
@@ -0,0 +1,39 @@
+--- bash_completion.orig 2005-01-20 06:29:03.982356288 -0500
++++ bash_completion 2005-01-20 06:44:08.957779112 -0500
+@@ -105,7 +105,8 @@
+ complete -f -X '!*.@(ogg|OGG|m3u|flac|spx)' ogg123
+ complete -f -X '!*.@(mp3|MP3|ogg|OGG|pls|m3u)' gqmpeg freeamp
+ complete -f -X '!*.fig' xfig
+-complete -f -X '!*.@(mid?(i))' timidity playmidi
++complete -f -X '!*.@(mid?(i))' playmidi
++complete -f -X '!*.@(mid?(i)|rmi|RMI)' timidity
+ complete -f -X '*.@(o|so|so.!(conf)|a|tar?(.@(gz|bz2))|tgz|tbz2|rpm|zip|ZIP|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' vi vim gvim rvim view rview rgvim rgview gview
+ complete -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' emacs
+ complete -f -X '!*.@(exe|EXE|com|COM|scr|SCR)' wine
+@@ -1582,7 +1583,7 @@
+ COMPREPLY=( $( compgen -W '${changed[@]:-} \
+ ${newremoved[@]:-}' -- $cur ) )
+ else
+- _filedir
++ COMPREPLY=($(compgen $default -- "$cur"))
+ fi
+ else
+ COMPREPLY=( $( compgen -W '-n -R -l -f -F -m -r' -- \
+@@ -5318,7 +5319,7 @@
+ return 0
+ ;;
+ -audiofile)
+- _filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV)'
++ _filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV|mid|MID)'
+ return 0
+ ;;
+ -font)
+@@ -5610,7 +5611,7 @@
+ -xvidencopts -of --verbose' -- $cur) )
+ ;;
+ *)
+- _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV)'
++ _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV|mid|MID|ts|TS)'
+ ;;
+ esac
+
diff --git a/app-shells/bash-completion/files/digest-bash-completion-20050120 b/app-shells/bash-completion/files/digest-bash-completion-20050120
new file mode 100644
index 000000000000..36abeb741802
--- /dev/null
+++ b/app-shells/bash-completion/files/digest-bash-completion-20050120
@@ -0,0 +1,2 @@
+MD5 38e92543498dd1da4cc6a4bdeb9175f5 bash-completion-20050120.tar.bz2 90072
+MD5 63dfa5f5a71bf494f44b9a6b89771dba gentoo-bashcomp-20050117.tar.bz2 15180