summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
Commit message (Expand)AuthorAgeFilesLines
* (ask_from_normalize) since we can now use ComboBoxes with trees, doThierry Vignaud2005-05-261-1/+1
* perl_checker cleanupThierry Vignaud2005-03-221-1/+1
* temporary move collate sorting into net wizard in order to minimize possible ...Thierry Vignaud2005-03-171-2/+0
* (ask_from_normalize) use newly introduced set_l10n_sort() in order toThierry Vignaud2005-03-171-0/+2
* log program exitingThierry Vignaud2005-03-081-1/+8
* when testing, don't silently default to newtPascal Rigaux2005-03-011-0/+2
* ensure the "range" entry returned value is bounded as askedPascal Rigaux2005-02-181-0/+7
* create ->ask_filename and ->ask_directory to replace ->ask_filePascal Rigaux2005-02-151-3/+17
* better english (writing style rather than spoken one)Thierry Vignaud2004-12-131-1/+1
* fix prototypePascal Rigaux2004-11-181-1/+1
* remove some unneeded ";", add some for normalization (as told by perl_checker)Pascal Rigaux2004-11-181-1/+1
* no need for thisPascal Rigaux2004-02-131-1/+1
* (vnew) do not complaint about being run as root when --testing was passedThierry Vignaud2004-02-131-1/+1
* ->ask_from_entry and ->ask_from_entries are better with focus_firstPascal Rigaux2004-02-041-3/+3
* remove arrows from previous/next buttons according to interface teamThierry Vignaud2004-01-161-2/+2
* - install_steps_auto_install is not a interactive but still needs do_pkgsPascal Rigaux2004-01-121-6/+3
* new do_pkgs package which get rid of pkgs_interactive::* which was in install...Pascal Rigaux2004-01-091-0/+6
* fix ask_okcancel due to stock items changesThierry Vignaud2003-07-151-1/+1
* let interactive uses stock items on x11 and old drak translated items inThierry Vignaud2003-07-141-2/+2
* - methods with no argument are not functions with no argument!Pascal Rigaux2003-05-261-5/+5
* have the "Ok" in ask_from__add_modify_remove return true in default mode (eg:...Pascal Rigaux2003-05-121-1/+1
* perl_checker compliancePascal Rigaux2003-04-301-1/+1
* perl_checker adaptations + fixesPascal Rigaux2003-04-241-7/+7
* perl_checker compliance for optional method argumentsPascal Rigaux2003-04-221-26/+28
* adapt to new help.pmPascal Rigaux2003-04-221-3/+3
* new perl_checker compliancePascal Rigaux2003-04-171-10/+10
* oops i didn't understand the internals of wait_message hence breaking it. hop...Guillaume Cottenceau2003-02-201-2/+2
* Gtk2::Label::set is deprecatedGuillaume Cottenceau2003-02-201-2/+2
* have less warnings when debuggingPascal Rigaux2003-02-201-2/+2
* - factorize "Help"-button handlingPascal Rigaux2003-02-161-4/+20
* in ask_browse_tree_info, have Next instead of Ok, Previous instead of Cancel ...Pascal Rigaux2003-02-141-1/+2
* fix ask_warn(), really dont make it popPascal Rigaux2003-02-131-2/+2
* don't force pop_it on ask_warn'sPascal Rigaux2003-02-131-1/+0
* - set_help is deprecatedPascal Rigaux2003-02-131-0/+9
* add ask_yesorno_, ask_okcancel_, ask_warn_, ask_from_listf_raw (to allow help)Pascal Rigaux2003-02-131-27/+41
* allow {interactive_help} per dialog boxes instead of globalPascal Rigaux2003-02-121-1/+2
* perl_checker compliance ("ref" now need parentheses in many case)Pascal Rigaux2003-02-121-2/+2
* add option advanced_state: if set to 1, force the "Advanced" part of the dial...Guillaume Cottenceau2003-02-081-0/+1
* add possibility to display images in tree-lists and bool-listsGuillaume Cottenceau2003-02-081-2/+3
* (helper_separator_tree_to_tree): this new function helps transforming aPascal Rigaux2003-01-301-0/+26
* cleaning the utf8 support stuff:Thierry Vignaud2003-01-281-3/+1
* strip authentification out of interactive->vnew into common.pmThierry Vignaud2003-01-271-14/+1
* (ask_from_list, ask_from_list_, ...): option nocancel addedPascal Rigaux2003-01-241-11/+15
* fix non latin1 post-install perl-gtk2 apps, seems like perl upgrading strings...Guillaume Cottenceau2003-01-241-0/+2
* add some documentation about the various possible fieldsPascal Rigaux2003-01-221-1/+13
* when the return value of ask_from_ and ask_from is not used, do not have aPascal Rigaux2003-01-211-0/+2
* fix ask_okcancel in wizard modePascal Rigaux2003-01-071-1/+1
* use "if any" instead of "if grep", and various other occurences of "any", "ev...Pascal Rigaux2003-01-071-3/+3
* nicer debug messagePascal Rigaux2003-01-071-0/+1
* - callbacks "Add", "Modify" and "Remove" return undef when they failPascal Rigaux2003-01-051-3/+7
ard" => 20, "L|Lifeview|FlyVideo 98" => 21, "L|Lucky Star|Image World ConferenceTV LR50" => 21, "A|Askey|CPH050" => 22, "P|Phoebe Micro|Tv Master + FM" => 22, "M|Modular|Technology MM205 PCTV (bt878)" => 23, "A|Askey|CPH06X (bt878)" => 24, "G|Guillemot|Maxi TV Video 3" => 24, "A|Askey|CPH05X (bt878)" => 24, N("Unknown|CPH05X (bt878) [many vendors]") => 24, N("Unknown|CPH06X (bt878) [many vendors]") => 24, "T|Terratec|Terra TV+ Version 1.0 (Bt848)" => 25, "Vobis|TV-Boostar" => 25, "T|Terratec|TV-Boostar" => 25, "Hauppauge|WinCam newer (bt878)" => 26, "L|Lifeview|FlyVideo 98" => 27, "G|Guillemot|MAXI TV Video PCI2 LR50" => 27, "T|Terratec|TerraTV+" => 28, "I|Imagenation|PXC200" => 29, "L|Lifeview|FlyVideo 98 LR50" => 30, "Formac|iProTV" => 31, "I|Intel|Create and Share PCI (bttv type 32)" => 32, "I|Intel|Smart Video Recorder III (bttv type 32)" => 32, "T|Terratec|TerraTValue" => 33, "L|Leadtek|WinFast TV 2000" => 34, "L|Leadtek|WinFast VC 100" => 35, "L|Lifeview|FlyVideo 98 LR50" => 35, "C|Chronos|Video Shuttle II" => 35, "L|Lifeview|FlyVideo 98FM LR50" => 36, "T|Typhoon|TView TV/FM Tuner" => 36, "P|Prolink|PixelView PlayTV pro" => 37, "P|Prolink|PixelView PlayTV Theater" => 37, "A|Askey|CPH06X TView99" => 38, "P|Pinnacle|PCTV Studio/Rave" => 39, "S|STB|STB2 TV PCI FM, P/N 6000704" => 40, "A|AVerMedia|TVPhone 98" => 41, "P|ProVideo|PV951" => 42, "L|Little|OnAir TV" => 43, "S|Sigma|TVII-FM" => 44, "M|MATRIX-Vision|MV-Delta 2" => 45, "Z|Zoltrix|Genie TV/FM" => 46, "T|Terratec|TV/Radio+" => 47, "A|Askey|CPH03x" => 48, "D|Dynalink|Magic TView" => 48, "I|IODATA|GV-BCTV3/PCI" => 49, "P|Prolink|PixelView PlayTV PAK" => 50, "L|Lenco|MXTV-9578 CP" => 50, "P|Prolink|PV-BT878P+4E" => 50, "L|Lenco|MXTV-9578CP (Bt878)" => 50, "Eagle|Wireless Capricorn2 (bt878A)" => 51, "P|Pinnacle|PCTV Studio Pro" => 52, "T|Typhoon|KNC1 TV Station RDS" => 53, "T|Typhoon|TV Tuner RDS (black package)" => 53, "T|Typhoon|TView RDS + FM Stereo" => 53, "L|Lifeview|FlyVideo 2000" => 54, "L|Lifeview|FlyVideo A2" => 54, "L|Lifetec|LT 9415 TV [LR90]" => 54, "A|Askey|CPH031" => 55, "L|Lenco|MXR-9571 (Bt848)" => 55, "Bestbuy|Easy TV" => 55, "L|Lifeview|FlyVideo 98FM LR50" => 56, "G|GrandTec|Grand Video Capture (Bt848)" => 57, "A|Askey|CPH060" => 58, "P|Phoebe Micro|TV Master Only (No FM)" => 58, "A|Askey|CPH03x TV Capturer" => 59, "M|Modular|Technology MM100 PCTV" => 60, "A|AG|Electronics GMV1" => 61, "A|Askey|CPH061" => 62, "Bestbuy|Easy TV (bt878)" => 62, "L|Lifetec|LT9306" => 62, "M|Medion|MD9306" => 62, "A|ATI|TV-Wonder" => 63, "A|ATI|TV-Wonder VE" => 64, "L|Lifeview|FlyVideo 2000S LR90" => 65, "T|Terratec|TValueRadio" => 66, "I|IODATA|GV-BCTV4/PCI" => 67, "3Dfx|VoodooTV FM (Euro)" => 68, "3Dfx|VoodooTV 200 (USA)" => 68, "A|Active|Imaging AIMMS" => 69, "P|Prolink|Pixelview PV-BT878P+ (Rev.4C)" => 70, "L|Lifeview|FlyVideo 98EZ (capture only) LR51" => 71, # "G|Genius/Kye|Video Wonder/Genius Internet Video Kit" => 71, "P|Prolink|Pixelview PV-BT878P+ (Rev.9B) (PlayTV Pro rev.9B FM+NICAM)" => 72, "T|Typhoon|TV Tuner Pal BG (blue package)" => 72, "S|Sensoray|311" => 73, "RemoteVision|MX (RV605)" => 74, "P|Powercolor|MTV878" => 75, "P|Powercolor|MTV878R" => 75, "P|Powercolor|MTV878F" => 75, "C|Canopus|WinDVR PCI (COMPAQ Presario 3524JP, 5112JP)" => 76, "G|GrandTec|Multi Capture Card (Bt878)" => 77, "Jetway|TV/Capture JW-TV878-FBK" => 78, "Kworld|KW-TV878RF" => 78, "D|DSP Design|TCVIDEO" => 79, "Hauppauge|WinTV PVR" => 80, "G|GV-BCTV5/PCI" => 81, "O|Osprey|100/150 (878)" => 82, "O|Osprey|100/150 (848)" => 83, "O|Osprey|101 (848)" => 84, "O|Osprey|101/151" => 85, "O|Osprey|101/151 w/ svid" => 86, "O|Osprey|200/201/250/251" => 87, "O|Osprey|200/250" => 88, "O|Osprey|210/220" => 89, "O|Osprey|500" => 90, "O|Osprey|540" => 91, "O|Osprey|2000" => 92, "I|IDS|Eagle" => 93, }, 'saa7134' => { N("Unknown|Generic") => 0, "Proteus|Pro [philips reference design]" => 1, "LifeView|FlyVIDEO3000" => 2, "LifeView|FlyVIDEO2000" => 3, "EMPRESS" => 4, "SKNet|Monster TV" => 5, "Tevion|MD 9717" => 6, "KNC|One TV-Station RDS" => 7, "Terratec|Cinergy 400 TV" => 8, "Medion|5044" => 9, "Kworld/KuroutoShikou SAA7130-TVPCI" => 10, "Terratec Cinergy 600 TV" => 11, } }; my %pll_lst = ( -1 => N("Default"), 0 => "don't use pll", 1 => "28 Mhz Crystal (X)", 2 => "35 Mhz Crystal" ); sub config { my ($in, $driver) = @_; my %conf = (gbuffers => 4, card => $default, tuner => -1, radio => 0, pll => -1); if ($in->ask_from("BTTV configuration", N("For most modern TV cards, the bttv module of the GNU/Linux kernel just auto-detect the rights parameters. If your card is misdetected, you can force the right tuner and card types here. Just select your tv card parameters if needed."), [ { label => N("Card model:"), val => \$conf{card}, list => [keys %{$cards_lst->{$driver}}], type => 'combo', default => -1, sort =>1, separator => '|' }, { label => N("Tuner type:"), val => \$conf{tuner}, list => [keys %tuners_lst], format => sub { $tuners_lst{$_[0]} }, sort => 1, separator => '|' }, { label => N("Number of capture buffers:"), val => \$conf{gbuffers}, min => 2, max => 32, sort => 1, default => 0, type => 'range', advanced => 1, help => N("number of capture buffers for mmap'ed capture") }, if_($driver eq 'bttv', { label => N("PLL setting:"), val => \$conf{pll}, list => [keys %pll_lst], format => sub { $pll_lst{$_[0]} }, sort => 1, default => 0, advanced =>1 }, { label => N("Radio support:"), val => \$conf{radio}, type => "bool", text => N("enable radio support") }), ] )) { $conf{card} = $cards_lst->{$driver}{$conf{card}}; my $options = 'radio=' . ($conf{radio} ? 1 : 0) . ' ' . join(' ', map { if_($conf{$_} ne -1, "$_=$conf{$_}") } qw(card pll tuner gbuffers)); if ($options) { log::l("[harddrake::bttv] $options"); # log::explanations("modified file /etc/modules.conf ($options)") if $::isStandalone; modules::set_options("bttv", $options); } } } 1;