summaryrefslogtreecommitdiffstats
path: root/perl-install
Commit message (Collapse)AuthorAgeFilesLines
* reposition main and steps window when in RTL languageGuillaume Cottenceau2003-02-182-2/+13
|
* shortened some strings to help them fit in the steps windowPablo Saratxaga2003-02-181-2/+2
|
* define language directionPablo Saratxaga2003-02-181-0/+3
|
* allow to specify font size in output of l2pango_fontGuillaume Cottenceau2003-02-183-21/+15
| | | | | destroy and recreate steps window when charset changed because gtk won't update the font size otherwise
* new versionDamien Chaumette2003-02-181-0/+1
|
* Get back configuration settings from conf filesDamien Chaumette2003-02-181-1/+2
| | | | | (fix some kind of titi sucking)
* pixelizeThierry Vignaud2003-02-181-1/+1
|
* add unicore/To/Upper.pl for printerdrake.pmPascal Rigaux2003-02-181-0/+1
| | | | | (things like $s =~ /$s/i needs this when $s is utf8)
* perl_checker fixThierry Vignaud2003-02-181-1/+1
|
* (setRootPassword): display "Authentication" in AdvancedPascal Rigaux2003-02-181-3/+1
|
* 9.1-1mdkThierry Vignaud2003-02-181-1/+10
|
* display the release even when there is only one system to upgradePascal Rigaux2003-02-181-3/+1
| | | | | (asked by flepied & warly)
* - (row_setting_data) inline itThierry Vignaud2003-02-181-12/+8
| | | | | - fix #1769
* perl_checker fixesThierry Vignaud2003-02-181-23/+24
|
* perl_checker fixesThierry Vignaud2003-02-182-15/+17
|
* fix ugly bug (the bug was introduced in diskdrake/interactive.pm 1.67)Pascal Rigaux2003-02-181-2/+2
|
* (resize): do a test resize before doing the real onePascal Rigaux2003-02-181-1/+3
|
* don't use tmpfs on /tmp if /tmp is a separate partitionPascal Rigaux2003-02-181-1/+1
| | | | | (anyway, all this is ugly, see with titi)
* - ensure someone can't set a mount point on a non formatted ntfs partitionPascal Rigaux2003-02-182-1/+5
| | | | | - remove the mount point when destructive resizing and isNonMountable
* ease translator job regarding latest draksec commitThierry Vignaud2003-02-182-2/+2
|
* updated pot filePablo Saratxaga2003-02-183-88/+245
|
* the empty label in the HButtonBox had the same size as the buttons (sincePascal Rigaux2003-02-181-1/+0
| | | | | | HButtonBox are always homogeneous), causing addUser in german not to fit on the screen. No good way to solve this :-(
* Files for XFree4 based PPC install.Stew Benedict2003-02-181-1/+21
|
* simplifyPascal Rigaux2003-02-181-2/+1
|
* translate grp_toggles at display-time, not compile-timePascal Rigaux2003-02-181-10/+10
|
* fix titi's perl checkoGuillaume Cottenceau2003-02-181-1/+1
|
* better default partitioningPascal Rigaux2003-02-181-7/+7
|
* fixed small typoPablo Saratxaga2003-02-181-1/+1
|
* internalize prepare_gtk2 in the BEGIN {} of ugtk2 already containing the ↵Guillaume Cottenceau2003-02-183-13/+4
| | | | Gtk2->init
* Removed N( ) around IP numbers, there is no point in "translating" themPablo Saratxaga2003-02-181-7/+7
|
* - untabifyThierry Vignaud2003-02-181-36/+26
| | | | | | | - (basic_seclevel_option) inline it and kill it - (new_editable_combo) take two arguments, a ref on strings list and the default value
* just remove all DISPLAYMANAGER occurences and fix the case where thereThierry Vignaud2003-02-181-2/+2
| | | | | were no such line before (which probably had never caught anyone)
* bump version on fredl requestThierry Vignaud2003-02-181-1/+1
|
* resync with msecThierry Vignaud2003-02-181-1/+1
|
* - "BrowsePoll" support in the CUPS configuration dialog.Till Kamppeter2003-02-182-3/+225
| | | | | | - Fixes on error message windows in the dialog for printer sharing destinations.
* in {complete} or {canceled}, ensure giving a bad entry number to focus doesn'tPascal Rigaux2003-02-181-2/+6
| | | | | break (and log that something wrong happened)
* *** empty log message ***Pascal Rigaux2003-02-171-1/+97
|
* fix bug occurring "if no sound card are detected AND the user selected thingsPascal Rigaux2003-02-171-0/+1
| | | | | | needing a sound card, propose a special case for ISA cards" (thanks to guran)
* some more fixes (thanks to Edward Cherlin and Reinout van Schouwen)Pascal Rigaux2003-02-171-3/+3
|
* translate server {name} at display-time, not compile-timePascal Rigaux2003-02-171-5/+5
|
* replace %level_list with level_list() so that N("...") is called at runtimePascal Rigaux2003-02-171-13/+13
| | | | | instead of compile-time
* change %countries so that we really have translated countries (side effect ↵Guillaume Cottenceau2003-02-171-239/+239
| | | | of #1723 -> noticing this bug)
* fix translation of title by calling N() after interactive->vnewGuillaume Cottenceau2003-02-171-1/+1
|
* fix translation of title: N() needs to be called afterGuillaume Cottenceau2003-02-171-1/+1
| | | | | interactive->vnew has been called
* updated Estonian filePablo Saratxaga2003-02-177-10/+10
|
* fix typos (thanks to Reinout van Schouwen)Pascal Rigaux2003-02-171-2/+2
|
* remove debug code :-(Pascal Rigaux2003-02-171-1/+1
|
* grühGuillaume Cottenceau2003-02-171-1/+1
|
* updated pot filePablo Saratxaga2003-02-173-270/+478
|
* disable mn until we have lang-mn.pngGuillaume Cottenceau2003-02-171-1/+1
|
"hl opt">, 0 ], "ttyS" => [ c::S_IFCHR(), 4, 64 ], "ubd/" => [ c::S_IFBLK(), 98, 0 ], }}{$1} }; $minor += $2; } unless ($type) { ($type, $major, $minor) = @{ ${{"aztcd" => [ c::S_IFBLK(), 29, 0 ], "bpcd" => [ c::S_IFBLK(), 41, 0 ], "cdu31a" => [ c::S_IFBLK(), 15, 0 ], "cdu535" => [ c::S_IFBLK(), 24, 0 ], "cm206cd" => [ c::S_IFBLK(), 32, 0 ], "gscd" => [ c::S_IFBLK(), 16, 0 ], "mcd" => [ c::S_IFBLK(), 23, 0 ], "mcdx" => [ c::S_IFBLK(), 20, 0 ], "mem" => [ c::S_IFCHR(), 1, 1 ], "optcd" => [ c::S_IFBLK(), 17, 0 ], "kbd" => [ c::S_IFCHR(), 11, 0 ], "psaux" => [ c::S_IFCHR(), 10, 1 ], "atibm" => [ c::S_IFCHR(), 10, 3 ], "random" => [ c::S_IFCHR(), 1, 8 ], "sbpcd" => [ c::S_IFBLK(), 25, 0 ], "sjcd" => [ c::S_IFBLK(), 18, 0 ], "tty" => [ c::S_IFCHR(), 5, 0 ], "usbmouse" => [ c::S_IFCHR(), 13, 63 ], #- aka /dev/input/mice "adbmouse" => [ c::S_IFCHR(), 10, 10 ], #- PPC "vcsa" => [ c::S_IFCHR(), 7, 128 ], "zero" => [ c::S_IFCHR(), 1, 5 ], "null" => [ c::S_IFCHR(), 1, 3 ], }}{$_} or die "unknown device $_ (caller is " . join(":", caller()) . ")" }; } ($type, $major, $minor); } sub make($) { local $_ = my $file = $_[0]; if (m,^(.*/(?:dev|tmp))/(.*),) { $_ = $2; } else { $file =~ m|^/| && -e $file or $file = "/tmp/$_"; $file =~ m|^/| && -e $file or $file = "/dev/$_"; } -e $file and return $file; #- assume nobody takes fun at creating files named as device my ($type, $major, $minor) = eval { entry($_) }; $@ and die "unknown device $_ (caller is " . join(":", caller()) . ")"; if ($file =~ m|/dev/| && -e '/dev/.devfsd') { #- argh, creating devices is no good with devfs... #- return the file even if the device file doesn't exist #- the caller will fail or not, better compatibility than raising an exception here return $file; } #- make a directory for this inode if needed. mkdir_p(dirname($file)); syscall_('mknod', $file, $type | 0600, makedev($major, $minor)) or die "mknod failed (dev $_): $!"; $file; } #- only isomorphic entries are allowed, #- i.e. entries which can go devfs -> normal and normal -> devfs my %to_devfs = ( psaux => 'misc/psaux', usbmouse => 'input/mice', ); my %to_devfs_prefix = ( ttyS => 'tts/', ); sub to_devfs { my ($dev) = @_; if (my $r = $to_devfs{$dev}) { return $r; } elsif ($dev =~ /(.*?)(\d+)$/) { my $r = $to_devfs_prefix{$1}; return "$r$2" if $r; } readlink("/dev/" . $dev); } sub read_proc_partitions_raw() { my (undef, undef, @all) = cat_("/proc/partitions"); grep { $_->{size} != 1 && # skip main extended partition $_->{size} != 0x3fffffff # skip cdroms (otherwise stops cd-audios) } map { my %l; @l{qw(major minor size dev)} = split; \%l; } @all; } sub from_devfs { my ($dev) = @_; my %from_devfs = reverse %to_devfs; if (my $r = $from_devfs{$dev}) { return $r; } elsif ($dev =~ /(.*?)(\d+)$/) { my %from_devfs_prefix = reverse %to_devfs_prefix; my $r = $from_devfs_prefix{$1}; return "$r$2" if $r; } $dev = "/dev/" . $dev; if (-e $dev) { my ($major, $minor) = unmakedev((stat($dev))[6]); my $r = find { $_->{major} == $major && $_->{minor} == $minor } read_proc_partitions_raw(); $r and return $r->{dev}; } undef; } 1;