Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321241 - app-shells/bash-completion-1.1-r5: mplayer: missing *.gif completion
Summary: app-shells/bash-completion-1.1-r5: mplayer: missing *.gif completion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-23 18:16 UTC by Daniel Hofmann
Modified: 2011-02-08 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Hofmann 2010-05-23 18:16:46 UTC
Mplayer is able to display animated gifs, so *.gif and *.GIF files should be displayed as completion.

Adding gif and GIF to the file /usr/share/bash-copletion/mplayer solved it for me:

--- /usr/share/bash-completion/mplayer	2010-05-19 22:24:32.119591434 +0200
+++ /usr/share/bash-completion/mplayer	2010-05-19 22:36:37.211657980 +0200
@@ -224,7 +224,7 @@
                     -e "/^-\(Total\|.*\*\)\?$/!p" )' -- "$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|fl[iv]|FL[IV]|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[234]|MP[234]|m4[av]|M4[AV]|og[gmavx]|OG[GMAVX]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|m4a|M4A|aac|AAC|m[24]v|M[24]V|dv|DV|rmvb|RMVB|mid|MID|ts|TS|3g[p2]|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2ts|M2TS|vdr|VDR|xvid|XVID|ape|APE)'
+            _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|fl[iv]|FL[IV]|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[234]|MP[234]|m4[av]|M4[AV]|og[gmavx]|OG[GMAVX]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|m4a|M4A|aac|AAC|m[24]v|M[24]V|dv|DV|rmvb|RMVB|mid|MID|ts|TS|3g[p2]|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2ts|M2TS|vdr|VDR|xvid|XVID|ape|APE|gif|GIF)'
             ;;
     esac
 

Reproducible: Always

Steps to Reproduce:
1. directory with an animated gif
2. $ mplayer <tab> <tab>
3. gif files are not listed

Actual Results:  
$ ls
image.png  movie.avi  animation.gif

$ mplayer <tab> <tab>
movie.avi

Expected Results:  
$ ls
image.png  movie.avi  animation.gif

$ mplayer <tab> <tab>
animation.gif  movie.avi
Comment 1 Dror Levin (RETIRED) gentoo-dev 2010-06-12 19:43:58 UTC
Also *.webm completion missing, didn't think filing a new bug for that was necessary.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-02-08 16:53:32 UTC
+*bash-completion-1.3 (08 Feb 2011)
+
+  08 Feb 2011; Jeremy Olexa <darkside@gentoo.org>
+  +bash-completion-1.3.ebuild:
+  Upstream version bump, closes Gentoo bugs: 321241, 339059, 353216