Bug#405578: zsh: Glob fix to parse playlist output from newer mpc
Package: zsh Version: 4.3.2-25 Severity: normal Hi! The playlist output for mpc was recently slightly modified. This upset the completion code. Here is a small patch to allow for the change (This works for older versions as well, I just needed to relax the glob pattern). -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. --- _mpc.orig 2007-01-04 22:49:22.909590520 +0530 +++ _mpc 2007-01-04 22:41:11.953227232 +0530 @@ -95,7 +95,7 @@ out=(${(@f)$(_call_program song-numbers mpc $foo playlist 2/dev/null)}) out=(${(@M)[EMAIL PROTECTED]:#${~MATCH}}) - sn=(${(@)${(@M)out}//(#b)(#s)\#([0-9]#)*/$match[1]}) + sn=(${(@)${(@M)out}//(#b)(#s)(\#|[ ]#)([0-9]#)*/$match[2]}) list=(${(@Mr:COLUMNS-1:)out}) _wanted -V 'song numbers' expl 'song number' \ Regards, Ramkumar. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0]1.5.11 Debian configuration management sy ii libc62.3.6.ds1-8 GNU C Library: Shared libraries ii libncurses5 5.5-5 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi -- no debconf information -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth
Bug#402577: xutils: Suggest depend on all possible ksh implementations
Package: xutils Version: 1:7.1.ds.3-1 Severity: normal Hi! Since the xauth_switch_to_sun-des-1 script needs ksh, the package Suggests that pdksh be installed. In reality, any ksh implementation should do, and hence a wider 'ksh | mksh | pdksh | zsh' dependency should do. This is infact done by an another package (flowscan) which actually hard-depends on a ksh implementation. Regards, Ramkumar. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages xutils depends on: ii libc62.3.6.ds1-8 GNU C Library: Shared libraries ii libfontenc1 1:1.0.2-2 X11 font encoding library ii libfs6 2:1.0.0-4 X11 Font Services library ii libx11-6 2:1.0.3-4 X11 client-side library ii x11-common 1:7.1.0-7 X Window System (X.Org) infrastruc ii xfonts-utils 1:1.0.1-1 X Window System font utility progr ii xutils-dev 1:7.1.ds-4 X Window System utility programs f ii zlib1g 1:1.2.3-13 compression library - runtime xutils recommends no packages. -- no debconf information -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#402580: emacs-goodies-el: xrdb-mode clobbers bindings in emacs-snapshot
Package: emacs-goodies-el Version: 26.9-1 Severity: normal Tags: patch Hi! Emacs v22 (emacs-snapshot) ships in a conf-mode, which provides a conf-xdefaults-mode for xrdb files. xrdb is some more features than the other package (like electricity), but still clobbering bindings without `emacs-goodies-el-defaults' set in these newer emacsen is a violation of policy. This thus introduces a new customizable option for clobbering the auto-mode-alist defaulting to either t or `emacs-goodies-el-defaults' depending on the emacs used. --- emacs-goodies-el-orig.el 2006-11-26 21:34:35.537865296 +0530 +++ emacs-goodies-el.el 2006-11-26 21:34:17.668581840 +0530 @@ -6,6 +6,8 @@ ;;; History: ;; +;; 2006-11-26 - Ramkumar R. +;; - Obey `emacs-goodies-el-defaults' for xrdb-mode. ;; 2003-06-14 - Peter Galbraith ;; - Delete autoloads that can be generated automatically. ;; 2003-05-14 - Peter Galbraith @@ -23,7 +25,7 @@ (defcustom emacs-goodies-el-defaults nil Whether default settings are chosen conservatively or aggressively. non-nil means aggressive. -Setting to aggresisve will enable feature that superceed Emacs defaults. +Setting to aggressive will enable features that supercede Emacs defaults. :type '(radio (const :tag conservative nil) (const :tag aggressive t)) :link '(custom-manual (emacs-goodies-el)Top) @@ -166,7 +168,7 @@ (t (if home-end-end-enable (global-set-key [end] home-end-end-enable)) - (if home-end-home-enable + (if home-end-home-enable (global-set-key [home] home-end-home-enable) :load 'home-end :group 'emacs-goodies-el) @@ -273,12 +275,43 @@ t) ;; xrdb-mode.el -(add-to-list 'auto-mode-alist '(\\.Xdefaults$ . xrdb-mode)) -(add-to-list 'auto-mode-alist '(\\.Xenvironment$. xrdb-mode)) -(add-to-list 'auto-mode-alist '(\\.Xresources$. xrdb-mode)) -(add-to-list 'auto-mode-alist '(\\.ad$. xrdb-mode)) -(add-to-list 'auto-mode-alist '(/app-defaults/. xrdb-mode)) -(add-to-list 'auto-mode-alist '(/Xresources/. xrdb-mode)) + +(defun xrdb-mode-setup-auto-mode-alist () + (add-to-list 'auto-mode-alist '(\\.Xdefaults$ . xrdb-mode)) + (add-to-list 'auto-mode-alist '(\\.Xenvironment$. xrdb-mode)) + (add-to-list 'auto-mode-alist '(\\.Xresources$. xrdb-mode)) + (add-to-list 'auto-mode-alist '(\\.ad$. xrdb-mode)) + (add-to-list 'auto-mode-alist '(/app-defaults/. xrdb-mode)) + (add-to-list 'auto-mode-alist '(/Xresources/. xrdb-mode))) + +(defcustom xrdb-mode-setup-auto-mode-alist + (or + ;; Check if conf-xdefaults-mode is present + (not (fboundp 'conf-xdefaults-mode)) + ;; Check if default setup provides bindings for conf-xdefaults-mode + ( emacs-major-version 22) + (featurep 'xemacs) + ;; Check if the user wants settings to be clobbered + emacs-goodies-el-defaults) + Whether to setup mode-alists for xrdb mode. + +Newer versions of Emacs have a conf-xdefaults-mode which provides +this functionality. `xrdb' still has some features (like +electricity) which are absent in that mode. Setting this to +non-nil clobbers the default bindings in such cases. + +This variable defaults to t for older emacsen and the value +`emacs-goodies-el-defaults' for newer ones. + +Customizing this variable might require restarting emacs for the +effects to take effect. + :type 'boolean + :set (lambda (symbol value) + (set-default symbol value) + (when value + (xrdb-mode-setup-auto-mode-alist))) + :group 'emacs-goodies-el + :group 'xrdb) ;; wdired.el (defcustom wdired-enable emacs-goodies-el-defaults Regards, Ramkumar. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages emacs-goodies-el depends on: ii bash3.1-5The GNU Bourne Again SHell ii emacs-snapshot-gtk [emacsen 1:20061015-1 The GNU Emacs editor (with GTK+ 2. Versions of packages emacs-goodies-el recommends: ii dict 1.10.2-3 Dictionary Client ii perl-doc 5.8.8-6.1 Perl documentation ii wget 1.10.2-2 retrieves files from the web -- no debconf information -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth
Bug#402578: xpdf-common: Parse ~ in include directives
Package: xpdf-common Version: 3.01-9 Severity: wishlist Hi! One feature I like and use in the xpdfrc configuration format is the presence of the `include' directives which enable dividing the configuration into a modular structure. A minor drawback (more of a nitpick perhaps :) ) in this scheme is that the name of the user configuration file needs to be specified as the full pathname. It would lessen the dependency on the home directory of the user and enable sharing of configuration files if ~/something like filenames could be accepted. Regards, Ramkumar. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) xpdf-common depends on no packages. Versions of packages xpdf-common recommends: ii gsfonts-x11 0.20 Make Ghostscript fonts available t -- no debconf information -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#402579: mpc: package not up-to-date
Package: mpc Version: 0.11.2-2 Severity: normal Hi! The latest release of mpc is 0.12.0, while debian still ships in with 0.11.2-2. The corresponding mpd package in debian already has features (outputs) which can be used only from mpc = 0.12.0. So, I request you to upgrade the package. Regards, Ramkumar. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages mpc depends on: ii libc62.3.6.ds1-8 GNU C Library: Shared libraries mpc recommends no packages. -- no debconf information -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#399044: zsh: Descriptions for command completion
Package: zsh Version: 4.3.2-22 Severity: wishlist Tags: patch Hi! An inspiration this time from 'fish', a new shell I noticed recently. Though it seem to cater primarily to the newbies, some of the ideas seemed interesting. In particular, was a bit surprised that we never had descriptions for command completion! So, hacked it up.. Here's a new function _path_commands which uses $commands, but also offers descriptions using `whatis`. Uses cache-* and verbose/list-separator styles. I also did a `grep -re '-k commands' *` in the completion dir and changed whatever threw up. May be there are others still remaining... Here's the patch... diff -Naur Zsh/_command Zsh.new/_command --- Zsh/_command 2006-11-16 17:05:46.655333776 +0530 +++ Zsh.new/_command 2006-11-15 04:08:27.0 +0530 @@ -1,10 +1,12 @@ #compdef command +local ret + if [[ CURRENT -ge 3 ]]; then compset -n 2 - _normal + _normal ret=0 else - local expl - - _wanted commands expl 'external command' compadd $@ -k commands + _path_commands $@ ret=0 fi + +return ret diff -Naur Zsh/_command_names Zsh.new/_command_names --- Zsh/_command_names 2006-11-16 17:05:46.655333776 +0530 +++ Zsh.new/_command_names 2006-11-15 04:09:10.0 +0530 @@ -7,7 +7,7 @@ local args defs defs=( - 'commands:external command:compadd -k commands' + 'commands:external command:_path_commands' ) [[ -n $path[(r).] || $PREFIX = */* ]] diff -Naur Zsh/_equal Zsh.new/_equal --- Zsh/_equal 2006-11-16 17:05:46.655333776 +0530 +++ Zsh.new/_equal 2006-11-15 04:43:45.0 +0530 @@ -1,5 +1,3 @@ #compdef -equal- -local expl - -_wanted commands expl command compadd -k commands +_path_commands diff -Naur Zsh/_hash Zsh.new/_hash --- Zsh/_hash 2006-11-16 17:05:46.655333776 +0530 +++ Zsh.new/_hash 2006-11-15 04:37:03.0 +0530 @@ -33,7 +33,8 @@ elif compset -P 1 '*='; then _wanted -C value values expl 'executable file' _files -g '*(-*)' ret=0 else -_wanted -C name commands expl command compadd -q -S '=' -k commands ret=0 +curcontext=${curcontext%:*}:name +_path_commands -q -S '=' ret=0 fi fi diff -Naur Zsh/_path_commands Zsh.new/_path_commands --- Zsh/_path_commands 1970-01-01 05:30:00.0 +0530 +++ Zsh.new/_path_commands 2006-11-16 02:28:10.0 +0530 @@ -0,0 +1,50 @@ +#autoload + +local need_desc expl ret=1 + +if zstyle -T :completion:${curcontext}: verbose; then + local update_policy first + if [[ $+_command_descriptions -eq 0 ]]; then +first=yes +typeset -A -g _command_descriptions + fi + zstyle -s :completion:${curcontext}: cache-policy update_policy + [[ -z $update_policy ]] zstyle :completion:${curcontext}: \ +cache-policy _path_commands_caching_policy + if ( [[ -n $first ]] || _cache_invalid command-descriptions ) \ +! _retrieve_cache command-descriptions; then +local line +for line in ${(f)$(_call_program command-descriptions whatis -s 1 -r .\\\*\; whatis -s 6 -r .\\\* 2 /dev/null)}; do + [[ -n ${line:#(#b)([^ ]#) #\([^ ]#\)( #\[[^ ]#\]|)[ -]#(*)} ]] continue; + [[ -z $match[1] || -z $match[3] || -z ${${match[1]}:#*:*} ]] continue; + _command_descriptions[$match[1]]=$match[3] +done +_store_cache command-descriptions _command_descriptions + fi + + (( $#_command_descriptions )) need_desc=yes +fi + +if [[ -n $need_desc ]]; then + typeset -a dcmds descs cmds + local desc cmd sep + for cmd in ${(@)commands[(I)$PREFIX*]}; do +desc=$_command_descriptions[$cmd] +if [[ -z $desc ]]; then + cmds+=$cmd +else + dcmds+=$cmd + descs+=$cmd:$desc +fi + done + zstyle -s :completion:${curcontext}: list-separator sep || sep=-- + zformat -a descs $sep $descs + descs=(${(@r:COLUMNS-1:)descs}) + _wanted commands expl 'external command' \ +compadd $@ -ld descs -a dcmds ret=0 + _wanted commands expl 'external command' compadd $@ -a cmds ret=0 +else + _wanted commands expl 'external command' compadd $@ -k commands ret=0 +fi + +return $ret diff -Naur Zsh/_path_commands_caching_policy Zsh.new/_path_commands_caching_policy --- Zsh/_path_commands_caching_policy 1970-01-01 05:30:00.0 +0530 +++ Zsh.new/_path_commands_caching_policy 2006-11-16 01:42:42.0 +0530 @@ -0,0 +1,20 @@ +#autoload + +local oldp file +typeset -a dbfiles + +# rebuild if cache is more than a week old +oldp=( $1(Nmw+1) ) +(( $#oldp )) return 0 + +dbfiles=(/usr/share/man/index.(bt|db|dir|pag)(N) \ + /usr/man/index.(bt|db|dir|pag)(N) \ + /var/cache/man/index.(bt|db|dir|pag)(N) \ + /var/catman/index.(bt|db|dir|pag)(N) \ + /usr/share/man/*/whatis(N)) + +for file in $dbfiles; do + [[ $file -nt $1 ]] return 0 +done + +return 1 diff -Naur Zsh/_which Zsh.new/_which --- Zsh/_which 2006-11-16 17:05:46.655333776 +0530 +++ Zsh.new/_which 2006-11-15 04:44:26.0 +0530 @@ -28,7 +28,7 @@ args=( $@ ) _alternative -O args \ -'commands:external command:compadd -k commands' \ +'commands:external command:_path_commands' \
Bug#397770: libgraphicsmagick1-dev: Obsolete dependency on x-dev
Package: libgraphicsmagick1-dev Severity: normal Hi! libgraphicsmagick1-dev depends on x-dev which is now obsolete. It might be better to depend on something like libx11-dev. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#397767: graphicsmagick-libmagick-dev-compat: Request for splitting the package
Package: graphicsmagick-libmagick-dev-compat Severity: wishlist Hi! The current compat package pulls in c, c++, and perl dev packages of graphicsmagick all at once. Not only are the sizes of the c/c++ packages substantial, but they carry along a train of dev package dependencies for the corresponding image libraries. It would be great if you can split the perl and c/c++ compat packages to reduce the number of dependencies. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#397767: graphicsmagick-libmagick-dev-compat: Request for splitting the package
Hi! Typically, it shouldn't be installed unless you're doing porting work or building a depending package. So the large dependency chain should only be a temporary nuisance. At least, that was my reasoning when taking this choice, but of course you're very welcome to try and convince me otherwise. I wouldn't have been bothered too much if that was the case :) Many packages *Depend* (not Build-Depend) on perlmagick, like findimagedupes or html2ps for example. Now, if the user decides to shift from ImageMagick to GraphicsMagick, he/she has to use graphicsmagick-libmagick-dev-compat instead of perlmagick. In this case, this package serves as an end-user requirement and not as a developer package. It is not quite right to thrust upon such an user so many dev packages which he/she might not at all be interested in. Regards, Ramkumar. -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#381806: fcron works without needing a fcrontab entry
reopen 381806 ! thanks Hi! The daily cron job does get executed out of the box with fcron, contrary to the explanation given. fcron package (I have 3.0.1-1) installs a systab entry in /var/spool/fcron which runs `run-parts --report /etc/cron.daily` daily. Thus, the script shipped by exim4-base is executed. So, a cron | fcron depends (I don't know about bcron) should do. Regards, Ramkumar. -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#396486: Minor fixes to the original script
Hi! The completion script I sent needs some minor fixes. Here's a patch to the original script. Regards, Ramkumar. --- /home/ramk/projects/external/zsh/_mkdir 2006-11-01 06:25:38.939107400 +0530 +++ /home/ramk/.startup/zsh/queue/_mkdir 2006-11-02 02:02:06.819723544 +0530 @@ -5,23 +5,23 @@ typeset -a opt_args args=( - '(-m --mode=)'{-m,--mode=}'[set permission mode]:numeric mode' + '(-m --mode)'{-m,--mode=}'[set permission mode]:numeric mode' '(-p --parents)'{-p,--parents}'[make parent directories as needed]' ) -args_zsh=('(-)*: :-dir') +args_zsh=('(-)*: :-directories') args_cmd=( '(-v --verbose)'{-v,--verbose}'[print message for each created directory]' '(- :)--help[display help information]' '(- :)--version[display version information]' - '*: :-dir' + '*: :-directories' ) case $OSTYPE in linux*) args_cmd=( - '(-Z --context=)'{-Z,--context=}'[set SELinux context]:SELinux context' + '(-Z --context)'{-Z,--context=}'[set SELinux context]:SELinux context' $args_cmd) ;; esac @@ -56,10 +56,10 @@ _arguments -C -s $args ret=0 case $state in - dir) + directories) if (( $ret )) [[ ! -prefix - ]] || \ [[ $variant == zsh ${#${${words[2,-1]}:#-*}} -gt 0 ]]; then - _wanted parent-directory expl \ + _wanted directories expl \ 'parent directory (alternatively specify name of directory)' \ _path_files -/ || _message 'name of directory' ret=0 -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth
Bug#395125: emacsen-common: Caching of startup bits in debian-startup
Package: emacsen-common Version: 1.4.17 Severity: wishlist Tags: patch Hi! One of the problems I have faced with the debian startup procedure is that, while the run-parts like technique offers a lot of flexibility, loading a lot of very small source files makes the startup quite slow. Here's a implementation of debian-startup.el which handles this by dynamically creating and byte-compiling a cache of all the startup bits on a per-user basis, taking care of all the dependencies which could possibly invalidate the cache. The package also features a few other enhancements (might be controversial, I leave it to you to figure out if it is worthwhile including these changes :) ). Please see the commentary section for a description of all the changes. debian-startup.el Description: Caching version of debian-startup Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8) Versions of packages emacsen-common depends on: ii bsdmainutils 6.1.4 collection of more utilities from emacsen-common recommends no packages. -- no debconf information -- One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth
Bug#390109: zsh: Completing bind addresses
Package: zsh Version: 4.3.2-17 Severity: wishlist Tags: patch Hi! Many programs accept as a command-line argument, an option to specify the address to bind as. Completion functions have either not been offering completion for the same, or have gone for the much wider set of _hosts. I am enclosing a file for a new _bind_addresses function which completes bind-able addresses got by parsing ifconfig output. I know the required commands only for Linux, and hence I have defaulted to _hosts for other systems. Well, something better than nothing! :) #autoload local expl case $OSTYPE in aix*) _hosts $@ ;; darwin*|freebsd*|dragonfly*) _hosts $@ ;; irix*) _hosts $@ ;; # Couldn't find anything special for linux except for /proc/net/dev # Is there any proc file which gives the formatted ip? linux*) ; *) _wanted bind-addresses expl 'bind address' compadd $@ - \ ${${${(M)${(f)$(ifconfig -a)}:#*addr:*}##*addr:}%% *} esac I am also enclosing a patch for some of the completion functions for using this function. (I just did a `grep -ri bind *` over the Completion directory to get possible functions, there may be more) Apply this patch after the _bittornado cleanup patch in Bug#390048 (Mixed up descriptions in bittorrent completion). diff -Naur Unix.orig/_bittorrent Unix/_bittorrent --- Unix.orig/_bittorrent 2006-09-29 02:59:21.357054312 +0530 +++ Unix/_bittorrent 2006-09-29 02:59:27.886061752 +0530 @@ -24,7 +24,7 @@ '(--responsefile)--responsefile+[specify file for server response]:file:_files -g *'\ --url+[specify URL of torrent file]:URL:_urls\ '(-i --ip)'{-i+,--ip+}'[specify ip address to report as]:ip address'\ - --bind+[specify ip to bind to instead of default]:ip:\ + --bind+[specify ip to bind to instead of default]:ip:_bind_addresses\ --minport+[specify minimum port to listen to]:port:\ --maxport+[specify maximum port to listen to]:port:\ --saveas+[specify file to save to]:file:_files -/\ @@ -83,7 +83,7 @@ _arguments -s -S \ --port+[specify port to listen on]:port number: \ --dfile+[specify file to store recent downloader info]:file:_files \ - --bind+[specify ip to bind to]:bind address: \ + --bind+[specify ip to bind to]:bind address:_bind_addresses \ --socket_timeout+[specify timeout for closing connections]:timeout (s):\ --save_dfile_interval+[specify interval between saving dfile]:time (s):\ --timeout_downloaders_interval+[timeout for expiring downloaders]:time (s): \ diff -Naur Unix.orig/_rsync Unix/_rsync --- Unix.orig/_rsync 2006-09-29 01:48:16.0 +0530 +++ Unix/_rsync 2006-09-29 02:40:56.938951384 +0530 @@ -94,7 +94,7 @@ {--no-v,--no-verbose}'[turn off --verbose]' \ '--bwlimit=[limit I/O bandwidth]:KBytes per second' \ '--port=[specify alternate port number]:port:(873)' \ - '--address=[bind to the specified address]:address:_hosts' \ + '--address=[bind to the specified address]:bind address:_bind_addresses' \ '(-T --temp-dir)'{-T,--temp-dir=}'[create temporary files in specified directory]:directory:_directories' \ '--sockopts=[specify custom TCP options]' \ '(-4 -6 --ipv4 --ipv6)'{-4,--ipv4}'[prefer IPv4]' \ diff -Naur Unix.orig/_ssh Unix/_ssh --- Unix.orig/_ssh 2006-09-29 01:48:13.0 +0530 +++ Unix/_ssh 2006-09-29 02:42:31.145629792 +0530 @@ -54,7 +54,7 @@ _arguments -C -s \ '(-A)-a[disable forwarding of authentication agent connection]' \ '(-a)-A[enables forwarding of the authentication agent connection]' \ - '(-P)-b+[specify interface to transmit on]:bind address' \ + '(-P)-b+[specify interface to transmit on]:bind address:_bind_addresses' \ '-D+[specify a dynamic port forwarding]:port' \ '-e+[set escape character]:escape character (or `none'''):' \ '(-n)-f[go to background]' \ diff -Naur Unix.orig/_wget Unix/_wget --- Unix.orig/_wget 2006-09-29 01:48:33.0 +0530 +++ Unix/_wget 2006-09-29 02:51:52.523287416 +0530 @@ -35,7 +35,7 @@ '(--proxy -Y --no-proxy)'{--proxy=,-Y+}'[explicitly turn on proxy]' \ '(--proxy -Y --no-proxy)--no-proxy[explicitly turn off proxy]' \ '(--quota -Q)'{--quota=,-Q+}'[set retrieval quota]:number' \ - '--bind-address=:address to bind to (hostname or IP):_hosts' \ + '--bind-address=[specify address to bind to (hostname or IP)]:bind address:_bind_addresses' \ '--limit-rate=[specify limit to download rate]:download rate limit' \ '--no-dns-cache[disable caching DNS lookups]' \ '--restrict-file-names=[restrict chars in file names to ones OS allows]:OS:-restrict' \ Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0]1.5.4 Debian configuration management
Bug#390049: zsh: Making fusermount completion use _fuse_values and _canonical_paths
Package: zsh Version: 4.3.2-17 Severity: wishlist Tags: patch Hi! The enclosed patch makes the fusermount completion use _canonical_paths and _fuse_values, introduced by Bug# 389801 (Generic completion for FUSE programs). Hence, this patch should be applied after resolving the aforesaid bug. The patch also improves the descriptions provided, fixes a bug with one of the options and also corrects the indentation to conform with the zsh coding style. Regards, Ramkumar. --- _fusermount.orig 2006-09-29 04:09:30.667141912 +0530 +++ _fusermount 2006-09-28 00:16:45.192984904 +0530 @@ -4,21 +4,23 @@ typeset -A opt_args _arguments \ - '-h[help]' \ - '-v[version]' \ - '-o[options]:mount options:_values -s , mount options default_permissions allow_other allow_root kernel_cache large_read direct_io max_read=:size: hard_remove debug fsname=:name: use_ino readdir_ino nonempty umask=:umask: uid=:uid: gid=:gid:' \ - '-u[unmount]' \ - '-q[quiet]' \ - '-z[lazy unmount]' \ - ':mountpoint:-mountpoint' return 0 + '-h[display help information]' \ + '-V[display version information]' \ + '-o[specify mount options]:mount options:_fuse_values mount options' \ + '-u[unmount a fuse mount]' \ + '-z[unmount lazily (work even when if the resource is still busy)]' \ + '-q[suppress nonessential output]' \ + ':mount point:-mountpoint' return 0 + +typeset -a mtpts case $state in - (mountpoint) - if [[ $+opt_args[-u] -eq 0 ]]; then - _files -/ -else - _wanted mounted expl 'mounted filesystem' \ - compadd ${${${${(f)$( /etc/mtab)}}#* }%% *} -fi - ;; + (mountpoint) + if [[ $+opt_args[-u] -eq 0 ]]; then +_files -/ + else +mtpts=(${${${${(f)$( /etc/mtab)}}#* }%% *}) +_canonical_paths mounted 'mounted filesystem' $mtpts + fi + ;; esac -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0]1.5.4 Debian configuration management sy ii libc62.3.6.ds1-4 GNU C Library: Shared libraries ii libncurses5 5.5-3 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#390048: zsh: Mixed up descriptions in bittorrent completion
Package: zsh Version: 4.3.2-17 Severity: wishlist Tags: patch Hi! The option descriptions for bittorrent are mixed up with the argument descriptions. Further, at many places, it doesn't seem to conform with the usual conventions. The enclosed patch fixes these and also improves the option completion in some cases. Note that this can be further improved to add bittornado options if the bt* binaries actually belong to the bittornado package. (Debian uses alternatives for bt* executables, which may be provided by either the conventional bittorrent package or the bittornado package). Regards, Ramkumar. --- _bittorrent.orig 2006-09-29 02:54:27.849674216 +0530 +++ _bittorrent 2006-09-29 02:54:06.511918048 +0530 @@ -4,6 +4,9 @@ # Pakkanen, 2004. Most of the command descriptions are from the Debian # project's man pages. +# Modified by R.Ramkumar, 2006 to conform to zsh completion standards and +# enhance completion for certain options. + case $service in # Start with the clients. @@ -18,35 +21,35 @@ ; btlaunchmanycurses) _arguments -s -S \ - '(--responsefile)--responsefile+[response file]:file for server response:_files -g *'\ - --url+[from URL]:URL of torrent file:\ - '(-i --ip)'{-i+,--ip+}'[ip address]:report argument as your ip address'\ - --bind+[ip]:bind to ip instead of default:\ - --minport+[port]:minimum port to listen to (default 6881):\ - --maxport+[port]:maximum port to listen to (default 6889):\ - --saveas+[filename]:save to specified filename:_files -/\ - --max_uploads+[num]:maximum amount of uploads (default 4):\ - --max_upload_rate+[kbytes]:maximum rate to upload in kbytes (default no limit):\ - --keepalive_interval+[secs]:pause between keepalives (default 120.0):\ - --download_slice_size+[bytes]:query for bytes bytes per request (default 32768):\ - --request_backlog+[num]:keep num requests in a single pipe at once (default 5):\ - --max_message_length+[bytes]:max length prefix encoding you'll accept over the wire (default 8388608):\ - --timeout+[secs]:wait secs before closing sockets which nothing has been recieved on (default 300.0):\ - --timeout_check_interval+[secs]:check whether connections have timed out every secs seconds (default 60.0):\ - --max_slice_length+[bytes]:requests from peers larger than bytes bytes are ignored (default 131072):\ - --max_rate_recalculate_interval+[secs]:connections that pause longer than secs seconds are given reduced rate (default 15.0):\ - --max_rate_period+[secs]:set secs to the maximum amount of time to guess the current rate estimate represents (default 20.0):\ - --upload_rate_fudge+[secs]:set the time equivalent of writing to kernel-level TCP buffer to secs (default 5.0):\ - --display_interval+[secs]:update displayed information every secs seconds (default 0.1):\ - --rerequest_interval+[secs]:request more peers every secs seconds (default 300)\ - --min_peers+[num]:do not rerequest if we have num peers already (default 20):\ - --http_timeout+[secs]:wait secs seconds before assuming a http connection has timed out (default 60):\ - --snub_time+[secs]:wait secs seconds for data to come in over a connection before assuming it's semi-permanently choked (default 30.0):\ - --spew+[1 | 0]:whether to display diagnostic info to stdout. (default 0):(0 1)\ - --check_hashes+[1 | 0]:whether to check hashes on disk (defaults to 1):(0 1)\ - --max_initiate+[num]:stop initiating new connections when we have num peers (default 40):\ - --report_hash_failures+[1 | 0]:whether to report to the user that hash failuers occur (non-fatal, common error) (default 0):(0 1)\ - --rarest_first_priority_cutoff+[num]:the number of peers which need to have a piece before other partials take priority over rarest first (default 3):\ + '(--responsefile)--responsefile+[specify file for server response]:file:_files -g *'\ + --url+[specify URL of torrent file]:URL:_urls\ + '(-i --ip)'{-i+,--ip+}'[specify ip address to report as]:ip address'\ + --bind+[specify ip to bind to instead of default]:ip:\ + --minport+[specify minimum port to listen to]:port:\ + --maxport+[specify maximum port to listen to]:port:\ + --saveas+[specify file to save to]:file:_files -/\ + --max_uploads+[specify maximum amount of uploads]:uploads:\ + --max_upload_rate+[specify maximum upload rate]:rate (kb):\ + --keepalive_interval+[specify pause between keepalives]:time (s):\ + --download_slice_size+[specify bytes to query per request]:size (b):\ + --request_backlog+[specify number of requests to keep in a single pipe]:requests:\ + --max_message_length+[specify maximum length of prefix encoding]:size (b):\ + --timeout+[specify timeout before closing sockets on receiving nothing]:timeout (s):\ + --timeout_check_interval+[specify interval to check for connection time]:time interval (s
Bug#389795: zsh: Completion for acpitool
Package: zsh Version: 4.3.2-17 Severity: wishlist Tags: patch Hi! Made a completion function for acpitool. Hope you find it useful :) Regards, Ramkumar. #compdef acpitool local ret=1 selbrands disambig typeset -a brands args if ! zstyle -a :completion:${curcontext}: acpi-extensions brands || \ (( $brands[(I)detect] )); then [[ -d /proc/acpi/toshiba ]] brands+=toshiba [[ -d /proc/acpi/asus ]] brands+=asus [[ -d /proc/acpi/ibm ]] brands+=thinkpad elif (( $brands[(I)all] )); then brands=(toshiba asus thinkpad) fi args=( '(-a --ac_adapter)'{-a,--ac_adapter}'[show AC adapter presence]' '-b[show battery status for available batteries]' '(-B --battery)'{-B,--battery}'[show detailed battery status for all batteries found]' '(-c --cpu)'{-c,--cpu}'[show CPU information]' '(-a --ac_adapter -A -b -B --battery -c --cpu -e -f --fan -t --thermal -w)-e[show just about everything]' '(-f --fan)'{-f,--fan}'[show fan status]' '(-h --help)'{-h,--help}'[display help]' '(-s --suspend)'{-s,--suspend}'[suspend machine to memory (sleep state S3)]' '-S[suspend machine to disk (sleep state S4)]' '(-t --thermal)'{-t,--thermal}'[show thermal zone(s) information and trip points]' '-v[show more verbose output]' '(-V --version)'{-V,--version}'[output version information and exit]' '-w[show the wakeup capable devices]' '-W+[toggle enable/disable wakeup capable device]: :_wakeup_capable_devices' ) if (( $brands[(I)asus] )); then disambig= (( $brands[(I)(toshiba|thinkpad)] )) disambig='Asus ' args+=( '(-A --Asus)'{-A,--Asus}'[show supported Asus ACPI extensions]' '-m+[set mail LED status]:mail LED status:((1\:on 0\:off))' '-n+[set wireless LED status]:wireless LED status:((1\:on 0\:off))' '-o+[set LCD panel status]:LCD panel status:((1\:on 0\:off))' -z+[set ${disambig}LCD brightness level]:${disambig}LCD brightness level:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15) ) fi selbrands= if (( $brands[(I)toshiba] )); then selbrands=Toshiba args+=( '-F+[force fan on or switch back to auto mode]:fan status:((1\:on 0\:auto))' '(-T --Toshiba)'{-T,--Toshiba}'[show supported Toshiba ACPI extensions]' ) fi if (( $brands[(I)thinkpad] )); then [[ -n $selbrands ]] selbrands+=/ selbrands=${selbrands}Thinkpad args+=('-j[eject ultrabay device]') fi if [[ -n $selbrands ]]; then disambig= (( $brands[(I)asus] )) disambig=$selbrands args+=( -l+[set ${disambig}LCD brightness level]:${disambig}LCD brightness level:(0 1 2 3 4 5 6 7) ) fi _arguments -s $args ret=0 return ret -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0]1.5.4 Debian configuration management sy ii libc62.3.6.ds1-4 GNU C Library: Shared libraries ii libncurses5 5.5-3 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#389795: zsh: Completion for acpitool
R.Ramkumar [EMAIL PROTECTED] writes: Hi! Made a completion function for acpitool. Hope you find it useful :) Regards, Ramkumar. Oops! Forgot one more attachment... Sorry! _acpitool depends on this file. Regards, Ramkumar. #autoload local ret=1 item devline expl typeset -a desc _call_program wakeup-capable-devices acpitool -w 2 /dev/null | while read devline; do [[ -n ${devline:#(#b)([0-9]#).[[:space:]]#([^[:space:]]#)[[:space:]]#[0-9]#[[:space:]]#(*)} ]] continue zformat -f item ${match[1]}:%8d (currently ${match[3]}) d:${match[2]} desc+=$item done _describe -t wakeup-capable-devices 'wakeup capable device' desc $@ ret=0 return ret -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#389796: zsh: Adding https protocol to url completion
Package: zsh Version: 4.3.2-17 Severity: wishlist Tags: patch Hi! Here's a small patch to add https to the list of protocols used for completion by _urls. I guess this is a common enough protocol to warrant this addition :) Regards, Ramkumar. --- _urls.orig 2006-09-28 00:00:55.262396304 +0530 +++ _urls 2006-03-18 02:09:01.0 +0530 @@ -66,7 +66,7 @@ compset -S '[^:/]*' compstate[to_end]='' [[ -d $urls/bookmark ]] compadd [EMAIL PROTECTED] bookmark: ret=0 - compadd [EMAIL PROTECTED] file: ftp:// gopher:// http:// ret=0 + compadd [EMAIL PROTECTED] file: ftp:// gopher:// http:// https:// ret=0 done (( ret )) || return 0 done @@ -75,7 +75,7 @@ scheme=$match[1] case $scheme in - http|ftp|gopher) + http(|s)|ftp|gopher) if ! compset -P //; then _wanted -C $scheme prefixes expl 'end of prefix' compadd -S '' $@ // return -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0]1.5.4 Debian configuration management sy ii libc62.3.6.ds1-4 GNU C Library: Shared libraries ii libncurses5 5.5-3 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#389801: zsh: Generic completion for FUSE programs
Package: zsh Version: 4.3.2-17 Severity: wishlist Tags: patch Hi! This patch provides a generic completion setup for FUSE programs. Currently fusermount and sshfs are completed by zsh, and there is a huge list of programs in this category (http://fuse.sourceforge.net/wiki/index.php/FileSystems). These completion scripts should reduce redundancy in the completion functions of these programs as they all use a common library which supports some generic options. This code is similar to the approach taken by _x_arguments. (Patches to _fusermount and _sshfs to follow soon! :) ) Regards, Ramkumar. #autoload local ret long rawret nm=${compstate[nmatches]} fsopt cvalsvar typeset -a fargs opts fargs=( '(-d -f)-d[enable debug output]' '-f[enable foreground operation]' '-r[mount filesystem read-only]' '-s[disable multi-threaded operation]' '(-h --help)'{-h,--help}'[display help and exit]' '(-V --version)'{-V,--version}'[show version information and exit]' ) (( $# )) || fargs+='*:default: _default' long=$argv[(I)--] if (( long )); then argv[long]=($fargs --) else set -- $@ $fargs fi while [[ $1 == -(O*|F*|[CRWsw]) ]]; do if [[ $1 == -F?* ]]; then cvalsvar=${1[3,-1]} elif [[ $1 == -F ]]; then cvalsvar=$2 shift else opts+=$1 [[ $1 == -R ]] rawret=yes fi shift done if [[ $cvalsvar != - ]]; then fsopt='*-o[specify mount options]:mount option:_fuse_values' [[ -n $cvalsvar ]] fsopt+= -A $cvalsvar fsopt+=' mount\ option' set -- $@ $fsopt fi _arguments -R $opts $@ ret=$? if [[ $ret == 300 ]]; then compstate[restore]= [[ -z $rawret ]] ret=$(( nm == $compstate[nmatches] )) fi return ret #autoload local ret stateset fvals cvalsvar cvalind typeset -a fvals opts if [[ $1 = -O* ]]; then opts+=$1 shift fi opts+=(-s , -S =) cvalind=$argv[(I)-A*] while (( cvalind )); do if [[ ${(P)cvalind} = -A?* ]]; then cvalsvar=${(P)cvalind[3,-1]} argv[cvalind]=() else cvalsvar=$argv[cvalind+1] argv[cvalind,cvalind+1]=() fi cvalind=$argv[(I)-A*] done fvals=( 'ro[mount filesystem read-only]' 'allow_other[allow access to other users]' 'allow_root[allow access to root]' 'nonempty[allow mounts over non-empty file/dir]' 'default_permissions[enable permission checking by kernel]' 'fsname[set filesystem name]:name' 'large_read[issue large read requests (linux v2.4 only)]' 'max_read[set maximum size of read requests]:size' 'hard_remove[immediate removal (do not hide files)]' 'use_ino[let filesystem set inode numbers]' 'readdir_ino[try to fill in d_ino in readdir]' 'direct_io[use direct I/O]' 'kernel_cache[cache files in kernel]' 'umask[set file permissions]:permission mask (octal)' 'uid[set file owner]:user id:' 'gid[set file group]:group id:' 'entry_timeout[cache timeout for names]:timeout (s)' 'negative_timeout[cache timeout for deleted names]:timeout (s)' 'attr_timeout[cache timeout for attributes]:timeout (s)' ) [[ -n $cvalsvar ]] set -- $@ ${(P)cvalsvar} if [[ $# -eq 0 ]]; then set -- 'mount options' $fvals else set -- $@ $fvals fi if [[ -n $state ]]; then stateset=$state state= fi _values $opts $@ ret=0 if [[ -n $state ]]; then compstate[restore]= elif [[ -n $stateset ]]; then state=$stateset else unset state fi return $ret -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0]1.5.4 Debian configuration management sy ii libc62.3.6.ds1-4 GNU C Library: Shared libraries ii libncurses5 5.5-3 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#379515: d4x: d4x ends up with a zero length file
Package: d4x Version: 2.5.7.1-2 Severity: normal Hi! This bug is related to my previous bug report #378128, but nevertheless, the problem is different. The problem can be reproduced as follows: 1. Have a partially downloaded file with filename xyz (I don't know if this step is necessary) 2. Start a download, with filename explicitly stated as xyz, such that xyz is also the filename field in the Content-Disposition header got from the server 3. d4x picks up from where the file was left at, previously 4. On completion, d4x tries to copy from `xyz' to `xyz' thereby ending up with a zero sized file Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii d4x-common 2.5.7.1-2 graphical download manager - commo ii libao2 0.8.6-4 Cross Platform Audio Output Librar ii libatk1.0-0 1.12.1-1The ATK accessibility toolkit ii libc62.3.6-15GNU C Library: Shared libraries ii libcairo21.2.0-3 The Cairo 2D vector graphics libra ii libfontconfig1 2.3.2-7 generic font configuration library ii libgcc1 1:4.1.1-5 GCC support library ii libglib2.0-0 2.10.3-3The GLib library of C routines ii libgtk2.0-0 2.8.18-1The GTK+ graphical user interface ii libpango1.0-01.12.3-1+b1 Layout and rendering of internatio ii libssl0.9.8 0.9.8b-2SSL shared libraries ii libstdc++6 4.1.1-5 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.0-7 X11 client-side library ii libxcursor1 1.1.5.2-5 X cursor management library ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar ii libxfixes3 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio ii libxi6 1:1.0.0-5 X11 Input extension library ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra d4x recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#378128: d4x: File copied on filename field present in Content-Disposition
Package: d4x Version: 2.5.7.1-2 Severity: normal Hi! When a HTTP download has a url basename (or the Filename, if not provided by the user explicitly) not the same as the filename=... field in Content-Disposition, d4x tries to copy the file to the latter on completion of download (An example of this would be any download on http://www.uploading.com). This causes problems when the machine is low on space, as you end up needing twice the disk space actually needed, sometimes not possible for large files. So, if this is indeed intended, there should atleast be an option to move the file to the new name (and not do anything at all, i.e. not respect the C-D filename field, if the user specifies a filename explicitly), or start off the download with the filename present in C-D. I am flagging this with severity normal rather than wishlist because this behaviour, IMO, is counter-intuitive to what the user expects. I mean, if I ask d4x to download one file, I should land up with only one file at the end! :) Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii d4x-common 2.5.7.1-2 graphical download manager - commo ii libao2 0.8.6-4 Cross Platform Audio Output Librar ii libatk1.0-0 1.11.4-2The ATK accessibility toolkit ii libc62.3.6-15GNU C Library: Shared libraries ii libcairo21.2.0-2 The Cairo 2D vector graphics libra ii libfontconfig1 2.3.2-7 generic font configuration library ii libgcc1 1:4.1.1-5 GCC support library ii libglib2.0-0 2.10.2-1The GLib library of C routines ii libgtk2.0-0 2.8.18-1The GTK+ graphical user interface ii libpango1.0-01.12.3-1Layout and rendering of internatio ii libssl0.9.8 0.9.8b-2SSL shared libraries ii libstdc++6 4.1.1-5 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.0-7 X11 client-side library ii libxcursor1 1.1.5.2-5 X cursor management library ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar ii libxfixes3 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio ii libxi6 1:1.0.0-5 X11 Input extension library ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra d4x recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#377278: kde-style-polyester: kde-style and kwin-style shipped together
Package: kde-style-polyester Severity: normal Hi! I wanted to check out kde-style-polyester and found that it depended on kwin. Turns out that the kwin theme is also shipped with this package. kwin themes are usually packaged separately as kwin-style-* to keep the kwin dependency separate (Many, like me, don't use KDE desktop or window manager but need these styles because they run KDE apps sometimes). It would be great if you could separate the packages. I am flagging the severity as normal and not wishlist because this seems to be a deviation from the usual packaging practice. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.17-beyond1.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#368505: fuse-utils: mount.fuse passes -v to mounting program
Package: fuse-utils Version: 2.5.3-2 Severity: normal Tags: patch Hi! mount.fuse seems to pass options like -v (verbose) to the mounting program. There is nothing which mandates that programs should take this option. In fact, I found that not many programs do use this option (and libfuse doesn't parse -v by itself as well). As a result, mounting fails with an unrecognized option thrown by the mounting program. This bug surfaces when a fuse mount present in fstab is mounted at boot time: mountall.sh under VERBOSE mode sends a -v to mount, which in turn sends it to mount.fuse. This patch screens -v from the args sent to the mounter. I don't know if there are other such args which need to be screened. --- mount.fuse.orig 2006-05-22 23:26:23.0 +0530 +++ mount.fuse 2006-05-22 23:59:11.0 +0530 @@ -42,7 +42,8 @@ shift ignore_opts=(user|nouser|users|auto|noauto|_netdev) +ignore_args=(-v) -OPTIONS=`echo $@ | sed -r s/(,${ignore_opts}|${ignore_opts},)//g` +OPTIONS=`echo $@ | sed -r -e s/(,${ignore_opts}|${ignore_opts},)//g -e s/(^| )${ignore_args}(\$| )/ /g` ${FSTYPE} ${MOUNTPATH} ${MOUNTPOINT} ${OPTIONS} Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages fuse-utils depends on: ii adduser 3.87 Add and remove users and groups ii libc6 2.3.6-7GNU C Library: Shared libraries ii makedev 2.3.1-81 creates device files in /dev ii sed 4.1.5-1The GNU sed stream editor ii ucf 2.0010 Update Configuration File: preserv Versions of packages fuse-utils recommends: pn fuse-source none (no description available) -- debconf information: * fuse-utils/groupcreate: false * fuse-utils/groupdelete: true * fuse-utils/group: fuse fuse-utils/grouprenamemigrate: true -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#368389: zsh: Update for valgrind completion
Package: zsh Version: 4.3.2-8 Severity: wishlist Tags: patch Hi! Just updated the valgrind completion to conform to version 3.1.1. I am enclosing the patch with this mail. In particular, the code to find the tools available was not working. This patch fixes that, but I would still consider it a very hackish solution. Well, the best I could find! :) --- _valgrind.orig 2006-05-21 22:42:40.294438336 +0530 +++ _valgrind 2006-05-21 05:55:17.804093544 +0530 @@ -1,7 +1,8 @@ #compdef valgrind -value-,VALGRIND_OPTS,-default- -local curcontext=$curcontext state line common cmd -local -a args args_{memcheck,addrcheck,cachegrind,helgrind,massif} +local curcontext=$curcontext state line +local -a cmd common common_mem_null \ + args args_{addrcheck,memcheck,cachegrind,helgrind,lackey,massif,none} cmd=( '1:command name:_command_names -e' @@ -16,12 +17,17 @@ fi common=( - '--sloppy-malloc=-[round malloc sizes to multiple of 4]:enable:(yes no)' '--alignment=-[set minimum alignment of allocations]:number' ) +common_mem_null=( + '--xml=-[output everything in XML]:enable:(yes no)' + '--xml-user-comment=-[copy specified string verbatim to XML output]:string' +) + args_addrcheck=( $common + $common_mem_null '--partial-loads-ok=-:enable:(yes no)' '--freelist-vol=-[volume of freed blocks queue]:blocks' '--leak-check=-[search for memory leaks at exit]:enable:(yes no)' @@ -32,7 +38,6 @@ args_memcheck=( $args_addrcheck - '--avoid-strlen-errors=-[suppress errs from inlined strlen]:enable:(yes no)' ) args_cachegrind=( @@ -47,6 +52,11 @@ '--show-last-access=-[show location of last word access on error]:locations:(no some all)' ) +args_lackey=( + '--fnname=-[count calls to specified name]:name' + '--detailed-counts=-[count loads, stores and alu ops]:enable:(yes no)' +) + args_massif=( $common '--heap=-[profile heap blocks]:enable:(yes no)' @@ -57,10 +67,14 @@ '--format=-[specify format of textual output]:format:(text html)' ) -args=args_${${words[(r)--(skin|tool)=*]#*=}:-memcheck} +args_none=( + $common_mem_null +) + +args=args_${${words[(r)--tool=*]#*=}:-memcheck} _arguments -C ${(P)args} $cmd \ - '(--tool --skin)'{--tool,--skin}'=-[specify valgrind tool]:valgrind tool:-tools' \ + '--tool=-[specify valgrind tool]:valgrind tool:-tools' \ '(-h --help)'{-h,--help}'[show help information]' \ '--help-debug[show help info including debugging options]' \ '--version[show version]' \ @@ -69,15 +83,15 @@ '--trace-children=-[valgrind-ise child processes]:enable:(yes no)' \ '--track-fds=-[track open file descriptors]:enable:(yes no)' \ '--time-stamp=-[add timestamps to log messages]:enable:(yes no)' \ - '--run-libc-freeres=-[free up glibc memory at exit]:enable:(yes no)' \ - '--weird-hacks=-[enable hack]:hack:(lax-ioctls)' \ - '--signal-polltime=-[signal poll period (ms)]:period' \ - '--lowlat-signals=-[improve thread signal wake-up latency]:enable:(yes no)' \ - '--lowlat-syscalls=-[improve thread syscall wake-up latency]:enable:(yes no)' \ - '--pointercheck=-[enforce client address space limits]:enable:(yes no)' \ '--log-fd=-[log messages to specified file descriptor]:file descriptor:_file_descriptors' \ - '--log-file=-[log messages to specified file]:file:_files' \ + '--log-file=-[log messages to specified file with pid appended]:file:_files' \ + '--log-file-exactly=-[log messages to specified file]:file:_files' \ + '--log-file-qualifier=-[log messages to filename given by specified environment variable]:variable:_parameters -g *scalar*' \ '--log-socket=-[log messages to socket]:ipaddr\:port' \ + '--run-libc-freeres=-[free up glibc memory at exit]:enable:(yes no)' \ + '--sim-hints=-[enable hint]:hint:(lax-ioctls enable-outer)' \ + '--show-emwarns=-[show warnings about emulation limits]:enable:(yes no)' \ + '--kernel-variant=-[handle non-standard kernel variants]:kernel variant:_values -s , kernel\ variant bproc' \ '--demangle=-[automatically demangle C++ names]:enable:(yes no)' \ '--num-callers=-[specify no of callers to show in stack traces]:number' \ '--error-limit=-[stop showing new errors if too many]:enable:(yes no)' \ @@ -86,11 +100,20 @@ '--gen-suppressions=-[print suppressions for errors detected]:enable:(yes no)' \ '--db-attach=-[start debugger when errors detected]:enable:(yes no)' \ '--db-command=-[specify command to start debugger]:command:_command_names -e' \ - '--input-fd=-[specify file descriptor for input]:file descriptor:_file_descriptors' return + '--input-fd=-[specify file descriptor for input]:file descriptor:_file_descriptors' \ + '--max-stackframe=-[assume stack switch for SP changes larger than specified number of bytes]:bytes' \ + return + +typeset -a tools if [[ -n $state ]]; then - _wanted tools exl 'valgrind tool' compadd ${=${${(f)$(_call_program \ - tools valgrind --tool= 21)}[(r)Available*,-1]}[2,-1]} return + # `valgrind --tool=` no longer works. + # The method
Bug#368390: zsh: Update for mpc completion
Package: zsh Version: 4.3.2-8 Severity: wishlist Tags: patch Hi! I should have sent these with the --no-status patch, but somehow missed it. Well, better late than never! This patch adds three commands added to the latest stable release of mpc (crop, stats, toggle). Actually I have added support for a couple of commands (dealing with output manipulation) for the current cvs version, hope that isn't too much of a problem :) Here's the patch: --- _mpc.orig 2006-05-22 00:26:24.991140600 +0530 +++ _mpc 2006-05-07 22:08:25.0 +0530 @@ -26,14 +26,19 @@ mpc_cmds=( add:add a song to the current playlist +crop:remove all songs except for the currently playing song del:remove a song from the current playlist play:start playing next:play the next song in the current playlist prev:play the previous song in the current playlist pause:pause the currently playing song +toggle:toggles Play/Pause, plays if stopped stop:stop the currently playing playlists seek:seek to the position specified in percent clear:clear the current playlist +outputs:show the current outputs +enable:enable a output +disable:disable a output shuffle:shuffle the current playlist move:move song in playlist playlist:print the current playlist @@ -49,7 +54,9 @@ search:search for a song crossfade:set and display crossfade settings update:scan music directory for updates +stats:display statistics about MPD version:report version of MPD +status:display MPD status ) if (( CURRENT == 1 )); then @@ -154,6 +161,13 @@ fi } +(( $+functions[_mpc_helper_outputs] )) || +_mpc_helper_outputs() { + local vals outline + vals=(${${${${(M)${(f)$(mpc outputs 2 /dev/null)}:#Output * \(*\) is (en|dis)abled}##Output }%%\) is (en|dis)abled}/ \(/:}) + _describe -t outputs output vals +} + _mpc_add() { _mpc_helper_files } @@ -170,6 +184,14 @@ _message floating point percent value } +_mpc_enable() { + _mpc_helper_outputs +} + +_mpc_disable() { + _mpc_helper_outputs +} + _mpc_move() { if (( $#words = 3 )); then _mpc_helper_songnumbers Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-beyond2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.5.0 Debian configuration management sy ii libc6 2.3.6-7GNU C Library: Shared libraries ii libncurses5 5.5-1.1Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-2 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#368390: zsh: Update for mpc completion
Hi! Ah well... one more bug in the original mpc completion! Don't know how long this had gone unnoticed. Single quotes with variables inside! Hopefully the last update for patching up _mpc completion.. --- _mpc.orig 2006-05-22 01:31:53.578904480 +0530 +++ _mpc 2006-05-22 01:31:02.348692656 +0530 @@ -4,15 +4,15 @@ # set this style to whatever --format string you want to use when # constructing the list of playlist entries -zstyle -s ':completion:${curcontext}:*' mpc-format-string MPC_FORMAT_STRING +zstyle -s :completion:${curcontext}:* mpc-format-string MPC_FORMAT_STRING foo=(--format ${(q)MPC_FORMAT_STRING:-%file%}) # set this style to the music_directory of mpd to get _files based completion # for commands like add -zstyle -s ':completion:${curcontext}:' mpd-music-directory MPD_MUSIC_DIR +zstyle -s :completion:${curcontext}: mpd-music-directory MPD_MUSIC_DIR # matcher used for playlist completion -zstyle -s ':completion:${curcontext}:' mpd-playlist-matcher \ +zstyle -s :completion:${curcontext}: mpd-playlist-matcher \ MPC_PLAYLIST_MATCHER : ${MPC_PLAYLIST_MATCHER:='m:{a-z}={A-Z} l:|=**'} @@ -26,14 +26,19 @@ mpc_cmds=( add:add a song to the current playlist +crop:remove all songs except for the currently playing song del:remove a song from the current playlist play:start playing next:play the next song in the current playlist prev:play the previous song in the current playlist pause:pause the currently playing song +toggle:toggles Play/Pause, plays if stopped stop:stop the currently playing playlists seek:seek to the position specified in percent clear:clear the current playlist +outputs:show the current outputs +enable:enable a output +disable:disable a output shuffle:shuffle the current playlist move:move song in playlist playlist:print the current playlist @@ -49,7 +54,9 @@ search:search for a song crossfade:set and display crossfade settings update:scan music directory for updates +stats:display statistics about MPD version:report version of MPD +status:display MPD status ) if (( CURRENT == 1 )); then @@ -154,6 +161,13 @@ fi } +(( $+functions[_mpc_helper_outputs] )) || +_mpc_helper_outputs() { + local vals outline + vals=(${${${${(M)${(f)$(mpc outputs 2 /dev/null)}:#Output * \(*\) is (en|dis)abled}##Output }%%\) is (en|dis)abled}/ \(/:}) + _describe -t outputs output vals +} + _mpc_add() { _mpc_helper_files } @@ -170,6 +184,14 @@ _message floating point percent value } +_mpc_enable() { + _mpc_helper_outputs +} + +_mpc_disable() { + _mpc_helper_outputs +} + _mpc_move() { if (( $#words = 3 )); then _mpc_helper_songnumbers Regards, Ramkumar. -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#368404: zsh: Canonicalizing completion alternatives for use in umount
Package: zsh Version: 4.3.2-8 Severity: wishlist Tags: patch Hi! A major trouble for me in umount completion has been that mountpoints completed are only the absolute paths given in mtab, when actually I could enter relative paths, and for that matter any path which canonicalizes to one of the absolute paths specified. Couldn't find any function which did this in zsh. So, I decided to write my own. This function takes a list of paths and completes them, allowing the user to also enter other paths which are equivalent to any of the paths provided. I have provided the function/style documentation with the source. Here's the function: #autoload # This completion function completes all paths given to it, and also tries to # offer completions which point to the same file as one of the paths given # (relative path when an absolute path is given, and vice versa; when ..'s are # present in the word to be completed, and some paths got from symlinks. # Usage: _canonical_paths [-A var] [-N] [-MJV12nfX] tag desc paths... # -A, if specified, takes the paths from the array variable specified. Paths can # also be specified on the command line as shown above. -N, if specified, # prevents canonicalizing the paths given before using them for completion, in # case they are already so. `tag' and `desc' arguments are well, obvious :) In # addition, the options -M, -J, -V, -1, -2, -n, -F, -X are passed to compadd. local __index typeset -a __gopts __opts zparseopts -D -a __gopts M: J: V: 1 2 n F: X: A:=__opts N=__opts : ${1:=canonical-paths} ${2:=path} __index=$__opts[(I)-A] (( $__index )) set -- $@ ${(P)__opts[__index+1]} local expl ret=1 tag=$1 desc=$2 shift 2 if (( ! $+commands[readlink] )); then _wanted $tag expl $desc compadd $__gopts $@ ret=0 return ret fi typeset -a matches files if (( $__opts[(I)-N] )); then files=($@) else for __index in $@; do files+=$(readlink -qf $__index) done fi _canonical_paths_add_paths () { local origpref=$1 expref rltrim curpref canpref subdir [[ $2 != add ]] matches=() expref=${~origpref} [[ $origpref == (|*/). ]] rltrim=. curpref=${${expref%$rltrim}:-./} canpref=$(readlink -qf $curpref) if [[ $? -eq 0 ]]; then [[ $curpref == */ $canpref == *[^/] ]] canpref+=/ canpref+=$rltrim [[ $expref == *[^/] $canpref == */ ]] origpref+=/ matches+=(${${(M)files:#$canpref*}/$canpref/$origpref}) fi for subdir in $expref?*(@); do _canonical_paths_add_paths ${subdir/$expref/$origpref} add done } local base=$PREFIX typeset -i blimit _canonical_paths_add_paths $base if [[ -z $base ]]; then _canonical_paths_add_paths / add elif [[ $base == ..(/.(|.))#(|/) ]]; then # This style controls how many parent directory links (..) to chase searching # for possible completions. The default is 8. Note that this chasing is # triggered only when the user enters atleast a .. and the path completed # contains only . or .. components. A value of 0 turns off .. link chasing # altogether. zstyle -s :completion:${curcontext}:$tag \ canonical-paths-back-limit blimit || blimit=8 if [[ $base != */ ]]; then [[ $base != *.. ]] base+=. base+=/ fi until [[ $base.. -ef $base || blimit -le 0 ]]; do base+=../ _canonical_paths_add_paths $base add blimit+=-1 done fi _wanted $tag expl $desc compadd $__gopts -Q -U -a matches ret=0 return ret Well, here's the patch to _mount which uses the above function. This patch also fixes a bug which altogether prevented option completion! (Do check if my fix is right, I am unable to understand why the check for _fs_any is being made in the first place, when all the _fs_* variables are local, and you can't optimize by initializing them only once per session). I also updated the linux section with whatever options that have come up since the last update. Also removed a few linux options which were of no use in the command line. Enough of the rant! Here's the patch: 43c43 local args deffs=iso9660 tmp typeops=-t _fs_any _nfs_access _fs_nfs _nfs_ufs \ --- local args deffs=iso9660 tmp typeops=-t _nfs_access _fs_nfs _nfs_ufs \ 52a53,54 local _fs_any 98c100 '(nosuid)suid[use suid and sgib bits]' --- '(nosuid)suid[use suid and sgid bits]' 213c215 '(nosuid)suid[use suid and sgib bits]' --- '(nosuid)suid[use suid and sgid bits]' 306,307c308 '(noauto)auto[can be mounted with -a]' '(rw suid dev exec auto nouser async)defaults[use default options]' --- '(rw suid dev exec async)defaults[use default options]' 309a311 '(nomand)mand[allow mandatory locks]' 311d312 '(auto)noauto[can only be mounted explicitly]' 313a315 (mand)nomand[don'tallow mandatory locks] 315d316 '(user)nouser[can only be mounted by root]' 319c320 '(nosuid)suid[use suid and sgib bits]' --- '(nosuid)suid[use suid and sgid bits]' 326a328,333 _fs_adfs=( 'uid[set owner of root]:user ID' 'gid[set group of
Bug#356227: usbmount: Remove hooks not run in the presence of HAL
Hi! I too have noticed the problem. However, the problem is not due to udev but due to hal, which precedes usbmount in /etc/udev/rules.d. The hal scriptlet calls hal-umount.sh, which umounts anything using the block device removed. A month seems to have passed since the original bug report - Do the developers have a solution? Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-archck2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages usbmount depends on: ii lockfile-progs0.1.10 Programs for locking and unlocking ii udev 0.088-2/dev/ and hotplug management daemo usbmount recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#361693: usbmount: Patch to automatically create mountpoints
Package: usbmount Version: 0.0.14 Severity: wishlist Just found it painful to have all the usbN directories, even when that many usb sticks may not be mounted. This patch adds an option MOUNTPOINT_GENERATE (off by default, so there is no change in the existing behaviour) which when set, reuses MOUNTPOINTS to be the prefix, and creates directories as and when needed, by suffixing them with an integer. The directory, if empty, is also unlinked on device removal (This however does not take effect in the current version, due to Bug #356227) Here is the patch: --- usbmount.distrib2005-07-08 22:21:02.0 +0530 +++ usbmount2006-04-09 20:30:01.0 +0530 @@ -15,7 +15,6 @@ set -e exec /dev/null 21 - # Log a string via the syslog facility. log() { @@ -35,6 +34,14 @@ return 1 } +test_mtpt() +{ +if test -d $1 ! grep -q ^[^ ][^ ]* *$1 /proc/mounts; then + return 0 +else + return 1 +fi +} # Test if /sbin/vol_id is executable. test -x /sbin/vol_id || { log err cannnot execute /sbin/vol_id; exit 1; } @@ -51,7 +58,6 @@ . /etc/usbmount/usbmount.conf fi - umask 022 if test $1 = add; then @@ -96,15 +102,27 @@ if in_list $fstype $FILESYSTEMS; then # Search an available mountpoint. - for v in $MOUNTPOINTS; do - if test -d $v \ -! grep -q ^[^ ][^ ]* *$v /proc/mounts; then - mountpoint=$v - log debug mountpoint $mountpoint is available for $DEVNAME - break - fi - done + if test $MOUNTPOINT_GENERATE = yes; then + ctr=0 + while true; do + v=$MOUNTPOINTS$ctr + test -e $v || mkdir $v || break + if test_mtpt $v; then + mountpoint=$v + break + fi + ctr=$(( $ctr + 1 )) + done + else + for v in $MOUNTPOINTS; do + if test_mtpt $v; then + mountpoint=$v + break + fi + done + fi if test -n $mountpoint; then + log debug mountpoint $mountpoint is available for $DEVNAME # Determine mount options. options= for v in $FS_MOUNTOPTIONS; do @@ -172,11 +190,17 @@ if test $DEVNAME = $device; then # If the mountpoint and filesystem type are maintained by # this script, unmount the filesystem. - if in_list $mountpoint $MOUNTPOINTS \ -in_list $fstype $FILESYSTEMS; then + if test $MOUNTPOINT_GENERATE = yes; then + test -z ${mountpoint##$MOUNTPOINTS[0-9]*} mttest=ok + else + in_list $mountpoint $MOUNTPOINTS mttest=ok + fi + if test $mttest = ok in_list $fstype $FILESYSTEMS; then log info executing command: umount -l $mountpoint umount -l $mountpoint - + if test $MOUNTPOINT_GENERATE = yes; then + rmdir $mountpoint 2 /dev/null + fi # Run hook scripts; ignore errors. export UM_DEVICE=$DEVNAME export UM_MOUNTPOINT=$mountpoint Here is my config file. I have also documented the new option: # Configuration file for the usbmount package, which mounts USB mass # storage devices when they are plugged in and unmounts them when they # are removed. # Set this to yes if you want mountpoints to be automatically generated based # on a given prefix followed by the smallest available positive integer. # MOUNTPOINTS specifies the prefix. For example, if /media/usb is specified, # the mountpoints used are usb0, usb1 etc. The directory is created if not # present. Further, if the directory is empty on device removal, it is removed # as well. MOUNTPOINT_GENERATE=yes # Mountpoints: When MOUNTPOINT_GENERATE is not set, these directories are # eligible as mointpoints for USB mass storage devices. A newly plugged in # device is mounted on the first directory in this list that exists and on # which nothing is mounted yet. When MOUNTPOINT_GENERATE is set, this option # specifies the prefix to be used. MOUNTPOINTS=/media/usb #MOUNTPOINTS=/media/usb0 /media/usb1 /media/usb2 /media/usb3 # /media/usb4 /media/usb5 /media/usb6 /media/usb7 # Filesystem types: USB mass storage devices are only mounted if they # contain a filesystem type which is in this list. # # WARNING! The vfat filesystem does not yet fully implement sync-mounting. # # If you include vfat in the list of filesystem types, you *MUST* make# # sure all data is written to the medium before you remove it (e.g. run the # # sync command in a terminal window). Otherwise, you
Bug#361693: Added the patch tag
tags 361693 + patch thanks Forgot to add the patch tag. Regards, Ramkumar. -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#360366: sshfs: Dangling absolute symlinks
Package: sshfs Version: 1.2-1 Severity: wishlist Currently, absolute symlinks in mounted shares do not make much sense, as they point to some location in the remote host which insn't the same in the mounted host. Can an option enable rewriting symlinks so that they point to something sensible. A problem I could envisage is the case when the symlink points to some location outside the mounted tree (like a symlink to /etc, when /foo/bar on the remote host is mounted). Some solutions I could think of are - 1. Of course, leave them unchanged and let them point to nonsense. 2. Expose them as real files, after dereferencing them at the remote host (I hope sftp can still access files outside the root of the mount point). We have to handle the cases when readlink or stat'ing of the dereferenced file results in an error (perhaps revert to behaviour 1?) Of course, you can make behaviour 2 optional again. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-archck2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages sshfs depends on: ii fuse-utils2.5.2-2Filesystem in USErspace (utilities ii libc6 2.3.6-3GNU C Library: Shared libraries an ii libfuse2 2.5.2-2Filesystem in USErspace library ii libglib2.0-0 2.10.1-2 The GLib library of C routines sshfs recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#359992: zsh: Enable use of IP addresses and multiple host files in _hosts
Package: zsh Version: 4.3.2-2 Severity: wishlist Tags: patch Hi! The current _hosts completion does not use IP addresses, and completes using host names alone. This patch optionally enables the inclusion of IP addresses by a boolean style (the default behaviour is unchanged). Further, currently only ~/.ssh/known_hosts file is read. Added /etc/ssh/known_hosts to this list, if present. Further, observing that any plain list of hostnames would anyway be parseable, and that ~`id -nu`/.ssh/known_hosts and not ~/.ssh/known_hosts might be readable under sudo environments, made the list of known host files customizable (defaulting to the two files initially specified). Here is the patch: --- _hosts 2006-03-30 05:00:08.0 +0530 +++ _hosts.new 2006-03-30 05:21:37.0 +0530 @@ -2,29 +2,52 @@ # avoid calling variable hosts, it's an obvious candidate for use in # zstyle -e '*' hosts 'reply=($hosts)' -local expl _hosts tmp +local expl _hosts tmp useip if ! zstyle -a :completion:${curcontext}:hosts hosts _hosts; then if (( $+_cache_hosts == 0 )); then # uniquify typeset -gUa _cache_hosts +local ipstrip='[:blank:]#[^[:blank:]]#' + +# This boolean style determines whether hosts completes IP addresses. The +# default is no (not using IP addresses). +zstyle -t :completion:${curcontext}:hosts use-ip useip=yes +[[ -n $useip ]] ipstrip= if (( ${+commands[getent]} )); then # pws: we were using the horrible : ${(A)...:=} syntax to assign # to _cache_hosts, overriding the typeset as well as being unreadable # and having obscure splitting behaviour. Why? We've just # tested _cache_hosts doesn't exist. - _cache_hosts=(${(s: :)${(ps:\t:)${(f)~~$(_call_program hosts getent hosts 2/dev/null)}##[:blank:]#[^[:blank:]]#}}) + _cache_hosts=(${(s: :)${(ps:\t:)${(f)~~$(_call_program hosts getent hosts 2/dev/null)}##${~ipstrip}}}) else - _cache_hosts=(${(s: :)${(ps:\t:)${${(f)~~$(/etc/hosts)}%%\#*}##[:blank:]#[^[:blank:]]#}}) + _cache_hosts=(${(s: :)${(ps:\t:)${${(f)~~$(/etc/hosts)}%%\#*}##${~ipstrip}}}) if (( ${+commands[ypcat]} )) tmp=$(_call_program hosts ypcat hosts.byname 2/dev/null); then -_cache_hosts+=( ${=${(f)tmp}##[:blank:]#[^[:blank:]]#} ) # If you use YP +_cache_hosts+=( ${=${(f)tmp}##${~ipstrip}} ) # If you use YP fi fi -if [[ -r ~/.ssh/known_hosts ]]; then - _cache_hosts+=(${${${(u)${(f)$(~/.ssh/known_hosts)}%%[ ,|#]*}:#(#s)[0-9]##.[0-9]##.[0-9]##.[0-9]##(#e)}:#(#s)[0-9a-f:]##(#e)}) -fi +local khostfile +typeset -Ua khostfiles + +# This style specifies a list of files to look up for host names and IP +# addresses, if asked to. The files can contain comma separated host names +# and IP's, and any text on a line after the first whitespace,| or # is +# discarded. ssh's known_hosts files are thus supported. This style defaults +# to the list /etc/ssh/ssh_known_hosts, ~/.ssh/known_hosts +zstyle -a :completion:${curcontext}:hosts known-hosts-files khostfiles || +khostfiles=(/etc/ssh/ssh_known_hosts ~/.ssh/known_hosts) + +for khostfile in $khostfiles; do + if [[ -r $khostfile ]]; then +khosts=(${(s:,:)${(j:,:)${(u)${(f)$($khostfile)}%%[ |#]*}}}) +if [[ -z $useip ]]; then + khosts=(${${khosts:#(#s)[0-9]##.[0-9]##.[0-9]##.[0-9]##(#e)}:#(#s)[0-9a-f:]##(#e)}) +fi +_cache_hosts+=($khosts) + fi +done fi _hosts=( [EMAIL PROTECTED] ) Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-archck2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy ii libc6 2.3.6-3GNU C Library: Shared libraries an ii libncurses5 5.5-1 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-1.1Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#353943: [Pkg-sysvinit-devel] Processed: wontfix
Thomas Hood [EMAIL PROTECTED] writes: Now that I understand it, the patch as provided by R. Ramkumar looks OK to me. (When domount's first argument is bind, the function does a bind mount.) Not completely OK though :) , as I mentioned in the mail in which I sent the patch. `mountpoint` seems to have problems recognizing bind mounts, is this the intended behaviour, or is it a bug? Ramkumar. -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#356676: zsh: Completion for analyseplugin (ladspa)
Package: zsh Version: 4.3.0-dev-5-1 Severity: wishlist Tags: patch Just made a completion function for analyseplugin, a helper tool in the ladspa package. Hope you find it useful :) #compdef analyseplugin local expl context state line nopts ret=1 typeset -A opt_args _arguments \ '-l[Gives a brief listing (one line per plugin)]' \ '(-)1:plugin file:-pfile' \ '(-)2::plugin label:-plabel' ret=0 case $state in pfile) _wanted plugin-files expl 'plugin file' compadd \ ${~${^${${(f)$(_call_program ladspa-plugins listplugins 2 /dev/null)}:#[[:space:]]*}/%:/(:t:r)}} \ return ;; plabel) typeset -a plabel nopts=(${words:#-*}) plabel=(${${(f)$($nopts[1] -l $nopts[2] 2 /dev/null)}/[[:space:]]##/:}) _describe -t plugin-label 'plugin label' plabel return ;; esac return ret Regards, Ramkumar -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-archck2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.4.71 Debian configuration management sy ii libc6 2.3.5-13 GNU C Library: Shared libraries an ii libncurses5 5.5-1 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-1.1Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#354939: openssh-client: Customizable ssh password prompt
Package: openssh-client Version: 1:4.2p1-5 Severity: wishlist When ssh is used with an GUI program like ssh-askpass for password information, it really leaves the user clueless (especially with something like ssh-askpass-fullscreen which grabs the keyboard and the screen) with just a prompt Password and a text entry :) Another use case: take sshfs, and asking it to reconnect every time the connection is lost, makes it impossible to use any other means but trusted keys (not possible many a time) or ssh-askpass. Due to network trouble, the connection gets lost and you suddenly get a full screen asking for Password... well, what was that?! :) I could think of two solutions: 1. Offer to provide more information especially when using a password request program (the command line/[EMAIL PROTECTED] to which it is connecting?) 2. Give a -o PasswordPrompt which the parent program can use. An even better solution would be to allow a PasswordPrompt with % escapes to fill in with the [EMAIL PROTECTED], options etc. That way, I can use a single command line with many connections to many places. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-archck2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages openssh-client depends on: ii adduser 3.80 Add and remove users and groups ii debconf [debc 1.4.70 Debian configuration management sy ii dpkg 1.13.13package maintenance system for Deb ii libc6 2.3.5-13 GNU C Library: Shared libraries an ii libcomerr21.38+1.39-WIP-2005.12.31-1 common error description library ii libedit2 2.9.cvs.20050518-2.2 BSD editline and history libraries ii libkrb53 1.4.3-5MIT Kerberos runtime libraries ii libncurses5 5.5-1 Shared libraries for terminal hand ii libselinux1 1.28-4 SELinux shared libraries ii libssl0.9.8 0.9.8a-7 SSL shared libraries ii zlib1g1:1.2.3-9 compression library - runtime openssh-client recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#354939: Acknowledgement (openssh-client: Customizable ssh password prompt)
Hi! Just noticed that this bug is very similar to #343267. Sorry to have noticed it earlier. I would still like to know if the local ssh client can add to the prompt offered by the remote pam module using one of the ways I had described earlier. Regards, Ramkumar. -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#353943: initscripts: support for bind mounts in domount
Package: initscripts Version: 2.86.ds1-12 Severity: wishlist It would be good if domount supports bind mounts as well. Currently, domount looks at /proc/filesystems, and since bind mounts do not have an entry over there, the call fails. Bind mounts are useful, for example, when you want to share a tmpfs instance between /tmp and /dev/shm. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.15-archck2 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages initscripts depends on: ii debianutils 2.15.2 Miscellaneous utilities specific t ii e2fsprogs 1.38+1.39-WIP-2005.12.31-1 ext2 file system utilities and lib ii libc6 2.3.5-13 GNU C Library: Shared libraries an ii lsb-base 3.0-15 Linux Standard Base 3.0 init scrip ii mount 2.12r-6Tools for mounting and manipulatin initscripts recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#338103: Does anyone have a solution for this bug?
Hi! I am facing the same problem. Does anyone know the solution for this? My make-kpkg fails as: Please ignore the warning about overriding and ignoring targets above. These are harmless. They are only invoked in a part of the process that tries to snarf variable values for the conf.vars file. make[3]: *** No rule to make target `debian_conf_var'. Stop. make[2]: *** [debian_conf_var] Error 2 make[1]: *** [debian_conf_var] Error 2 make: *** [conf.vars] Error 2 Apparently, kernel_version.mk includes the Makefile in the current directory, thinking it is the kernel makefile. But in this case, it is actually a wrapper around the makefile in the source tree, with a %:: implicit rule to redirect all targets. Trouble is, when this is included by kernel_version.mk, even its targets (debian_conf_var) gets directed to the kernel makefile. Regards, Ramkumar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#340065: zsh: Using -C arguments to make for completion
Package: zsh Version: 4.2.5-22 Severity: wishlist Tags: patch make completion currently doesn't use -C arguments passed on the current command line to decide the completion of -[CfoW] as well as to choose the Makefile to use for getting the targets. This patch incorporates this behaviour. --- _make.orig 2005-11-20 00:40:19.0 +0530 +++ _make 2005-11-20 01:01:10.0 +0530 @@ -92,6 +92,28 @@ done } +findBasedir () { + local file index basedir + basedir=$PWD + for ((index=0; index$#@; index++)); do +if [[ [EMAIL PROTECTED] = -C ]]; then + [EMAIL PROTECTED]; + if [[ -z $file ]]; then + # make returns with an error if an empty arg is given + # even if the concatenated path is a valid directory + return + elif [[ $file = /* ]]; then + # Absolute path, replace base directory + basedir=$file + else + # Relative, concatenate path + basedir=$basedir/$file + fi +fi + done + print -- $basedir +} + _pick_variant -r is_gnu gnu=GNU unix -v -f if [[ $is_gnu = gnu ]]; then @@ -100,21 +122,27 @@ incl=.include fi if [[ $prev = -[CI] ]]; then - _files -/ + _files -W ${(q)$(findBasedir ${words[1,CURRENT-1]})} -/ elif [[ $prev = -[foW] ]]; then - _files + _files -W ${(q)$(findBasedir $words)} else file=$words[(I)-f] if (( file )); then -file=$words[file+1] - elif [[ -e Makefile ]]; then -file=Makefile - elif [[ -e makefile ]]; then -file=makefile - elif [[ $is_gnu = gnu -e GNUmakefile ]]; then -file=GNUmakefile +file=${~words[file+1]} +[[ $file = [^/]* ]] file=${(q)$(findBasedir $words)}/$file +[[ -r $file ]] || file= else -file='' +local basedir +basedir=${(q)$(findBasedir $words)} +if [[ $is_gnu = gnu -r $basedir/GNUmakefile ]]; then + file=$basedir/GNUmakefile +elif [[ -r $basedir/makefile ]]; then + file=$basedir/makefile +elif [[ -r $basedir/Makefile ]]; then + file=$basedir/Makefile +else + file='' +fi fi if [[ -n $file ]] _tags targets; then Since I am new to zsh scripting, I am unsure of the completion policy while dealing with the values of arguments passed when deciding the completion. Currently I only use the ${~word} to evaluate the argument to -C. Is it considered safe to expand constructs like .. -C $(ls) ... ? I thought I could atleast expand constructs like .. -C ~/* .. by using files=(${~word}), followed by using file=$file[1], but I end up with an error for $() constructs (numeric argument expected). It would be good if someone could indicate the cause of this error, and whether it is conventional to expand globs to use it for further completion. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.14-archck1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libncurses5 5.4-9 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-1.0.1 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#339635: zsh: zsh-mime-handler used even in the case of executable files
Package: zsh Version: 4.2.5-22 Severity: wishlist Tags: patch Some scripts end with a .sh (a common example being autogen.sh). For such scripts, zsh-mime-handler ends up executing the mime action for the suffix sh, which sometimes happens to be to just display the file. This, I guess is due to alias -s, which blindly maps in case the suffix matches. To counter this, it would be good if zsh-mime-handler uses a style to take a set of patterns that would be executed as-is, despite having a suffix found in the mime configuration. I am enclosing a patch for the same. I have made the set of executable files as the default for this style, I hope this deviation from the original behaviour is acceptable. --- zsh-mime-handler.orig 2005-11-17 23:21:14.0 +0530 +++ zsh-mime-handler2005-11-17 23:31:37.0 +0530 @@ -45,6 +45,22 @@ context=:mime:.${suffix}: local handler flags no_sh no_bg +local -a exec_asis + +# Set to a list of patterns which are ignored and executed as they are, +# despite being called for interpretation by the mime handler. +# Defaults to executable files, which ensures that they are executed as +# they are, even if they have a suffix. +zstyle -a $context execute-as-is exec_asis || exec_asis=('*(*)') + +local pattern + +for pattern in $exec_asis; do +if [[ $1 = ${~pattern} ]]; then + $@ + return 0 +fi +done zstyle -s $context handler handler || handler=${zsh_mime_handlers[$suffix]} Hope this helps :) Regards, Ramkumar -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.14-archck1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libncurses5 5.4-9 Shared libraries for terminal hand Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.4-1.0.1 Perl 5 Compatible Regular Expressi -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code
Bug#339566: d4x: Number of log panels not updated on changing number of connections
Package: d4x Version: 2.5.5-1 Severity: normal When the number of connections for the download is changed either by stop and setting the properties or by using 'Pause after adding', the number of log panels is not updated unless the selected download is changed to something else and we reselect this download. This is a big problem when there is only one download in the queue. The only workaround I have now is to start a dummy download, and cancel it. Regards, Ramkumar -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.14-archck1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii libao20.8.6-1.1 Cross Platform Audio Output Librar ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-2 GCC support library ii libglib2.0-0 2.8.3-1The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libpango1.0-0 1.8.2-3Layout and rendering of internatio ii libssl0.9.7 0.9.7g-5 SSL shared libraries ii libstdc++64.0.2-2The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m d4x recommends no packages. -- no debconf information -- WARN_(accel)(msg null; should hang here to be win compatible\n); -- WINE source code -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#336058: d4x: d4x aborts on ftp urls
Package: d4x Version: 2.5.5-1 Severity: normal d4x aborts on adding ftp urls with the following message on the command line with the following message: terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid zsh: abort d4x There is no problem with http urls. No other options were changed in the 'Add download' dialog. I am attaching the config file with this mail. max_log 100 max_main_log 1000 max_retries 100 timeout 300 break_timeout 1 optimize 1 ftp_passive_mode 1 retry_if_noreget 1 ftp_dirontop 0 sleeptime 1 ihate_etag 0 savepath /home/ramk/downloads/ xposition 78 yposition 0 windowwidth 944 windowheight 747 clist_height 205 clist_width 300 tree_width 138 ftp_proxy_host 10.65.0.34 ftp_proxy_user ftp_proxy_pass ftp_proxy_type 1 http_proxy_host 10.65.0.34 http_proxy_user http_proxy_pass ftp_proxy_port 3128 http_proxy_port 3128 proxy_no_cache 0 need_pass_http_proxy 0 need_pass_ftp_proxy 0 use_proxy_for_ftp 1 use_proxy_for_http 1 save_main_log 0 append_rewrite_log 0 save_log_path ftp_permisions 0 save_list 1 interval_save_list 1 use_mainwin_title 1 use_mainwin_titleII 0 get_date_from_server 0 need_dialog_for_dnd 1 window_lower 0 confirm_exit 0 confirm_delete 0 confirm_delete_all 0 confirm_delete_completed 0 confirm_delete_fataled 0 confirm_opening_many 1 speed_limit 3 speed_limit_one 1024 speed_limit_two 10240 graph_order 1 ftp_recurse_depth 0 http_recurse_depth 1 default_name index.html scroll_mainwin_title 0 default_permisions 644 rollback 0 dnd_trash 0 dnd_trash_x 20 dnd_trash_y 30 exit_complete 0 exit_complete_time 5 main_log_detailed 1 user_agent %version graph_back 0xff graph_fore1 0x55 graph_fore2 0xaa graph_pick 0x00 graph_mode 0 exec_when_quit remember_pass 1 clipboard_monitor 1 clipboard_skip_or_catch 1 skip_in_clipboard html htm php3 gif jpg png catch_in_clipboard zip .gz rar arj exe rpm .bz2 deb tgz mp3 avi wmv mpg wma buttons_flags 0xfff main_log_file_limit 0 fixed_log_font 1 allow_force_run 1 ftp_dir_in_log 0 dont_send_quit 1 follow_link 0 http_leave_server 0 http_leave_dir 0 sleep_before_complete 0 write_description 0 check_time 0 pause_after_adding 0 search_ping_times 1 search_engines 100 search_perserver 10 search_entries 20 change_links 0 anonymous_pass andyetitmoves AT google's mail service DOT com socks_port 0 progress_mode 0 enable_sounds 0 esd_sound 0 sound_complete /usr/share/d4x/sounds/complete.wav sound_fail /usr/share/d4x/sounds/fail.wav sound_add /usr/share/d4x/sounds/add.wav sound_dnd_drop /usr/share/d4x/sounds/dnd.wav sound_queue_finish /usr/share/d4x/sounds/finish.wav sound_startup /usr/share/d4x/sounds/startup.wav clist_shift 0.00 default_filter donotset_winpos 0 hide_main_window 0 theme_file glass2 use_theme 1 themes_dir /usr/share/d4x/themes/ use_default_cfg 0 number_of_parts 10 graph_on_basket 0 speed_on_basket 0 dblclk_act 1 I tried this with some 2-3 arbitrary ftp urls. Seems to crash with all of them. Here's one of them: ftp://ftp.iitm.ac.in/robots.txt Regards, Ramkumar -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13.4-archck8 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii libao20.8.6-1.1 Cross Platform Audio Output Librar ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-2 GCC support library ii libglib2.0-0 2.8.3-1The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libpango1.0-0 1.8.2-3Layout and rendering of internatio ii libssl0.9.7 0.9.7g-5 SSL shared libraries ii libstdc++64.0.2-2The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m d4x recommends no packages. -- no debconf information -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post
Bug#335688: gkrellm: Krell in the swap meter after subtracting SwapCached
Package: gkrellm Version: 2.2.7-2 Severity: wishlist Linux systems (I don't know about others) many a times have pages in both the swap and the main memory. This is indicated by the SwapCached entry in /proc/meminfo. It would be great if you can show a krell in the swap chart indicating (SwapUsed - SwapCached), as that is a good indicator of how much of `performance affecting' data is in the swap, as SwapCached pages are anyway taken from main memory. Especially in some kernels like the Con Kolivas ones, the SwapCached feature is aggressively used (Swap Prefetching) and hence, such a feature would be really useful. Regards, Ramkumar -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13.4-archck8 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages gkrellm depends on: ii gkrellm-common2.2.7-2multiple stacked system monitors: ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcrypt11 1.2.1-4LGPL Crypto library - runtime libr ii libglib2.0-0 2.8.3-1The GLib library of C routines ii libgnutls11 1.0.16-13.1GNU TLS library - runtime library ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libice6 6.8.2.dfsg.1-7 Inter-Client Exchange library ii libpango1.0-0 1.8.2-3Layout and rendering of internatio ii libsm66.8.2.dfsg.1-7 X Window System Session Management ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m gkrellm recommends no packages. -- no debconf information -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#274588: Has this bug been forgotten? :(
Hi! Just wanted to know if a fix is now known for this issue. Even the latest release (0.9.7-1) seems to have this problem. Regards, Ramkumar -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335481: zsh: zsh/sched waits for next return to prompt even with NOTIFY set
Package: zsh Version: 4.2.5-20 Severity: normal The sched builting provided by the zsh/sched module seems to execute a scheduled command only when an enter is pressed after the time specified has elapsed/arrived, much like how mail notification occurs. This makes the command useless when the user wants to schedule and leave the shell idle, and start using it only after the time for which the command is scheduled. I don't know if this is a bug or it is the intended behaviour. If it is intended, I could suggest a few alternatives that would add this feature. 1. Execute as soon as the time arrives (maybe in the background), much like how job exit notification works with the NOTIFY option works. May be sched can reuse this option or have an option of its own. Or even better, perhaps one can indicate the desired behaviour on a per-item basis, by a flag, when adding an item. 2. (Less desirable) Have a flag to sched/another builtin which synchronously waits for the specified sched item/next N sched items/sched items within a certain time frame. sched is great especially when it is an overkill to use something like atd. Intuitively, I could guess without seeing the source that perhaps the existing behaviour exists because it is much neater to add a postcmd hook than to maybe register a sigalarm. Even if this is the case, I feel these changes will greatly increase the functionality of the builtin. Regards, Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13.4-archck8 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages zsh depends on: ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libncurses5 5.4-9 Shared libraries for terminal hand ii passwd1:4.0.12-6 change and administer password and Versions of packages zsh recommends: ii libcap1 1:1.10-14 support for getting/setting POSIX. ii libpcre3 6.3-1 Perl 5 Compatible Regular Expressi -- no debconf information -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335190: zsh: Enhancements to zsh-mime-handler
Package: zsh Version: 4.2.5-20 Severity: wishlist Tags: patch Just felt that there is much scope for customization in zsh-mime-{handler,setup}. I have patched the files for the following enhancements (thought that the additions were too small to merit reporting them individually, so I am putting them together): 1. zsh-mime-setup: A mechanism for resolving conflicts when there are multiple entries in the mailcap files. Rather than using mailcap.order, it provides for generic mechanisms like matching flags for needsterminal and giving them priority, using the priority flag in the mailcap entry etc. 2. zsh-mime-handler: An option to prevent use of `eval' instead of `sh -c' for complex command patterns. I know these can possibly break if sh compatibility is assumed, but for those reasonably confident, this can save a new process spawn. 3. zsh-mime-handler: An option to never background the spawned processes. I have documented the changes in the patch. The default behaviour remains the same with the patch. These features need to be explicitly activated using zstyle. I am new to zsh scripting. So, it's very much possible that I've messed up things. Please bear with me :) Ramkumar. diff -Naur orig/zsh-mime-handler new/zsh-mime-handler --- orig/zsh-mime-handler 2005-10-22 00:25:38.0 +0530 +++ new/zsh-mime-handler2005-10-22 18:07:52.0 +0530 @@ -44,13 +44,22 @@ suffix=$match[1] context=:mime:.${suffix}: -local handler flags +local handler flags no_sh no_bg zstyle -s $context handler handler || handler=${zsh_mime_handlers[$suffix]} zstyle -s $context flags flags || flags=${zsh_mime_flags[$suffix]} +# Set to yes if we use eval instead of sh -c for complicated mailcap lines +# Can possibly break some mailcap entries which expect sh compatibility, +# is faster, as a new process is not spawned. +zstyle -T $context current-shell no_sh=yes + +# Set to yes if the process shouldn't be backgrounded even if it doesn't need a +# terminal and display is set. +zstyle -T $context never-background no_bg=yes + local -a files local hasmeta stdin @@ -82,7 +91,11 @@ files=(${(q)argv}) zformat -f command $handler s:$files fi -execargs=(sh -c $command) +if [[ $no_sh = yes ]]; then + execargs=(eval $command) +else + execargs=(sh -c $command) +fi else # Simple command, one filename. # Split and add the file without extra quoting, @@ -95,7 +108,7 @@ else # If there's no %s, the input is supposed to come from stdin. stdin=1 - if [[ -n $hasmeta ]]; then + if [[ -n $hasmeta $no_sh != yes ]]; then execargs=(sh -c $handler) else execargs=(${=handler}) @@ -113,7 +126,7 @@ else $execargs | eval ${PAGER:-more} fi -elif [[ $flags = *needsterminal* || -z $DISPLAY ]]; then +elif [[ $no_bg = yes || $flags = *needsterminal* || -z $DISPLAY ]]; then # Needs a terminal, so run synchronously. # Obviously, if $DISPLAY is empty but the handler needs a # GUI we are in trouble anyway. However, it's possible for diff -Naur orig/zsh-mime-setup new/zsh-mime-setup --- orig/zsh-mime-setup 2005-10-22 00:25:38.0 +0530 +++ new/zsh-mime-setup 2005-10-22 18:07:52.0 +0530 @@ -157,10 +157,39 @@ unfunction mime-setup-add-type /dev/null } +local -a pats_prio o_prios +local o_overwrite sentinel +typeset -A type_prio_flags_map type_prio_src_map type_prio_mprio_map +integer src_id prio mprio + +# A list of keywords indicating the methods used to break ties amongst multiple +# entries. The following keywords are accepted: +# files: The order of files read: Entries from files read earlier are preferred +# (The default value of the variable is a list with this keyword alone) +# priority: The priority flag is matched in the entry. Can be a value from 0 to +# 9. The default priority is 5. Higher priorities are preferred. +# flags: See the mailcap-prio-flags option +# place: Always overrides. Useful for specifying that entries read later are +# preferred. +# +# As the program reads mailcap entries, if it encounters a duplicate entry, each +# of the keywords in the list are checked to see if the new entry can override +# the existing entry. If none of the keywords are able to decide whether the new +# entry should be preferred to the older one, the new entry is discarded. +zstyle -a :mime: mailcap-priorities o_prios || o_prios=(files) + +# This style is used as an argument for the flags test in mailcap-priorities. +# This is a list of patterns, each of which is tested against the flags for the +# mailcap entry. An match with a pattern ahead in the list is preferred as +# opposed to a match later in the list. An unmatched item is least preferred. +zstyle -a :mime: mailcap-prio-flags pats_prio + # Loop through files to find handlers for types. +((src_id = 0)) for file in $cap_files; do [[ -r $file ]] || continue + ((src_id = src_id + 1)) # Oh, great. We need to
Bug#334260: d4x: Files not getting renamed without leading .
Package: d4x Version: 2.5.5-1 Severity: normal Files don't seem to get renamed without the leading . on completion of downloads. This seems to be a problem only after the latest upgrade of d4x (2.5.4-1 - 2.5.5-1). The problem occurs even when the default config is used with the download. Here's the d4x config: max_log 100 max_main_log 1000 max_retries 100 timeout 300 break_timeout 1 optimize 1 ftp_passive_mode 1 retry_if_noreget 1 ftp_dirontop 0 sleeptime 1 ihate_etag 0 savepath /home/ramk/downloads/ xposition 78 yposition 0 windowwidth 944 windowheight 747 clist_height 205 clist_width 300 tree_width 138 ftp_proxy_host 10.65.0.34 ftp_proxy_user ftp_proxy_pass ftp_proxy_type 1 http_proxy_host 10.65.0.34 http_proxy_user http_proxy_pass ftp_proxy_port 3128 http_proxy_port 3128 proxy_no_cache 0 need_pass_http_proxy 0 need_pass_ftp_proxy 0 use_proxy_for_ftp 1 use_proxy_for_http 1 save_main_log 0 append_rewrite_log 0 save_log_path ftp_permisions 0 save_list 1 interval_save_list 1 use_mainwin_title 1 use_mainwin_titleII 0 get_date_from_server 0 need_dialog_for_dnd 1 window_lower 0 confirm_exit 0 confirm_delete 0 confirm_delete_all 0 confirm_delete_completed 0 confirm_delete_fataled 0 confirm_opening_many 1 speed_limit 3 speed_limit_one 1024 speed_limit_two 10240 graph_order 1 ftp_recurse_depth 0 http_recurse_depth 1 default_name index.html scroll_mainwin_title 0 default_permisions 644 rollback 0 dnd_trash 0 dnd_trash_x 20 dnd_trash_y 30 exit_complete 0 exit_complete_time 5 main_log_detailed 1 user_agent %version graph_back 0xff graph_fore1 0x55 graph_fore2 0xaa graph_pick 0x00 graph_mode 0 exec_when_quit remember_pass 1 clipboard_monitor 1 clipboard_skip_or_catch 1 skip_in_clipboard html htm php3 gif jpg png catch_in_clipboard zip .gz rar arj exe rpm .bz2 deb tgz mp3 avi wmv mpg wma buttons_flags 0xfff main_log_file_limit 0 fixed_log_font 1 allow_force_run 1 ftp_dir_in_log 0 dont_send_quit 1 follow_link 0 http_leave_server 0 http_leave_dir 0 sleep_before_complete 0 write_description 0 check_time 0 pause_after_adding 0 search_ping_times 1 search_engines 100 search_perserver 10 search_entries 20 change_links 0 anonymous_pass andyetitmoves AT google's mail service DOT com socks_port 0 progress_mode 0 enable_sounds 0 esd_sound 0 sound_complete /usr/share/d4x/sounds/complete.wav sound_fail /usr/share/d4x/sounds/fail.wav sound_add /usr/share/d4x/sounds/add.wav sound_dnd_drop /usr/share/d4x/sounds/dnd.wav sound_queue_finish /usr/share/d4x/sounds/finish.wav sound_startup /usr/share/d4x/sounds/startup.wav clist_shift 0.00 default_filter donotset_winpos 0 hide_main_window 0 theme_file glass2 use_theme 1 themes_dir /usr/share/d4x/themes/ use_default_cfg 0 number_of_parts 10 graph_on_basket 0 speed_on_basket 0 dblclk_act 1 ** nt config ends ** -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii libao20.8.6-1.1 Cross Platform Audio Output Librar ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-2 GCC support library ii libglib2.0-0 2.8.1-1The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libpango1.0-0 1.8.2-2Layout and rendering of internatio ii libssl0.9.7 0.9.7g-2 SSL shared libraries ii libstdc++64.0.2-2The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m d4x recommends no packages. -- no debconf information -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#334265: d4x: Better support for multiple proxies
Package: d4x Version: 2.5.5-1 Severity: wishlist Many users, including me, use d4x using multiple proxies. In such cases, it is desirable that different connections of the same download run under different proxies, for two reasons: 1. Load is evenly distributed, especially when a single download is running. 2. Many sites restrict downloads to some N connection per IP If it is not possible to specify a proxy for each connection (By say, a properties page for each connection), given the details of multiple proxies, we can atleast specify that for each download, the connections should be made to each proxy according to an user specified ratio (in a round robin fashion). Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii libao20.8.6-1.1 Cross Platform Audio Output Librar ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-2 GCC support library ii libglib2.0-0 2.8.1-1The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libpango1.0-0 1.8.2-2Layout and rendering of internatio ii libssl0.9.7 0.9.7g-2 SSL shared libraries ii libstdc++64.0.2-2The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m d4x recommends no packages. -- no debconf information -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#334270: d4x: Need for 'Maximum active connections'
Package: d4x Version: 2.5.5-1 Severity: wishlist Currently, d4x offers an option to limit the number of downloads in a queue. It would be better if it be augmented by a limit for the number of connections, as the latter seems to be a better indicator of the resources used by d4x. Further, It would be good to add an option to make these limits apply to the entire queue recursively (including the sub queues). Currently, once we reach a limit, downloads are still allowed for sub queues. In another feature request (Debian Bug#334265), I had asked for support for multiple proxies. It would be great if you could get such limits per proxy configuration, for each proxy. This will enable users to specify the maximum connections each proxy allows per IP. Ramkumar. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii libao20.8.6-1.1 Cross Platform Audio Output Librar ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-2 GCC support library ii libglib2.0-0 2.8.1-1The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libpango1.0-0 1.8.2-2Layout and rendering of internatio ii libssl0.9.7 0.9.7g-2 SSL shared libraries ii libstdc++64.0.2-2The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m d4x recommends no packages. -- no debconf information -- I dunno, I hear Microsoft has an app that will make Windows run pretty damned fast. I believe they called it FDISK. --from a Slashdot post -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#333118: gcc-4.0: Segfaulting code generated for gtkboard-0.11pre0
Package: gcc-4.0 Version: 4.0.1-2 Severity: normal gcc seems to generate incorrect code for gtkboard-0.11pre0. Seems to occur with many combinations of flags under -O or greater (as well as without any) and seems to be independent of optimization level. Please note that the source doesnt compile initially (due to a static redeclaration of an extern, that's easy to patch by removing the static qualifier) and also when -O0 is passed (not able to find out the reason for that, so it might be possible that once that is fixed, this bug might manifest for -O0 as well). Please note that there is no problem with gcc-3.3 (even with the static qualifier removal), so this is likely to be a problem with gcc-4.0, rather than the package. Reproducing: CFLAGS=-ggdb3 -O CPPFLAGS= LDFLAGS= ./configure make gdb src/gtkboard (gdb) run Starting program: /home/ramk/install/gtkboard-0.11pre0/src/gtkboard [Thread debugging using libthread_db enabled] [New Thread -1209157952 (LWP 22549)] Unable to open audio: No available audio device // Select for eg, in the menu, Game - Select Game - Infiltrate Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208924480 (LWP 22566)] 0x080995e7 in C.182.7537 () (gdb) bt #0 0x080995e7 in C.182.7537 () #1 0xbfa489ac in ?? () #2 0x4120a728 in ?? () from /usr/lib/libgobject-2.0.so.0 #3 0xbfa48738 in ?? () #4 0x4194023c in gtk_item_factory_get_type () from /usr/lib/libgtk-x11-2.0.so.0 Previous frame inner to this frame (corrupt stack?) (gdb) The name of the function makes my suspicions of a compiler bug greater. Here are the how the dependencies of the compiled gtkboard were satisfied, in case it is some ABI problem with the loaded libraries... ii libatk1.0-0 1.10.1-2The ATK accessibility toolkit ii libatk1.0-dev 1.10.1-2Development files for the ATK accessibility toolkit ii libglib2.0-02.8.1-1 The GLib library of C routines ii libglib2.0-dev 2.8.1-1 Development files for the GLib library ii libgtk2.0-0 2.6.10-1The GTK+ graphical user interface library ii libgtk2.0-dev 2.6.10-1Development files for the GTK+ library ii libpango1.0-0 1.8.2-2 Layout and rendering of internationalized text ii libpango1.0-dev 1.8.2-2 Development files for the Pango ii libsdl-mixer1.2 1.2.6-1 mixer library for Simple DirectMedia Layer 1.2 ii libsdl-mixer1.2-dev 1.2.6-1 development files for SDL1.2 mixer library ii libsdl1.2debian 1.2.7+1.2.8cvs20041007- Simple DirectMedia Layer -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages gcc-4.0 depends on: ii binutils 2.16.1-2 The GNU assembler, linker and bina ii cpp-4.0 4.0.1-2The GNU C preprocessor ii gcc-4.0-base 4.0.1-2The GNU Compiler Collection (base ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.1-2 GCC support library Versions of packages gcc-4.0 recommends: ii libc6-dev 2.3.5-6GNU C Library: Development Librari ii libmudflap0-dev 4.0.1-2GCC mudflap support libraries (dev -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#333119: gcc-4.0: Segfaulting code generated for gtkboard-0.11pre0
Package: gcc-4.0 Version: 4.0.1-2 Severity: serious gcc seems to generate incorrect code for gtkboard-0.11pre0. Seems to occur with many combinations of flags under -O or greater (as well as without any) and seems to be independent of optimization level. Please note that the source doesnt compile initially (due to a static redeclaration of an extern, that's easy to patch by removing the static qualifier) and also when -O0 is passed (not able to find out the reason for that, so it might be possible that once that is fixed, this bug might manifest for -O0 as well). Please note that there is no problem with gcc-3.3 (even with the static qualifier removal), so this is likely to be a problem with gcc-4.0, rather than the package. Reproducing: CFLAGS=-ggdb3 -O CPPFLAGS= LDFLAGS= ./configure make gdb src/gtkboard (gdb) run Starting program: /home/ramk/install/gtkboard-0.11pre0/src/gtkboard [Thread debugging using libthread_db enabled] [New Thread -1209157952 (LWP 22549)] Unable to open audio: No available audio device // Select for eg, in the menu, Game - Select Game - Infiltrate Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208924480 (LWP 22566)] 0x080995e7 in C.182.7537 () (gdb) bt #0 0x080995e7 in C.182.7537 () #1 0xbfa489ac in ?? () #2 0x4120a728 in ?? () from /usr/lib/libgobject-2.0.so.0 #3 0xbfa48738 in ?? () #4 0x4194023c in gtk_item_factory_get_type () from /usr/lib/libgtk-x11-2.0.so.0 Previous frame inner to this frame (corrupt stack?) (gdb) The name of the function makes my suspicions of a compiler bug greater. Here are the how the dependencies of the compiled gtkboard were satisfied, in case it is some ABI problem with the loaded libraries... ii libatk1.0-0 1.10.1-2The ATK accessibility toolkit ii libatk1.0-dev 1.10.1-2Development files for the ATK accessibility toolkit ii libglib2.0-02.8.1-1 The GLib library of C routines ii libglib2.0-dev 2.8.1-1 Development files for the GLib library ii libgtk2.0-0 2.6.10-1The GTK+ graphical user interface library ii libgtk2.0-dev 2.6.10-1Development files for the GTK+ library ii libpango1.0-0 1.8.2-2 Layout and rendering of internationalized text ii libpango1.0-dev 1.8.2-2 Development files for the Pango ii libsdl-mixer1.2 1.2.6-1 mixer library for Simple DirectMedia Layer 1.2 ii libsdl-mixer1.2-dev 1.2.6-1 development files for SDL1.2 mixer library ii libsdl1.2debian 1.2.7+1.2.8cvs20041007- Simple DirectMedia Layer -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages gcc-4.0 depends on: ii binutils 2.16.1-2 The GNU assembler, linker and bina ii cpp-4.0 4.0.1-2The GNU C preprocessor ii gcc-4.0-base 4.0.1-2The GNU Compiler Collection (base ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.1-2 GCC support library Versions of packages gcc-4.0 recommends: ii libc6-dev 2.3.5-6GNU C Library: Development Librari ii libmudflap0-dev 4.0.1-2GCC mudflap support libraries (dev -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#333119: Oops...sorry for the goof up...
close 333119 thanks Sorry for the goof up...reported the bug twice. Please see 333118. Ramkumar. -- 96.31% of all statistics are fiction. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#333118: Bug#333119: gcc-4.0: Segfaulting code generated for gtkboard-0.11pre0
Why are you not using gcc-4.0 4.0.2-2, the current version of gcc-4.0 in unstable? I generally go with the testing packages.. should I be reporting the bugs only with the unstable version? What is the last version of the compiler that you are able to use to successfully compile this code in this environment with no other changes? gcc-3.3 3.3.6-7 has no problems whatsoever (I needn't have to make changes like removing static, but I guess this is an intended feature in gcc-4.0, this is not the first package I have seen not compiling due to this) and no segfault occurs. Have you confirmed that this bug exists in gcc-snapshot? I have, now. Segfaults still. However, the bt is slightly different. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208879424 (LWP 9790)] 0x0809c7ff in __PRETTY_FUNCTION__.8049 () (gdb) bt #0 0x0809c7ff in __PRETTY_FUNCTION__.8049 () #1 0x081a63a0 in ?? () #2 0x08180ff8 in ?? () #3 0xbfa39a88 in ?? () #4 0x4120a728 in ?? () from /usr/lib/libgobject-2.0.so.0 #5 0xbfa39cfc in ?? () #6 0x4120a728 in ?? () from /usr/lib/libgobject-2.0.so.0 #7 0xbfa39a88 in ?? () #8 0x48aa823c in gtk_item_factory_get_type () from /usr/lib/libgtk-x11-2.0.so.0 Previous frame inner to this frame (corrupt stack?) Ramkumar. -- 96.31% of all statistics are fiction. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#330550: d4x: Command line URL addition not script-friendly
Package: d4x Version: 2.5.4-1 Severity: normal The command line for d4x, when adding an URL, opens a new GUI instance or connects to an existing instance when one exists. This behaviour is not consistent enough for scripts, as in one case, it returns immediately and in the other, it doesn't. Forking is a solution, but in many cases, one would like to know about the status of the addition before proceeding. If this behaviour is considered suited for interactive use, perhaps an option, say --script, could be considered, which would provide this suggested behaviour. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages d4x depends on: ii libao20.8.6-1.1 Cross Platform Audio Output Librar ii libatk1.0-0 1.10.1-2 The ATK accessibility toolkit ii libc6 2.3.5-6GNU C Library: Shared libraries an ii libgcc1 1:4.0.1-2 GCC support library ii libglib2.0-0 2.8.0-1The GLib library of C routines ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface ii libpango1.0-0 1.8.2-1Layout and rendering of internatio ii libssl0.9.7 0.9.7g-2 SSL shared libraries ii libstdc++64.0.1-2The GNU Standard C++ Library v3 ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m d4x recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#326724: dpkg: Configurable command line for daemons used with start-stop-daemon in /etc/init.d/*
Package: dpkg Version: 1.13.11 Severity: wishlist Currently, a change in the command line given as the --exec argument for start-stop-daemon within /etc/init.d/ scripts requires the user to edit the init script itself. For example, if I want to run smbd as `schedtool -B smbd`, in order to preserve my system resources, I would have to change the /etc/init.d/samba script. Now, this is not a good thing to do as the init scripts in many cases do much work, and being a config file, changes will not preserved across upgrades, and the user cannot make use of possible enhancements to the init script. An alternative would be to provide each start-stop-daemon a 'tag name' and a default command line for the exec. start-stop-daemon then can look up a global config file and check if the user has chosen to override the command name for the given tag, and behave appropriately. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (101, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1 Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Versions of packages dpkg depends on: ii coreutils [textutils] 5.2.1-2The GNU core utilities ii libc6 2.3.5-6GNU C Library: Shared libraries an dpkg recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]