summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/icons/wiz_default_up.png
blob: c7c7f586fb3d361e13a74c1047a08eef7a08e80a (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 02 1c 00 00 00 64 08 02 00 00 00 42 72 7e .PNG........IHDR.......d.....Br~
0020 ae 00 00 00 04 67 41 4d 41 00 00 d6 d8 d4 4f 58 32 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 .....gAMA.....OX2....tEXtSoftwar
0040 65 00 41 64 6f 62 65 20 49 6d 61 67 65 52 65 61 64 79 71 c9 65 3c 00 00 1e 19 49 44 41 54 78 da e.Adobe.ImageReadyq.e<....IDATx.
0060 62 74 88 5e ce cc c8 c8 30 0a 46 c1 28 18 05 a3 60 14 50 0c 00 02 88 89 69 34 0c 46 c1 28 18 05 bt.^....0.F.(...`.P.....i4.F.(..
0080 a3 60 14 50 09 00 04 10 cb a3 d7 df 58 98 47 7b 2a a3 60 14 8c 82 51 30 0a a8 00 00 02 88 e5 ef .`.P........X.G{*.`...Q0........
00a0 bf ff 40 34 1a 10 a3 60 14 8c 82 51 30 0a 28 07 00 01 34 3a fa 35 0a 46 c1 28 18 05 a3 80 6a 00 ..@4...`...Q0.(...4:.5.F.(....j.
00c0 20 80 58 e4 c5 b9 47 27 ea 47 c1 28 18 05 a3 60 14 50 05 00 04 d0 e8 44 fd 28 18 05 a3 60 14 8c ..X...G'.G.(...`.P.....D.(...`..
00e0 02 aa 01 80 00 1a 9d a8 1f 05 a3 60 14 8c 82 51 40 35 00 10 40 a3 13 f5 a3 60 14 8c 82 51 30 0a ...........`...Q@5..@....`...Q0.
0100 a8 06 00 02 68 74 f4 6b 14 8c 82 51 30 0a 46 01 d5 00 40 00 8d 4e d4 8f 82 51 30 0a 46 c1 28 a0 ....ht.k...Q0.F...@..N...Q0.F.(.
0120 1a 00 08 a0 d1 89 fa 51 30 0a 46 c1 28 18 05 54 03 00 01 34 3a 51 3f 0a 46 c1 28 18 05 a3 80 6a .......Q0.F.(..T...4:Q?.F.(....j
0140 00 20 80 46 27 ea 47 c1 28 18 05 a3 60 14 50 0d 00 04 d0 e8 e8 d7 28 18 05 a3 60 14 8c 02 aa 01 ...F'.G.(...`.P.......(...`.....
0160 80 00 1a 9d a8 1f 05 a3 60 14 8c 82 51 40 35 00 10 40 a3 13 f5 a3 60 14 8c 82 51 30 0a a8 06 00 ........`...Q@5..@....`...Q0....
0180 02 68 74 a2 7e 14 8c 82 51 30 0a 06 3b 60 66 fc a7 cf 7d df 94 ef 96 24 db 3b 59 f6 37 fc cc 5f .ht.~...Q0..;`f...}....$.;Y.7.._
01a0 95 38 5f a0 a9 39 fb 59 99 91 f1 ff f5 af b2 cf 7f 09 dd fc 26 73 f6 b3 0a 48 94 ee 03 51 00 01 .8_..9.Y............&s...H...Q..
01c0 34 3a 51 3f 0a 46 c1 28 18 05 83 14 28 73 be 08 11 3b 6e 2d 70 53 19 a3 0a c1 04 c6 bc 77 81 a4 4:Q?.F.(....(s...;n-pS.......w..
01e0 11 cf 3d 44 35 f3 49 71 f7 5b bd ad 6f 0d df fd e6 03 56 2f 0c a0 fa 85 e6 75 0c 40 00 31 2a ba ..=D5.Iq.[..o.....V/.....u.@.1*.
0200 cc 19 8d b9 51 30 0a 46 c1 28 18 3c 40 84 f5 53 b8 f8 b1 08 f1 23 42 ac 5f a8 62 e0 bd ef 62 ab ....Q0.F.(.<@..S.....#B._.b...b.
0220 5e 58 2c 7d 61 f3 17 d8 e7 61 60 a2 69 ed 02 10 40 8c a3 77 d4 8f 82 51 30 0a 46 c1 20 01 02 cc ^X,}a....a`.i...@..w...Q0.F.....
0240 9f 12 04 d7 3a f3 1c a5 85 e1 ff 18 98 f6 7e 32 5b f0 2e e0 c3 3f 01 46 46 d0 7c 3a 84 a4 2e 00 ....:.........~2[....?.FF.|:....
0260 08 20 96 d1 89 fa 51 30 0a 46 c1 28 18 de d5 09 04 30 31 fc 73 e5 3b 01 44 1b 3e 38 cc 7d 1b fc ......Q0.F.(.....01.s.;.D.>8.}..
0280 8f 81 85 81 f1 3f b0 62 a1 6e d5 02 10 40 8c 2a 6e 73 47 27 ea 47 c1 28 18 05 a3 60 00 41 ba d4 .....?.b.n...@.*nsG'.G.(...`.A..
02a0 f6 54 89 9d 4c 8c ff e8 66 e3 3f 06 c6 86 bb 21 9b de 9a 31 32 32 83 ea 15 d0 98 18 75 2a 02 80 .T..L...f.?....!...122......u*..
02c0 00 1a 9d 53 19 05 a3 60 14 8c 82 01 03 2a 9c 2f fa d5 e6 2b 71 be 24 51 df 7f 18 42 14 e6 30 44 ...S...`.....*./...+q.$Q...B..0D
02e0 02 38 fb 51 3e fe 4a ea 3f 06 56 06 46 66 50 7f 85 91 91 f2 b9 16 80 00 1a ad 54 46 c1 28 18 05 .8.Q>.J.?.V.FfP...........TF.(..
0300 a3 60 60 40 80 e8 a9 26 a5 15 cc 44 75 50 80 f5 c7 5f 30 fa c7 f0 ff 1f 88 8b b9 68 97 11 b2 80 .``@...&...DuP..._0........h....
0320 98 89 81 81 19 46 12 ae 21 fe fd 67 8c bf 94 74 e6 b3 0a 23 13 0b 03 23 13 e5 5d 16 80 00 1a 9d .....F..!..g...t...#...#..].....
0340 a8 1f 05 a3 60 14 8c 82 01 00 29 42 2b fd f9 76 13 51 97 fc 01 d5 25 ff ff 30 0a 2a 33 29 ba 30 ....`.....)B+..v.Q....%..0.*3).0
0360 49 ea 31 49 e8 33 4a 5b 32 b2 a1 4f 84 fc ff f0 fa ff fb db ff 1e 1c fc f7 fc d2 bf 7b 3b fe ff I.1I.3J[2..O................{;..
0380 f8 c0 c0 c8 c2 c0 00 41 04 40 cf b3 f0 3d 5f 2c 99 98 58 80 55 0b b0 cb 42 c9 2c 0b 40 00 8d 4e .......A.@...=_,..X.U...B.,.@..N
03a0 d4 8f 82 51 30 0a 46 01 bd 41 81 c8 7c 42 73 f2 ff c0 d5 c9 6f 46 01 45 66 cd 10 66 c3 44 26 49 ...Q0.F..A..|Bs.....oF.Ef..f.D&I
03c0 0d 02 5d 04 01 51 20 62 52 b4 82 ea 7f 7e e3 ef f9 f9 7f cf cd fa ff f3 13 03 03 2b b8 6a c1 d9 ..]..Q.bR....~.............+.j..
03e0 7f 28 91 5a a9 f4 f6 c9 ac d7 c1 4c cc ff 19 80 5d 16 26 f0 3c 0b 59 43 61 00 01 34 3a 51 3f 0a .(.Z.......L....].&.<.YCa..4:Q?.
0400 46 c1 28 18 05 74 05 0d 0a 4b fd 84 4f e2 ed 9d fc 66 f8 ff 8b 49 c9 83 c5 32 9b 59 d3 87 42 eb F.(..t...K..O....f...I...2.Y..B.
0420 fe 9e 5f fa 7b 5f dd ff 0f f7 19 18 d8 c0 b5 0b 4e b0 f1 a5 7e ed dd 10 26 66 36 4a 86 c2 00 02 .._.{_..........N...~...&f6J....
0440 68 74 4e 65 14 8c 82 51 30 0a e8 07 5a 95 97 05 88 9e c2 2d 0f ec 9d fc 62 14 50 60 0b 5a 0c ef htNe...Q0...Z......-....b.P`.Z..
0460 73 50 05 80 aa 96 ad d9 ff 7f 7e 01 57 2d cc b8 94 2d 78 6c da 71 cf 9b 91 09 5c af 30 81 67 ef sP........~.W-...-xl.q....\.0.g.
0480 49 ec af 00 04 10 b3 a0 92 df 68 34 8f 82 51 30 0a 46 c1 20 a8 51 7e 31 fc fb c9 ea dc ca 16 b5 I.........h4..Q0.F...Q~1........
04a0 9a 51 50 96 ba 56 33 49 ea 31 9b 97 32 fc fe fe ef f1 41 70 ff 03 7b bd 62 c0 ff ec c9 37 ae eb .QP..V3I.1..2.....Ap..{.b....7..
04c0 5f c5 19 41 8a 18 c1 bb 58 48 1b 07 03 08 a0 d1 a3 ef 47 c1 28 18 05 a3 80 1e c0 99 e7 68 80 08 _..A....XH........G.(........h..
04e0 ae 1a e5 3f 03 c3 4f 46 01 39 b6 a8 ad 04 e7 4e c8 06 8c ec cc ac 5e 9d 4c 8a b6 bf d7 c5 fe ff ...?..OF.9.....N......^.L.......
0500 f1 95 81 81 1d ab b2 0e ad 6d 2f 6f 2a 3e fd 2b c7 c4 c2 ce c4 cc ca c4 c8 cc c8 44 42 7f 05 20 .........m/o*>.+...........DB...
0520 80 18 9d a2 97 33 8e 56 2a a3 60 14 8c 82 51 40 4b 20 c7 fa 6c b2 74 03 13 03 d6 d5 c3 40 c1 9f .....3.V*.`...Q@K...l.t......@..
0540 4c 92 46 6c c9 27 18 d9 89 5d 3b f5 fb f7 ef a3 47 8f 3e 78 f0 e0 e1 c3 87 10 91 f8 f8 78 05 05 L.Fl.'...];.....G.>x.........x..
0560 05 62 f4 fe 7b 7e e3 f7 fa f8 7f cf cf 81 eb 15 46 ac 55 9c db a5 3a 46 16 1e 66 70 bd 02 59 12 .b..{~..........F.U...:F..fp..Y.
0580 46 a4 c3 00 02 68 74 a2 7e 14 8c 82 51 30 0a 68 0e d6 6a b7 2a 72 bc c4 51 a3 fc 60 36 4c 65 f5 F....ht.~...Q0.h..j.*r..Q..`6Le.
05a0 9e 0a ec 49 10 34 e7 d7 af 5f d3 a6 4d 9b 31 63 c6 cd 9b 37 d1 a4 9c 9c 9c f6 ee dd 4b a4 7b fe ...I.4..._..M.1c...7........K.{.
05c0 ff fc f7 6b ae c5 bf e7 e7 71 d5 2b 7b 5f 2b e7 5f 0b 63 62 e5 64 62 66 67 64 62 85 6c bc 27 c6 ...k.....q.+{_+._.cb.dbfgdb.l.'.
05e0 64 80 00 1a 3d fa 7e 14 8c 82 51 30 0a 68 0b b2 65 76 e0 a8 51 40 a3 5e cc 9a 61 6c 41 33 88 31 d...=.~...Q0.h..ev..Q@.^..alA3.1
0600 a7 b1 b1 b1 a1 a1 01 97 ac b8 b8 38 f1 4e 02 76 89 80 1d a3 5f 73 2d c1 fd 15 0e 4c 05 ce a2 77 ...........8.N.v...._s-....L...w
0620 6d f9 2f ef 7d a7 cb c4 f2 9f 91 e9 3f b8 b3 42 54 bd 02 10 40 a3 ab bf 46 c1 28 18 05 a3 80 86 m./.}.......?..BT...@...F.(.....
0640 40 98 f5 f3 7e a3 7a 1c db e6 7f 30 49 1a b2 25 1f 27 d8 47 b9 78 e9 52 48 48 c8 9d db b7 f1 a8 @...~.z....0I..%.'.G.x.RHH......
0660 f9 fe fd 3b 07 07 07 49 6e fb ff eb df cf 2e a1 ff 3f bf 83 97 8package standalone; # $Id$ use c; use strict; use common qw(N N_ if_ backtrace); use Config; BEGIN { unshift @::textdomains, 'libDrakX-standalone' } #- for sanity (if a use standalone is made during install, MANY problems will happen) require 'log.pm'; #- "require log" causes some pb, perl thinking that "log" is the log() function if ($::isInstall) { log::l('ERROR: use standalone made during install :-('); log::l('backtrace: ' . backtrace()); } $::isStandalone = 1; $ENV{SHARE_PATH} ||= "/usr/share"; eval { #- allow standalone.pm to be used in drakxtools-backend without perl-Locale-gettext c::init_setlocale(); Locale::gettext::bindtextdomain('libDrakX', "/usr/share/locale"); }; $::license = N_("This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. "); my $progname = common::basename($0); my %usages = ( 'diskdrake' => "[--{" . join(",", qw(hd nfs smb dav removable fileshare)) . "}]", 'drakbackup' => N_("[--config-info] [--daemon] [--debug] [--default] [--show-conf] Backup and Restore application --default : save default directories. --debug : show all debug messages. --show-conf : list of files or directories to backup. --config-info : explain configuration file options (for non-X users). --daemon : use daemon configuration. --help : show this message. --version : show version number. "), 'drakboot' => N_("[--boot] [--splash] OPTIONS: --boot - enable to configure boot loader --splash - enable to configure boot theme default mode: offer to configure autologin feature"), 'drakbug' => N_("[OPTIONS] [PROGRAM_NAME] OPTIONS: --help - print this help message. --report - program should be one of Mandriva Linux tools --incident - program should be one of Mandriva Linux tools"), 'drakconnect' => N_("[--add] --add - \"add a network interface\" wizard --del - \"delete a network interface\" wizard --skip-wizard - manage connections --internet - configure internet --wizard - like --add"), 'drakfont' => N_(" Font Importation and monitoring application OPTIONS: --windows_import : import from all available windows partitions. --xls_fonts : show all fonts that already exist from xls --install : accept any font file and any directory. --uninstall : uninstall any font or any directory of font. --replace : replace all font if already exist --application : 0 none application. : 1 all application available supported. : name_of_application like so for staroffice : and gs for ghostscript for only this one."), 'draksec' => "[--debug] --debug: print debugging information", 'drakTermServ' => N_("[OPTIONS]... Mandriva Linux Terminal Server Configurator --enable : enable MTS --disable : disable MTS --start : start MTS --stop : stop MTS --adduser : add an existing system user to MTS (requires username) --deluser : delete an existing system user from MTS (requires username) --addclient : add a client machine to MTS (requires MAC address, IP, nbi image name) --delclient : delete a client machine from MTS (requires MAC address, IP, nbi image name)"), 'drakxtv' => "[--no-guess]", 'drakupdate_fstab' => " [--add | --del] <device>\n", 'keyboardrake' => N_("[keyboard]"), 'logdrake' => N_("[--file=myfile] [--word=myword] [--explain=regexp] [--alert]"), 'net_monitor' => N_("[OPTIONS] Network & Internet connection and monitoring application --defaultintf interface : show this interface by default --connect : connect to internet if not already connected --disconnect : disconnect to internet if already connected --force : used with (dis)connect : force (dis)connection. --status : returns 1 if connected 0 otherwise, then exit. --quiet : do not be interactive. To be used with (dis)connect."), 'printerdrake' => " [--skiptest] [--cups] [--lprng] [--lpd] [--pdq]", 'rpmdrake' => N_("[OPTION]... --no-confirmation do not ask first confirmation question in Mandriva Update mode --no-verify-rpm do not verify packages signatures --changelog-first display changelog before filelist in the description window --merge-all-rpmnew propose to merge all .rpmnew/.rpmsave files found"), 'scannerdrake' => N_("[--manual] [--device=dev] [--update-sane=sane_source_dir] [--update-usbtable] [--dynamic=dev]"), 'XFdrake' => N_(" [everything] XFdrake [--noauto] monitor XFdrake resolution"), ); $usages{$_} = $usages{rpmdrake} foreach qw(rpmdrake-remove MandrivaUpdate); $usages{Xdrakres} = $usages{XFdrake}; sub exit { explanations('### Program is exiting ###'); CORE::exit(@_); } sub __exit { explanations('### Program is exiting ###'); c::_exit(@_); } sub real_version { return "VER"; # version automatically set from Makefile } sub version() { print 'Drakxtools version ' . real_version() . ' Copyright (C) 1999-2008 Mandriva by <install@mandriva.com> ', $::license, "\n"; } if (!$::no_global_argv_parsing) { my ($i, @new_ARGV); foreach (@ARGV) { $i++; if (/^-(-help|h)$/) { version(); print N("\nUsage: %s [--auto] [--beginner] [--expert] [-h|--help] [--noauto] [--testing] [-v|--version] ", $progname), if_($usages{$progname}, common::translate($usages{$progname})), "\n"; # print N("\nUsage: "), $::usage, "\n" if $::usage; CORE::exit(0); } elsif (/^-(-version|v)$/) { version(); CORE::exit(0); } elsif (/^--embedded$/) { $::XID = splice @ARGV, $i, 1; $::isEmbedded = 1; } elsif (/^--expert$/) { $::expert = 1; } elsif (/^--noauto$/) { $::noauto = /-noauto/; } elsif (/^--auto$/) { $::auto = 1; } elsif (/^--testing$/) { $::testing = 1; } elsif (/^--beginner$/) { $::expert = 0; } else { push @new_ARGV, $_; } } @ARGV = @new_ARGV; } ################################################################################ #- stuff will go to special /var/log/explanations file my $standalone_name; sub explanations { log::explanations("@_") } our @common_functs = qw(renamef linkf symlinkf output substInFile mkdir_p rm_rf cp_af touch setVarsInSh setExportedVarsInSh setExportedVarsInCsh update_gnomekderc); our @builtin_functs = qw(chmod chown __exit exit unlink link symlink rename system); our @drakx_modules = qw(Xconfig::card Xconfig::default Xconfig::main Xconfig::monitor Xconfig::parse Xconfig::proprietary Xconfig::resolution_and_depth Xconfig::screen Xconfig::test Xconfig::various Xconfig::xfree any bootloader bootlook c commands crypto detect_devices devices diskdrake diskdrake::hd_gtk diskdrake::interactive diskdrake::removable diskdrake::removable_gtk diskdrake::smbnfs_gtk fs fsedit http keyboard lang log loopback lvm modules::parameters modules mouse my_gtk network network::adsl network::ethernet network::connection network::isdn_consts network::isdn network::modem network::netconnect network::network fs::remote::nfs fs::remote::smb network::tools partition_table partition_table_bsd partition_table::dos partition_table::empty partition_table::gpt partition_table::mac partition_table::raw partition_table::sun printer printerdrake proxy raid run_program scanner services steps swap timezone network::drakfirewall network::shorewall); sub bug_handler { my ($error, $is_signal) = @_; # exceptions in eval are OK: return if $error && $^S ne '0' && !$is_signal; # exceptions with "\n" are normal ways to quit: if (!$is_signal && $error eq MDK::Common::String::formatError($error)) { warn $error; exit(255); } # we want the full backtrace: $error .= "\n" if $is_signal; $error .= common::backtrace() if $error; my $progname = $0; # do not loop if drakbug crashes and do not complain about wizcancel: if ($progname =~ /drakbug/ || $error =~ /wizcancel/ || !-x '/usr/bin/drakbug') { warn $error; exit(1); } $progname =~ s|.*/||; system('drakbug', if_($error, '--error', $error), '--incident', $progname); c::_exit(1); } $SIG{SEGV} = sub { bug_handler(@_, 1) }; $SIG{__DIE__} = \&bug_handler; sub import() { ($standalone_name = $0) =~ s|.*/||; c::openlog($standalone_name . "[$$]"); explanations('### Program is starting ###'); eval "*common::$_ = *$_" foreach @common_functs; foreach my $f (@builtin_functs) { eval "*$_" . "::$f = *$f" foreach @drakx_modules; eval "*" . caller() . "::$f = *$f"; } } sub renamef { explanations "moved file $_[0] to $_[1]"; goto &MDK::Common::File::renamef; } sub linkf { explanations "hard linked file $_[0] to $_[1]"; goto &MDK::Common::File::linkf; } sub symlinkf { explanations "symlinked file $_[0] to $_[1]"; goto &MDK::Common::File::symlinkf; } sub output { explanations "created file $_[0]"; goto &MDK::Common::File::output; } sub substInFile(&@) { explanations "modified file $_[1]"; goto &MDK::Common::File::substInFile; } sub mkdir_p { explanations "created directory $_[0] (and parents if necessary)"; goto &MDK::Common::File::mkdir_p; } sub rm_rf { explanations "removed files/directories (recursively) @_"; goto &MDK::Common::File::rm_rf; } sub cp_af { my $retval = MDK::Common::File::cp_af(@_); my $dest = pop @_; explanations "copied recursively @_ to $dest"; return $retval; } sub touch { explanations "touched file @_"; goto &MDK::Common::File::touch; } sub setVarsInSh { explanations "modified file $_[0]"; goto &MDK::Common::System::setVarsInSh; } sub setExportedVarsInSh { explanations "modified file $_[0]"; goto &MDK::Common::System::setExportedVarsInSh; } sub setExportedVarsInCsh { explanations "modified file $_[0]"; goto &MDK::Common::System::setExportedVarsInCsh; } sub update_gnomekderc { explanations "modified file $_[0]"; goto &MDK::Common::System::update_gnomekderc; } sub chmod { my $retval = CORE::chmod(@_); my $mode = shift @_; explanations sprintf("changed mode of %s to %o", $_, $mode) foreach @_; return $retval; } sub chown { my $retval = CORE::chown(@_); my $uid = shift @_; my $gid = shift @_; explanations sprintf("changed owner of $_ to $uid.$gid") foreach @_; return $retval; } sub unlink { explanations "removed files/directories @_"; CORE::unlink(@_); } sub link { explanations "hard linked file $_[0] to $_[1]"; CORE::link($_[0], $_[1]); } sub symlink { explanations "symlinked file $_[0] to $_[1]"; CORE::symlink($_[0], $_[1]); } sub rename { explanations "renamed file $_[0] to $_[1]" if -r $_[0]; CORE::rename($_[0], $_[1]); } sub system { explanations "launched command: @_"; CORE::system(@_); } 1;