Hello community, here is the log from the commit of package xorg-x11 checked in at Thu Mar 15 18:16:46 CET 2007. -------- --- xorg-x11/xorg-x11.changes 2007-03-14 17:14:58.000000000 +0100 +++ /mounts/work_src_done/STABLE/xorg-x11/xorg-x11.changes 2007-03-15 16:48:36.561946000 +0100 @@ -1,0 +2,8 @@ +Thu Mar 15 16:44:44 CET 2007 - sndirsch@suse.de + +- /etc/X11/xdm/Xsetup: + * enable external output on laptops or when configured via + sysconfig (DISPLAYMANAGER_RANDR_MODE_<ext>); works only with + drivers, which support RANDR 1.2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11.spec ++++++ --- /var/tmp/diff_new_pack.k14533/_old 2007-03-15 18:16:24.000000000 +0100 +++ /var/tmp/diff_new_pack.k14533/_new 2007-03-15 18:16:24.000000000 +0100 @@ -14,7 +14,7 @@ BuildRequires: fontconfig-devel freetype2-devel libpng-devel pam-devel pkgconfig rsh update-desktop-files xorg-x11-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel xorg-x11-libXprintUtil-devel xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-xtrans-devel URL: http://xorg.freedesktop.org/ Version: 7.2 -Release: 56 +Release: 57 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Utilities @@ -449,6 +449,11 @@ /var/lib/xdm/authdir/ %changelog +* Thu Mar 15 2007 - sndirsch@suse.de +- /etc/X11/xdm/Xsetup: + * enable external output on laptops or when configured via + sysconfig (DISPLAYMANAGER_RANDR_MODE_<ext>); works only with + drivers, which support RANDR 1.2 * Wed Mar 14 2007 - sndirsch@suse.de - xrandr_12_newmode.diff: * replaces xf86crtc_allowdual.diff in xorg-x11-server package ++++++ xdm.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/etc/X11/xdm/Xsetup new/etc/X11/xdm/Xsetup --- old/etc/X11/xdm/Xsetup 2007-02-01 10:46:39.000000000 +0100 +++ new/etc/X11/xdm/Xsetup 2007-03-15 16:41:31.000000000 +0100 @@ -16,6 +16,8 @@ type shopt &> /dev/null && shopt -s execfail set +e &> /dev/null +. /etc/sysconfig/displaymanager + # # Background picture for plain xdm: # Store your preferred picture in XPM format (see xv(1) or ppm(5)) @@ -64,6 +66,39 @@ gwd=/usr/bin/gnome-window-decorator # +# Check if the machine is a laptop and configure +# external output if XRANDR 1.2 is available +# +if xrandr | grep -q "^default connected" ; then + echo "Driver not XRANDR 1.2 capable, ignoring DISPLAYMANAGER_RANDR_MODE_* settings" +else + if $halporp --key system.formfactor --string laptop ; then + mode_auto="$DISPLAYMANAGER_RANDR_MODE_auto" + else + mode_auto="" + fi + for ext in VGA DVI-I DVI-D DVI-A Composite S-Video Component LFP Proprietary ; do + var="DISPLAYMANAGER_RANDR_MODE_${ext//-/_}" + line="${!var}" + test "x$line" = xauto && line="$mode_auto" + mode="${line%% *}" + case "x$line" in + x) ;; + x*\ *) + echo "xrandr for $ext: new mode $line" + xrandr --newmode $line + xrandr --addmode $ext $mode + xrandr --output $ext --mode $mode + ;; + x*) + echo "xrandr for $ext: known mode $line" + xrandr --output $ext --mode $mode + ;; + esac + done +fi + +# # Check if the machine is a TabletPC and start # xvkbd in xdm do be able to input username and password # diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/var/adm/fillup-templates/sysconfig.displaymanager new/var/adm/fillup-templates/sysconfig.displaymanager --- old/var/adm/fillup-templates/sysconfig.displaymanager 2006-08-31 21:16:08.000000000 +0200 +++ new/var/adm/fillup-templates/sysconfig.displaymanager 2007-03-15 16:44:23.000000000 +0100 @@ -85,3 +85,46 @@ # that remote user can never shutdown in GDM. # DISPLAYMANAGER_SHUTDOWN="auto" + +## Type: string +## Default: "auto" +# +# Mode to configure on output devices by default +# (RANDR 1.2 compatible drivers only). +# +# If set to "auto", DISPLAYMANAGER_RANDR_MODE_auto is used on laptops, and +# the empty string on workstations. +# +# The output is not explicitly enabled (read: disabled) if set to an empty +# string. +# If the variable contains a fully configured modeline (see default of +# DISPLAYMANAGER_RANDR_MODE_auto), the mode is defined and set. +# If the variable contains a mode name only, the mode has to be defined +# already. +# +# If a monitor is attached during Xstartup, or when invoking "xrandr --auto" +# during runtime, the output is correctly configured and a mode is +# automatically selected if none has been used so far. +# +# Variables are checked according to their extension for +# VGA DVI_I DVI_D DVI_A Composite S_Video Component LFP Proprietary +# +DISPLAYMANAGER_RANDR_MODE_VGA="auto" +#DISPLAYMANAGER_RANDR_MODE_DVI_I="" +#DISPLAYMANAGER_RANDR_MODE_DVI_D="" +#DISPLAYMANAGER_RANDR_MODE_DVI_A="" +#DISPLAYMANAGER_RANDR_MODE_Compsite="" +#DISPLAYMANAGER_RANDR_MODE_S_Video="" +#DISPLAYMANAGER_RANDR_MODE_Component="" +#DISPLAYMANAGER_RANDR_MODE_LFP="" +#DISPLAYMANAGER_RANDR_MODE_Proprietary="" + +## Type: string +## Default: "1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync" +# +# Mode to use for laptops for DISPLAYMANAGER_RANDR_MODE_* on laptops only, +# when the according variable is set to "auto". +# (RANDR 1.2 compatible drivers only). +# +DISPLAYMANAGER_RANDR_MODE_auto="1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync" + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org