Re: tv_grab_na_dd under Ubuntu precise doesn't respect auto-config: add
Robert Eden <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.general |
|---|---|
| Message-ID | <[email protected]> |
On 9/24/2012 9:45 PM, Steve Prior wrote:
> On 9/24/2012 2:42 AM, Karl Dietz wrote:
>> Once the next release is out, has made it into Debian and wandered over
>> to Ubuntu you can ask if its being ported to the LTS. But I've never
>> done that.
> I'd really like to see this fix come out as a release to the Ubuntu repository.
> I've certainly manually installed XMLTV before (on a machine I built entirely
> from source), but for the new machine I'm trying to stick with Ubuntu repository
> installs for a clean easy to document and update machine which I can explain to
> less experienced Linux users.
>
IMHO the tv_grab_na_dd change is too small to justify an XMTLV release, much less a packaged release. If you would like it on your system, I suggest
you install from source (which would be trivial since the package already installed all the prerequisites), or even just replace the tv_grab_na_dd file.
Heck, just edit it on your system. here's a diff (comment only changes removed). Mostly what I did was move the question into the "auto-config" if
statement (it was right after it).
1119c1119,1130
< } # --auto-config during configure
---
> #
> # ask about auto-config for the config file
> #
> $opt_auto_config=0;
> if (ask_boolean("Lineups change periodically. The default for new stations is to notify you.\n".
> "Do you want new stations to be automatically added?")) {
> $opt_auto_config="add";
> }
> elsif (ask_boolean("Do you want new stations to be ignored?")) {
> $opt_auto_config="ignore";
> }
> } # no --auto-config during configure
1121,1131d1131
< #
< # ask about auto-config for the config file
< #
< my $config_autoconfig=0;
< if (ask_boolean("Lineups change periodically. The default for new stations is to notify you.\n".
< "Do you want new stations to be automatically added?")) {
< $config_autoconfig="add";
< }
< elsif (ask_boolean("Do you want new stations to be ignored?")) {
< $config_autoconfig="ignore";
< }
1141c1141
< print CONF "auto-config: $config_autoconfig\n" if $config_autoconfig;
---
> print CONF "auto-config: $opt_auto_config\n" if $opt_auto_config;
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/