From 869cb4987910917929393a76311f6eb29d7b7306 Mon Sep 17 00:00:00 2001 From: Matthias Badaire Date: Wed, 4 Jul 2001 19:22:04 +0000 Subject: Ia64 adaptation --- perl-install/install_gtk.pm | 78 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) (limited to 'perl-install/install_gtk.pm') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 378e66b6b..4b247a81b 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -217,6 +217,83 @@ sub createXconf { symlink("/tmp/stage2/etc/imrc", "/etc/imrc"); symlink("/tmp/stage2/etc/im_palette.pal", "etc/im_palette.pal"); +if (arch() =~ /^ia64/) { + require Xconfigurator; + my ($card) = Xconfigurator::cardConfigurationAuto(); + Xconfigurator::updateCardAccordingName($card, $card->{type}) if $card && $card->{type}; + local *F; + open F, ">$file" or die "can't create X configuration file $file"; + print F <{driver}" +EndSection + +Section "Screen" + Identifier "screen1" + Device "device1" + Monitor "Generic|High Frequency SVGA, 1024x768 at 70 Hz" + DefaultColorDepth 16 + Subsection "Display" + Depth 16 + Modes "800x600" "640x480" + ViewPort 0 0 + EndSubsection +EndSection + +Section "ServerLayout" + Identifier "layout1" + Screen "screen1" + InputDevice "Mouse1" "CorePointer" + InputDevice "Keyboard1" "CoreKeyboard" +EndSection + +END + + +} +else + { + + my $wacom; if ($wacom_dev) { $wacom_dev = devices::make($wacom_dev); @@ -354,6 +431,7 @@ Section "Screen" EndSection END } +} #- ModeLine "640x480" 28 640 672 768 800 480 490 492 525 -- cgit v1.2.1