Your message dated Sun, 29 Jul 2007 17:47:15 +0000 with message-id <E1IFCrL-0007XW-GI@ries.debian.org> and subject line Bug#202133: fixed in xawtv 3.95.dfsg.1-4 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: radio: lots of small bugfixes
- From: Steven Barker <steve@blckknght.org>
- Date: Sun, 20 Jul 2003 00:02:35 -0400
- Message-id: <20030720040235.3FD301393E@ivanhoe.blckknght.org>
Package: radio Version: 3.88 Severity: normal Tags: patch Hi, I recently got a radio antenna hooked up to my tv/radio capture card and started playing around with radio tuning. I've found a few bugs in your radio program, which I've patched. There's also a debian packaging issue: the build-dep on libjpeg-dev doesn't work right, since that package is now called libjpeg62-dev (it seems like it still should, as libjpeg62-dev provides libjpeg62, but apt complained). Anyway, here's are three patches, with an explanation after each one: ---8<--- Patch #1 ---8<--- --- xawtv-3.88/console/radio.c.orig 2003-07-19 20:18:55.000000000 -0400 +++ xawtv-3.88/console/radio.c 2003-07-19 23:08:53.000000000 -0400 @@ -187,7 +187,7 @@ while (NULL != fgets(file,255,fp)) { if (2 == sscanf(file,"%c=%d",&n,&ifreq) && n >= '1' && n <= '8') { fkeys[n - '1'] = ifreq; - } else if (2 == sscanf(file,"%d=%30[^\n]",&ifreq,name) && stations < 99) { + } else if (2 == sscanf(file,"%d=%50[^\n]",&ifreq,name) && stations < 99) { freqs[stations] = ifreq; labels[stations] = strdup(name); stations++; ---8<--- Patch #1 ---8<--- This patch extends the maximum length for a station name from 30 to 50 (though that's still pretty arbitrary). I changed this because it seemed that my long station names were being cut unnecessarily short in the preset listing. ---8<--- Patch #2 ---8<--- --- xawtv-3.88/console/radio.c.orig 2003-04-16 11:35:13.000000000 -0400 +++ xawtv-3.88/console/radio.c 2003-07-19 23:08:53.000000000 -0400 @@ -40,7 +40,8 @@ /* JMMV: WINDOWS for radio */ int ncurses = 0; int debug = 0; -char *device = "/dev/radio"; +char *device_list[4] = {NULL, "/dev/radio", "/dev/v4l/radio0", NULL}; +char **device = &device_list[1]; WINDOW *wfreq, *woptions, *wstations, *wcommand; int freqfact = 16; @@ -371,7 +372,7 @@ " -d enable debug output\n" " -m mute radio\n" " -f freq tune given frequency (also unmutes)\n" - " -c dev use given device [default: %s]\n" + " -c dev try to use given device [defaults: %s and %s]\n" " -s scan\n" " -S scan + write radio.fmmap\n" " -i scan, write initial ~/.radio config file to\n" @@ -383,7 +384,7 @@ "(c) 1998-2001 Gerd Knorr <kraxel@bytesex.org>\n" "interface by Juli Merino <jmmv@mail.com>\n" "channel scan by Gunther Mayer <Gunther.Mayer@t-online.de>\n", - device); + device_list[1], device_list[2]); } int @@ -432,7 +433,8 @@ } break; case 'c': - device = optarg; + device_list[0] = optarg; + device = &device_list[0]; break; case 'h': usage(stdout); @@ -443,9 +445,14 @@ } } - if (-1 == (fd = open(device, O_RDONLY))) { - fprintf(stderr,"open %s: %s\n",device,strerror(errno)); - exit(1); + while (-1 == (fd = open(*device, O_RDONLY))) { + fprintf(stderr,"Warning: open %s: %s\n",*device,strerror(errno)); + if(NULL == *(++device)) { + fprintf(stderr,"Giving up.\n"); + exit(1); + } else { + fprintf(stderr,"Trying alternate device: %s\n", *device); + } } memset(&tuner,0,sizeof(tuner)); ---8<--- Patch #2 ---8<--- This patch makes radio check several filenames for the radio device. By default, it first tries /dev/radio, then /dev/v4l/radio0 (the standard device name under devfs). If the user provides a device name with the -c option, that device will be checked before the normal two. The first successfully opened device will be used. ---8<--- Patch #3 ---8<--- --- xawtv-3.88/console/radio.c.orig 2003-04-16 11:35:13.000000000 -0400 +++ xawtv-3.88/console/radio.c 2003-07-19 23:08:53.000000000 -0400 @@ -627,8 +634,10 @@ } if (i != stations) { i += (key == KEY_NPAGE) ? -1 : 1; - if (i < 0 || i >= stations) + if (i >= stations) i = 0; + if (i < 0) + i = stations - 1; ifreq = freqs[i]; } } ---8<--- Patch #3 ---8<--- This patch makes the PageDown key work to move from the lowest frequency station to the highest. Without this fix, you can go from the highest to lowest, but not the other way around. I hope these patches are useful to you. Thanks a lot for writing and packaging radio (and xawtv, and bttv, etc :-). Your work is much appreciated. Steven Barker -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux ivanhoe.blckknght.org 2.4.21-rc1-local #1 Tue Apr 22 14:52:59 EDT 2003 i686 Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages radio depends on: ii libc6 2.3.1-17 GNU C Library: Shared libraries an ii libncurses5 5.3.20030510-2 Shared libraries for terminal hand -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 202133-close@bugs.debian.org
- Subject: Bug#202133: fixed in xawtv 3.95.dfsg.1-4
- From: Krzysztof Burghardt <krzysztof@burghardt.pl>
- Date: Sun, 29 Jul 2007 17:47:15 +0000
- Message-id: <E1IFCrL-0007XW-GI@ries.debian.org>
Source: xawtv Source-Version: 3.95.dfsg.1-4 We believe that the bug you reported is fixed in the latest version of xawtv, which is due to be installed in the Debian FTP archive: alevtd_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/alevtd_3.95.dfsg.1-4_ia64.deb fbtv_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/fbtv_3.95.dfsg.1-4_ia64.deb pia_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/pia_3.95.dfsg.1-4_ia64.deb radio_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/radio_3.95.dfsg.1-4_ia64.deb scantv_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/scantv_3.95.dfsg.1-4_ia64.deb streamer_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/streamer_3.95.dfsg.1-4_ia64.deb ttv_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/ttv_3.95.dfsg.1-4_ia64.deb v4l-conf_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/v4l-conf_3.95.dfsg.1-4_ia64.deb webcam_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/webcam_3.95.dfsg.1-4_ia64.deb xawtv-plugins_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/xawtv-plugins_3.95.dfsg.1-4_ia64.deb xawtv-tools_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/xawtv-tools_3.95.dfsg.1-4_ia64.deb xawtv_3.95.dfsg.1-4.diff.gz to pool/main/x/xawtv/xawtv_3.95.dfsg.1-4.diff.gz xawtv_3.95.dfsg.1-4.dsc to pool/main/x/xawtv/xawtv_3.95.dfsg.1-4.dsc xawtv_3.95.dfsg.1-4_ia64.deb to pool/main/x/xawtv/xawtv_3.95.dfsg.1-4_ia64.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 202133@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Krzysztof Burghardt <krzysztof@burghardt.pl> (supplier of updated xawtv package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 29 Jul 2007 15:00:06 +0200 Source: xawtv Binary: xawtv-plugins fbtv radio ttv webcam pia xawtv xawtv-tools scantv streamer alevtd v4l-conf Architecture: source ia64 Version: 3.95.dfsg.1-4 Distribution: unstable Urgency: low Maintainer: Krzysztof Burghardt <krzysztof@burghardt.pl> Changed-By: Krzysztof Burghardt <krzysztof@burghardt.pl> Description: alevtd - http daemon for videotext pages fbtv - linux console (fbcon) TV application pia - movie player radio - ncurses-based radio application scantv - scan TV channels for stations streamer - capture tool (images / movies) ttv - tty TV application v4l-conf - tool to configure video4linux drivers webcam - capture and upload images xawtv - X11 TV application xawtv-plugins - plugins for xawtv and motv xawtv-tools - Miscellaneous tools distributed with xawtv Closes: 199570 202133 369803 374626 379251 383194 Changes: xawtv (3.95.dfsg.1-4) unstable; urgency=low . * Applied Kristof Koehler's patch for problems with recording oss audio using streamer (Closes: #374626) * Applied Romain FRANCOISE's patch for unmute sound on xavtv exit (Closes: #199570) * Applied Steven Barker's patches for radio application. This fixes multiple issues listed in bug report (Closes: #202133) * Applied Bjoern Erik Nilsen's patch that fixes some memory leaks in the v4l plugins (Closes: #369803) * Applied Petr Vandrovec's patch that fixes 4 problems with fbtv observed with radeonfb. Fixes to support 15bpp depth in v4l-conf, reload palette when switching terminals, clear only visible area of videoram instead of clearing 256MB and problem with FBIOGETCMAP. (Closes: #383194) * Changed ${Source-Version} substvar to ${binary:Version} * Adjust debconf-templates. * New maintainer (Closes: #379251) Files: 858bef506510e9816b7d9e8334ead80e 1101 graphics extra xawtv_3.95.dfsg.1-4.dsc dda43cd87d7dd96162db7efe36ff82c5 29315 graphics extra xawtv_3.95.dfsg.1-4.diff.gz b89a6dcd854f62ea7c96578b5497211d 341586 x11 extra xawtv_3.95.dfsg.1-4_ia64.deb e38286c2f4a9f68479a4a2ece1649b84 52606 x11 extra pia_3.95.dfsg.1-4_ia64.deb 79fcadc72afc6d2b3442739a0deb0623 100944 graphics extra fbtv_3.95.dfsg.1-4_ia64.deb c62409f318e55c6b55a2bde66736738d 76064 graphics extra ttv_3.95.dfsg.1-4_ia64.deb cdb8d4e2fb856eced307974bc984d153 83878 graphics extra scantv_3.95.dfsg.1-4_ia64.deb d8973dc18c43e1028ea862eb1516f1b9 77516 graphics extra streamer_3.95.dfsg.1-4_ia64.deb 189f5e160947dcf946df77c49bb2eae6 21954 sound extra radio_3.95.dfsg.1-4_ia64.deb 5578c5c8a33d1b68bc502705b8f18ae6 31396 graphics extra v4l-conf_3.95.dfsg.1-4_ia64.deb b41779abf049aa47103ef0488015405f 39776 graphics extra xawtv-tools_3.95.dfsg.1-4_ia64.deb 3d06485775776cc141dade8d06c8ff54 124500 graphics extra xawtv-plugins_3.95.dfsg.1-4_ia64.deb 5db26edd3e295ab9990dd2ef3538ad47 50168 net extra webcam_3.95.dfsg.1-4_ia64.deb ab12c9e0c538b067b24fdf2af221df57 42030 net extra alevtd_3.95.dfsg.1-4_ia64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGrNFumdOZoew2oYURAn4dAKC3uBfKTM7HXfb/bGprxvsVPDYC2QCfWSWO 4HSwxmYp26epyBb+sYBFgX4= =Akqp -----END PGP SIGNATURE-----
--- End Message ---